Home
last modified time | relevance | path

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

/bootable/recovery/updater/
Dblockimg.cpp486 RangeSet locs; in PrintHashForCorruptedSourceBlocks() local
490 locs = RangeSet(std::vector<Range>{ Range{ 0, src.blocks() } }); in PrintHashForCorruptedSourceBlocks()
496 locs = RangeSet::Parse(params.tokens[pos++]); in PrintHashForCorruptedSourceBlocks()
497 CHECK_EQ(src.blocks(), locs.blocks()); in PrintHashForCorruptedSourceBlocks()
503 size_t buffer_index = locs.GetBlockNumber(i); in PrintHashForCorruptedSourceBlocks()
879 static void MoveRange(std::vector<uint8_t>& dest, const RangeSet& locs, in MoveRange() argument
883 size_t start = locs.blocks(); in MoveRange()
885 for (auto it = locs.crbegin(); it != locs.crend(); it++) { in MoveRange()
940 RangeSet locs = RangeSet::Parse(params.tokens[params.cpos++]); in LoadSourceBlocks() local
941 MoveRange(params.buffer, locs, params.buffer); in LoadSourceBlocks()
[all …]