Home | History | Annotate | Download | only in i18n

Lines Matching refs:UStringSearch

153 inline int32_t getCE(const UStringSearch *strsrch, uint32_t sourcece)
296 inline uint16_t initializePatternCETable(UStringSearch *strsrch,
371 inline uint16_t initializePatternPCETable(UStringSearch *strsrch,
441 * @param strsrch UStringSearch data storage
447 inline int16_t initializePattern(UStringSearch *strsrch, UErrorCode *status)
552 * @param strsrch UStringSearch data storage
557 inline void initialize(UStringSearch *strsrch, UErrorCode *status)
583 void checkBreakBoundary(const UStringSearch *strsrch, int32_t * /*start*/,
606 * Determine whether the target text in UStringSearch bounded by the offset
608 * determined by the breakiterator in UStringSearch.
614 UBool isBreakUnit(const UStringSearch *strsrch, int32_t start,
712 inline int32_t getNextUStringSearchBaseOffset(UStringSearch *strsrch,
741 inline int32_t shiftForward(UStringSearch *strsrch,
777 inline void setMatchNotFound(UStringSearch *strsrch)
840 UBool checkExtraMatchAccents(const UStringSearch *strsrch, int32_t start,
930 UBool hasAccentsBeforeMatch(const UStringSearch *strsrch, int32_t start,
1011 UBool hasAccentsAfterMatch(const UStringSearch *strsrch, int32_t start,
1084 inline UBool checkIdentical(const UStringSearch *strsrch, int32_t start,
1112 inline UBool checkRepeatedMatch(UStringSearch *strsrch,
1172 UBool checkNextExactContractionMatch(UStringSearch *strsrch,
1259 inline UBool checkNextExactMatch(UStringSearch *strsrch,
1415 inline UBool checkCollationMatch(const UStringSearch *strsrch,
1455 int32_t doNextCanonicalPrefixMatch(UStringSearch *strsrch,
1561 inline void cleanUpSafeText(const UStringSearch *strsrch, UChar *safetext,
1586 int32_t doNextCanonicalSuffixMatch(UStringSearch *strsrch,
1719 UBool doNextCanonicalMatch(UStringSearch *strsrch,
1793 inline int32_t getPreviousUStringSearchBaseOffset(UStringSearch *strsrch,
1821 UBool checkNextCanonicalContractionMatch(UStringSearch *strsrch,
1919 inline UBool checkNextCanonicalMatch(UStringSearch *strsrch,
1974 inline int32_t reverseShift(UStringSearch *strsrch,
2019 UBool checkPreviousExactContractionMatch(UStringSearch *strsrch,
2105 inline UBool checkPreviousExactMatch(UStringSearch *strsrch,
2159 int32_t doPreviousCanonicalSuffixMatch(UStringSearch *strsrch,
2246 int32_t doPreviousCanonicalPrefixMatch(UStringSearch *strsrch,
2382 UBool doPreviousCanonicalMatch(UStringSearch *strsrch,
2459 UBool checkPreviousCanonicalContractionMatch(UStringSearch *strsrch,
2557 inline UBool checkPreviousCanonicalMatch(UStringSearch *strsrch,
2602 U_CAPI UStringSearch * U_EXPORT2 usearch_open(const UChar *pattern,
2623 UStringSearch *result = usearch_openFromCollator(pattern,
2642 U_CAPI UStringSearch * U_EXPORT2 usearch_openFromCollator(
2677 UStringSearch *result;
2689 result = (UStringSearch *)uprv_malloc(sizeof(UStringSearch));
2762 U_CAPI void U_EXPORT2 usearch_close(UStringSearch *strsrch)
2795 U_CAPI void U_EXPORT2 usearch_setOffset(UStringSearch *strsrch,
2812 U_CAPI int32_t U_EXPORT2 usearch_getOffset(const UStringSearch *strsrch)
2824 U_CAPI void U_EXPORT2 usearch_setAttribute(UStringSearch *strsrch,
2857 const UStringSearch *strsrch,
2885 const UStringSearch *strsrch)
2894 U_CAPI int32_t U_EXPORT2 usearch_getMatchedText(const UStringSearch *strsrch,
2927 const UStringSearch *strsrch)
2937 U_CAPI void U_EXPORT2 usearch_setBreakIterator(UStringSearch *strsrch,
2951 usearch_getBreakIterator(const UStringSearch *strsrch)
2961 U_CAPI void U_EXPORT2 usearch_setText( UStringSearch *strsrch,
2992 U_CAPI const UChar * U_EXPORT2 usearch_getText(const UStringSearch *strsrch,
3002 U_CAPI void U_EXPORT2 usearch_setCollator( UStringSearch *strsrch,
3055 U_CAPI UCollator * U_EXPORT2 usearch_getCollator(const UStringSearch *strsrch)
3063 U_CAPI void U_EXPORT2 usearch_setPattern( UStringSearch *strsrch,
3088 usearch_getPattern(const UStringSearch *strsrch,
3100 U_CAPI int32_t U_EXPORT2 usearch_first(UStringSearch *strsrch,
3113 U_CAPI int32_t U_EXPORT2 usearch_following(UStringSearch *strsrch,
3128 U_CAPI int32_t U_EXPORT2 usearch_last(UStringSearch *strsrch,
3141 U_CAPI int32_t U_EXPORT2 usearch_preceding(UStringSearch *strsrch,
3178 U_CAPI int32_t U_EXPORT2 usearch_next(UStringSearch *strsrch,
3286 U_CAPI int32_t U_EXPORT2 usearch_previous(UStringSearch *strsrch,
3374 U_CAPI void U_EXPORT2 usearch_reset(UStringSearch *strsrch)
3465 UStringSearch *strSearch;
3469 CEBuffer(UStringSearch *ss, UErrorCode *status);
3476 CEBuffer::CEBuffer(UStringSearch *ss, UErrorCode *status) {
3608 * Find the next break boundary after startIndex. If the UStringSearch object
3612 static int32_t nextBoundaryAfter(UStringSearch *strsrch, int32_t startIndex) {
3670 * Returns TRUE if index is on a break boundary. If the UStringSearch
3674 static UBool isBreakBoundary(UStringSearch *strsrch, int32_t index) {
3716 static UBool onBreakBoundaries(const UStringSearch *strsrch, int32_t start, int32_t end)
3803 U_CAPI UBool U_EXPORT2 usearch_search(UStringSearch *strsrch,
4070 U_CAPI UBool U_EXPORT2 usearch_searchBackwards(UStringSearch *strsrch,
4323 UBool usearch_handleNextExact(UStringSearch *strsrch, UErrorCode *status)
4437 UBool usearch_handleNextCanonical(UStringSearch *strsrch, UErrorCode *status)
4552 UBool usearch_handlePreviousExact(UStringSearch *strsrch, UErrorCode *status)
4693 UBool usearch_handlePreviousCanonical(UStringSearch *strsrch,