/external/chromium_org/native_client_sdk/src/libraries/nacl_io/ |
D | fifo_char.cc | 98 size_t write_len = std::min(len, size_ - offs); in Write() local 99 memcpy(&buffer_[offs], ptr, write_len); in Write() 101 ptr += write_len; in Write() 102 offs += write_len; in Write() 106 out += write_len; in Write() 107 len -= write_len; in Write()
|
/external/qemu/hw/android/goldfish/ |
D | nand.c | 417 size_t write_len = dev->erase_size; in nand_dev_write_file() local 424 if(len < write_len) in nand_dev_write_file() 425 write_len = len; in nand_dev_write_file() 426 safe_memory_rw_debug(current_cpu, data, dev->data, write_len, 0); in nand_dev_write_file() 427 ret = do_write(dev->fd, dev->data, write_len); in nand_dev_write_file() 428 if(ret < write_len) { in nand_dev_write_file() 432 data += write_len; in nand_dev_write_file() 433 len -= write_len; in nand_dev_write_file() 441 size_t write_len = dev->erase_size; in nand_dev_erase_file() local 447 if(len < write_len) in nand_dev_erase_file() [all …]
|
/external/libnfc-nxp/src/ |
D | phFriNfc_TopazDynamicMap.c | 1291 uint16_t write_len = 0; in phFriNfc_Tpz_H_ProWrResp() local 1296 write_len = (uint16_t)((psNdefMap->ApduBufferSize < ps_tpz_info->NDEFRWSize) ? in phFriNfc_Tpz_H_ProWrResp() 1359 else if (write_len >= 0xFF) in phFriNfc_Tpz_H_ProWrResp() 1378 (psNdefMap, write_len); in phFriNfc_Tpz_H_ProWrResp() 1440 (psNdefMap, write_len); in phFriNfc_Tpz_H_ProWrResp() 1473 else if (write_len == psNdefMap->ApduBuffIndex) in phFriNfc_Tpz_H_ProWrResp() 1564 else if (write_len < 0xFF) in phFriNfc_Tpz_H_ProWrResp() 3216 uint16_t write_len = 0; in phFriNfc_Tpz_H_CopyReadDataAndWrite() local 3222 write_len = (uint16_t)((psNdefMap->ApduBufferSize < ps_tpz_info->NDEFRWSize) ? in phFriNfc_Tpz_H_CopyReadDataAndWrite() 3229 phFriNfc_Tpz_H_GetNDEFValueFieldAddrForWrite (psNdefMap, write_len))) in phFriNfc_Tpz_H_CopyReadDataAndWrite() [all …]
|
/external/chromium_org/third_party/libjingle/source/talk/media/base/ |
D | rtpdump.cc | 367 size_t write_len = FilterPacket(data, data_len, rtcp); in WritePacket() local 368 if (write_len == 0) { in WritePacket() 375 RtpDumpPacket::kHeaderLength + write_len)); in WritePacket() 384 return WriteToStream(data, write_len); in WritePacket()
|
/external/chromium_org/content/browser/loader/ |
D | redirect_to_file_resource_handler.cc | 341 int write_len = buf_->offset() - write_cursor_; in WriteMore() local 343 int rv = writer_->Write(wrapped.get(), write_len); in WriteMore()
|
/external/qemu/distrib/libsparse/src/ |
D | output_file.c | 498 unsigned int write_len; in write_normal_fill_chunk() local 506 write_len = min(len, out->block_size); in write_normal_fill_chunk() 507 ret = out->ops->write(out, out->fill_buf, write_len); in write_normal_fill_chunk() 512 len -= write_len; in write_normal_fill_chunk()
|
/external/chromium_org/net/disk_cache/memory/ |
D | mem_entry_impl.cc | 427 int write_len = std::min(static_cast<int>(io_buf->BytesRemaining()), in InternalWriteSparseData() local 437 write_len)); in InternalWriteSparseData() 445 write_len, CompletionCallback(), true); in InternalWriteSparseData()
|
/external/chromium_org/components/crash/app/ |
D | breakpad_linux.cc | 469 size_t write_len = chunk_len; in AddPairDataInChunks() local 473 write_len = LengthWithoutTrailingSpaces(msg_data + done, write_len); in AddPairDataInChunks() 477 const unsigned data_len = my_uint_len(write_len); in AddPairDataInChunks() 478 my_uitos(data, write_len, data_len); in AddPairDataInChunks() 485 AddItem(msg_data + done, write_len); in AddPairDataInChunks()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_symbolizer_posix_libcdep.cc | 185 uptr write_len = internal_write(output_fd_, buffer, length); in writeToSymbolizer() local 186 if (write_len == 0 || write_len == (uptr)-1) { in writeToSymbolizer()
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/tools/ |
D | neteq_rtpplay.cc | 281 size_t write_len = samples_per_channel * num_channels; in main() local 282 if (fwrite(out_data, sizeof(out_data[0]), write_len, out_file) != in main() 283 write_len) { in main()
|