Home | History | Annotate | Download | only in i18n

Lines Matching refs:UStringSearch

145 inline int32_t getCE(const UStringSearch *strsrch, uint32_t sourcece)
288 inline uint16_t initializePatternCETable(UStringSearch *strsrch,
360 inline uint16_t initializePatternPCETable(UStringSearch *strsrch,
427 * @param strsrch UStringSearch data storage
433 inline int16_t initializePattern(UStringSearch *strsrch, UErrorCode *status)
539 * @param strsrch UStringSearch data storage
544 inline void initialize(UStringSearch *strsrch, UErrorCode *status)
570 void checkBreakBoundary(const UStringSearch *strsrch, int32_t * /*start*/,
593 * Determine whether the target text in UStringSearch bounded by the offset
595 * determined by the breakiterator in UStringSearch.
601 UBool isBreakUnit(const UStringSearch *strsrch, int32_t start,
699 inline int32_t getNextUStringSearchBaseOffset(UStringSearch *strsrch,
728 inline int32_t shiftForward(UStringSearch *strsrch,
764 inline void setMatchNotFound(UStringSearch *strsrch)
827 UBool checkExtraMatchAccents(const UStringSearch *strsrch, int32_t start,
917 UBool hasAccentsBeforeMatch(const UStringSearch *strsrch, int32_t start,
998 UBool hasAccentsAfterMatch(const UStringSearch *strsrch, int32_t start,
1071 inline UBool checkIdentical(const UStringSearch *strsrch, int32_t start,
1099 inline UBool checkRepeatedMatch(UStringSearch *strsrch,
1159 UBool checkNextExactContractionMatch(UStringSearch *strsrch,
1246 inline UBool checkNextExactMatch(UStringSearch *strsrch,
1402 inline UBool checkCollationMatch(const UStringSearch *strsrch,
1442 int32_t doNextCanonicalPrefixMatch(UStringSearch *strsrch,
1548 inline void cleanUpSafeText(const UStringSearch *strsrch, UChar *safetext,
1573 int32_t doNextCanonicalSuffixMatch(UStringSearch *strsrch,
1706 UBool doNextCanonicalMatch(UStringSearch *strsrch,
1780 inline int32_t getPreviousUStringSearchBaseOffset(UStringSearch *strsrch,
1808 UBool checkNextCanonicalContractionMatch(UStringSearch *strsrch,
1906 inline UBool checkNextCanonicalMatch(UStringSearch *strsrch,
1961 inline int32_t reverseShift(UStringSearch *strsrch,
2006 UBool checkPreviousExactContractionMatch(UStringSearch *strsrch,
2092 inline UBool checkPreviousExactMatch(UStringSearch *strsrch,
2146 int32_t doPreviousCanonicalSuffixMatch(UStringSearch *strsrch,
2233 int32_t doPreviousCanonicalPrefixMatch(UStringSearch *strsrch,
2369 UBool doPreviousCanonicalMatch(UStringSearch *strsrch,
2446 UBool checkPreviousCanonicalContractionMatch(UStringSearch *strsrch,
2544 inline UBool checkPreviousCanonicalMatch(UStringSearch *strsrch,
2589 U_CAPI UStringSearch * U_EXPORT2 usearch_open(const UChar *pattern,
2610 UStringSearch *result = usearch_openFromCollator(pattern,
2629 U_CAPI UStringSearch * U_EXPORT2 usearch_openFromCollator(
2664 UStringSearch *result;
2676 result = (UStringSearch *)uprv_malloc(sizeof(UStringSearch));
2750 U_CAPI void U_EXPORT2 usearch_close(UStringSearch *strsrch)
2784 UBool initTextProcessedIter(UStringSearch *strsrch, UErrorCode *status) {
2802 U_CAPI void U_EXPORT2 usearch_setOffset(UStringSearch *strsrch,
2819 U_CAPI int32_t U_EXPORT2 usearch_getOffset(const UStringSearch *strsrch)
2831 U_CAPI void U_EXPORT2 usearch_setAttribute(UStringSearch *strsrch,
2864 const UStringSearch *strsrch,
2892 const UStringSearch *strsrch)
2901 U_CAPI int32_t U_EXPORT2 usearch_getMatchedText(const UStringSearch *strsrch,
2934 const UStringSearch *strsrch)
2944 U_CAPI void U_EXPORT2 usearch_setBreakIterator(UStringSearch *strsrch,
2958 usearch_getBreakIterator(const UStringSearch *strsrch)
2968 U_CAPI void U_EXPORT2 usearch_setText( UStringSearch *strsrch,
2999 U_CAPI const UChar * U_EXPORT2 usearch_getText(const UStringSearch *strsrch,
3009 U_CAPI void U_EXPORT2 usearch_setCollator( UStringSearch *strsrch,
3063 U_CAPI UCollator * U_EXPORT2 usearch_getCollator(const UStringSearch *strsrch)
3071 U_CAPI void U_EXPORT2 usearch_setPattern( UStringSearch *strsrch,
3096 usearch_getPattern(const UStringSearch *strsrch,
3108 U_CAPI int32_t U_EXPORT2 usearch_first(UStringSearch *strsrch,
3121 U_CAPI int32_t U_EXPORT2 usearch_following(UStringSearch *strsrch,
3136 U_CAPI int32_t U_EXPORT2 usearch_last(UStringSearch *strsrch,
3149 U_CAPI int32_t U_EXPORT2 usearch_preceding(UStringSearch *strsrch,
3186 U_CAPI int32_t U_EXPORT2 usearch_next(UStringSearch *strsrch,
3294 U_CAPI int32_t U_EXPORT2 usearch_previous(UStringSearch *strsrch,
3382 U_CAPI void U_EXPORT2 usearch_reset(UStringSearch *strsrch)
3470 UStringSearch *strSearch;
3474 CEBuffer(UStringSearch *ss, UErrorCode *status);
3481 CEBuffer::CEBuffer(UStringSearch *ss, UErrorCode *status) {
3615 * Find the next break boundary after startIndex. If the UStringSearch object
3619 static int32_t nextBoundaryAfter(UStringSearch *strsrch, int32_t startIndex) {
3677 * Returns TRUE if index is on a break boundary. If the UStringSearch
3681 static UBool isBreakBoundary(UStringSearch *strsrch, int32_t index) {
3723 static UBool onBreakBoundaries(const UStringSearch *strsrch, int32_t start, int32_t end)
3810 U_CAPI UBool U_EXPORT2 usearch_search(UStringSearch *strsrch,
4077 U_CAPI UBool U_EXPORT2 usearch_searchBackwards(UStringSearch *strsrch,
4330 UBool usearch_handleNextExact(UStringSearch *strsrch, UErrorCode *status)
4444 UBool usearch_handleNextCanonical(UStringSearch *strsrch, UErrorCode *status)
4559 UBool usearch_handlePreviousExact(UStringSearch *strsrch, UErrorCode *status)
4704 UBool usearch_handlePreviousCanonical(UStringSearch *strsrch,