/external/icu/icu4c/source/test/intltest/ |
D | v32test.cpp | 100 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 …]
|
D | uvectest.cpp | 113 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()
|
D | rbbitst.cpp | 245 …if (fActualBreakPositions.elementAti(actualIndex) != fExpectedBreakPositions.elementAti(expectedIn… in checkResults() 248 …if (fActualBreakPositions.elementAti(actualIndex) < fExpectedBreakPositions.elementAti(expectedInd… in checkResults() 256 if (fActualTags.elementAti(actualIndex) != fExpectedTags.elementAti(expectedIndex)) { in checkResults() 259 fExpectedTags.elementAti(expectedIndex), fActualTags.elementAti(actualIndex)); in checkResults() 273 int32_t expected = fExpectedBreakPositions.elementAti(expectedIdx); in err() 274 int32_t actual = fActualBreakPositions.elementAti(actualIdx); in err() 276 int32_t line = fLineNum.elementAti(expectedIdx); in err() 282 o = actual - fExpectedBreakPositions.elementAti(expectedIdx-1); in err() 953 i = textMap->elementAti(bp); in getSrcLine() 958 return srcLine->elementAti(i); in getSrcLine() [all …]
|
/external/icu/icu4c/source/i18n/ |
D | fpositer.cpp | 67 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()
|
D | regexcmp.cpp | 410 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 …]
|
D | collationbuilder.cpp | 322 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 …]
|
D | uspoof_conf.cpp | 417 int32_t key = fKeyVec->elementAti(i); in outputData() 439 uint32_t value = static_cast<uint32_t>(fValueVec->elementAti(i)); in outputData() 479 uint32_t offset = static_cast<uint32_t>(fStringLengthsTable->elementAti(i)); in outputData() 480 uint32_t length = static_cast<uint32_t>(fStringLengthsTable->elementAti(i+1)); in outputData() 527 int32_t key = fKeyVec->elementAti(i); in addKeyEntry() 566 int32_t previousKey = fKeyVec->elementAti(previousKeyIndex); in addKeyEntry() 575 int32_t key = fKeyVec->elementAti(index); in getMapping() 576 int32_t value = fValueVec->elementAti(index); in getMapping() 589 lastIndexWithLen = fStringLengthsTable->elementAti(i); in getMapping() 591 length = fStringLengthsTable->elementAti(i+1); in getMapping()
|
D | fphdlimp.cpp | 106 vec->setElementAt(delta + vec->elementAti(i), i); in shiftLast() 108 vec->setElementAt(delta + vec->elementAti(i), i); in shiftLast()
|
D | collationfastlatinbuilder.cpp | 439 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()
|
D | collationdatabuilder.cpp | 397 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 …]
|
D | plurrule.cpp | 508 if (curAndConstraint->rangeList->elementAti(rangeLowIdx) == -1) { in parse() 514 if (curAndConstraint->rangeList->elementAti(rangeLowIdx) > in parse() 515 curAndConstraint->rangeList->elementAti(rangeHiIdx)) { in parse() 776 if (rangeList->elementAti(r) <= n && n <= rangeList->elementAti(r+1)) { in isFulfilled() 973 int32_t rangeLo = andRule->rangeList->elementAti(r); in dumpRules() 974 int32_t rangeHi = andRule->rangeList->elementAti(r+1); in dumpRules()
|
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/ |
D | CollationBuilder.java | 126 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 …]
|
D | CollationFastLatinBuilder.java | 408 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()
|
D | UVector64.java | 19 public long elementAti(int i) { return buffer[i]; } in elementAti() method in UVector64
|
D | UVector32.java | 19 public int elementAti(int i) { return buffer[i]; } in elementAti() method in UVector32
|
D | CollationDataBuilder.java | 397 long dataCE = fromBase ? base.ces[i] : ce64s.elementAti(i); in getCE32FromOffsetCE32() 405 if(ce == ce64s.elementAti(i)) { return i; } in addCE() 414 if(ce32 == ce32s.elementAti(i)) { return i; } in addCE32() 483 if(first == ce64s.elementAti(i)) { in encodeExpansion() 494 if(ce64s.elementAti(i + j) != ces[start + j]) { break; } in encodeExpansion() 516 if(first == ce32s.elementAti(i)) { in encodeExpansion32() 527 if(ce32s.elementAti(i + j) != newCE32s[start + j]) { break; } in encodeExpansion32()
|
/external/icu/icu4c/source/common/ |
D | dictbe.cpp | 1216 …int32_t fragmentOriginalStart = inputMap? inputMap->elementAti(fragmentStartI) : fragmentStartI+ra… in divideUpDictionaryRange() 1225 …int32_t nativeEnd = inputMap? inputMap->elementAti(inString->length()) : inString->length()+rangeS… in divideUpDictionaryRange() 1249 inputMap->setElementAt(inputMap->elementAti(cuIdx), cpIdx); in divideUpDictionaryRange() 1292 if ((uint32_t)bestSnlp.elementAti(i) == kuint32max) { in divideUpDictionaryRange() 1308 if ((count == 0 || lengths.elementAti(0) != 1) && in divideUpDictionaryRange() 1315 uint32_t newSnlp = (uint32_t)bestSnlp.elementAti(i) + (uint32_t)values.elementAti(j); in divideUpDictionaryRange() 1316 int32_t ln_j_i = lengths.elementAti(j) + i; in divideUpDictionaryRange() 1317 if (newSnlp < (uint32_t)bestSnlp.elementAti(ln_j_i)) { in divideUpDictionaryRange() 1341 uint32_t newSnlp = bestSnlp.elementAti(i) + getKatakanaCost(katakanaRunLength); in divideUpDictionaryRange() 1342 if (newSnlp < (uint32_t)bestSnlp.elementAti(j)) { in divideUpDictionaryRange() [all …]
|
D | uvectr64.h | 103 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()
|
D | uvectr32.h | 104 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()
|
D | rbbitblb.cpp | 871 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()
|
D | ucharstrieiterator.cpp | 111 int32_t length=stack_->elementAti(stackSize-1); in next() 112 pos=uchars_+stack_->elementAti(stackSize-2); in next()
|
D | bytestrieiterator.cpp | 112 int32_t length=stack_->elementAti(stackSize-1); in next() 113 pos=bytes_+stack_->elementAti(stackSize-2); in next()
|
D | uvector.h | 139 int32_t elementAti(int32_t index) const; 376 return elementAti(count-1); in lastElementi()
|
D | ustack.cpp | 50 result = elementAti(n); in popi()
|
/external/icu/icu4c/source/tools/toolutil/ |
D | collationinfo.cpp | 129 int32_t pair = ranges.elementAti(i); in printReorderRanges()
|