Searched refs:read_buf (Results 1 – 2 of 2) sorted by relevance
/system/extras/tests/directiotest/ |
D | directiotest.c | 176 void *read_buf = NULL, *write_buf = NULL; in main() local 212 read_buf = pagealign_alloc(test_size); in main() 214 if (!read_buf || !write_buf) { in main() 246 if (do_read(fd, read_buf, cur_blk * blk_size, test_size) != in main() 252 if (memcmp(write_buf, read_buf, test_size)) { in main() 258 dump_hex(read_buf, test_size); in main() 267 if (read_buf) in main() 268 pagealign_free(read_buf, test_size); in main()
|
/system/core/libziparchive/ |
D | zip_archive.cc | 1093 std::vector<uint8_t> read_buf(kBufSize); in InflateEntryToWriter() local 1140 const ZD_TYPE actual = TEMP_FAILURE_RETRY(read(fd, &read_buf[0], getSize)); in InflateEntryToWriter() 1148 zstream.next_in = &read_buf[0]; in InflateEntryToWriter()
|