Home
last modified time | relevance | path

Searched refs:block_data (Results 1 – 2 of 2) sorted by relevance

/bootable/recovery/minadbd/
Dfuse_adb_provider_test.cpp40 char block_data[sizeof(expected_data)] = {}; in TEST() local
50 reinterpret_cast<uint8_t*>(block_data), in TEST()
62 ASSERT_STREQ(expected_data, block_data); in TEST()
/bootable/recovery/
Dfuse_sideload.c88 uint8_t* block_data; member
247 memset(fd->block_data, 0, fd->block_size); in fetch_block()
258 memset(fd->block_data + fetch_size, 0, fd->block_size - fetch_size); in fetch_block()
261 int result = fd->vtab->read_block(fd->cookie, block, fd->block_data, fetch_size); in fetch_block()
276 SHA256_hash(fd->block_data, fd->block_size, hash); in fetch_block()
343 vec[1].iov_base = fd->block_data + block_offset; in handle_read()
349 memcpy(fd->extra_block, fd->block_data + block_offset, in handle_read()
356 vec[2].iov_base = fd->block_data; in handle_read()
411 fd.block_data = (uint8_t*)malloc(block_size); in run_fuse_sideload()
412 if (fd.block_data == NULL) { in run_fuse_sideload()
[all …]