Searched refs:write_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 213 write_buf = pagealign_alloc(test_size); in main() 214 if (!read_buf || !write_buf) { in main() 239 init_test_buf(write_buf, cur_blk, test_size); in main() 241 if (do_write(fd, write_buf, cur_blk * blk_size, test_size) != in main() 252 if (memcmp(write_buf, read_buf, test_size)) { in main() 256 dump_hex(write_buf, test_size); in main() 269 if (write_buf) in main() 270 pagealign_free(write_buf, test_size); in main()
|
/system/core/libziparchive/ |
D | zip_archive.cc | 1094 std::vector<uint8_t> write_buf(kBufSize); in InflateEntryToWriter() local 1107 zstream.next_out = &write_buf[0]; in InflateEntryToWriter() 1164 const size_t write_size = zstream.next_out - &write_buf[0]; in InflateEntryToWriter() 1165 if (!writer->Append(&write_buf[0], write_size)) { in InflateEntryToWriter() 1170 zstream.next_out = &write_buf[0]; in InflateEntryToWriter()
|