Searched refs:stash_reader (Results 1 – 3 of 3) sorted by relevance
/bootable/recovery/tests/unit/ |
D | commands_test.cpp | 446 auto stash_reader = [](const std::string&, std::vector<uint8_t>*) -> int { return 0; }; in TEST() local 448 ASSERT_TRUE(source.ReadAll(&buffer, kBlockSize, block_reader, stash_reader)); in TEST() 465 auto stash_reader = [](const std::string&, std::vector<uint8_t>* stash_buffer) -> int { in TEST() local 470 ASSERT_TRUE(source.ReadAll(&buffer, kBlockSize, block_reader, stash_reader)); in TEST() 482 auto stash_reader = [](const std::string&, std::vector<uint8_t>*) -> int { return 0; }; in TEST() local 484 ASSERT_FALSE(source.ReadAll(&buffer, kBlockSize, block_reader, stash_reader)); in TEST() 493 auto stash_reader = [](const std::string&, std::vector<uint8_t>*) -> int { return 0; }; in TEST() local 494 ASSERT_FALSE(source.ReadAll(&buffer, kBlockSize, failing_block_reader, stash_reader)); in TEST()
|
/bootable/recovery/updater/ |
D | commands.cpp | 333 const std::function<int(const std::string&, std::vector<uint8_t>*)>& stash_reader) const { in ReadAll() 351 if (stash_reader(stash.id(), &stash_buffer) != 0) { in ReadAll()
|
/bootable/recovery/updater/include/private/ |
D | commands.h | 125 const std::function<int(const std::string&, std::vector<uint8_t>*)>& stash_reader) const;
|