Searched refs:block_reader (Results 1 – 3 of 3) sorted by relevance
/bootable/recovery/tests/unit/ |
D | commands_test.cpp | 442 auto block_reader = [](const RangeSet& src, std::vector<uint8_t>* block_buffer) -> int { in TEST() local 448 ASSERT_TRUE(source.ReadAll(&buffer, kBlockSize, block_reader, stash_reader)); in TEST() 461 auto block_reader = [](const RangeSet& src, std::vector<uint8_t>* block_buffer) -> int { in TEST() local 470 ASSERT_TRUE(source.ReadAll(&buffer, kBlockSize, block_reader, stash_reader)); in TEST() 481 auto block_reader = [](const RangeSet&, std::vector<uint8_t>*) -> int { return 0; }; in TEST() local 484 ASSERT_FALSE(source.ReadAll(&buffer, kBlockSize, block_reader, stash_reader)); in TEST() 496 auto block_reader = [](const RangeSet&, std::vector<uint8_t>*) -> int { return 0; }; in TEST() local 498 ASSERT_FALSE(source.ReadAll(&buffer, kBlockSize, block_reader, failing_stash_reader)); in TEST()
|
/bootable/recovery/updater/ |
D | commands.cpp | 332 const std::function<int(const RangeSet&, std::vector<uint8_t>*)>& block_reader, in ReadAll() argument 340 if (block_reader(ranges_, buffer) != 0) { in ReadAll()
|
/bootable/recovery/updater/include/private/ |
D | commands.h | 124 const std::function<int(const RangeSet&, std::vector<uint8_t>*)>& block_reader,
|