-#ifdef TEST_BOYER_MOORE_SEARCH
-void ICUForwardSearch(BoyerMooreSearch *bms, const UChar *source, int32_t sourceLen, const UChar *pattern, int32_t patternLen, UErrorCode * /*status*/) {
- int32_t offset = 0, start = -1, end = -1;
-
- while (bms->search(offset, start, end)) {
- offset = end;
- }
-}
-
-void ICUBackwardSearch(BoyerMooreSearch *bms, const UChar *source, int32_t sourceLen, const UChar *pattern, int32_t patternLen, UErrorCode * /*status*/) {
- int32_t offset = 0, start = -1, end = -1;
-
- /* NOTE: No Boyer-Moore backward search yet... */
- while (bms->search(offset, start, end)) {
- offset = end;
- }
-}
-#else