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.cpp35 pttrnLen = end - start; in StringSearchPerformanceTest()
36 UChar* temp = (UChar*)malloc(sizeof(UChar)*(pttrnLen)); in StringSearchPerformanceTest()
37 for (int i = 0; i < pttrnLen; i++) { in StringSearchPerformanceTest()
54 pttrnLen = end - start; in StringSearchPerformanceTest()
55 UChar* temp = (UChar*)malloc(sizeof(UChar)*(pttrnLen)); in StringSearchPerformanceTest()
56 for (int i = 0; i < pttrnLen; i++) { in StringSearchPerformanceTest()
63 srch = usearch_open(pttrn, pttrnLen, src, srcLen, locale, NULL, &status); in StringSearchPerformanceTest()
94 …unction* func = new StringSearchPerfFunction(ICUForwardSearch, srch, src, srcLen, pttrn, pttrnLen); in Test_ICU_Forward_Search()
99 …nction* func = new StringSearchPerfFunction(ICUBackwardSearch, srch, src, srcLen, pttrn, pttrnLen); in Test_ICU_Backward_Search()
Dstrsrchperf.h14 …rch* srch, const UChar* src,int32_t srcLen, const UChar* pttrn, int32_t pttrnLen, UErrorCode* stat…
22 int32_t pttrnLen; variable
27 (*fn)(srch, src, srcLen, pttrn, pttrnLen, status); in call()
39 pttrnLen = patternLen; in StringSearchPerfFunction()
49 int32_t pttrnLen; variable