Home
last modified time | relevance | path

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

/external/icu/icu4c/source/common/
Dunisetspan.cpp857 int32_t maxDec=0, maxOverlap=0; in spanBack() local
882 if( (overlap>maxOverlap || /* redundant overlap==maxOverlap && */ dec>maxDec) && in spanBack()
885 maxDec=dec; // Longest match from latest end. in spanBack()
894 if(maxDec!=0 || maxOverlap!=0) { in spanBack()
897 pos-=maxDec; in spanBack()
1206 int32_t maxDec=0, maxOverlap=0; in spanBackUTF8() local
1234 (overlap>maxOverlap || /* redundant overlap==maxOverlap && */ dec>maxDec) && in spanBackUTF8()
1237 maxDec=dec; // Longest match from latest end. in spanBackUTF8()
1247 if(maxDec!=0 || maxOverlap!=0) { in spanBackUTF8()
1250 pos-=maxDec; in spanBackUTF8()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DUnicodeSetStringSpan.java713 int maxDec = 0, maxOverlap = 0; in spanBack() local
738 … if ((overlap > maxOverlap || /* redundant overlap==maxOverlap && */dec > maxDec) in spanBack()
740 maxDec = dec; // Longest match from latest end. in spanBack()
749 if (maxDec != 0 || maxOverlap != 0) { in spanBack()
752 pos -= maxDec; in spanBack()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DUnicodeSetStringSpan.java709 int maxDec = 0, maxOverlap = 0; in spanBack() local
734 … if ((overlap > maxOverlap || /* redundant overlap==maxOverlap && */dec > maxDec) in spanBack()
736 maxDec = dec; // Longest match from latest end. in spanBack()
745 if (maxDec != 0 || maxOverlap != 0) { in spanBack()
748 pos -= maxDec; in spanBack()