Home
last modified time | relevance | path

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

/external/icu4c/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()
Drbbitst.cpp240 …if (fActualBreakPositions.elementAti(actualIndex) != fExpectedBreakPositions.elementAti(expectedIn… in checkResults()
243 …if (fActualBreakPositions.elementAti(actualIndex) < fExpectedBreakPositions.elementAti(expectedInd… in checkResults()
251 if (fActualTags.elementAti(actualIndex) != fExpectedTags.elementAti(expectedIndex)) { in checkResults()
254 fExpectedTags.elementAti(expectedIndex), fActualTags.elementAti(actualIndex)); in checkResults()
268 int32_t expected = fExpectedBreakPositions.elementAti(expectedIdx); in err()
269 int32_t actual = fActualBreakPositions.elementAti(actualIdx); in err()
271 int32_t line = fLineNum.elementAti(expectedIdx); in err()
277 o = actual - fExpectedBreakPositions.elementAti(expectedIdx-1); in err()
1349 bp, t->srcLine->elementAti(bp), t->srcCol->elementAti(bp)); in executeTest()
1356 if (t->expectedBreaks->elementAti(i) != 0) { in executeTest()
[all …]
Ddicttest.cpp108 int32_t expectedPos = breaks.elementAti(brkArrPos); in TestWordBoundaries()
118 int32_t expectedPos = breaks.elementAti(brkArrPos); in TestWordBoundaries()
Dregextst.cpp3502 int32_t start = groupStarts.elementAti(i); in regex_find()
3514 int32_t end = groupEnds.elementAti(i); in regex_find()
3608 int32_t expectedStart = (i >= groupStarts.size()? -1 : groupStarts.elementAti(i)); in regex_find()
3609 … int32_t expectedStartUTF8 = (i >= groupStartsUTF8.size()? -1 : groupStartsUTF8.elementAti(i)); in regex_find()
3622 int32_t expectedEnd = (i >= groupEnds.size()? -1 : groupEnds.elementAti(i)); in regex_find()
3623 int32_t expectedEndUTF8 = (i >= groupEndsUTF8.size()? -1 : groupEndsUTF8.elementAti(i)); in regex_find()
/external/icu4c/i18n/
Dfpositer.cpp83 if (adopt->elementAti(i) >= adopt->elementAti(i+1)) { in setData()
109 fp.setField(data->elementAti(pos++)); in next()
110 fp.setBeginIndex(data->elementAti(pos++)); in next()
111 fp.setEndIndex(data->elementAti(pos++)); in next()
Dregexcmp.cpp405 int32_t op = (int32_t)fRXPat->fCompiledPat->elementAti(savePosition); in doParseActions()
769 int32_t repeatedOp = (int32_t)fRXPat->fCompiledPat->elementAti(topLoc); in doParseActions()
912 int32_t repeatedOp = (int32_t)fRXPat->fCompiledPat->elementAti(topLoc); in doParseActions()
1956 int32_t op = (int32_t)code->elementAti(loc); in insertOp()
1978 int32_t x = fParenStack.elementAti(loc); in insertOp()
2021 U_ASSERT(URX_TYPE(((uint32_t)fRXPat->fCompiledPat->elementAti(theLoc))) == URX_NOP); in blockTopLoc()
2075 patOp = (int32_t)fRXPat->fCompiledPat->elementAti(patIdx); in handleCloseParen()
2103 int32_t captureOp = (int32_t)fRXPat->fCompiledPat->elementAti(fMatchOpenParen+1); in handleCloseParen()
2116 int32_t stoOp = (int32_t)fRXPat->fCompiledPat->elementAti(fMatchOpenParen+1); in handleCloseParen()
2126 int32_t startOp = (int32_t)fRXPat->fCompiledPat->elementAti(fMatchOpenParen-5); in handleCloseParen()
[all …]
Duspoof_conf.cpp417 int32_t key = fKeyVec->elementAti(i); in outputData()
438 uint32_t value = static_cast<uint32_t>(fValueVec->elementAti(i)); in outputData()
478 uint32_t offset = static_cast<uint32_t>(fStringLengthsTable->elementAti(i)); in outputData()
479 uint32_t length = static_cast<uint32_t>(fStringLengthsTable->elementAti(i+1)); in outputData()
525 int32_t key = fKeyVec->elementAti(i); in addKeyEntry()
564 int32_t previousKey = fKeyVec->elementAti(previousKeyIndex); in addKeyEntry()
573 int32_t key = fKeyVec->elementAti(index); in getMapping()
574 int32_t value = fValueVec->elementAti(index); in getMapping()
587 lastIndexWithLen = fStringLengthsTable->elementAti(i); in getMapping()
589 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()
Drepattrn.cpp631 int32_t op = fCompiledPat->elementAti(index); in dumpOp()
699 int32_t lengthOp = fCompiledPat->elementAti(index+1); in dumpOp()
Drematch.cpp570 int32_t groupOffset = fPattern->fGroupMap->elementAti(group-1); in end64()
1151 int32_t groupOffset = fPattern->fGroupMap->elementAti(groupNum-1); in group()
1220 int32_t groupOffset = fPattern->fGroupMap->elementAti(groupNum-1); in group()
1308 int32_t groupOffset = fPattern->fGroupMap->elementAti(groupNum-1); in appendGroup()
2287 int32_t groupOffset = fPattern->fGroupMap->elementAti(group-1); in start64()
/external/icu4c/common/
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.h157 int32_t elementAti(int32_t index) const;
394 return elementAti(count-1); in lastElementi()
Dustack.cpp50 result = elementAti(n); in popi()
Drbbirb.cpp211 ruleStatusTable[i] = fRuleStatusVals->elementAti(i); in flattenData()
Drbbi.cpp1710 if (startPos < breaks.elementAti(0)) { in checkDictionary()
1720 if (startPos < breaks.elementAti(0)) { in checkDictionary()
1724 fCachedBreakPositions[out++] = breaks.elementAti(i); in checkDictionary()
Dtriedict.cpp731 entry->equal = translate.elementAti(((BuildCompactTrieNode *)fLinks[i])->fNodeID); in write()
768 node->equal = translate.elementAti(fEqual->fNodeID); in write()
1119 header->root = translate.elementAti(root->fNodeID); in compactMutableTrieDictionary()
Duvector.cpp189 int32_t UVector::elementAti(int32_t index) const { in elementAti() function in UVector