Home
last modified time | relevance | path

Searched refs:pttrnLen (Results 1 – 2 of 2) sorted by relevance

/external/icu/icu4c/source/test/perf/strsrchperf/
Dstrsrchperf.cpp40 pttrnLen = end - start; in StringSearchPerformanceTest()
41 UChar* temp = (UChar*)malloc(sizeof(UChar)*(pttrnLen)); in StringSearchPerformanceTest()
42 for (int i = 0; i < pttrnLen; i++) { in StringSearchPerformanceTest()
59 pttrnLen = end - start; in StringSearchPerformanceTest()
60 UChar* temp = (UChar*)malloc(sizeof(UChar)*(pttrnLen)); in StringSearchPerformanceTest()
61 for (int i = 0; i < pttrnLen; i++) { in StringSearchPerformanceTest()
68 srch = usearch_open(pttrn, pttrnLen, src, srcLen, locale, NULL, &status); in StringSearchPerformanceTest()
99 …unction* func = new StringSearchPerfFunction(ICUForwardSearch, srch, src, srcLen, pttrn, pttrnLen); in Test_ICU_Forward_Search()
104 …nction* func = new StringSearchPerfFunction(ICUBackwardSearch, srch, src, srcLen, pttrn, pttrnLen); in Test_ICU_Backward_Search()
Dstrsrchperf.h19 …rch* srch, const UChar* src,int32_t srcLen, const UChar* pttrn, int32_t pttrnLen, UErrorCode* stat…
27 int32_t pttrnLen; variable
32 (*fn)(srch, src, srcLen, pttrn, pttrnLen, status); in call()
44 pttrnLen = patternLen; in StringSearchPerfFunction()
54 int32_t pttrnLen; variable