Lines Matching refs:pos

98   size_t pos = 0;  in ParseTargetInfoAndSourceInfo()  local
99 RangeSet tgt_ranges = RangeSet::Parse(tokens[pos++]); in ParseTargetInfoAndSourceInfo()
107 const std::string& token = tokens[pos++]; in ParseTargetInfoAndSourceInfo()
117 if (tokens[pos] == "-") { in ParseTargetInfoAndSourceInfo()
119 pos++; in ParseTargetInfoAndSourceInfo()
121 src_ranges = RangeSet::Parse(tokens[pos++]); in ParseTargetInfoAndSourceInfo()
127 if (pos >= tokens.size()) { in ParseTargetInfoAndSourceInfo()
142 src_ranges_location = RangeSet::Parse(tokens[pos++]); in ParseTargetInfoAndSourceInfo()
151 while (pos < tokens.size()) { in ParseTargetInfoAndSourceInfo()
154 std::vector<std::string> pairs = android::base::Split(tokens[pos++], ":"); in ParseTargetInfoAndSourceInfo()
180 size_t pos = 0; in Parse() local
182 Type op = ParseType(tokens[pos++]); in Parse()
195 if (pos + 1 != tokens.size()) { in Parse()
197 tokens.size() - pos); in Parse()
200 RangeSet tgt_ranges = RangeSet::Parse(tokens[pos++]); in Parse()
208 if (pos + 2 != tokens.size()) { in Parse()
210 tokens.size() - pos); in Parse()
213 const std::string& id = tokens[pos++]; in Parse()
214 RangeSet src_ranges = RangeSet::Parse(tokens[pos++]); in Parse()
222 if (pos + 1 != tokens.size()) { in Parse()
224 tokens.size() - pos); in Parse()
227 stash_info = StashInfo(tokens[pos++], {}); in Parse()
230 if (pos + 1 > tokens.size()) { in Parse()
234 std::string hash = tokens[pos++]; in Parse()
236 std::vector<std::string>(tokens.cbegin() + pos, tokens.cend()), hash, &target_info, in Parse()
242 if (pos + 4 > tokens.size()) { in Parse()
244 tokens.size() - pos); in Parse()
249 if (!android::base::ParseUint(tokens[pos++], &offset) || in Parse()
250 !android::base::ParseUint(tokens[pos++], &length)) { in Parse()
256 std::string src_hash = tokens[pos++]; in Parse()
257 std::string dst_hash = tokens[pos++]; in Parse()
259 std::vector<std::string>(tokens.cbegin() + pos, tokens.cend()), dst_hash, &target_info, in Parse()
265 if (pos != tokens.size()) { in Parse()
267 tokens.size() - pos); in Parse()
272 if (pos + 5 != tokens.size()) { in Parse()
274 tokens.size() - pos); in Parse()
279 RangeSet hash_tree_ranges = RangeSet::Parse(tokens[pos++]); in Parse()
285 RangeSet source_ranges = RangeSet::Parse(tokens[pos++]); in Parse()
291 std::string hash_algorithm = tokens[pos++]; in Parse()
292 std::string salt_hex = tokens[pos++]; in Parse()
293 std::string root_hash = tokens[pos++]; in Parse()