/external/chromium_org/net/spdy/ |
spdy_read_queue.cc | 36 size_t bytes_copied = 0; local 37 while (!queue_.empty() && bytes_copied < len) { 40 std::min(len - bytes_copied, buffer->GetRemainingSize()); 41 memcpy(out + bytes_copied, buffer->GetRemainingData(), bytes_to_copy); 42 bytes_copied += bytes_to_copy; 50 total_size_ -= bytes_copied; 51 return bytes_copied;
|
/external/chromium_org/net/disk_cache/ |
net_log_parameters.cc | 42 int bytes_copied, 44 DCHECK_NE(bytes_copied, net::ERR_IO_PENDING); 46 if (bytes_copied < 0) { 47 dict->SetInteger("net_error", bytes_copied); 49 dict->SetInteger("bytes_copied", bytes_copied); 111 int bytes_copied) { 112 return base::Bind(&NetLogReadWriteCompleteCallback, bytes_copied);
|
net_log_parameters.h | 36 // |bytes_copied| is either the number of bytes copied or a network error 37 // code. |bytes_copied| must not be ERR_IO_PENDING, as it's not a valid 40 int bytes_copied);
|
file.h | 25 virtual void OnFileIOComplete(int bytes_copied) = 0;
|
mapped_file_unittest.cc | 26 virtual void OnFileIOComplete(int bytes_copied) OVERRIDE; 34 void FileCallbackTest::OnFileIOComplete(int bytes_copied) {
|
sparse_control.cc | 59 virtual void OnFileIOComplete(int bytes_copied) OVERRIDE; 81 void ChildrenDeleter::OnFileIOComplete(int bytes_copied) { 83 Start(buffer, bytes_copied);
|
entry_impl.cc | 46 virtual void OnFileIOComplete(int bytes_copied) OVERRIDE; 59 void SyncCallback::OnFileIOComplete(int bytes_copied) { 65 disk_cache::CreateNetLogReadWriteCompleteCallback(bytes_copied)); 69 callback_.Run(bytes_copied); [all...] |
/external/chromium_org/content/browser/loader/ |
certificate_resource_handler.cc | 129 size_t bytes_copied = 0; local 134 DCHECK_LE(bytes_copied + data_len, content_length_); 135 memcpy(resource_buffer_->data() + bytes_copied, data->data(), data_len); 136 bytes_copied += data_len; 138 DCHECK_EQ(content_length_, bytes_copied);
|
/external/chromium/net/base/ |
upload_data_stream.cc | 72 size_t bytes_copied = std::min(count, size_remaining); local 77 if (bytes_copied) { 78 memcpy(buf_->data() + buf_len_, &d[next_element_offset_], bytes_copied); 79 buf_len_ += bytes_copied; 82 if (bytes_copied == count) { 85 next_element_offset_ += bytes_copied;
|
/external/chromium_org/chrome_frame/ |
urlmon_upload_data_stream.cc | 86 uint64 bytes_copied = 0; local 89 while (bytes_copied < total_bytes_to_copy) { 90 size_t bytes_to_copy_now = total_bytes_to_copy - bytes_copied; 103 bytes_copied += bytes_read; 109 DCHECK_LE(bytes_copied, total_bytes_to_copy); 112 *read = static_cast<ULONG>(bytes_copied);
|
urlmon_url_request.cc | 123 size_t bytes_copied = 0; 124 if ((bytes_copied = SendDataToDelegate(bytes_to_read))) { 125 DVLOG(1) << __FUNCTION__ << me() << " bytes read: " << bytes_copied; 207 size_t bytes_copied = 0; local 237 bytes_copied = read_data.length(); 239 if (bytes_copied) { 251 return bytes_copied; 549 size_t bytes_copied = SendDataToDelegate(pending_read_size_); local 550 DVLOG(1) << __FUNCTION__ << me() << "size read: " << bytes_copied; [all...] |
/external/chromium/net/disk_cache/ |
mapped_file_unittest.cc | 25 virtual void OnFileIOComplete(int bytes_copied); 30 void FileCallbackTest::OnFileIOComplete(int bytes_copied) {
|
net_log_parameters.cc | 43 ReadWriteCompleteParameters::ReadWriteCompleteParameters(int bytes_copied) 44 : bytes_copied_(bytes_copied) { 53 dict->SetInteger("bytes_copied", bytes_copied_);
|
file.h | 25 virtual void OnFileIOComplete(int bytes_copied) = 0;
|
net_log_parameters.h | 50 // |bytes_copied| is either the number of bytes copied or a network error 51 // code. |bytes_copied| must not be ERR_IO_PENDING, as it's not a valid 53 explicit ReadWriteCompleteParameters(int bytes_copied);
|
sparse_control.cc | 58 virtual void OnFileIOComplete(int bytes_copied); 80 void ChildrenDeleter::OnFileIOComplete(int bytes_copied) { 82 Start(buffer, bytes_copied);
|
entry_impl.cc | 45 virtual void OnFileIOComplete(int bytes_copied); 58 void SyncCallback::OnFileIOComplete(int bytes_copied) { 65 new disk_cache::ReadWriteCompleteParameters(bytes_copied))); 68 callback_->Run(bytes_copied); [all...] |
/external/chromium_org/net/base/ |
upload_data_stream.cc | 220 const int bytes_copied = buf->BytesConsumed(); local 221 current_position_ += bytes_copied; 224 if (is_chunked_ && !IsEOF() && bytes_copied == 0) { 237 DCHECK(bytes_copied != 0 || IsEOF()); 238 return bytes_copied;
|
/external/bluetooth/bluedroid/stack/hid/ |
hidh_conn.c | 822 UINT16 bytes_copied; local 872 bytes_copied = 0; 883 bytes_copied = p_hcon->rem_mtu_size - 1; 891 bytes_copied = buf->len; 901 data_size = bytes_copied = 1; 907 memcpy (p_out, (((UINT8 *)(buf+1)) + buf->offset), bytes_copied); 908 buf->offset += bytes_copied; 909 buf->len -= bytes_copied; 913 *(p_out+bytes_copied) = data & 0xff; 917 *(p_out+bytes_copied) = data & 0xff [all...] |
/external/chromium_org/media/base/ |
seekable_buffer_unittest.cc | 60 int bytes_copied = buffer_.Peek(write_buffer_, copy_size); local 61 EXPECT_GE(copy_size, bytes_copied); 62 EXPECT_EQ(0, memcmp(write_buffer_, data_ + read_position, bytes_copied));
|
/external/chromium_org/chrome/browser/resources/net_internals/ |
timeline_data_series.js | 362 if (entry.params.bytes_copied != 0) 363 this.addPoint(entry.time, entry.params.bytes_copied);
|
/external/chromium_org/net/disk_cache/v3/ |
sparse_control_v3.cc | 59 virtual void OnFileIOComplete(int bytes_copied) OVERRIDE; 81 void ChildrenDeleter::OnFileIOComplete(int bytes_copied) { 83 Start(buffer, bytes_copied);
|