Home
last modified time | relevance | path

Searched refs:matchlength (Results 1 – 8 of 8) sorted by relevance

/external/icu/icu4c/source/test/cintltst/
Dusrchtst.c344 int32_t matchlength; in assertEqualWithUStringSearch() local
360 matchlength = search.size[count]; in assertEqualWithUStringSearch()
363 matchlength != (uint32_t)usearch_getMatchedLength(strsrch)) { in assertEqualWithUStringSearch()
370 matchindex, matchlength); in assertEqualWithUStringSearch()
376 (int32_t) matchlength || U_FAILURE(status) || in assertEqualWithUStringSearch()
379 matchlength * sizeof(UChar)) != 0) { in assertEqualWithUStringSearch()
402 matchlength = search.size[count]; in assertEqualWithUStringSearch()
405 matchlength != (uint32_t)usearch_getMatchedLength(strsrch)) { in assertEqualWithUStringSearch()
412 matchindex, matchlength); in assertEqualWithUStringSearch()
417 (int32_t) matchlength || U_FAILURE(status) || in assertEqualWithUStringSearch()
[all …]
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/
DSearchIterator.java401 int matchlength = search_.matchedLength(); in next() local
407 matchindex + matchlength >= endIdx)) { in next()
425 if (matchlength > 0) { in next()
430 index += matchlength; in next()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DSearchIterator.java386 int matchlength = search_.matchedLength(); in next() local
392 matchindex + matchlength >= endIdx)) { in next()
410 if (matchlength > 0) { in next()
415 index += matchlength; in next()
/external/icu/icu4c/source/test/intltest/
Dsrchtest.cpp261 int32_t matchlength; in assertEqualWithStringSearch() local
276 matchlength = search->size[count]; in assertEqualWithStringSearch()
279 matchlength != strsrch->getMatchedLength()) { in assertEqualWithStringSearch()
286 matchindex, matchlength); in assertEqualWithStringSearch()
295 matchindex + matchlength, in assertEqualWithStringSearch()
319 matchlength = search->size[count]; in assertEqualWithStringSearch()
322 matchlength != strsrch->getMatchedLength()) { in assertEqualWithStringSearch()
329 matchindex, matchlength); in assertEqualWithStringSearch()
337 matchindex + matchlength, in assertEqualWithStringSearch()
385 matchlength = search->size[count]; in assertEqualWithStringSearch()
[all …]
/external/icu/icu4c/source/i18n/
Dsearch.cpp241 int32_t matchlength = m_search_->matchedLength; in next() local
247 matchindex + matchlength >= textlength)) { in next()
267 if (matchlength > 0) { in next()
273 offset += matchlength; in next()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/search/
DSearchTest.java681 int matchlength = search.size[count]; in assertEqualWithStringSearch() local
685 matchlength != strsrch.getMatchLength()) { in assertEqualWithStringSearch()
688 …errln("Expected offset,len " + matchindex + ", " + matchlength + "; got " + strsrch.getMatchStart(… in assertEqualWithStringSearch()
695 if (matchlength > 0 && in assertEqualWithStringSearch()
696 … targetText.substring(matchindex, matchindex + matchlength).compareTo(matchtext) != 0) { in assertEqualWithStringSearch()
714 int matchlength = search.size[count]; in assertEqualWithStringSearch() local
717 matchlength != strsrch.getMatchLength()) { in assertEqualWithStringSearch()
720 …errln("Expected offset,len " + matchindex + ", " + matchlength + "; got " + strsrch.getMatchStart(… in assertEqualWithStringSearch()
726 if (matchlength > 0 && in assertEqualWithStringSearch()
727 … targetText.substring(matchindex, matchindex + matchlength).compareTo(matchtext) != 0) { in assertEqualWithStringSearch()
[all …]
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/search/
DSearchTest.java677 int matchlength = search.size[count]; in assertEqualWithStringSearch() local
681 matchlength != strsrch.getMatchLength()) { in assertEqualWithStringSearch()
684 …errln("Expected offset,len " + matchindex + ", " + matchlength + "; got " + strsrch.getMatchStart(… in assertEqualWithStringSearch()
691 if (matchlength > 0 && in assertEqualWithStringSearch()
692 … targetText.substring(matchindex, matchindex + matchlength).compareTo(matchtext) != 0) { in assertEqualWithStringSearch()
710 int matchlength = search.size[count]; in assertEqualWithStringSearch() local
713 matchlength != strsrch.getMatchLength()) { in assertEqualWithStringSearch()
716 …errln("Expected offset,len " + matchindex + ", " + matchlength + "; got " + strsrch.getMatchStart(… in assertEqualWithStringSearch()
722 if (matchlength > 0 && in assertEqualWithStringSearch()
723 … targetText.substring(matchindex, matchindex + matchlength).compareTo(matchtext) != 0) { in assertEqualWithStringSearch()
[all …]
/external/lz4/
Dlz4_block_format.txt87 With the offset and the matchlength,
89 On decoding the matchlength, we reach the end of the compressed sequence,