Home
last modified time | relevance | path

Searched refs:elementAti (Results 1 – 25 of 45) sorted by relevance

12

/external/icu/icu4c/source/i18n/
Dformattedval_iterimpl.cpp52 UFieldCategory category = static_cast<UFieldCategory>(fFields.elementAti(i * 4)); in nextPosition()
53 int32_t field = fFields.elementAti(i * 4 + 1); in nextPosition()
55 int32_t start = fFields.elementAti(i * 4 + 2); in nextPosition()
56 int32_t limit = fFields.elementAti(i * 4 + 3); in nextPosition()
98 int32_t field1 = fFields.elementAti(i * 4 + 1); in addOverlapSpans()
100 int32_t field2 = fFields.elementAti(j * 4 + 1); in addOverlapSpans()
105 s1a = uprv_min(s1a, fFields.elementAti(i * 4 + 2)); in addOverlapSpans()
106 s1b = uprv_max(s1b, fFields.elementAti(i * 4 + 3)); in addOverlapSpans()
107 s2a = uprv_min(s2a, fFields.elementAti(j * 4 + 2)); in addOverlapSpans()
108 s2b = uprv_max(s2b, fFields.elementAti(j * 4 + 3)); in addOverlapSpans()
[all …]
Dfpositer.cpp72 if (adopt->elementAti(i) >= adopt->elementAti(i+1)) { in setData()
100 fp.setField(data->elementAti(pos++)); in next()
101 fp.setBeginIndex(data->elementAti(pos++)); in next()
102 fp.setEndIndex(data->elementAti(pos++)); in next()
Dregexcmp.cpp411 int32_t op = (int32_t)fRXPat->fCompiledPat->elementAti(savePosition); in doParseActions()
801 int32_t repeatedOp = (int32_t)fRXPat->fCompiledPat->elementAti(topLoc); in doParseActions()
933 int32_t repeatedOp = (int32_t)fRXPat->fCompiledPat->elementAti(topLoc); in doParseActions()
2031 int32_t op = (int32_t)code->elementAti(loc); in insertOp()
2053 int32_t x = fParenStack.elementAti(loc); in insertOp()
2150 U_ASSERT(URX_TYPE(((uint32_t)fRXPat->fCompiledPat->elementAti(theLoc))) == URX_NOP); in blockTopLoc()
2157 int32_t opAtTheLoc = (int32_t)fRXPat->fCompiledPat->elementAti(theLoc); in blockTopLoc()
2207 patOp = (int32_t)fRXPat->fCompiledPat->elementAti(patIdx); in handleCloseParen()
2235 int32_t captureOp = (int32_t)fRXPat->fCompiledPat->elementAti(fMatchOpenParen+1); in handleCloseParen()
2247 int32_t stoOp = (int32_t)fRXPat->fCompiledPat->elementAti(fMatchOpenParen+1); in handleCloseParen()
[all …]
Dcollationbuilder.cpp324 int64_t node = nodes.elementAti(index); in addReset()
329 node = nodes.elementAti(index); in addReset()
361 node = nodes.elementAti(index); in addReset()
374 node = nodes.elementAti(index); in addReset()
396 node = nodes.elementAti(i); in addReset()
451 node = nodes.elementAti(index); in getWeight16Before()
464 node = nodes.elementAti(index); in getWeight16Before()
501 int64_t node = nodes.elementAti(index); in getSpecialResetPosition()
503 node = nodes.elementAti(index); in getSpecialResetPosition()
520 int64_t node = nodes.elementAti(index); in getSpecialResetPosition()
[all …]
Dfphdlimp.cpp111 vec->setElementAt(delta + vec->elementAti(i), i); in shiftLast()
113 vec->setElementAt(delta + vec->elementAti(i), i); in shiftLast()
Dcollationfastlatinbuilder.cpp441 U_ASSERT(((uint32_t)uniqueCEs.elementAti(0) >> 16) != 0); in encodeUniqueCEs()
448 int64_t ce = uniqueCEs.elementAti(i); in encodeUniqueCEs()
557 int64_t ce = uniqueCEs.elementAti(i); in encodeUniqueCEs()
610 int32_t x = static_cast<int32_t>(contractionCEs.elementAti(index)); in encodeContractions()
612 int64_t cce0 = contractionCEs.elementAti(index + 1); in encodeContractions()
613 int64_t cce1 = contractionCEs.elementAti(index + 2); in encodeContractions()
/external/icu/icu4c/source/test/intltest/
Dv32test.cpp104 TEST_ASSERT(b->elementAti(1) == 20); in UVector32_API()
146 TEST_ASSERT(a->elementAti(0) == 10); in UVector32_API()
147 TEST_ASSERT(a->elementAti(1) == 666); in UVector32_API()
161 TEST_ASSERT(a->elementAti(0) == 10); in UVector32_API()
162 TEST_ASSERT(a->elementAti(1) == 666); in UVector32_API()
163 TEST_ASSERT(a->elementAti(2) == 20); in UVector32_API()
164 TEST_ASSERT(a->elementAti(3) == 30); in UVector32_API()
346 TEST_ASSERT(a->elementAti(0) == 10); in UVector32_API()
347 TEST_ASSERT(a->elementAti(1) == 20); in UVector32_API()
348 TEST_ASSERT(a->elementAti(2) == 30); in UVector32_API()
[all …]
Duvectest.cpp117 TEST_ASSERT(a->elementAti(0) == 10); in UVector_API()
118 TEST_ASSERT(a->elementAti(1) == 15); in UVector_API()
119 TEST_ASSERT(a->elementAti(2) == 20); in UVector_API()
120 TEST_ASSERT(a->elementAti(3) == 30); in UVector_API()
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DCollationBuilder.java133 long node = nodes.elementAti(index); in addReset()
138 node = nodes.elementAti(index); in addReset()
167 node = nodes.elementAti(index); in addReset()
180 node = nodes.elementAti(index); in addReset()
199 node = nodes.elementAti(i); in addReset()
253 node = nodes.elementAti(index); in getWeight16Before()
266 node = nodes.elementAti(index); in getWeight16Before()
300 long node = nodes.elementAti(index); in getSpecialResetPosition()
302 node = nodes.elementAti(index); in getSpecialResetPosition()
318 long node = nodes.elementAti(index); in getSpecialResetPosition()
[all …]
DCollationFastLatinBuilder.java411 assert(((int)uniqueCEs.elementAti(0) >>> 16) != 0); in encodeUniqueCEs()
418 long ce = uniqueCEs.elementAti(i); in encodeUniqueCEs()
574 long x = contractionCEs.elementAti(index); in encodeContractions()
576 long cce0 = contractionCEs.elementAti(index + 1); in encodeContractions()
577 long cce1 = contractionCEs.elementAti(index + 2); in encodeContractions()
DUVector64.java25 public long elementAti(int i) { return buffer[i]; } in elementAti() method in UVector64
DUVector32.java25 public int elementAti(int i) { return buffer[i]; } in elementAti() method in UVector32
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationBuilder.java129 long node = nodes.elementAti(index); in addReset()
134 node = nodes.elementAti(index); in addReset()
163 node = nodes.elementAti(index); in addReset()
176 node = nodes.elementAti(index); in addReset()
195 node = nodes.elementAti(i); in addReset()
249 node = nodes.elementAti(index); in getWeight16Before()
262 node = nodes.elementAti(index); in getWeight16Before()
296 long node = nodes.elementAti(index); in getSpecialResetPosition()
298 node = nodes.elementAti(index); in getSpecialResetPosition()
314 long node = nodes.elementAti(index); in getSpecialResetPosition()
[all …]
DCollationFastLatinBuilder.java410 assert(((int)uniqueCEs.elementAti(0) >>> 16) != 0); in encodeUniqueCEs()
417 long ce = uniqueCEs.elementAti(i); in encodeUniqueCEs()
573 long x = contractionCEs.elementAti(index); in encodeContractions()
575 long cce0 = contractionCEs.elementAti(index + 1); in encodeContractions()
576 long cce1 = contractionCEs.elementAti(index + 2); in encodeContractions()
DUVector32.java21 public int elementAti(int i) { return buffer[i]; } in elementAti() method in UVector32
DUVector64.java21 public long elementAti(int i) { return buffer[i]; } in elementAti() method in UVector64
/external/icu/icu4c/source/common/
Drbbitblb.cpp738 int32_t laSlot = fLookAheadRuleMap->elementAti(ruleNum); in mapLookAheadRules()
766 int32_t existingVal = fLookAheadRuleMap->elementAti(ruleNum); in mapLookAheadRules()
813 sd->fAccepting = fLookAheadRuleMap->elementAti(endMarker->fVal); in flagAcceptingStates()
822 sd->fAccepting = fLookAheadRuleMap->elementAti(endMarker->fVal); in flagAcceptingStates()
859 uint32_t lookaheadSlot = fLookAheadRuleMap->elementAti(lookAheadNode->fVal); in flagLookAheadStates()
961 nextTagGroupStart += fRB->fRuleStatusVals->elementAti(thisTagGroupStart) + 1; in mergeRuleStatusVals()
962 … if (thisStatesTagValues->size() != fRB->fRuleStatusVals->elementAti(thisTagGroupStart)) { in mergeRuleStatusVals()
971 if (thisStatesTagValues->elementAti(i) != in mergeRuleStatusVals()
972 fRB->fRuleStatusVals->elementAti(thisTagGroupStart + 1 + i) ) { in mergeRuleStatusVals()
991 fRB->fRuleStatusVals->addElement(thisStatesTagValues->elementAti(i), *fStatus); in mergeRuleStatusVals()
[all …]
Drbbi_cache.cpp54 …if (fPositionInCache >= 0 && fPositionInCache < fBreaks.size() && fBreaks.elementAti(fPositionInCa… in following()
60 r = fBreaks.elementAti(fPositionInCache); in following()
70 r= fBreaks.elementAti(fPositionInCache); in following()
90 U_ASSERT(fBreaks.elementAti(fPositionInCache) == fromPos); in preceding()
95 …if (fPositionInCache > 0 && fPositionInCache < fBreaks.size() && fBreaks.elementAti(fPositionInCac… in preceding()
97 r = fBreaks.elementAti(fPositionInCache); in preceding()
110 r = fBreaks.elementAti(fPositionInCache); in preceding()
181 if (startPos < fBreaks.elementAti(0)) { in populateDictionary()
193 fStart = fBreaks.elementAti(0); in populateDictionary()
Ddictbe.cpp1212 inputMap->elementAti(fragmentStartI) : fragmentStartI+rangeStart; in divideUpDictionaryRange()
1222 inputMap->elementAti(inString.length()) : inString.length()+rangeStart; in divideUpDictionaryRange()
1247 inputMap->setElementAt(inputMap->elementAti(cuIdx), cpIdx); in divideUpDictionaryRange()
1291 if ((uint32_t)bestSnlp.elementAti(i) == kuint32max) { in divideUpDictionaryRange()
1307 if ((count == 0 || lengths.elementAti(0) != 1) && in divideUpDictionaryRange()
1314 uint32_t newSnlp = (uint32_t)bestSnlp.elementAti(i) + (uint32_t)values.elementAti(j); in divideUpDictionaryRange()
1315 int32_t ln_j_i = lengths.elementAti(j) + i; in divideUpDictionaryRange()
1316 if (newSnlp < (uint32_t)bestSnlp.elementAti(ln_j_i)) { in divideUpDictionaryRange()
1339 uint32_t newSnlp = bestSnlp.elementAti(i) + getKatakanaCost(katakanaRunLength); in divideUpDictionaryRange()
1340 if (newSnlp < (uint32_t)bestSnlp.elementAti(i+katakanaRunLength)) { in divideUpDictionaryRange()
[all …]
Duvectr64.h105 inline int64_t elementAti(int32_t index) const;
212 inline int64_t UVector64::elementAti(int32_t index) const { in elementAti() function
249 return elementAti(count-1); in lastElementi()
Duvectr32.h106 inline int32_t elementAti(int32_t index) const;
223 inline int32_t UVector32::elementAti(int32_t index) const { in elementAti() function
268 return elementAti(count-1); in lastElementi()
Ducharstrieiterator.cpp113 int32_t length=stack_->elementAti(stackSize-1); in next()
114 pos=uchars_+stack_->elementAti(stackSize-2); in next()
Dbytestrieiterator.cpp114 int32_t length=stack_->elementAti(stackSize-1); in next()
115 pos=bytes_+stack_->elementAti(stackSize-2); in next()
/external/icu/libicu/cts_headers/
Duvectr64.h105 inline int64_t elementAti(int32_t index) const;
212 inline int64_t UVector64::elementAti(int32_t index) const { in elementAti() function
249 return elementAti(count-1); in lastElementi()
Duvectr32.h106 inline int32_t elementAti(int32_t index) const;
223 inline int32_t UVector32::elementAti(int32_t index) const { in elementAti() function
268 return elementAti(count-1); in lastElementi()

12