Home
last modified time | relevance | path

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

/external/icu/icu4c/source/test/cintltst/
Dusrchtst.c346 int32_t matchlength; in assertEqualWithUStringSearch() local
362 matchlength = search.size[count]; in assertEqualWithUStringSearch()
365 matchlength != usearch_getMatchedLength(strsrch)) { in assertEqualWithUStringSearch()
372 matchindex, matchlength); in assertEqualWithUStringSearch()
378 matchlength || U_FAILURE(status) || in assertEqualWithUStringSearch()
381 matchlength * sizeof(UChar)) != 0) { in assertEqualWithUStringSearch()
404 matchlength = search.size[count]; in assertEqualWithUStringSearch()
407 matchlength != usearch_getMatchedLength(strsrch)) { in assertEqualWithUStringSearch()
414 matchindex, matchlength); in assertEqualWithUStringSearch()
419 matchlength || U_FAILURE(status) || in assertEqualWithUStringSearch()
[all …]
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/
DSearchIterator.java403 int matchlength = search_.matchedLength(); in next() local
409 matchindex + matchlength >= endIdx)) { in next()
427 if (matchlength > 0) { in next()
432 index += matchlength; in next()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DSearchIterator.java388 int matchlength = search_.matchedLength(); in next() local
394 matchindex + matchlength >= endIdx)) { in next()
412 if (matchlength > 0) { in next()
417 index += matchlength; in next()
/external/lz4/doc/
Dlz4_Block_format.md80 Then we need to extract the `matchlength`.
93 Decoding the `matchlength` reaches the end of current sequence.
97 The decoder copies `matchlength` bytes from match position to current position.
99 In some cases, `matchlength` is larger than `offset`.
100 Therefore, `match_pos + matchlength > current_pos`,
104 meaning the last byte is repeated `matchlength` times.
/external/icu/icu4c/source/test/intltest/
Dsrchtest.cpp264 int32_t matchlength; in assertEqualWithStringSearch() local
279 matchlength = search->size[count]; in assertEqualWithStringSearch()
282 matchlength != strsrch->getMatchedLength()) { in assertEqualWithStringSearch()
289 matchindex, matchlength); in assertEqualWithStringSearch()
298 matchindex + matchlength, in assertEqualWithStringSearch()
322 matchlength = search->size[count]; in assertEqualWithStringSearch()
325 matchlength != strsrch->getMatchedLength()) { in assertEqualWithStringSearch()
332 matchindex, matchlength); in assertEqualWithStringSearch()
340 matchindex + matchlength, in assertEqualWithStringSearch()
388 matchlength = search->size[count]; in assertEqualWithStringSearch()
[all …]
/external/icu/icu4c/source/i18n/
Dsearch.cpp243 int32_t matchlength = m_search_->matchedLength; in next() local
249 matchindex + matchlength >= textlength)) { in next()
269 if (matchlength > 0) { in next()
275 offset += matchlength; in next()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/search/
DSearchTest.java686 int matchlength = search.size[count]; in assertEqualWithStringSearch() local
690 matchlength != strsrch.getMatchLength()) { in assertEqualWithStringSearch()
693 …errln("Expected offset,len " + matchindex + ", " + matchlength + "; got " + strsrch.getMatchStart(… in assertEqualWithStringSearch()
700 if (matchlength > 0 && in assertEqualWithStringSearch()
701 … targetText.substring(matchindex, matchindex + matchlength).compareTo(matchtext) != 0) { in assertEqualWithStringSearch()
719 int matchlength = search.size[count]; in assertEqualWithStringSearch() local
722 matchlength != strsrch.getMatchLength()) { in assertEqualWithStringSearch()
725 …errln("Expected offset,len " + matchindex + ", " + matchlength + "; got " + strsrch.getMatchStart(… in assertEqualWithStringSearch()
731 if (matchlength > 0 && in assertEqualWithStringSearch()
732 … 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.java683 int matchlength = search.size[count]; in assertEqualWithStringSearch() local
687 matchlength != strsrch.getMatchLength()) { in assertEqualWithStringSearch()
690 …errln("Expected offset,len " + matchindex + ", " + matchlength + "; got " + strsrch.getMatchStart(… in assertEqualWithStringSearch()
697 if (matchlength > 0 && in assertEqualWithStringSearch()
698 … targetText.substring(matchindex, matchindex + matchlength).compareTo(matchtext) != 0) { in assertEqualWithStringSearch()
716 int matchlength = search.size[count]; in assertEqualWithStringSearch() local
719 matchlength != strsrch.getMatchLength()) { in assertEqualWithStringSearch()
722 …errln("Expected offset,len " + matchindex + ", " + matchlength + "; got " + strsrch.getMatchStart(… in assertEqualWithStringSearch()
728 if (matchlength > 0 && in assertEqualWithStringSearch()
729 … targetText.substring(matchindex, matchindex + matchlength).compareTo(matchtext) != 0) { in assertEqualWithStringSearch()
[all …]