Home
last modified time | relevance | path

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

12

/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 …]
Drbbitst.cpp244 …if (fActualBreakPositions.elementAti(actualIndex) != fExpectedBreakPositions.elementAti(expectedIn… in checkResults()
247 …if (fActualBreakPositions.elementAti(actualIndex) < fExpectedBreakPositions.elementAti(expectedInd… in checkResults()
255 if (fActualTags.elementAti(actualIndex) != fExpectedTags.elementAti(expectedIndex)) { in checkResults()
258 fExpectedTags.elementAti(expectedIndex), fActualTags.elementAti(actualIndex)); in checkResults()
272 int32_t expected = fExpectedBreakPositions.elementAti(expectedIdx); in err()
273 int32_t actual = fActualBreakPositions.elementAti(actualIdx); in err()
275 int32_t line = fLineNum.elementAti(expectedIdx); in err()
281 o = actual - fExpectedBreakPositions.elementAti(expectedIdx-1); in err()
859 bp, t->srcLine->elementAti(bp), t->srcCol->elementAti(bp)); in executeTest()
866 if (t->expectedBreaks->elementAti(i) != 0) { in executeTest()
[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/chromium_org/third_party/icu/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()
Drbbitst.cpp246 …if (fActualBreakPositions.elementAti(actualIndex) != fExpectedBreakPositions.elementAti(expectedIn… in checkResults()
249 …if (fActualBreakPositions.elementAti(actualIndex) < fExpectedBreakPositions.elementAti(expectedInd… in checkResults()
257 if (fActualTags.elementAti(actualIndex) != fExpectedTags.elementAti(expectedIndex)) { in checkResults()
260 fExpectedTags.elementAti(expectedIndex), fActualTags.elementAti(actualIndex)); in checkResults()
274 int32_t expected = fExpectedBreakPositions.elementAti(expectedIdx); in err()
275 int32_t actual = fActualBreakPositions.elementAti(actualIdx); in err()
277 int32_t line = fLineNum.elementAti(expectedIdx); in err()
283 o = actual - fExpectedBreakPositions.elementAti(expectedIdx-1); in err()
1724 bp, t->srcLine->elementAti(bp), t->srcCol->elementAti(bp)); in executeTest()
1731 if (t->expectedBreaks->elementAti(i) != 0) { in executeTest()
[all …]
/external/chromium_org/third_party/icu/source/i18n/
Dfpositer.cpp69 if (adopt->elementAti(i) >= adopt->elementAti(i+1)) { in setData()
95 fp.setField(data->elementAti(pos++)); in next()
96 fp.setBeginIndex(data->elementAti(pos++)); in next()
97 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.cpp414 int32_t key = fKeyVec->elementAti(i); in outputData()
435 uint32_t value = static_cast<uint32_t>(fValueVec->elementAti(i)); in outputData()
475 uint32_t offset = static_cast<uint32_t>(fStringLengthsTable->elementAti(i)); in outputData()
476 uint32_t length = static_cast<uint32_t>(fStringLengthsTable->elementAti(i+1)); in outputData()
522 int32_t key = fKeyVec->elementAti(i); in addKeyEntry()
561 int32_t previousKey = fKeyVec->elementAti(previousKeyIndex); in addKeyEntry()
570 int32_t key = fKeyVec->elementAti(index); in getMapping()
571 int32_t value = fValueVec->elementAti(index); in getMapping()
584 lastIndexWithLen = fStringLengthsTable->elementAti(i); in getMapping()
586 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()
/external/icu4c/i18n/
Dfpositer.cpp81 if (adopt->elementAti(i) >= adopt->elementAti(i+1)) { in setData()
107 fp.setField(data->elementAti(pos++)); in next()
108 fp.setBeginIndex(data->elementAti(pos++)); in next()
109 fp.setEndIndex(data->elementAti(pos++)); in next()
Dregexcmp.cpp416 int32_t op = (int32_t)fRXPat->fCompiledPat->elementAti(savePosition); in doParseActions()
791 int32_t repeatedOp = (int32_t)fRXPat->fCompiledPat->elementAti(topLoc); in doParseActions()
934 int32_t repeatedOp = (int32_t)fRXPat->fCompiledPat->elementAti(topLoc); in doParseActions()
1911 int32_t op = (int32_t)code->elementAti(loc); in insertOp()
1933 int32_t x = fParenStack.elementAti(loc); in insertOp()
1978 U_ASSERT(URX_TYPE(((uint32_t)fRXPat->fCompiledPat->elementAti(theLoc))) == URX_NOP); in blockTopLoc()
1985 int32_t opAtTheLoc = (int32_t)fRXPat->fCompiledPat->elementAti(theLoc); in blockTopLoc()
2035 patOp = (int32_t)fRXPat->fCompiledPat->elementAti(patIdx); in handleCloseParen()
2063 int32_t captureOp = (int32_t)fRXPat->fCompiledPat->elementAti(fMatchOpenParen+1); in handleCloseParen()
2076 int32_t stoOp = (int32_t)fRXPat->fCompiledPat->elementAti(fMatchOpenParen+1); in handleCloseParen()
[all …]
Duspoof_conf.cpp417 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()
Dfphdlimp.cpp106 vec->setElementAt(delta + vec->elementAti(i), i); in shiftLast()
108 vec->setElementAt(delta + vec->elementAti(i), i); in shiftLast()
/external/chromium_org/third_party/icu/source/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()
Duvector.h156 int32_t elementAti(int32_t index) const;
385 return elementAti(count-1); in lastElementi()
/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.h139 int32_t elementAti(int32_t index) const;
376 return elementAti(count-1); in lastElementi()
Dustack.cpp50 result = elementAti(n); in popi()

12