Home
last modified time | relevance | path

Searched refs:write_buf (Results 1 – 4 of 4) sorted by relevance

/system/extras/tests/directiotest/
Ddirectiotest.c176 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/trusty/storage/proxy/
Drpmb.c80 const uint8_t* write_buf = req->payload; in send_mmc_rpmb_req() local
87 mmc_ioc_cmd_set_data((*cmd), write_buf); in send_mmc_rpmb_req()
90 print_buf("request: ", write_buf, req->reliable_write_size); in send_mmc_rpmb_req()
92 write_buf += req->reliable_write_size; in send_mmc_rpmb_req()
103 mmc_ioc_cmd_set_data((*cmd), write_buf); in send_mmc_rpmb_req()
106 print_buf("request: ", write_buf, req->write_size); in send_mmc_rpmb_req()
108 write_buf += req->write_size; in send_mmc_rpmb_req()
/system/connectivity/wifilogd/tests/
Dcommand_processor_unittest.cpp73 [&accumulator](int /*fd*/, const void* write_buf, size_t buflen) { in CommandProcessorTest() argument
74 accumulator.append(static_cast<const char*>(write_buf), buflen); in CommandProcessorTest()
406 [&written_to_os](int /*fd*/, const void* write_buf, size_t buflen) { in TEST_F() argument
407 written_to_os.append(static_cast<const char*>(write_buf), buflen); in TEST_F()
/system/core/libziparchive/
Dzip_archive.cc962 std::vector<uint8_t> write_buf(kBufSize); in Inflate() local
975 zstream.next_out = &write_buf[0]; in Inflate()
1030 const size_t write_size = zstream.next_out - &write_buf[0]; in Inflate()
1031 if (!writer->Append(&write_buf[0], write_size)) { in Inflate()
1034 crc = crc32(crc, &write_buf[0], write_size); in Inflate()
1037 zstream.next_out = &write_buf[0]; in Inflate()