Home
last modified time | relevance | path

Searched refs:textlength (Results 1 – 6 of 6) sorted by relevance

/external/icu/icu4c/source/i18n/
Dusearch.cpp675 int32_t textlength) in getNextBaseOffset() argument
677 if (textoffset < textlength) { in getNextBaseOffset()
679 if (getFCD(text, &temp, textlength) >> SECOND_LAST_BYTE_SHIFT_) { in getNextBaseOffset()
680 while (temp < textlength) { in getNextBaseOffset()
682 if ((getFCD(text, &temp, textlength) >> in getNextBaseOffset()
687 return textlength; in getNextBaseOffset()
706 int32_t textlength = strsrch->search->textLength; in getNextUStringSearchBaseOffset() local
708 textoffset < textlength) { in getNextUStringSearchBaseOffset()
712 if (getFCD(text, &temp, textlength) & LAST_BYTE_MASK_) { in getNextUStringSearchBaseOffset()
713 return getNextBaseOffset(text, textoffset, textlength); in getNextUStringSearchBaseOffset()
[all …]
Dsearch.cpp246 int32_t textlength = m_search_->textLength; in next() local
247 if (offset == textlength || matchindex == textlength || in next()
249 matchindex + matchlength >= textlength)) { in next()
/external/icu/icu4c/source/test/cintltst/
Dusrchtst.c344 int32_t textlength; in assertEqualWithUStringSearch() local
366 char *str = toCharString(usearch_getText(strsrch, &textlength)); in assertEqualWithUStringSearch()
368 str = toCharString(usearch_getPattern(strsrch, &textlength)); in assertEqualWithUStringSearch()
380 usearch_getText(strsrch, &textlength) + matchindex, in assertEqualWithUStringSearch()
390 char *str = toCharString(usearch_getText(strsrch, &textlength)); in assertEqualWithUStringSearch()
392 str = toCharString(usearch_getPattern(strsrch, &textlength)); in assertEqualWithUStringSearch()
408 char *str = toCharString(usearch_getText(strsrch, &textlength)); in assertEqualWithUStringSearch()
410 str = toCharString(usearch_getPattern(strsrch, &textlength)); in assertEqualWithUStringSearch()
421 usearch_getText(strsrch, &textlength) + matchindex, in assertEqualWithUStringSearch()
432 char *str = toCharString(usearch_getText(strsrch, &textlength)); in assertEqualWithUStringSearch()
[all …]
/external/icu/icu4c/source/i18n/unicode/
Dusearch.h304 int32_t textlength,
337 int32_t textlength,
552 int32_t textlength,
/external/icu/libandroidicu/include/unicode/
Dusearch.h304 int32_t textlength,
337 int32_t textlength,
552 int32_t textlength,
/external/icu/libandroidicu/static_shim/
Dshim.cpp2529 …st UChar * pattern, int32_t patternlength, const UChar * text, int32_t textlength, const char * lo… in usearch_open_android() argument
2530 return usearch_open(pattern, patternlength, text, textlength, locale, breakiter, status); in usearch_open_android()
2532 …st UChar * pattern, int32_t patternlength, const UChar * text, int32_t textlength, const UCollator… in usearch_openFromCollator_android() argument
2533 …return usearch_openFromCollator(pattern, patternlength, text, textlength, collator, breakiter, sta… in usearch_openFromCollator_android()
2559 void usearch_setText_android(UStringSearch * strsrch, const UChar * text, int32_t textlength, UErro… in usearch_setText_android() argument
2560 usearch_setText(strsrch, text, textlength, status); in usearch_setText_android()