Home
last modified time | relevance | path

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

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDictionaryBreakEngine.java93 private int firstIdx = 4; // or Top of Stack. Index of element + 1. field in DictionaryBreakEngine.DequeI
96 return firstIdx - lastIdx; in size()
117 if (firstIdx >= data.length) { in push()
120 data[firstIdx++] = v; in push()
125 return data[--firstIdx]; in pop()
130 return data[firstIdx - 1]; in peek()
144 for (int i=lastIdx; i< firstIdx; i++) { in contains()
DCompactDecimalDataCache.java343 int firstIdx = template.indexOf("0"); in populatePrefixSuffix() local
345 if (firstIdx == -1) { in populatePrefixSuffix()
351 String prefix = fixQuotes(template.substring(0, firstIdx)); in populatePrefixSuffix()
363 int i = firstIdx + 1; in populatePrefixSuffix()
367 return i - firstIdx; in populatePrefixSuffix()
/external/icu/icu4c/source/i18n/
Dcompactdecimalformat.cpp769 int32_t firstIdx = formatStr.indexOf(kZero, UPRV_LENGTHOF(kZero), 0); in populatePrefixSuffix() local
771 if (firstIdx == -1) { in populatePrefixSuffix()
775 int32_t lastIdx = formatStr.lastIndexOf(kZero, UPRV_LENGTHOF(kZero), firstIdx); in populatePrefixSuffix()
781 unit->prefix = formatStr.tempSubString(0, firstIdx); in populatePrefixSuffix()
794 int32_t idx = firstIdx + 1; in populatePrefixSuffix()
798 return (idx - firstIdx); in populatePrefixSuffix()
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
DANTLRDebugTokenStream.m83 int firstIdx = input.index;
84 for (int i = 0; i<firstIdx; i++)