Home
last modified time | relevance | path

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

12

/external/icu/icu4c/source/test/intltest/
Dv32test.cpp100 TEST_ASSERT(b->elementAti(1) == 20); in UVector32_API()
142 TEST_ASSERT(a->elementAti(0) == 10); in UVector32_API()
143 TEST_ASSERT(a->elementAti(1) == 666); in UVector32_API()
157 TEST_ASSERT(a->elementAti(0) == 10); in UVector32_API()
158 TEST_ASSERT(a->elementAti(1) == 666); in UVector32_API()
159 TEST_ASSERT(a->elementAti(2) == 20); in UVector32_API()
160 TEST_ASSERT(a->elementAti(3) == 30); in UVector32_API()
342 TEST_ASSERT(a->elementAti(0) == 10); in UVector32_API()
343 TEST_ASSERT(a->elementAti(1) == 20); in UVector32_API()
344 TEST_ASSERT(a->elementAti(2) == 30); in UVector32_API()
[all …]
Duvectest.cpp113 TEST_ASSERT(a->elementAti(0) == 10); in UVector_API()
114 TEST_ASSERT(a->elementAti(1) == 15); in UVector_API()
115 TEST_ASSERT(a->elementAti(2) == 20); in UVector_API()
116 TEST_ASSERT(a->elementAti(3) == 30); in UVector_API()
/external/icu/icu4c/source/i18n/
Dfpositer.cpp67 if (adopt->elementAti(i) >= adopt->elementAti(i+1)) { in setData()
93 fp.setField(data->elementAti(pos++)); in next()
94 fp.setBeginIndex(data->elementAti(pos++)); in next()
95 fp.setEndIndex(data->elementAti(pos++)); in next()
Dregexcmp.cpp410 int32_t op = (int32_t)fRXPat->fCompiledPat->elementAti(savePosition); in doParseActions()
781 int32_t repeatedOp = (int32_t)fRXPat->fCompiledPat->elementAti(topLoc); in doParseActions()
913 int32_t repeatedOp = (int32_t)fRXPat->fCompiledPat->elementAti(topLoc); in doParseActions()
2016 int32_t op = (int32_t)code->elementAti(loc); in insertOp()
2038 int32_t x = fParenStack.elementAti(loc); in insertOp()
2135 U_ASSERT(URX_TYPE(((uint32_t)fRXPat->fCompiledPat->elementAti(theLoc))) == URX_NOP); in blockTopLoc()
2142 int32_t opAtTheLoc = (int32_t)fRXPat->fCompiledPat->elementAti(theLoc); in blockTopLoc()
2192 patOp = (int32_t)fRXPat->fCompiledPat->elementAti(patIdx); in handleCloseParen()
2220 int32_t captureOp = (int32_t)fRXPat->fCompiledPat->elementAti(fMatchOpenParen+1); in handleCloseParen()
2232 int32_t stoOp = (int32_t)fRXPat->fCompiledPat->elementAti(fMatchOpenParen+1); in handleCloseParen()
[all …]
Dcollationbuilder.cpp322 int64_t node = nodes.elementAti(index); in addReset()
327 node = nodes.elementAti(index); in addReset()
359 node = nodes.elementAti(index); in addReset()
372 node = nodes.elementAti(index); in addReset()
394 node = nodes.elementAti(i); in addReset()
449 node = nodes.elementAti(index); in getWeight16Before()
462 node = nodes.elementAti(index); in getWeight16Before()
499 int64_t node = nodes.elementAti(index); in getSpecialResetPosition()
501 node = nodes.elementAti(index); in getSpecialResetPosition()
518 int64_t node = nodes.elementAti(index); in getSpecialResetPosition()
[all …]
Duspoof_conf.cpp440 int32_t key = fKeyVec->elementAti(i); in outputData()
462 uint32_t value = static_cast<uint32_t>(fValueVec->elementAti(i)); in outputData()
502 uint32_t offset = static_cast<uint32_t>(fStringLengthsTable->elementAti(i)); in outputData()
503 uint32_t length = static_cast<uint32_t>(fStringLengthsTable->elementAti(i+1)); in outputData()
550 int32_t key = fKeyVec->elementAti(i); in addKeyEntry()
589 int32_t previousKey = fKeyVec->elementAti(previousKeyIndex); in addKeyEntry()
598 int32_t key = fKeyVec->elementAti(index); in getMapping()
599 int32_t value = fValueVec->elementAti(index); in getMapping()
612 lastIndexWithLen = fStringLengthsTable->elementAti(i); in getMapping()
614 length = fStringLengthsTable->elementAti(i+1); in getMapping()
Dfphdlimp.cpp106 vec->setElementAt(delta + vec->elementAti(i), i); in shiftLast()
108 vec->setElementAt(delta + vec->elementAti(i), i); in shiftLast()
Dcollationfastlatinbuilder.cpp439 U_ASSERT(((uint32_t)uniqueCEs.elementAti(0) >> 16) != 0); in encodeUniqueCEs()
446 int64_t ce = uniqueCEs.elementAti(i); in encodeUniqueCEs()
555 int64_t ce = uniqueCEs.elementAti(i); in encodeUniqueCEs()
608 int32_t x = contractionCEs.elementAti(index); in encodeContractions()
610 int64_t cce0 = contractionCEs.elementAti(index + 1); in encodeContractions()
611 int64_t cce1 = contractionCEs.elementAti(index + 2); in encodeContractions()
Dcollationdatabuilder.cpp397 int64_t dataCE = fromBase ? base->ces[i] : ce64s.elementAti(i); in getCE32FromOffsetCE32()
453 ce32 = fromBase ? base->ce32s[i] : ce32s.elementAti(i); in getSingleCE()
462 return fromBase ? base->ces[i] : ce64s.elementAti(i); in getSingleCE()
470 ce32 = ce32s.elementAti(Collation::indexFromCE32(ce32)); in getSingleCE()
475 ce32 = fromBase ? base->ce32s[0] : ce32s.elementAti(0); in getSingleCE()
491 if(ce == ce64s.elementAti(i)) { return i; } in addCE()
501 if(ce32 == (uint32_t)ce32s.elementAti(i)) { return i; } in addCE32()
708 if(first == ce64s.elementAti(i)) { in encodeExpansion()
718 if(ce64s.elementAti(i + j) != ces[j]) { break; } in encodeExpansion()
742 if(first == ce32s.elementAti(i)) { in encodeExpansion32()
[all …]
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationBuilder.java126 long node = nodes.elementAti(index); in addReset()
131 node = nodes.elementAti(index); in addReset()
160 node = nodes.elementAti(index); in addReset()
173 node = nodes.elementAti(index); in addReset()
192 node = nodes.elementAti(i); in addReset()
246 node = nodes.elementAti(index); in getWeight16Before()
259 node = nodes.elementAti(index); in getWeight16Before()
293 long node = nodes.elementAti(index); in getSpecialResetPosition()
295 node = nodes.elementAti(index); in getSpecialResetPosition()
311 long node = nodes.elementAti(index); in getSpecialResetPosition()
[all …]
DCollationFastLatinBuilder.java408 assert(((int)uniqueCEs.elementAti(0) >>> 16) != 0); in encodeUniqueCEs()
415 long ce = uniqueCEs.elementAti(i); in encodeUniqueCEs()
571 long x = contractionCEs.elementAti(index); in encodeContractions()
573 long cce0 = contractionCEs.elementAti(index + 1); in encodeContractions()
574 long cce1 = contractionCEs.elementAti(index + 2); in encodeContractions()
DUVector32.java19 public int elementAti(int i) { return buffer[i]; } in elementAti() method in UVector32
DUVector64.java19 public long elementAti(int i) { return buffer[i]; } in elementAti() method in UVector64
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DCollationBuilder.java130 long node = nodes.elementAti(index); in addReset()
135 node = nodes.elementAti(index); in addReset()
164 node = nodes.elementAti(index); in addReset()
177 node = nodes.elementAti(index); in addReset()
196 node = nodes.elementAti(i); in addReset()
250 node = nodes.elementAti(index); in getWeight16Before()
263 node = nodes.elementAti(index); in getWeight16Before()
297 long node = nodes.elementAti(index); in getSpecialResetPosition()
299 node = nodes.elementAti(index); in getSpecialResetPosition()
315 long node = nodes.elementAti(index); in getSpecialResetPosition()
[all …]
DCollationFastLatinBuilder.java409 assert(((int)uniqueCEs.elementAti(0) >>> 16) != 0); in encodeUniqueCEs()
416 long ce = uniqueCEs.elementAti(i); in encodeUniqueCEs()
572 long x = contractionCEs.elementAti(index); in encodeContractions()
574 long cce0 = contractionCEs.elementAti(index + 1); in encodeContractions()
575 long cce1 = contractionCEs.elementAti(index + 2); in encodeContractions()
DUVector32.java23 public int elementAti(int i) { return buffer[i]; } in elementAti() method in UVector32
DUVector64.java23 public long elementAti(int i) { return buffer[i]; } in elementAti() method in UVector64
/external/icu/icu4c/source/common/
Ddictbe.cpp1219 inputMap->elementAti(fragmentStartI) : fragmentStartI+rangeStart; in divideUpDictionaryRange()
1229 inputMap->elementAti(inString.length()) : inString.length()+rangeStart; in divideUpDictionaryRange()
1254 inputMap->setElementAt(inputMap->elementAti(cuIdx), cpIdx); in divideUpDictionaryRange()
1297 if ((uint32_t)bestSnlp.elementAti(i) == kuint32max) { in divideUpDictionaryRange()
1313 if ((count == 0 || lengths.elementAti(0) != 1) && in divideUpDictionaryRange()
1320 uint32_t newSnlp = (uint32_t)bestSnlp.elementAti(i) + (uint32_t)values.elementAti(j); in divideUpDictionaryRange()
1321 int32_t ln_j_i = lengths.elementAti(j) + i; in divideUpDictionaryRange()
1322 if (newSnlp < (uint32_t)bestSnlp.elementAti(ln_j_i)) { in divideUpDictionaryRange()
1346 uint32_t newSnlp = bestSnlp.elementAti(i) + getKatakanaCost(katakanaRunLength); in divideUpDictionaryRange()
1347 if (newSnlp < (uint32_t)bestSnlp.elementAti(j)) { in divideUpDictionaryRange()
[all …]
Duvectr64.h103 int64_t elementAti(int32_t index) const;
210 inline int64_t UVector64::elementAti(int32_t index) const { in elementAti() function
247 return elementAti(count-1); in lastElementi()
Duvectr32.h104 int32_t elementAti(int32_t index) const;
221 inline int32_t UVector32::elementAti(int32_t index) const { in elementAti() function
266 return elementAti(count-1); in lastElementi()
Drbbitblb.cpp871 nextTagGroupStart += fRB->fRuleStatusVals->elementAti(thisTagGroupStart) + 1; in mergeRuleStatusVals()
872 … if (thisStatesTagValues->size() != fRB->fRuleStatusVals->elementAti(thisTagGroupStart)) { in mergeRuleStatusVals()
881 if (thisStatesTagValues->elementAti(i) != in mergeRuleStatusVals()
882 fRB->fRuleStatusVals->elementAti(thisTagGroupStart + 1 + i) ) { in mergeRuleStatusVals()
901 fRB->fRuleStatusVals->addElement(thisStatesTagValues->elementAti(i), *fStatus); in mergeRuleStatusVals()
933 int32_t valAtI = vec->elementAti(i); in sortedAdd()
1128 row->fNextState[col] = (uint16_t)sd->fDtran->elementAti(col); in exportTable()
1179 RBBIDebugPrintf(" %2d", sd->fDtran->elementAti(c)); in printStates()
1206 nextRecord = thisRecord + tbl->elementAti(thisRecord) + 1; in printRuleStatusTable()
1209 RBBIDebugPrintf(" %5d", tbl->elementAti(i)); in printRuleStatusTable()
Ducharstrieiterator.cpp111 int32_t length=stack_->elementAti(stackSize-1); in next()
112 pos=uchars_+stack_->elementAti(stackSize-2); in next()
Dbytestrieiterator.cpp112 int32_t length=stack_->elementAti(stackSize-1); in next()
113 pos=bytes_+stack_->elementAti(stackSize-2); in next()
Duvector.h139 int32_t elementAti(int32_t index) const;
376 return elementAti(count-1); in lastElementi()
Dustack.cpp50 result = elementAti(n); in popi()

12