Searched refs:write_buf (Results 1 - 2 of 2) sorted by relevance
/system/extras/tests/directiotest/ |
H A D | directiotest.c | 176 void *read_buf = NULL, *write_buf = NULL; local 213 write_buf = pagealign_alloc(test_size); 214 if (!read_buf || !write_buf) { 239 init_test_buf(write_buf, cur_blk, test_size); 241 if (do_write(fd, write_buf, cur_blk * blk_size, test_size) != 252 if (memcmp(write_buf, read_buf, test_size)) { 256 dump_hex(write_buf, test_size); 269 if (write_buf) 270 pagealign_free(write_buf, test_size);
|
/system/core/libziparchive/ |
H A D | zip_archive.cc | 891 std::vector<uint8_t> write_buf(kBufSize); 904 zstream.next_out = &write_buf[0]; 960 const size_t write_size = zstream.next_out - &write_buf[0]; 961 if (!writer->Append(&write_buf[0], write_size)) { 966 zstream.next_out = &write_buf[0];
|
Completed in 559 milliseconds