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.cpp102 TEST_ASSERT(b->elementAti(1) == 20); in UVector32_API()
144 TEST_ASSERT(a->elementAti(0) == 10); in UVector32_API()
145 TEST_ASSERT(a->elementAti(1) == 666); in UVector32_API()
159 TEST_ASSERT(a->elementAti(0) == 10); in UVector32_API()
160 TEST_ASSERT(a->elementAti(1) == 666); in UVector32_API()
161 TEST_ASSERT(a->elementAti(2) == 20); in UVector32_API()
162 TEST_ASSERT(a->elementAti(3) == 30); in UVector32_API()
344 TEST_ASSERT(a->elementAti(0) == 10); in UVector32_API()
345 TEST_ASSERT(a->elementAti(1) == 20); in UVector32_API()
346 TEST_ASSERT(a->elementAti(2) == 30); in UVector32_API()
[all …]
Duvectest.cpp115 TEST_ASSERT(a->elementAti(0) == 10); in UVector_API()
116 TEST_ASSERT(a->elementAti(1) == 15); in UVector_API()
117 TEST_ASSERT(a->elementAti(2) == 20); in UVector_API()
118 TEST_ASSERT(a->elementAti(3) == 30); in UVector_API()
/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()
DUVector64.java21 public long elementAti(int i) { return buffer[i]; } in elementAti() method in UVector64
DUVector32.java21 public int elementAti(int i) { return buffer[i]; } in elementAti() method in UVector32
/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()
DUVector32.java25 public int elementAti(int i) { return buffer[i]; } in elementAti() method in UVector32
DUVector64.java25 public long elementAti(int i) { return buffer[i]; } in elementAti() method in UVector64
/external/icu/icu4c/source/i18n/
Dfpositer.cpp72 if (adopt->elementAti(i) >= adopt->elementAti(i+1)) { in setData()
98 fp.setField(data->elementAti(pos++)); in next()
99 fp.setBeginIndex(data->elementAti(pos++)); in next()
100 fp.setEndIndex(data->elementAti(pos++)); in next()
Dregexcmp.cpp414 int32_t op = (int32_t)fRXPat->fCompiledPat->elementAti(savePosition); in doParseActions()
785 int32_t repeatedOp = (int32_t)fRXPat->fCompiledPat->elementAti(topLoc); in doParseActions()
917 int32_t repeatedOp = (int32_t)fRXPat->fCompiledPat->elementAti(topLoc); in doParseActions()
2021 int32_t op = (int32_t)code->elementAti(loc); in insertOp()
2043 int32_t x = fParenStack.elementAti(loc); in insertOp()
2140 U_ASSERT(URX_TYPE(((uint32_t)fRXPat->fCompiledPat->elementAti(theLoc))) == URX_NOP); in blockTopLoc()
2147 int32_t opAtTheLoc = (int32_t)fRXPat->fCompiledPat->elementAti(theLoc); in blockTopLoc()
2197 patOp = (int32_t)fRXPat->fCompiledPat->elementAti(patIdx); in handleCloseParen()
2225 int32_t captureOp = (int32_t)fRXPat->fCompiledPat->elementAti(fMatchOpenParen+1); in handleCloseParen()
2237 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.cpp99 vec->setElementAt(delta + vec->elementAti(i), i); in shiftLast()
101 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()
Dcollationdatabuilder.cpp399 int64_t dataCE = fromBase ? base->ces[i] : ce64s.elementAti(i); in getCE32FromOffsetCE32()
455 ce32 = fromBase ? base->ce32s[i] : ce32s.elementAti(i); in getSingleCE()
464 return fromBase ? base->ces[i] : ce64s.elementAti(i); in getSingleCE()
472 ce32 = ce32s.elementAti(Collation::indexFromCE32(ce32)); in getSingleCE()
477 ce32 = fromBase ? base->ce32s[0] : ce32s.elementAti(0); in getSingleCE()
493 if(ce == ce64s.elementAti(i)) { return i; } in addCE()
503 if(ce32 == (uint32_t)ce32s.elementAti(i)) { return i; } in addCE32()
710 if(first == ce64s.elementAti(i)) { in encodeExpansion()
720 if(ce64s.elementAti(i + j) != ces[j]) { break; } in encodeExpansion()
744 if(first == ce32s.elementAti(i)) { in encodeExpansion32()
[all …]
/external/icu/icu4c/source/common/
Ddictbe.cpp1194 inputMap->elementAti(fragmentStartI) : fragmentStartI+rangeStart; in divideUpDictionaryRange()
1204 inputMap->elementAti(inString.length()) : inString.length()+rangeStart; in divideUpDictionaryRange()
1229 inputMap->setElementAt(inputMap->elementAti(cuIdx), cpIdx); in divideUpDictionaryRange()
1273 if ((uint32_t)bestSnlp.elementAti(i) == kuint32max) { in divideUpDictionaryRange()
1289 if ((count == 0 || lengths.elementAti(0) != 1) && in divideUpDictionaryRange()
1296 uint32_t newSnlp = (uint32_t)bestSnlp.elementAti(i) + (uint32_t)values.elementAti(j); in divideUpDictionaryRange()
1297 int32_t ln_j_i = lengths.elementAti(j) + i; in divideUpDictionaryRange()
1298 if (newSnlp < (uint32_t)bestSnlp.elementAti(ln_j_i)) { in divideUpDictionaryRange()
1321 uint32_t newSnlp = bestSnlp.elementAti(i) + getKatakanaCost(katakanaRunLength); in divideUpDictionaryRange()
1322 if (newSnlp < (uint32_t)bestSnlp.elementAti(i+katakanaRunLength)) { in divideUpDictionaryRange()
[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()
92 U_ASSERT(fBreaks.elementAti(fPositionInCache) == fromPos); in preceding()
97 …if (fPositionInCache > 0 && fPositionInCache < fBreaks.size() && fBreaks.elementAti(fPositionInCac… in preceding()
99 r = fBreaks.elementAti(fPositionInCache); in preceding()
112 r = fBreaks.elementAti(fPositionInCache); in preceding()
183 if (startPos < fBreaks.elementAti(0)) { in populateDictionary()
195 fStart = fBreaks.elementAti(0); in populateDictionary()
Drbbitblb.cpp895 nextTagGroupStart += fRB->fRuleStatusVals->elementAti(thisTagGroupStart) + 1; in mergeRuleStatusVals()
896 … if (thisStatesTagValues->size() != fRB->fRuleStatusVals->elementAti(thisTagGroupStart)) { in mergeRuleStatusVals()
905 if (thisStatesTagValues->elementAti(i) != in mergeRuleStatusVals()
906 fRB->fRuleStatusVals->elementAti(thisTagGroupStart + 1 + i) ) { in mergeRuleStatusVals()
925 fRB->fRuleStatusVals->addElement(thisStatesTagValues->elementAti(i), *fStatus); in mergeRuleStatusVals()
957 int32_t valAtI = vec->elementAti(i); in sortedAdd()
1092 table_base = (uint16_t)sd->fDtran->elementAti(categories->first); in findDuplCharClassFrom()
1093 table_dupl = (uint16_t)sd->fDtran->elementAti(categories->second); in findDuplCharClassFrom()
1137 int32_t firstVal = firstSD->fDtran->elementAti(col); in findDuplicateState()
1138 int32_t duplVal = duplSD->fDtran->elementAti(col); in findDuplicateState()
[all …]
Duvectr64.h105 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 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()
Duvector.h141 int32_t elementAti(int32_t index) const;
378 return elementAti(count-1); in lastElementi()
Dustack.cpp52 result = elementAti(n); in popi()

12