Home
last modified time | relevance | path

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

/external/chromium/net/base/
Dupload_data_stream.cc72 size_t bytes_copied = std::min(count, size_remaining); in FillBuf() local
77 if (bytes_copied) { in FillBuf()
78 memcpy(buf_->data() + buf_len_, &d[next_element_offset_], bytes_copied); in FillBuf()
79 buf_len_ += bytes_copied; in FillBuf()
82 if (bytes_copied == count) { in FillBuf()
85 next_element_offset_ += bytes_copied; in FillBuf()
/external/bluetooth/bluedroid/stack/hid/
Dhidh_conn.c823 UINT16 bytes_copied; in hidh_conn_snd_data() local
873 bytes_copied = 0; in hidh_conn_snd_data()
884 bytes_copied = p_hcon->rem_mtu_size - 1; in hidh_conn_snd_data()
892 bytes_copied = buf->len; in hidh_conn_snd_data()
902 data_size = bytes_copied = 1; in hidh_conn_snd_data()
908 memcpy (p_out, (((UINT8 *)(buf+1)) + buf->offset), bytes_copied); in hidh_conn_snd_data()
909 buf->offset += bytes_copied; in hidh_conn_snd_data()
910 buf->len -= bytes_copied; in hidh_conn_snd_data()
914 *(p_out+bytes_copied) = data & 0xff; in hidh_conn_snd_data()
918 *(p_out+bytes_copied) = data & 0xff; in hidh_conn_snd_data()
[all …]
/external/chromium/net/disk_cache/
Dmapped_file_unittest.cc25 virtual void OnFileIOComplete(int bytes_copied);
30 void FileCallbackTest::OnFileIOComplete(int bytes_copied) { in OnFileIOComplete() argument
Dnet_log_parameters.cc43 ReadWriteCompleteParameters::ReadWriteCompleteParameters(int bytes_copied) in ReadWriteCompleteParameters() argument
44 : bytes_copied_(bytes_copied) { in ReadWriteCompleteParameters()
Dfile.h25 virtual void OnFileIOComplete(int bytes_copied) = 0;
Dnet_log_parameters.h53 explicit ReadWriteCompleteParameters(int bytes_copied);
Dsparse_control.cc58 virtual void OnFileIOComplete(int bytes_copied);
80 void ChildrenDeleter::OnFileIOComplete(int bytes_copied) { in OnFileIOComplete() argument
82 Start(buffer, bytes_copied); in OnFileIOComplete()
Dentry_impl.cc45 virtual void OnFileIOComplete(int bytes_copied);
58 void SyncCallback::OnFileIOComplete(int bytes_copied) { in OnFileIOComplete() argument
65 new disk_cache::ReadWriteCompleteParameters(bytes_copied))); in OnFileIOComplete()
68 callback_->Run(bytes_copied); in OnFileIOComplete()