Home
last modified time | relevance | path

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

/bootable/recovery/tests/unit/
Dcommands_test.cpp442 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/
Dcommands.cpp332 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/
Dcommands.h124 const std::function<int(const RangeSet&, std::vector<uint8_t>*)>& block_reader,