Home
last modified time | relevance | path

Searched refs:arrIndex (Results 1 – 2 of 2) sorted by relevance

/external/protobuf/ruby/src/main/java/com/google/protobuf/jruby/
DRubyRepeatedField.java112 int arrIndex = normalizeArrayIndex(index); in indexSet() local
115 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() local
135 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() local
400 if (arrIndex < 0 && arrSize > 0) { in normalizeArrayIndex()
401 arrIndex = arrSize + arrIndex; in normalizeArrayIndex()
403 return arrIndex; in normalizeArrayIndex()
/external/pdfium/core/fpdfapi/parser/
Dcpdf_parser.cpp1064 std::vector<std::pair<int32_t, int32_t>> arrIndex; in LoadCrossRefV5() local
1075 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()