Home
last modified time | relevance | path

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

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DEdits.java62 private static final int MAX_UNCHANGED = MAX_UNCHANGED_LENGTH - 1; field in Edits
119 if(last < MAX_UNCHANGED) { in addUnchanged()
120 int remaining = MAX_UNCHANGED - last; in addUnchanged()
125 setLastUnit(MAX_UNCHANGED); in addUnchanged()
130 append(MAX_UNCHANGED); in addUnchanged()
169 if(MAX_UNCHANGED < last && last < MAX_SHORT_CHANGE && in addReplace()
381 if (u <= MAX_UNCHANGED) { in next()
385 while (index < length && (u = array[index]) <= MAX_UNCHANGED) { in next()
427 while (index < length && (u = array[index]) > MAX_UNCHANGED) { in next()
465 assert(MAX_UNCHANGED < u && u <= MAX_SHORT_CHANGE); in previous()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DEdits.java60 private static final int MAX_UNCHANGED = MAX_UNCHANGED_LENGTH - 1; field in Edits
114 if(last < MAX_UNCHANGED) { in addUnchanged()
115 int remaining = MAX_UNCHANGED - last; in addUnchanged()
120 setLastUnit(MAX_UNCHANGED); in addUnchanged()
125 append(MAX_UNCHANGED); in addUnchanged()
163 if(MAX_UNCHANGED < last && last < MAX_SHORT_CHANGE && in addReplace()
370 if (u <= MAX_UNCHANGED) { in next()
374 while (index < length && (u = array[index]) <= MAX_UNCHANGED) { in next()
416 while (index < length && (u = array[index]) > MAX_UNCHANGED) { in next()
454 assert(MAX_UNCHANGED < u && u <= MAX_SHORT_CHANGE); in previous()
[all …]
/external/icu/icu4c/source/common/
Dedits.cpp20 const int32_t MAX_UNCHANGED = MAX_UNCHANGED_LENGTH - 1; variable
121 if(last < MAX_UNCHANGED) { in addUnchanged()
122 int32_t remaining = MAX_UNCHANGED - last; in addUnchanged()
127 setLastUnit(MAX_UNCHANGED); in addUnchanged()
132 append(MAX_UNCHANGED); in addUnchanged()
167 if(MAX_UNCHANGED < last && last < MAX_SHORT_CHANGE && in addReplace()
483 if (u <= MAX_UNCHANGED) { in next()
487 while (index < length && (u = array[index]) <= MAX_UNCHANGED) { in next()
529 while (index < length && (u = array[index]) > MAX_UNCHANGED) { in next()
570 U_ASSERT(MAX_UNCHANGED < u && u <= MAX_SHORT_CHANGE); in previous()
[all …]