Searched refs:block_data (Results 1 – 2 of 2) sorted by relevance
/bootable/recovery/fuse_sideload/ |
D | fuse_sideload.cpp | 90 uint8_t* block_data; member 234 memset(fd->block_data, 0, fd->block_size); in fetch_block() 244 memset(fd->block_data + fetch_size, 0, fd->block_size - fetch_size); in fetch_block() 247 if (!fd->provider->ReadBlockAlignedData(fd->block_data, fetch_size, block)) { in fetch_block() 261 SHA256(fd->block_data, fd->block_size, hash.data()); in fetch_block() 321 vec[1].iov_base = fd->block_data + block_offset; in handle_read() 327 memcpy(fd->extra_block, fd->block_data + block_offset, fd->block_size - block_offset); in handle_read() 333 vec[2].iov_base = fd->block_data; in handle_read() 381 fd.block_data = static_cast<uint8_t*>(malloc(block_size)); in run_fuse_sideload() 382 if (fd.block_data == nullptr) { in run_fuse_sideload() [all …]
|
/bootable/recovery/minadbd/ |
D | fuse_adb_provider_test.cpp | 40 char block_data[sizeof(expected_data)] = {}; in TEST() local 49 ASSERT_TRUE(data.ReadBlockAlignedData(reinterpret_cast<uint8_t*>(block_data), in TEST() 61 ASSERT_STREQ(expected_data, block_data); in TEST()
|