Home
last modified time | relevance | path

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

/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DAffixUtils.java50 private static final int STATE_BASE = 0; field in AffixUtils
109 int state = STATE_BASE; in estimateLength()
116 case STATE_BASE: in estimateLength()
129 state = STATE_BASE; in estimateLength()
185 int state = STATE_BASE; in escape()
201 if (state == STATE_BASE) { in escape()
214 state = STATE_BASE; in escape()
408 case STATE_BASE: in nextToken()
416 return makeTag(offset + count, TYPE_MINUS_SIGN, STATE_BASE, 0); in nextToken()
418 return makeTag(offset + count, TYPE_PLUS_SIGN, STATE_BASE, 0); in nextToken()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DAffixUtils.java48 private static final int STATE_BASE = 0; field in AffixUtils
107 int state = STATE_BASE; in estimateLength()
114 case STATE_BASE: in estimateLength()
127 state = STATE_BASE; in estimateLength()
183 int state = STATE_BASE; in escape()
199 if (state == STATE_BASE) { in escape()
212 state = STATE_BASE; in escape()
406 case STATE_BASE: in nextToken()
414 return makeTag(offset + count, TYPE_MINUS_SIGN, STATE_BASE, 0); in nextToken()
416 return makeTag(offset + count, TYPE_PLUS_SIGN, STATE_BASE, 0); in nextToken()
[all …]
/external/icu/icu4c/source/i18n/
Dnumber_affixutils.cpp16 AffixPatternState state = STATE_BASE; in estimateLength()
23 case STATE_BASE: in estimateLength()
36 state = STATE_BASE; in estimateLength()
81 AffixPatternState state = STATE_BASE; in escape()
97 if (state == STATE_BASE) { in escape()
110 state = STATE_BASE; in escape()
249 case STATE_BASE: in nextToken()
257 return makeTag(offset + count, TYPE_MINUS_SIGN, STATE_BASE, 0); in nextToken()
259 return makeTag(offset + count, TYPE_PLUS_SIGN, STATE_BASE, 0); in nextToken()
261 return makeTag(offset + count, TYPE_PERCENT, STATE_BASE, 0); in nextToken()
[all …]
Dnumber_affixutils.h20 STATE_BASE = 0, enumerator
40 AffixTag() : offset(0), state(STATE_BASE) {} in AffixTag()