Lines Matching defs:UStringSearch
127 * UStringSearch *search = usearch_open(pattern, -1, target, -1, "en_US",
155 struct UStringSearch;
160 typedef struct UStringSearch UStringSearch;
179 * the UStringSearch object.
300 U_STABLE UStringSearch * U_EXPORT2 usearch_open(const UChar *pattern,
332 U_STABLE UStringSearch * U_EXPORT2 usearch_openFromCollator(
347 U_STABLE void U_EXPORT2 usearch_close(UStringSearch *searchiter);
355 * "Smart pointer" class, closes a UStringSearch via usearch_close().
362 U_DEFINE_LOCAL_OPEN_POINTER(LocalUStringSearchPointer, UStringSearch, usearch_close);
385 U_STABLE void U_EXPORT2 usearch_setOffset(UStringSearch *strsrch,
397 U_STABLE int32_t U_EXPORT2 usearch_getOffset(const UStringSearch *strsrch);
410 U_STABLE void U_EXPORT2 usearch_setAttribute(UStringSearch *strsrch,
424 const UStringSearch *strsrch,
447 const UStringSearch *strsrch);
467 const UStringSearch *strsrch);
494 U_STABLE int32_t U_EXPORT2 usearch_getMatchedText(const UStringSearch *strsrch,
516 U_STABLE void U_EXPORT2 usearch_setBreakIterator(UStringSearch *strsrch,
532 const UStringSearch *strsrch);
549 U_STABLE void U_EXPORT2 usearch_setText( UStringSearch *strsrch,
562 U_STABLE const UChar * U_EXPORT2 usearch_getText(const UStringSearch *strsrch,
576 const UStringSearch *strsrch);
588 U_STABLE void U_EXPORT2 usearch_setCollator( UStringSearch *strsrch,
604 U_STABLE void U_EXPORT2 usearch_setPattern( UStringSearch *strsrch,
618 const UStringSearch *strsrch,
638 U_STABLE int32_t U_EXPORT2 usearch_first(UStringSearch *strsrch,
662 U_STABLE int32_t U_EXPORT2 usearch_following(UStringSearch *strsrch,
681 U_STABLE int32_t U_EXPORT2 usearch_last(UStringSearch *strsrch,
709 U_STABLE int32_t U_EXPORT2 usearch_preceding(UStringSearch *strsrch,
730 U_STABLE int32_t U_EXPORT2 usearch_next(UStringSearch *strsrch,
750 U_STABLE int32_t U_EXPORT2 usearch_previous(UStringSearch *strsrch,
763 U_STABLE void U_EXPORT2 usearch_reset(UStringSearch *strsrch);
775 * The UStringSearch options USEARCH_CANONICAL_MATCH, USEARCH_OVERLAP and
803 * @param strsrch the UStringSearch struct, which references both
820 U_INTERNAL UBool U_EXPORT2 usearch_search(UStringSearch *strsrch,
835 * The UStringSearch options USEARCH_CANONICAL_MATCH, USEARCH_OVERLAP and
863 * @param strsrch the UStringSearch struct, which references both
880 U_INTERNAL UBool U_EXPORT2 usearch_searchBackwards(UStringSearch *strsrch,