Home
last modified time | relevance | path

Searched refs:maxInc (Results 1 – 3 of 3) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/impl/
DUnicodeSetStringSpan.java442 int maxInc = 0, maxOverlap = 0; in spanWithStrings() local
467 … if ((overlap > maxOverlap || /* redundant overlap==maxOverlap && */inc > maxInc) in spanWithStrings()
469 maxInc = inc; // Longest match from earliest start. in spanWithStrings()
478 if (maxInc != 0 || maxOverlap != 0) { in spanWithStrings()
481 pos += maxInc; in spanWithStrings()
482 rest -= maxInc; in spanWithStrings()
578 int maxInc = (cpLength > 0) ? cpLength : 0; in spanAndCount() local
583 if (maxInc < length16 && length16 <= rest && in spanAndCount()
585 maxInc = length16; in spanAndCount()
589 if (maxInc == 0) { in spanAndCount()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DUnicodeSetStringSpan.java438 int maxInc = 0, maxOverlap = 0; in spanWithStrings() local
463 … if ((overlap > maxOverlap || /* redundant overlap==maxOverlap && */inc > maxInc) in spanWithStrings()
465 maxInc = inc; // Longest match from earliest start. in spanWithStrings()
474 if (maxInc != 0 || maxOverlap != 0) { in spanWithStrings()
477 pos += maxInc; in spanWithStrings()
478 rest -= maxInc; in spanWithStrings()
574 int maxInc = (cpLength > 0) ? cpLength : 0; in spanAndCount() local
579 if (maxInc < length16 && length16 <= rest && in spanAndCount()
581 maxInc = length16; in spanAndCount()
585 if (maxInc == 0) { in spanAndCount()
[all …]
/external/icu/icu4c/source/common/
Dunisetspan.cpp691 int32_t maxInc=0, maxOverlap=0; in span() local
716 if( (overlap>maxOverlap || /* redundant overlap==maxOverlap && */ inc>maxInc) && in span()
719 maxInc=inc; // Longest match from earliest start. in span()
728 if(maxInc!=0 || maxOverlap!=0) { in span()
731 pos+=maxInc; in span()
732 rest-=maxInc; in span()
1026 int32_t maxInc=0, maxOverlap=0; in spanUTF8() local
1055 /* redundant overlap==maxOverlap && */ inc>maxInc) && in spanUTF8()
1057 maxInc=inc; // Longest match from earliest start. in spanUTF8()
1067 if(maxInc!=0 || maxOverlap!=0) { in spanUTF8()
[all …]