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.java19 private static final int MAX_UNCHANGED = MAX_UNCHANGED_LENGTH - 1; field in Edits
79 if(last < MAX_UNCHANGED) { in addUnchanged()
80 int remaining = MAX_UNCHANGED - last; in addUnchanged()
85 setLastUnit(MAX_UNCHANGED); in addUnchanged()
90 append(MAX_UNCHANGED); in addUnchanged()
130 if(MAX_UNCHANGED < last && last < MAX_SHORT_CHANGE && in addReplace()
333 if (u <= MAX_UNCHANGED) { in next()
337 while (index < length && (u = array[index]) <= MAX_UNCHANGED) { in next()
379 while (index < length && (u = array[index]) > MAX_UNCHANGED) { in next()
417 assert(MAX_UNCHANGED < u && u <= MAX_SHORT_CHANGE); in previous()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DEdits.java20 private static final int MAX_UNCHANGED = MAX_UNCHANGED_LENGTH - 1; field in Edits
77 if(last < MAX_UNCHANGED) { in addUnchanged()
78 int remaining = MAX_UNCHANGED - last; in addUnchanged()
83 setLastUnit(MAX_UNCHANGED); in addUnchanged()
88 append(MAX_UNCHANGED); in addUnchanged()
127 if(MAX_UNCHANGED < last && last < MAX_SHORT_CHANGE && in addReplace()
325 if (u <= MAX_UNCHANGED) { in next()
329 while (index < length && (u = array[index]) <= MAX_UNCHANGED) { in next()
371 while (index < length && (u = array[index]) > MAX_UNCHANGED) { in next()
409 assert(MAX_UNCHANGED < u && u <= MAX_SHORT_CHANGE); in previous()
[all …]
/external/icu/icu4c/source/common/
Dedits.cpp18 const int32_t MAX_UNCHANGED = MAX_UNCHANGED_LENGTH - 1; variable
119 if(last < MAX_UNCHANGED) { in addUnchanged()
120 int32_t remaining = MAX_UNCHANGED - last; in addUnchanged()
125 setLastUnit(MAX_UNCHANGED); in addUnchanged()
130 append(MAX_UNCHANGED); in addUnchanged()
165 if(MAX_UNCHANGED < last && last < MAX_SHORT_CHANGE && in addReplace()
481 if (u <= MAX_UNCHANGED) { in next()
485 while (index < length && (u = array[index]) <= MAX_UNCHANGED) { in next()
527 while (index < length && (u = array[index]) > MAX_UNCHANGED) { in next()
568 U_ASSERT(MAX_UNCHANGED < u && u <= MAX_SHORT_CHANGE); in previous()
[all …]