Home | History | Annotate | Download | only in strsrchperf

Lines Matching refs:srch

22 typedef void (*StrSrchFn)(UStringSearch* srch, const UChar* src,int32_t srcLen, const UChar* pttrn, int32_t pttrnLen, UErrorCode* status);
35 UStringSearch* srch;
43 (*fn)(srch, src, srcLen, pttrn, pttrnLen, status);
71 srch = search;
86 UStringSearch* srch;
118 void ICUForwardSearch(UStringSearch *srch, const UChar* source, int32_t sourceLen, const UChar* pattern, int32_t patternLen, UErrorCode* status) {
121 match = usearch_first(srch, status);
123 match = usearch_next(srch, status);
127 void ICUBackwardSearch(UStringSearch *srch, const UChar* source, int32_t sourceLen, const UChar* pattern, int32_t patternLen, UErrorCode* status) {
130 match = usearch_last(srch, status);
132 match = usearch_previous(srch, status);