HomeSort by relevance Sort by last modified time
    Searched refs:pttrnLen (Results 1 - 2 of 2) sorted by null

  /external/icu4c/test/perf/strsrchperf/
strsrchperf.cpp 41 pttrnLen = end - start;
42 UChar* temp = (UChar*)malloc(sizeof(UChar)*(pttrnLen));
43 for (int i = 0; i < pttrnLen; i++) {
60 pttrnLen = end - start;
61 UChar* temp = (UChar*)malloc(sizeof(UChar)*(pttrnLen));
62 for (int i = 0; i < pttrnLen; i++) {
69 UnicodeString patternString(pttrn, pttrnLen);
77 srch = usearch_open(pttrn, pttrnLen, src, srcLen, locale, NULL, &status);
121 StringSearchPerfFunction *func = new StringSearchPerfFunction(ICUForwardSearch, bms, src, srcLen, pttrn, pttrnLen);
123 StringSearchPerfFunction* func = new StringSearchPerfFunction(ICUForwardSearch, srch, src, srcLen, pttrn, pttrnLen);
    [all...]
strsrchperf.h 20 typedef void (*StrSrchFn) (BoyerMooreSearch * bms, const UChar *src, int32_t srcLen, const UChar *pttrn, int32_t pttrnLen, UErrorCode *status);
22 typedef void (*StrSrchFn)(UStringSearch* srch, const UChar* src,int32_t srcLen, const UChar* pttrn, int32_t pttrnLen, UErrorCode* status);
31 int32_t pttrnLen;
41 (*fn)(bms, src, srcLen, pttrn, pttrnLen, status);
43 (*fn)(srch, src, srcLen, pttrn, pttrnLen, status);
49 return (long)(srcLen/pttrnLen);
61 pttrnLen = patternLen;
70 pttrnLen = patternLen;
81 int32_t pttrnLen;

Completed in 30 milliseconds