Lines Matching defs:UStringSearch
118 * UStringSearch *search = usearch_open(pattern, -1, target, -1, "en_US",
146 struct UStringSearch;
151 typedef struct UStringSearch UStringSearch;
247 U_STABLE UStringSearch * U_EXPORT2 usearch_open(const UChar *pattern,
279 U_STABLE UStringSearch * U_EXPORT2 usearch_openFromCollator(
294 U_STABLE void U_EXPORT2 usearch_close(UStringSearch *searchiter);
302 * "Smart pointer" class, closes a UStringSearch via usearch_close().
309 U_DEFINE_LOCAL_OPEN_POINTER(LocalUStringSearchPointer, UStringSearch, usearch_close);
332 U_STABLE void U_EXPORT2 usearch_setOffset(UStringSearch *strsrch,
344 U_STABLE int32_t U_EXPORT2 usearch_getOffset(const UStringSearch *strsrch);
357 U_STABLE void U_EXPORT2 usearch_setAttribute(UStringSearch *strsrch,
371 const UStringSearch *strsrch,
394 const UStringSearch *strsrch);
414 const UStringSearch *strsrch);
441 U_STABLE int32_t U_EXPORT2 usearch_getMatchedText(const UStringSearch *strsrch,
463 U_STABLE void U_EXPORT2 usearch_setBreakIterator(UStringSearch *strsrch,
479 const UStringSearch *strsrch);
496 U_STABLE void U_EXPORT2 usearch_setText( UStringSearch *strsrch,
509 U_STABLE const UChar * U_EXPORT2 usearch_getText(const UStringSearch *strsrch,
523 const UStringSearch *strsrch);
535 U_STABLE void U_EXPORT2 usearch_setCollator( UStringSearch *strsrch,
551 U_STABLE void U_EXPORT2 usearch_setPattern( UStringSearch *strsrch,
565 const UStringSearch *strsrch,
585 U_STABLE int32_t U_EXPORT2 usearch_first(UStringSearch *strsrch,
609 U_STABLE int32_t U_EXPORT2 usearch_following(UStringSearch *strsrch,
628 U_STABLE int32_t U_EXPORT2 usearch_last(UStringSearch *strsrch,
656 U_STABLE int32_t U_EXPORT2 usearch_preceding(UStringSearch *strsrch,
677 U_STABLE int32_t U_EXPORT2 usearch_next(UStringSearch *strsrch,
697 U_STABLE int32_t U_EXPORT2 usearch_previous(UStringSearch *strsrch,
710 U_STABLE void U_EXPORT2 usearch_reset(UStringSearch *strsrch);
722 * The UStringSearch options USEARCH_CANONICAL_MATCH, USEARCH_OVERLAP and
750 * @param strsrch the UStringSearch struct, which references both
767 U_INTERNAL UBool U_EXPORT2 usearch_search(UStringSearch *strsrch,
782 * The UStringSearch options USEARCH_CANONICAL_MATCH, USEARCH_OVERLAP and
810 * @param strsrch the UStringSearch struct, which references both
827 U_INTERNAL UBool U_EXPORT2 usearch_searchBackwards(UStringSearch *strsrch,