Home
last modified time | relevance | path

Searched refs:STATE_BASE (Results 1 – 4 of 4) sorted by relevance

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DAffixUtils.java64 private static final int STATE_BASE = 0; field in AffixUtils
129 int state = STATE_BASE; in estimateLength()
136 case STATE_BASE: in estimateLength()
149 state = STATE_BASE; in estimateLength()
209 int state = STATE_BASE; in escape()
225 if (state == STATE_BASE) { in escape()
238 state = STATE_BASE; in escape()
493 case STATE_BASE: in nextToken()
501 return makeTag(offset + count, TYPE_MINUS_SIGN, STATE_BASE, 0); in nextToken()
503 return makeTag(offset + count, TYPE_PLUS_SIGN, STATE_BASE, 0); in nextToken()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DAffixUtils.java66 private static final int STATE_BASE = 0; field in AffixUtils
137 int state = STATE_BASE; in estimateLength()
144 case STATE_BASE: in estimateLength()
157 state = STATE_BASE; in estimateLength()
217 int state = STATE_BASE; in escape()
233 if (state == STATE_BASE) { in escape()
246 state = STATE_BASE; in escape()
501 case STATE_BASE: in nextToken()
509 return makeTag(offset + count, TYPE_MINUS_SIGN, STATE_BASE, 0); in nextToken()
511 return makeTag(offset + count, TYPE_PLUS_SIGN, STATE_BASE, 0); in nextToken()
[all …]
/external/icu/icu4c/source/i18n/
Dnumber_affixutils.cpp20 AffixPatternState state = STATE_BASE; in estimateLength()
27 case STATE_BASE: in estimateLength()
40 state = STATE_BASE; in estimateLength()
86 AffixPatternState state = STATE_BASE; in escape()
102 if (state == STATE_BASE) { in escape()
115 state = STATE_BASE; in escape()
284 case STATE_BASE: in nextToken()
292 return makeTag(offset + count, TYPE_MINUS_SIGN, STATE_BASE, 0); in nextToken()
294 return makeTag(offset + count, TYPE_PLUS_SIGN, STATE_BASE, 0); in nextToken()
296 return makeTag(offset + count, TYPE_PERCENT, STATE_BASE, 0); in nextToken()
[all …]
Dnumber_affixutils.h21 STATE_BASE = 0, enumerator
42 : offset(0), state(STATE_BASE) {} in AffixTag()