Lines Matching refs:cpos

530     size_t cpos;  member
999 const std::string& token = params.tokens[params.cpos++]; in LoadSourceBlocks()
1008 if (params.tokens[params.cpos] == "-") { in LoadSourceBlocks()
1010 params.cpos++; in LoadSourceBlocks()
1012 RangeSet src = RangeSet::Parse(params.tokens[params.cpos++]); in LoadSourceBlocks()
1020 if (params.cpos >= params.tokens.size()) { in LoadSourceBlocks()
1025 RangeSet locs = RangeSet::Parse(params.tokens[params.cpos++]); in LoadSourceBlocks()
1031 while (params.cpos < params.tokens.size()) { in LoadSourceBlocks()
1034 std::vector<std::string> tokens = android::base::Split(params.tokens[params.cpos++], ":"); in LoadSourceBlocks()
1086 if (params.cpos >= params.tokens.size()) { in LoadSrcTgtVersion3()
1091 std::string srchash = params.tokens[params.cpos++]; in LoadSrcTgtVersion3()
1097 if (params.cpos >= params.tokens.size()) { in LoadSrcTgtVersion3()
1101 tgthash = params.tokens[params.cpos++]; in LoadSrcTgtVersion3()
1106 if (params.cpos + 2 >= params.tokens.size()) { in LoadSrcTgtVersion3()
1112 *tgt = RangeSet::Parse(params.tokens[params.cpos++]); in LoadSrcTgtVersion3()
1215 if (params.cpos + 1 >= params.tokens.size()) { in PerformCommandStash()
1220 const std::string& id = params.tokens[params.cpos++]; in PerformCommandStash()
1227 RangeSet src = RangeSet::Parse(params.tokens[params.cpos++]); in PerformCommandStash()
1260 if (params.cpos >= params.tokens.size()) { in PerformCommandFree()
1265 const std::string& id = params.tokens[params.cpos++]; in PerformCommandFree()
1276 if (params.cpos >= params.tokens.size()) { in PerformCommandZero()
1281 RangeSet tgt = RangeSet::Parse(params.tokens[params.cpos++]); in PerformCommandZero()
1321 if (params.cpos >= params.tokens.size()) { in PerformCommandNew()
1326 RangeSet tgt = RangeSet::Parse(params.tokens[params.cpos++]); in PerformCommandNew()
1356 if (params.cpos + 1 >= params.tokens.size()) { in PerformCommandDiff()
1362 if (!android::base::ParseUint(params.tokens[params.cpos++], &offset)) { in PerformCommandDiff()
1368 if (!android::base::ParseUint(params.tokens[params.cpos++], &len)) { in PerformCommandDiff()
1457 if (params.cpos >= params.tokens.size()) { in PerformCommandErase()
1462 RangeSet tgt = RangeSet::Parse(params.tokens[params.cpos++]); in PerformCommandErase()
1494 if (params.cpos + 5 != params.tokens.size()) { in PerformCommandComputeHashTree()
1500 RangeSet hash_tree_ranges = RangeSet::Parse(params.tokens[params.cpos++]); in PerformCommandComputeHashTree()
1506 RangeSet source_ranges = RangeSet::Parse(params.tokens[params.cpos++]); in PerformCommandComputeHashTree()
1512 auto hash_function = HashTreeBuilder::HashFunction(params.tokens[params.cpos++]); in PerformCommandComputeHashTree()
1519 std::string salt_hex = params.tokens[params.cpos++]; in PerformCommandComputeHashTree()
1525 std::string expected_root_hash = params.tokens[params.cpos++]; in PerformCommandComputeHashTree()
1832 params.cpos = 0; in PerformBlockImageUpdate()
1833 params.cmdname = params.tokens[params.cpos++]; in PerformBlockImageUpdate()