Lines Matching refs:altPattern
1971 int32_t SSearchTest::monkeyTestCase(UCollator *coll, const UnicodeString &testCase, const UnicodeString &pattern, const UnicodeString &altPattern,
1976 //int32_t expectedStart = prefix.length(), expectedEnd = prefix.length() + altPattern.length();
2001 simpleSearch(coll, testCase, 0, altPattern, expectedStart, expectedEnd);
2003 usearch_setPattern(uss, altPattern.getBuffer(), altPattern.length(), &status);
2022 int32_t SSearchTest::bmMonkeyTestCase(UCollator *coll, const UnicodeString &testCase, const UnicodeString &pattern, const UnicodeString &altPattern,
2028 //int32_t expectedStart = prefix.length(), expectedEnd = prefix.length() + altPattern.length();
2049 simpleSearch(coll, testCase, 0, altPattern, expectedStart, expectedEnd);
2096 UnicodeString pattern, altPattern;
2168 generateTestCase(coll, monkeys, monkeyCount, pattern, altPattern);
2173 notFoundCount += monkeyTestCase(coll, pattern, pattern, altPattern, "pattern", strengthNames[s], seed);
2180 notFoundCount += monkeyTestCase(coll, testCase, pattern, altPattern, "prefix + pattern", strengthNames[s], seed);
2185 notFoundCount += monkeyTestCase(coll, testCase, pattern, altPattern, "prefix + pattern + suffix", strengthNames[s], seed);
2192 notFoundCount += monkeyTestCase(coll, testCase, pattern, altPattern, "pattern + suffix", strengthNames[s], seed);
2233 UnicodeString pattern, altPattern;
2307 generateTestCase(coll, monkeys, monkeyCount, pattern, altPattern);
2312 BoyerMooreSearch alt(data, altPattern, NULL, status);
2323 notFoundCount += bmMonkeyTestCase(coll, pattern, pattern, altPattern, &pat, &alt, "pattern", strengthNames[s], seed);
2330 notFoundCount += bmMonkeyTestCase(coll, testCase, pattern, altPattern, &pat, &alt, "prefix + pattern", strengthNames[s], seed);
2335 notFoundCount += bmMonkeyTestCase(coll, testCase, pattern, altPattern, &pat, &alt, "prefix + pattern + suffix", strengthNames[s], seed);
2342 notFoundCount += bmMonkeyTestCase(coll, testCase, pattern, altPattern, &pat, &alt, "pattern + suffix", strengthNames[s], seed);