Lines Matching refs:locs
590 RangeSet locs; in PrintHashForCorruptedSourceBlocks() local
594 locs = RangeSet(std::vector<Range>{ Range{ 0, src.blocks() } }); in PrintHashForCorruptedSourceBlocks()
600 locs = RangeSet::Parse(params.tokens[pos++]); in PrintHashForCorruptedSourceBlocks()
601 CHECK_EQ(src.blocks(), locs.blocks()); in PrintHashForCorruptedSourceBlocks()
607 size_t buffer_index = locs.GetBlockNumber(i); in PrintHashForCorruptedSourceBlocks()
963 static void MoveRange(std::vector<uint8_t>& dest, const RangeSet& locs, in MoveRange() argument
967 size_t start = locs.blocks(); in MoveRange()
969 for (auto it = locs.crbegin(); it != locs.crend(); it++) { in MoveRange()
1025 RangeSet locs = RangeSet::Parse(params.tokens[params.cpos++]); in LoadSourceBlocks() local
1026 CHECK(static_cast<bool>(locs)); in LoadSourceBlocks()
1027 MoveRange(params.buffer, locs, params.buffer); in LoadSourceBlocks()
1048 RangeSet locs = RangeSet::Parse(tokens[1]); in LoadSourceBlocks() local
1049 CHECK(static_cast<bool>(locs)); in LoadSourceBlocks()
1050 MoveRange(params.buffer, locs, stash); in LoadSourceBlocks()