Home
last modified time | relevance | path

Searched refs:bytes_copied (Results 1 – 12 of 12) sorted by relevance

/external/cronet/net/spdy/
Dspdy_read_queue.cc38 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/
Dnet_log_parameters.cc31 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()
Dnet_log_parameters.h47 int bytes_copied);
/external/parameter-framework/asio-1.10.6/include/asio/
Dbuffer.hpp1263 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/
Dmmap.rs107 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/
Dmapped_file_unittest.cc26 void OnFileIOComplete(int bytes_copied) override;
34 void FileCallbackTest::OnFileIOComplete(int bytes_copied) { in OnFileIOComplete() argument
Dfile.h27 virtual void OnFileIOComplete(int bytes_copied) = 0;
Dsparse_control.cc75 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()
Dentry_impl.cc62 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/
Dvpxpes_parser.cc308 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()
Dwebm2pes.cc499 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/
Dv3dv_meta_copy.c1972 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()