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