Searched refs:arrIndex (Results 1 – 2 of 2) sorted by relevance
112 int arrIndex = normalizeArrayIndex(index); in indexSet() local115 for (int i = this.storage.size(); i < arrIndex; i++) { in indexSet()118 this.storage.set(arrIndex, value); in indexSet()134 int arrIndex = normalizeArrayIndex(arg); in index() local135 if (arrIndex < 0 || arrIndex >= this.storage.size()) { in index()138 return this.storage.eltInternal(arrIndex); in index()398 int arrIndex = RubyNumeric.num2int(index); in normalizeArrayIndex() local400 if (arrIndex < 0 && arrSize > 0) { in normalizeArrayIndex()401 arrIndex = arrSize + arrIndex; in normalizeArrayIndex()403 return arrIndex; in normalizeArrayIndex()
1064 std::vector<std::pair<int32_t, int32_t>> arrIndex; in LoadCrossRefV5() local1075 arrIndex.push_back(std::make_pair(nStartNum, nCount)); in LoadCrossRefV5()1080 if (arrIndex.size() == 0) in LoadCrossRefV5()1081 arrIndex.push_back(std::make_pair(0, size)); in LoadCrossRefV5()1104 for (uint32_t i = 0; i < arrIndex.size(); i++) { in LoadCrossRefV5()1105 int32_t startnum = arrIndex[i].first; in LoadCrossRefV5()1109 uint32_t count = pdfium::base::checked_cast<uint32_t>(arrIndex[i].second); in LoadCrossRefV5()