Searched refs:elementAti (Results 1 - 25 of 35) sorted by relevance

12

/external/icu/icu4c/source/i18n/
H A Dfpositer.cpp67 if (adopt->elementAti(i) >= adopt->elementAti(i+1)) {
93 fp.setField(data->elementAti(pos++));
94 fp.setBeginIndex(data->elementAti(pos++));
95 fp.setEndIndex(data->elementAti(pos++));
H A Dfphdlimp.cpp106 vec->setElementAt(delta + vec->elementAti(i), i);
108 vec->setElementAt(delta + vec->elementAti(i), i);
H A Dcollationbuilder.cpp322 int64_t node = nodes.elementAti(index);
327 node = nodes.elementAti(index);
359 node = nodes.elementAti(index);
372 node = nodes.elementAti(index);
394 node = nodes.elementAti(i);
449 node = nodes.elementAti(index);
462 node = nodes.elementAti(index);
499 int64_t node = nodes.elementAti(index);
501 node = nodes.elementAti(index);
518 int64_t node = nodes.elementAti(inde
[all...]
H A Duspoof_conf.cpp417 int32_t key = fKeyVec->elementAti(i);
439 uint32_t value = static_cast<uint32_t>(fValueVec->elementAti(i));
479 uint32_t offset = static_cast<uint32_t>(fStringLengthsTable->elementAti(i));
480 uint32_t length = static_cast<uint32_t>(fStringLengthsTable->elementAti(i+1));
527 int32_t key = fKeyVec->elementAti(i);
566 int32_t previousKey = fKeyVec->elementAti(previousKeyIndex);
575 int32_t key = fKeyVec->elementAti(index);
576 int32_t value = fValueVec->elementAti(index);
589 lastIndexWithLen = fStringLengthsTable->elementAti(i);
591 length = fStringLengthsTable->elementAti(
[all...]
H A Dregexcmp.cpp410 int32_t op = (int32_t)fRXPat->fCompiledPat->elementAti(savePosition);
781 int32_t repeatedOp = (int32_t)fRXPat->fCompiledPat->elementAti(topLoc);
913 int32_t repeatedOp = (int32_t)fRXPat->fCompiledPat->elementAti(topLoc);
2016 int32_t op = (int32_t)code->elementAti(loc);
2038 int32_t x = fParenStack.elementAti(loc);
2135 U_ASSERT(URX_TYPE(((uint32_t)fRXPat->fCompiledPat->elementAti(theLoc))) == URX_NOP);
2142 int32_t opAtTheLoc = (int32_t)fRXPat->fCompiledPat->elementAti(theLoc);
2192 patOp = (int32_t)fRXPat->fCompiledPat->elementAti(patIdx);
2220 int32_t captureOp = (int32_t)fRXPat->fCompiledPat->elementAti(fMatchOpenParen+1);
2232 int32_t stoOp = (int32_t)fRXPat->fCompiledPat->elementAti(fMatchOpenPare
[all...]
H A Dcollationdatabuilder.cpp397 int64_t dataCE = fromBase ? base->ces[i] : ce64s.elementAti(i);
453 ce32 = fromBase ? base->ce32s[i] : ce32s.elementAti(i);
462 return fromBase ? base->ces[i] : ce64s.elementAti(i);
470 ce32 = ce32s.elementAti(Collation::indexFromCE32(ce32));
475 ce32 = fromBase ? base->ce32s[0] : ce32s.elementAti(0);
491 if(ce == ce64s.elementAti(i)) { return i; }
501 if(ce32 == (uint32_t)ce32s.elementAti(i)) { return i; }
708 if(first == ce64s.elementAti(i)) {
718 if(ce64s.elementAti(i + j) != ces[j]) { break; }
742 if(first == ce32s.elementAti(
[all...]
H A Dcollationfastlatinbuilder.cpp439 U_ASSERT(((uint32_t)uniqueCEs.elementAti(0) >> 16) != 0);
446 int64_t ce = uniqueCEs.elementAti(i);
555 int64_t ce = uniqueCEs.elementAti(i);
608 int32_t x = contractionCEs.elementAti(index);
610 int64_t cce0 = contractionCEs.elementAti(index + 1);
611 int64_t cce1 = contractionCEs.elementAti(index + 2);
H A Dplurrule.cpp508 if (curAndConstraint->rangeList->elementAti(rangeLowIdx) == -1) {
514 if (curAndConstraint->rangeList->elementAti(rangeLowIdx) >
515 curAndConstraint->rangeList->elementAti(rangeHiIdx)) {
776 if (rangeList->elementAti(r) <= n && n <= rangeList->elementAti(r+1)) {
973 int32_t rangeLo = andRule->rangeList->elementAti(r);
974 int32_t rangeHi = andRule->rangeList->elementAti(r+1);
/external/icu/icu4c/source/test/intltest/
H A Dv32test.cpp100 TEST_ASSERT(b->elementAti(1) == 20);
142 TEST_ASSERT(a->elementAti(0) == 10);
143 TEST_ASSERT(a->elementAti(1) == 666);
157 TEST_ASSERT(a->elementAti(0) == 10);
158 TEST_ASSERT(a->elementAti(1) == 666);
159 TEST_ASSERT(a->elementAti(2) == 20);
160 TEST_ASSERT(a->elementAti(3) == 30);
166 // elementAti() covered by above tests
342 TEST_ASSERT(a->elementAti(0) == 10);
343 TEST_ASSERT(a->elementAti(
[all...]
H A Duvectest.cpp113 TEST_ASSERT(a->elementAti(0) == 10);
114 TEST_ASSERT(a->elementAti(1) == 15);
115 TEST_ASSERT(a->elementAti(2) == 20);
116 TEST_ASSERT(a->elementAti(3) == 30);
H A Drbbitst.cpp245 if (fActualBreakPositions.elementAti(actualIndex) != fExpectedBreakPositions.elementAti(expectedIndex)) {
248 if (fActualBreakPositions.elementAti(actualIndex) < fExpectedBreakPositions.elementAti(expectedIndex)) {
256 if (fActualTags.elementAti(actualIndex) != fExpectedTags.elementAti(expectedIndex)) {
259 fExpectedTags.elementAti(expectedIndex), fActualTags.elementAti(actualIndex));
273 int32_t expected = fExpectedBreakPositions.elementAti(expectedIdx);
274 int32_t actual = fActualBreakPositions.elementAti(actualId
[all...]
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
H A DCollationBuilder.java126 long node = nodes.elementAti(index);
131 node = nodes.elementAti(index);
160 node = nodes.elementAti(index);
173 node = nodes.elementAti(index);
192 node = nodes.elementAti(i);
246 node = nodes.elementAti(index);
259 node = nodes.elementAti(index);
293 long node = nodes.elementAti(index);
295 node = nodes.elementAti(index);
311 long node = nodes.elementAti(inde
[all...]
H A DUVector32.java19 public int elementAti(int i) { return buffer[i]; } method in class:UVector32
H A DUVector64.java19 public long elementAti(int i) { return buffer[i]; } method in class:UVector64
H A DCollationFastLatinBuilder.java408 assert(((int)uniqueCEs.elementAti(0) >>> 16) != 0);
415 long ce = uniqueCEs.elementAti(i);
524 long ce = uniqueCEs.elementAti(i);
571 long x = contractionCEs.elementAti(index);
573 long cce0 = contractionCEs.elementAti(index + 1);
574 long cce1 = contractionCEs.elementAti(index + 2);
H A DCollationDataBuilder.java397 long dataCE = fromBase ? base.ces[i] : ce64s.elementAti(i);
405 if(ce == ce64s.elementAti(i)) { return i; }
414 if(ce32 == ce32s.elementAti(i)) { return i; }
483 if(first == ce64s.elementAti(i)) {
494 if(ce64s.elementAti(i + j) != ces[start + j]) { break; }
516 if(first == ce32s.elementAti(i)) {
527 if(ce32s.elementAti(i + j) != newCE32s[start + j]) { break; }
/external/icu/icu4c/source/common/
H A Duvectr32.h104 int32_t elementAti(int32_t index) const;
221 inline int32_t UVector32::elementAti(int32_t index) const { function in class:UVector32
266 return elementAti(count-1);
H A Duvectr64.h103 int64_t elementAti(int32_t index) const;
210 inline int64_t UVector64::elementAti(int32_t index) const { function in class:UVector64
247 return elementAti(count-1);
H A Dustack.cpp50 result = elementAti(n);
H A Ddictbe.cpp1216 int32_t fragmentOriginalStart = inputMap? inputMap->elementAti(fragmentStartI) : fragmentStartI+rangeStart;
1225 int32_t nativeEnd = inputMap? inputMap->elementAti(inString->length()) : inString->length()+rangeStart;
1249 inputMap->setElementAt(inputMap->elementAti(cuIdx), cpIdx);
1292 if ((uint32_t)bestSnlp.elementAti(i) == kuint32max) {
1308 if ((count == 0 || lengths.elementAti(0) != 1) &&
1315 uint32_t newSnlp = (uint32_t)bestSnlp.elementAti(i) + (uint32_t)values.elementAti(j);
1316 int32_t ln_j_i = lengths.elementAti(j) + i;
1317 if (newSnlp < (uint32_t)bestSnlp.elementAti(ln_j_i)) {
1341 uint32_t newSnlp = bestSnlp.elementAti(
[all...]
H A Drbbitblb.cpp871 nextTagGroupStart += fRB->fRuleStatusVals->elementAti(thisTagGroupStart) + 1;
872 if (thisStatesTagValues->size() != fRB->fRuleStatusVals->elementAti(thisTagGroupStart)) {
881 if (thisStatesTagValues->elementAti(i) !=
882 fRB->fRuleStatusVals->elementAti(thisTagGroupStart + 1 + i) ) {
901 fRB->fRuleStatusVals->addElement(thisStatesTagValues->elementAti(i), *fStatus);
933 int32_t valAtI = vec->elementAti(i);
1128 row->fNextState[col] = (uint16_t)sd->fDtran->elementAti(col);
1179 RBBIDebugPrintf(" %2d", sd->fDtran->elementAti(c));
1206 nextRecord = thisRecord + tbl->elementAti(thisRecord) + 1;
1209 RBBIDebugPrintf(" %5d", tbl->elementAti(
[all...]
H A Dbytestrieiterator.cpp112 int32_t length=stack_->elementAti(stackSize-1);
113 pos=bytes_+stack_->elementAti(stackSize-2);
H A Ducharstrieiterator.cpp111 int32_t length=stack_->elementAti(stackSize-1);
112 pos=uchars_+stack_->elementAti(stackSize-2);
H A Duvector.h139 int32_t elementAti(int32_t index) const;
376 return elementAti(count-1);
/external/icu/icu4c/source/tools/toolutil/
H A Dcollationinfo.cpp129 int32_t pair = ranges.elementAti(i);

Completed in 404 milliseconds

12