Home
last modified time | relevance | path

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

/third_party/icu/ohos_icu4j/src/main/java/ohos/global/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 …]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DUnicodeSetStringSpan.java445 int maxInc = 0, maxOverlap = 0; in spanWithStrings() local
470 … if ((overlap > maxOverlap || /* redundant overlap==maxOverlap && */inc > maxInc) in spanWithStrings()
472 maxInc = inc; // Longest match from earliest start. in spanWithStrings()
481 if (maxInc != 0 || maxOverlap != 0) { in spanWithStrings()
484 pos += maxInc; in spanWithStrings()
485 rest -= maxInc; in spanWithStrings()
581 int maxInc = (cpLength > 0) ? cpLength : 0; in spanAndCount() local
586 if (maxInc < length16 && length16 <= rest && in spanAndCount()
588 maxInc = length16; in spanAndCount()
592 if (maxInc == 0) { in spanAndCount()
[all …]
/third_party/skia/third_party/externals/icu/source/common/
Dunisetspan.cpp695 int32_t maxInc=0, maxOverlap=0; in span() local
723 if( (overlap>maxOverlap || /* redundant overlap==maxOverlap && */ inc>maxInc) && in span()
726 maxInc=inc; // Longest match from earliest start. in span()
735 if(maxInc!=0 || maxOverlap!=0) { in span()
738 pos+=maxInc; in span()
739 rest-=maxInc; in span()
1037 int32_t maxInc=0, maxOverlap=0; in spanUTF8() local
1066 /* redundant overlap==maxOverlap && */ inc>maxInc) && in spanUTF8()
1068 maxInc=inc; // Longest match from earliest start. in spanUTF8()
1078 if(maxInc!=0 || maxOverlap!=0) { in spanUTF8()
[all …]
/third_party/flutter/skia/third_party/externals/icu/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 …]
/third_party/node/deps/icu-small/source/common/
Dunisetspan.cpp695 int32_t maxInc=0, maxOverlap=0; in span() local
723 if( (overlap>maxOverlap || /* redundant overlap==maxOverlap && */ inc>maxInc) && in span()
726 maxInc=inc; // Longest match from earliest start. in span()
735 if(maxInc!=0 || maxOverlap!=0) { in span()
738 pos+=maxInc; in span()
739 rest-=maxInc; in span()
1037 int32_t maxInc=0, maxOverlap=0; in spanUTF8() local
1066 /* redundant overlap==maxOverlap && */ inc>maxInc) && in spanUTF8()
1068 maxInc=inc; // Longest match from earliest start. in spanUTF8()
1078 if(maxInc!=0 || maxOverlap!=0) { in spanUTF8()
[all …]
/third_party/icu/icu4c/source/common/
Dunisetspan.cpp695 int32_t maxInc=0, maxOverlap=0; in span() local
723 if( (overlap>maxOverlap || /* redundant overlap==maxOverlap && */ inc>maxInc) && in span()
726 maxInc=inc; // Longest match from earliest start. in span()
735 if(maxInc!=0 || maxOverlap!=0) { in span()
738 pos+=maxInc; in span()
739 rest-=maxInc; in span()
1037 int32_t maxInc=0, maxOverlap=0; in spanUTF8() local
1066 /* redundant overlap==maxOverlap && */ inc>maxInc) && in spanUTF8()
1068 maxInc=inc; // Longest match from earliest start. in spanUTF8()
1078 if(maxInc!=0 || maxOverlap!=0) { in spanUTF8()
[all …]