Home
last modified time | relevance | path

Searched refs:UStringSearch (Results 1 – 9 of 9) sorted by relevance

/external/icu/icu4c/source/i18n/unicode/
Dusearch.h153 struct UStringSearch;
158 typedef struct UStringSearch UStringSearch; typedef
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);
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,
[all …]
Dstsearch.h497 UStringSearch *m_strsrch_;
/external/icu/libandroidicu/include/unicode/
Dusearch.h153 struct UStringSearch;
158 typedef struct UStringSearch UStringSearch; typedef
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);
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,
[all …]
/external/icu/icu4c/source/test/perf/strsrchperf/
Dstrsrchperf.h19 typedef void (*StrSrchFn)(UStringSearch* srch, const UChar* src,int32_t srcLen, const UChar* pttrn,…
28 UStringSearch* srch;
39 …StringSearchPerfFunction(StrSrchFn func, UStringSearch* search, const UChar* source,int32_t source… in StringSearchPerfFunction()
55 UStringSearch* srch;
66 void ICUForwardSearch(UStringSearch *srch, const UChar* source, int32_t sourceLen, const UChar* pat… in ICUForwardSearch()
75 void ICUBackwardSearch(UStringSearch *srch, const UChar* source, int32_t sourceLen, const UChar* pa… in ICUBackwardSearch()
/external/icu/icu4c/source/i18n/
Dusearch.cpp149 inline int32_t getCE(const UStringSearch *strsrch, uint32_t sourcece) in getCE()
292 inline uint16_t initializePatternCETable(UStringSearch *strsrch, in initializePatternCETable()
364 inline uint16_t initializePatternPCETable(UStringSearch *strsrch, in initializePatternPCETable()
437 inline int16_t initializePattern(UStringSearch *strsrch, UErrorCode *status) in initializePattern()
548 inline void initialize(UStringSearch *strsrch, UErrorCode *status) in initialize()
574 void checkBreakBoundary(const UStringSearch *strsrch, int32_t * /*start*/, in checkBreakBoundary()
605 UBool isBreakUnit(const UStringSearch *strsrch, int32_t start, in isBreakUnit()
703 inline int32_t getNextUStringSearchBaseOffset(UStringSearch *strsrch, in getNextUStringSearchBaseOffset()
732 inline int32_t shiftForward(UStringSearch *strsrch, in shiftForward()
768 inline void setMatchNotFound(UStringSearch *strsrch) in setMatchNotFound()
[all …]
Dusrchimp.h168 struct UStringSearch { struct
212 UBool usearch_handleNextExact(UStringSearch *strsrch, UErrorCode *status);
223 UBool usearch_handleNextCanonical(UStringSearch *strsrch, UErrorCode *status);
233 UBool usearch_handlePreviousExact(UStringSearch *strsrch, UErrorCode *status);
244 UBool usearch_handlePreviousCanonical(UStringSearch *strsrch,
/external/icu/icu4c/source/test/cintltst/
Dusrchtst.c203 UStringSearch *result; in TestOpenClose()
307 UStringSearch *result; in TestInitialization()
338 static UBool assertEqualWithUStringSearch( UStringSearch *strsrch, in assertEqualWithUStringSearch()
551 UStringSearch *strsrch; in assertEqual()
582 UStringSearch *strsrch; in assertCanonicalEqual()
623 UStringSearch *strsrch; in assertEqualWithAttribute()
726 UStringSearch *strsrch; in TestBreakIterator()
885 UStringSearch *strsrch; in TestOverlap()
934 UStringSearch *strsrch; in TestCollator()
1014 UStringSearch *strsrch; in TestPattern()
[all …]
/external/icu/libandroidicu/static_shim/
Dshim.cpp2487 void usearch_close_android(UStringSearch * searchiter) { in usearch_close_android()
2490 int32_t usearch_first_android(UStringSearch * strsrch, UErrorCode * status) { in usearch_first_android()
2493 int32_t usearch_following_android(UStringSearch * strsrch, int32_t position, UErrorCode * status) { in usearch_following_android()
2496 USearchAttributeValue usearch_getAttribute_android(const UStringSearch * strsrch, USearchAttribute … in usearch_getAttribute_android()
2499 const UBreakIterator * usearch_getBreakIterator_android(const UStringSearch * strsrch) { in usearch_getBreakIterator_android()
2502 UCollator * usearch_getCollator_android(const UStringSearch * strsrch) { in usearch_getCollator_android()
2505 int32_t usearch_getMatchedLength_android(const UStringSearch * strsrch) { in usearch_getMatchedLength_android()
2508 int32_t usearch_getMatchedStart_android(const UStringSearch * strsrch) { in usearch_getMatchedStart_android()
2511 int32_t usearch_getMatchedText_android(const UStringSearch * strsrch, UChar * result, int32_t resul… in usearch_getMatchedText_android()
2514 int32_t usearch_getOffset_android(const UStringSearch * strsrch) { in usearch_getOffset_android()
[all …]
/external/icu/icu4c/source/samples/strsrch/
Dstrsrch.cpp65 UStringSearch * search = 0;