Searched refs:bytes_copied (Results 1 – 12 of 12) sorted by relevance
/external/cronet/net/spdy/ |
D | spdy_read_queue.cc | 38 size_t bytes_copied = 0; in Dequeue() local 39 while (!queue_.empty() && bytes_copied < len) { in Dequeue() 42 std::min(len - bytes_copied, buffer->GetRemainingSize()); in Dequeue() 43 memcpy(out + bytes_copied, buffer->GetRemainingData(), bytes_to_copy); in Dequeue() 44 bytes_copied += bytes_to_copy; in Dequeue() 50 total_size_ -= bytes_copied; in Dequeue() 51 return bytes_copied; in Dequeue()
|
/external/cronet/net/disk_cache/ |
D | net_log_parameters.cc | 31 base::Value::Dict NetLogReadWriteCompleteParams(int bytes_copied) { in NetLogReadWriteCompleteParams() argument 32 DCHECK_NE(bytes_copied, net::ERR_IO_PENDING); in NetLogReadWriteCompleteParams() 34 if (bytes_copied < 0) { in NetLogReadWriteCompleteParams() 35 dict.Set("net_error", bytes_copied); in NetLogReadWriteCompleteParams() 37 dict.Set("bytes_copied", bytes_copied); in NetLogReadWriteCompleteParams() 85 int bytes_copied) { in NetLogReadWriteComplete() argument 87 [&] { return NetLogReadWriteCompleteParams(bytes_copied); }); in NetLogReadWriteComplete()
|
D | net_log_parameters.h | 47 int bytes_copied);
|
/external/parameter-framework/asio-1.10.6/include/asio/ |
D | buffer.hpp | 1263 std::size_t bytes_copied = buffer_copy(target_buffer, source_buffer); in buffer_copy() local 1264 total_bytes_copied += bytes_copied; in buffer_copy() 1265 target_buffer = target_buffer + bytes_copied; in buffer_copy() 1434 std::size_t bytes_copied = buffer_copy(target_buffer, source_buffer); in buffer_copy() local 1435 total_bytes_copied += bytes_copied; in buffer_copy() 1436 source_buffer = source_buffer + bytes_copied; in buffer_copy() 1563 std::size_t bytes_copied = buffer_copy(target_buffer, source_buffer); in buffer_copy() local 1564 total_bytes_copied += bytes_copied; in buffer_copy() 1566 if (bytes_copied == buffer_size(target_buffer)) in buffer_copy() 1572 target_buffer_offset += bytes_copied; in buffer_copy() [all …]
|
/external/crosvm/base/src/ |
D | mmap.rs | 107 let bytes_copied = min(size_past_offset, buf.len()); in write_slice() localVariable 112 copy_nonoverlapping(buf.as_ptr(), self.as_ptr().add(offset), bytes_copied); in write_slice() 114 Ok(bytes_copied) in write_slice() 123 let bytes_copied = min(size_past_offset, buf.len()); in read_slice() localVariable 128 copy_nonoverlapping(self.as_ptr().add(offset), buf.as_mut_ptr(), bytes_copied); in read_slice() 130 Ok(bytes_copied) in read_slice()
|
/external/cronet/net/disk_cache/blockfile/ |
D | mapped_file_unittest.cc | 26 void OnFileIOComplete(int bytes_copied) override; 34 void FileCallbackTest::OnFileIOComplete(int bytes_copied) { in OnFileIOComplete() argument
|
D | file.h | 27 virtual void OnFileIOComplete(int bytes_copied) = 0;
|
D | sparse_control.cc | 75 void OnFileIOComplete(int bytes_copied) override; 96 void ChildrenDeleter::OnFileIOComplete(int bytes_copied) { in OnFileIOComplete() argument 97 Start(std::move(buffer_), bytes_copied); in OnFileIOComplete()
|
D | entry_impl.cc | 62 void OnFileIOComplete(int bytes_copied) override; 73 void SyncCallback::OnFileIOComplete(int bytes_copied) { in OnFileIOComplete() argument 79 bytes_copied); in OnFileIOComplete() 83 std::move(callback_).Run(bytes_copied); in OnFileIOComplete()
|
/external/libwebm/m2ts/ |
D | vpxpes_parser.cc | 308 std::size_t bytes_copied = 0; in RemoveStartCodeEmulationPreventionBytes() local 312 for (i = 0; bytes_copied < bytes_required; ++i) { in RemoveStartCodeEmulationPreventionBytes() 330 ++bytes_copied; in RemoveStartCodeEmulationPreventionBytes()
|
D | webm2pes.cc | 499 std::size_t bytes_copied = bytes_to_copy; in WritePesPacket() local 512 const std::uint8_t* fragment_start = payload_start + bytes_copied; in WritePesPacket() 519 bytes_copied += extra_bytes_to_copy; in WritePesPacket()
|
/external/mesa3d/src/broadcom/vulkan/ |
D | v3dv_meta_copy.c | 1972 const uint32_t bytes_copied = items_copied * item_size; in copy_buffer() local 1974 src_offset += bytes_copied; in copy_buffer() 1975 dst_offset += bytes_copied; in copy_buffer() 2159 const uint32_t bytes_copied = items_copied * 4; in fill_buffer() local 2161 offset += bytes_copied; in fill_buffer()
|