Searched refs:stash (Results 1 – 4 of 4) sorted by relevance
/bootable/recovery/updater/include/private/ |
D | commands.h | 90 friend std::ostream& operator<<(std::ostream& os, const StashInfo& stash); 98 std::ostream& operator<<(std::ostream& os, const StashInfo& stash); 112 for (const auto& stash : stashes_) { in SourceInfo() local 113 blocks_ += stash.ranges().blocks(); in SourceInfo() 306 SourceInfo source, StashInfo stash) in Command() argument 313 stash_(std::move(stash)) {} in Command() 349 const StashInfo& stash() const { in stash() function
|
/bootable/recovery/tests/unit/ |
D | commands_test.cpp | 177 ASSERT_EQ(StashInfo(), command.stash()); in TEST() 209 ASSERT_EQ(StashInfo(), command.stash()); in TEST() 225 ASSERT_EQ(StashInfo(), command.stash()); in TEST() 241 ASSERT_EQ(StashInfo("hash1", RangeSet()), command.stash()); in TEST() 265 ASSERT_EQ(StashInfo(), command.stash()); in TEST() 288 ASSERT_EQ(StashInfo(), command.stash()); in TEST() 304 ASSERT_EQ(StashInfo(), command.stash()); in TEST() 320 ASSERT_EQ(StashInfo("hash1", RangeSet({ { 5, 10 } })), command.stash()); in TEST() 336 ASSERT_EQ(StashInfo(), command.stash()); in TEST() 355 ASSERT_EQ(StashInfo(), command.stash()); in TEST()
|
/bootable/recovery/updater/ |
D | commands.cpp | 349 for (const StashInfo& stash : stashes_) { in ReadAll() local 350 std::vector<uint8_t> stash_buffer(stash.blocks() * block_size); in ReadAll() 351 if (stash_reader(stash.id(), &stash_buffer) != 0) { in ReadAll() 354 MoveRange(buffer, stash.ranges(), stash_buffer, block_size); in ReadAll() 385 std::ostream& operator<<(std::ostream& os, const StashInfo& stash) { in operator <<() argument 386 os << stash.blocks() << " blocks (" << stash.id_ << "): " << stash.ranges_.ToString(); in operator <<()
|
D | blockimg.cpp | 1040 std::vector<uint8_t> stash; in LoadSourceBlocks() local 1041 if (LoadStash(params, tokens[0], false, &stash, true) == -1) { in LoadSourceBlocks() 1050 MoveRange(params.buffer, locs, stash); in LoadSourceBlocks()
|