Lines Matching defs:UStringSearch
125 * UStringSearch *search = usearch_open(pattern, -1, target, -1, "en_US",
153 struct UStringSearch;
158 typedef struct UStringSearch UStringSearch;
177 * the UStringSearch object.
301 U_STABLE UStringSearch * U_EXPORT2 usearch_open(const UChar *pattern,
333 U_STABLE UStringSearch * U_EXPORT2 usearch_openFromCollator(
348 U_STABLE void U_EXPORT2 usearch_close(UStringSearch *searchiter);
356 * "Smart pointer" class, closes a UStringSearch via usearch_close().
363 U_DEFINE_LOCAL_OPEN_POINTER(LocalUStringSearchPointer, UStringSearch, usearch_close);
386 U_STABLE void U_EXPORT2 usearch_setOffset(UStringSearch *strsrch,
398 U_STABLE int32_t U_EXPORT2 usearch_getOffset(const UStringSearch *strsrch);
411 U_STABLE void U_EXPORT2 usearch_setAttribute(UStringSearch *strsrch,
425 const UStringSearch *strsrch,
448 const UStringSearch *strsrch);
468 const UStringSearch *strsrch);
495 U_STABLE int32_t U_EXPORT2 usearch_getMatchedText(const UStringSearch *strsrch,
517 U_STABLE void U_EXPORT2 usearch_setBreakIterator(UStringSearch *strsrch,
533 const UStringSearch *strsrch);
550 U_STABLE void U_EXPORT2 usearch_setText( UStringSearch *strsrch,
563 U_STABLE const UChar * U_EXPORT2 usearch_getText(const UStringSearch *strsrch,
577 const UStringSearch *strsrch);
589 U_STABLE void U_EXPORT2 usearch_setCollator( UStringSearch *strsrch,
605 U_STABLE void U_EXPORT2 usearch_setPattern( UStringSearch *strsrch,
619 const UStringSearch *strsrch,
639 U_STABLE int32_t U_EXPORT2 usearch_first(UStringSearch *strsrch,
663 U_STABLE int32_t U_EXPORT2 usearch_following(UStringSearch *strsrch,
682 U_STABLE int32_t U_EXPORT2 usearch_last(UStringSearch *strsrch,
710 U_STABLE int32_t U_EXPORT2 usearch_preceding(UStringSearch *strsrch,
731 U_STABLE int32_t U_EXPORT2 usearch_next(UStringSearch *strsrch,
751 U_STABLE int32_t U_EXPORT2 usearch_previous(UStringSearch *strsrch,
764 U_STABLE void U_EXPORT2 usearch_reset(UStringSearch *strsrch);
776 * The UStringSearch options USEARCH_CANONICAL_MATCH, USEARCH_OVERLAP and
804 * @param strsrch the UStringSearch struct, which references both
821 U_INTERNAL UBool U_EXPORT2 usearch_search(UStringSearch *strsrch,
836 * The UStringSearch options USEARCH_CANONICAL_MATCH, USEARCH_OVERLAP and
864 * @param strsrch the UStringSearch struct, which references both
881 U_INTERNAL UBool U_EXPORT2 usearch_searchBackwards(UStringSearch *strsrch,