Home
last modified time | relevance | path

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

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DUnicodeSetStringSpan.java434 int maxInc = 0, maxOverlap = 0; in spanWithStrings() local
459 … if ((overlap > maxOverlap || /* redundant overlap==maxOverlap && */inc > maxInc) in spanWithStrings()
461 maxInc = inc; // Longest match from earliest start. in spanWithStrings()
470 if (maxInc != 0 || maxOverlap != 0) { in spanWithStrings()
473 pos += maxInc; in spanWithStrings()
474 rest -= maxInc; in spanWithStrings()
570 int maxInc = (cpLength > 0) ? cpLength : 0; in spanAndCount() local
575 if (maxInc < length16 && length16 <= rest && in spanAndCount()
577 maxInc = length16; in spanAndCount()
581 if (maxInc == 0) { in spanAndCount()
[all …]
/external/icu/android_icu4j/src/main/java/android/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.cpp689 int32_t maxInc=0, maxOverlap=0; in span() local
714 if( (overlap>maxOverlap || /* redundant overlap==maxOverlap && */ inc>maxInc) && in span()
717 maxInc=inc; // Longest match from earliest start. in span()
726 if(maxInc!=0 || maxOverlap!=0) { in span()
729 pos+=maxInc; in span()
730 rest-=maxInc; in span()
1026 int32_t maxInc=0, maxOverlap=0; in spanUTF8() local
1054 (overlap>maxOverlap || /* redundant overlap==maxOverlap && */ inc>maxInc) && in spanUTF8()
1058 maxInc=inc; // Longest match from earliest start. in spanUTF8()
1068 if(maxInc!=0 || maxOverlap!=0) { in spanUTF8()
[all …]