Lines Matching defs:srch
14 typedef void (*StrSrchFn)(UStringSearch* srch, const UChar* src,int32_t srcLen, const UChar* pttrn, int32_t pttrnLen, UErrorCode* status);
23 UStringSearch* srch;
27 (*fn)(srch, src, srcLen, pttrn, pttrnLen, status);
40 srch = search;
50 UStringSearch* srch;
61 void ICUForwardSearch(UStringSearch *srch, const UChar* source, int32_t sourceLen, const UChar* pattern, int32_t patternLen, UErrorCode* status) {
64 match = usearch_first(srch, status);
66 match = usearch_next(srch, status);
70 void ICUBackwardSearch(UStringSearch *srch, const UChar* source, int32_t sourceLen, const UChar* pattern, int32_t patternLen, UErrorCode* status) {
73 match = usearch_last(srch, status);
75 match = usearch_previous(srch, status);