Home
last modified time | relevance | path

Searched refs:maxOverlap (Results 1 – 4 of 4) sorted by relevance

/external/icu/icu4c/source/common/
Dunisetspan.cpp689 int32_t maxInc=0, maxOverlap=0; in span() local
710 if(inc>rest || overlap<maxOverlap) { in span()
714 if( (overlap>maxOverlap || /* redundant overlap==maxOverlap && */ inc>maxInc) && in span()
718 maxOverlap=overlap; in span()
726 if(maxInc!=0 || maxOverlap!=0) { in span()
855 int32_t maxDec=0, maxOverlap=0; in spanBack() local
876 if(dec>pos || overlap<maxOverlap) { in spanBack()
880 if( (overlap>maxOverlap || /* redundant overlap==maxOverlap && */ dec>maxDec) && in spanBack()
884 maxOverlap=overlap; in spanBack()
892 if(maxDec!=0 || maxOverlap!=0) { in spanBack()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DUnicodeSetStringSpan.java434 int maxInc = 0, maxOverlap = 0; in spanWithStrings() local
455 if (inc > rest || overlap < maxOverlap) { in spanWithStrings()
459 … if ((overlap > maxOverlap || /* redundant overlap==maxOverlap && */inc > maxInc) in spanWithStrings()
462 maxOverlap = overlap; in spanWithStrings()
470 if (maxInc != 0 || maxOverlap != 0) { in spanWithStrings()
705 int maxDec = 0, maxOverlap = 0; in spanBack() local
726 if (dec > pos || overlap < maxOverlap) { in spanBack()
730 … if ((overlap > maxOverlap || /* redundant overlap==maxOverlap && */dec > maxDec) in spanBack()
733 maxOverlap = overlap; in spanBack()
741 if (maxDec != 0 || maxOverlap != 0) { in spanBack()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DUnicodeSetStringSpan.java438 int maxInc = 0, maxOverlap = 0; in spanWithStrings() local
459 if (inc > rest || overlap < maxOverlap) { in spanWithStrings()
463 … if ((overlap > maxOverlap || /* redundant overlap==maxOverlap && */inc > maxInc) in spanWithStrings()
466 maxOverlap = overlap; in spanWithStrings()
474 if (maxInc != 0 || maxOverlap != 0) { in spanWithStrings()
709 int maxDec = 0, maxOverlap = 0; in spanBack() local
730 if (dec > pos || overlap < maxOverlap) { in spanBack()
734 … if ((overlap > maxOverlap || /* redundant overlap==maxOverlap && */dec > maxDec) in spanBack()
737 maxOverlap = overlap; in spanBack()
745 if (maxDec != 0 || maxOverlap != 0) { in spanBack()
/external/icu/icu4c/source/tools/makeconv/
Dgenmbcs.cpp685 uint32_t blockSize, newTop, i, nextOffset, newBlock, min, overlap, maxOverlap; in MBCSAddFromUnicode() local
766 maxOverlap=(nextOffset&~(MBCS_STAGE_3_GRANULARITY-1))*maxCharLength; in MBCSAddFromUnicode()
768 overlap<maxOverlap && stage3[newBlock-overlap-1]==0; in MBCSAddFromUnicode()