Home
last modified time | relevance | path

Searched refs:write_size (Results 1 – 7 of 7) sorted by relevance

/system/core/trusty/storage/proxy/
Drpmb.c159 if (req->write_size) { in send_mmc_rpmb_req()
164 cmd->blocks = req->write_size / MMC_BLOCK_SIZE; in send_mmc_rpmb_req()
168 print_buf("request: ", write_buf, req->write_size); in send_mmc_rpmb_req()
170 write_buf += req->write_size; in send_mmc_rpmb_req()
219 if (req->write_size) { in send_ufs_rpmb_req()
221 out_cdb.length = __builtin_bswap32(req->write_size); in send_ufs_rpmb_req()
224 req->write_size, (void*)write_buf, (unsigned char*)&out_cdb, sense_buffer); in send_ufs_rpmb_req()
229 write_buf += req->write_size; in send_ufs_rpmb_req()
277 size_t expected_len = sizeof(*req) + req->reliable_write_size + req->write_size; in rpmb_send()
290 if ((req->write_size % MMC_BLOCK_SIZE) != 0) { in rpmb_send()
[all …]
/system/core/trusty/storage/interface/include/trusty/interface/
Dstorage.h251 uint32_t write_size; member
/system/core/libappfuse/tests/
DFuseBufferTest.cc40 void TestReadInvalidLength(size_t headerSize, size_t write_size) { in TestReadInvalidLength() argument
47 ASSERT_NE(-1, write(fd, packet, write_size)) << strerror(errno); in TestReadInvalidLength()
/system/core/adb/daemon/
Dusb.cpp227 size_t write_size = std::min(kUsbWriteSize, len); in Write() local
229 CreateWriteBlock(payload, offset, write_size, next_write_id_++)); in Write()
230 len -= write_size; in Write()
231 offset += write_size; in Write()
/system/update_engine/
Ddynamic_partition_control_android.cc526 uint64_t write_size = AVB_FOOTER_SIZE; in Erase() local
528 << (offset + write_size) << "] (" << write_size << " bytes)"; in Erase()
529 brillo::Blob zeros(write_size); in Erase()
/system/libhwbinder/
DIPCThreadState.cpp906 bwr.write_size = outAvail; in talkWithDriver()
922 const void* end = ((const uint8_t*)cmds)+bwr.write_size; in talkWithDriver()
923 alog << HexDump(cmds, bwr.write_size) << endl; in talkWithDriver()
932 if ((bwr.write_size == 0) && (bwr.read_size == 0)) return NO_ERROR; in talkWithDriver()
/system/libziparchive/
Dzip_archive.cc1271 const size_t write_size = zstream.next_out - &write_buf[0]; in Inflate() local
1272 if (!writer->Append(&write_buf[0], write_size)) { in Inflate()
1275 DCHECK_LE(write_size, kBufSize); in Inflate()
1276 crc = crc32(crc, &write_buf[0], static_cast<uint32_t>(write_size)); in Inflate()