HomeSort by relevance Sort by last modified time
    Searched refs:bytes_to_copy (Results 1 - 20 of 20) sorted by null

  /external/chromium_org/net/base/
test_data_stream.cc 17 int bytes_to_copy = std::min(length, bytes_remaining_); local
18 memcpy(buffer, buffer_ptr_, bytes_to_copy);
19 buffer += bytes_to_copy;
20 Consume(bytes_to_copy);
21 length -= bytes_to_copy;
  /external/chromium_org/net/spdy/
spdy_read_queue.cc 39 size_t bytes_to_copy = local
41 memcpy(out + bytes_copied, buffer->GetRemainingData(), bytes_to_copy);
42 bytes_copied += bytes_to_copy;
43 if (bytes_to_copy == buffer->GetRemainingSize()) {
47 buffer->Consume(bytes_to_copy);
  /external/chromium_org/remoting/client/
audio_player.cc 124 size_t bytes_to_copy = std::min( local
127 memcpy(next_sample, packet_data.data() + bytes_consumed_, bytes_to_copy);
129 next_sample += bytes_to_copy;
130 bytes_consumed_ += bytes_to_copy;
131 bytes_extracted += bytes_to_copy;
132 queued_bytes_ -= bytes_to_copy;
  /external/chromium_org/chrome/browser/devtools/adb/
android_usb_socket.cc 116 size_t bytes_to_copy = static_cast<size_t>(length) > read_buffer_.length() ? local
118 memcpy(buffer->data(), read_buffer_.data(), bytes_to_copy);
119 if (read_buffer_.length() > bytes_to_copy)
120 read_buffer_ = read_buffer_.substr(bytes_to_copy);
228 size_t bytes_to_copy = local
231 memcpy(read_request.buffer->data(), read_buffer_.data(), bytes_to_copy);
232 if (read_buffer_.length() > bytes_to_copy)
233 read_buffer_ = read_buffer_.substr(bytes_to_copy);
236 read_request.callback.Run(bytes_to_copy);
  /external/chromium_org/remoting/codec/
video_decoder_verbatim.cc 83 int bytes_to_copy = std::min(in_size - used, row_size - row_pos_); local
84 memcpy(out + row_pos_, in + used, bytes_to_copy);
86 used += bytes_to_copy;
87 row_pos_ += bytes_to_copy;
video_encoder_verbatim.cc 70 int bytes_to_copy = local
72 memcpy(out + filled, in + row_pos, bytes_to_copy);
73 row_pos += bytes_to_copy;
74 filled += bytes_to_copy;
  /external/chromium_org/native_client_sdk/src/libraries/nacl_io/
mount_node_tty.cc 116 size_t bytes_to_copy = std::min(count, input_buffer_.size()); local
125 // We found a newline in the buffer, adjust bytes_to_copy accordingly
127 bytes_to_copy = std::min(bytes_to_copy, line_len);
133 std::copy(input_buffer_.begin(), input_buffer_.begin() + bytes_to_copy,
135 *out_bytes = bytes_to_copy;
137 input_buffer_.begin() + bytes_to_copy);
mount_dev.cc 221 int bytes_to_copy = std::min(bytes_left, sizeof(random_int));
222 memcpy(out, &random_int, bytes_to_copy);
223 out += bytes_to_copy;
224 bytes_left -= bytes_to_copy;
  /external/chromium/net/spdy/
spdy_http_stream.cc 116 const int bytes_to_copy = std::min(buf_len, data->size()); local
117 memcpy(&(buf->data()[bytes_read]), data->data(), bytes_to_copy);
118 buf_len -= bytes_to_copy;
119 if (bytes_to_copy == data->size()) {
122 const int bytes_remaining = data->size() - bytes_to_copy;
124 memcpy(new_buffer->data(), &(data->data()[bytes_to_copy]),
129 bytes_read += bytes_to_copy;
spdy_proxy_client_socket.cc 184 const int bytes_to_copy = std::min(user_buffer_->BytesRemaining(), local
186 memcpy(user_buffer_->data(), data->data(), bytes_to_copy);
187 user_buffer_->DidConsume(bytes_to_copy);
188 if (data->BytesRemaining() == bytes_to_copy) {
192 data->DidConsume(bytes_to_copy);
  /external/chromium_org/chrome/browser/extensions/api/serial/
serial_apitest.cc 87 int bytes_to_copy = io_buffer->size(); local
88 while (bytes_to_copy-- && !buffer_.empty()) {
  /external/chromium_org/net/quic/
quic_http_stream.cc 167 const int bytes_to_copy = std::min(buf_len, data->size()); local
168 memcpy(&(buf->data()[bytes_read]), data->data(), bytes_to_copy);
169 buf_len -= bytes_to_copy;
170 if (bytes_to_copy == data->size()) {
173 const int bytes_remaining = data->size() - bytes_to_copy;
175 memcpy(new_buffer->data(), &(data->data()[bytes_to_copy]),
180 bytes_read += bytes_to_copy;
  /external/chromium_org/third_party/leveldatabase/src/helpers/memenv/
memenv.cc 74 size_t bytes_to_copy = n; local
77 while (bytes_to_copy > 0) {
79 if (avail > bytes_to_copy) {
80 avail = bytes_to_copy;
84 bytes_to_copy -= avail;
  /external/chromium_org/ppapi/proxy/
url_loader_resource.cc 373 size_t bytes_to_copy = std::min(buffer_.size(), user_buffer_size_); local
374 std::copy(buffer_.begin(), buffer_.begin() + bytes_to_copy, user_buffer_);
375 buffer_.erase(buffer_.begin(), buffer_.begin() + bytes_to_copy);
388 return bytes_to_copy;
  /external/chromium/chrome/browser/automation/
url_request_automation_job.cc 314 const int bytes_to_copy = std::min(bytes.size(), pending_buf_size_); local
315 memcpy(pending_buf_->data(), &bytes[0], bytes_to_copy);
320 NotifyReadComplete(bytes_to_copy);
  /external/chromium_org/chrome_frame/
protocol_sink_wrap.cc 365 const ULONG bytes_to_copy = std::min(bytes_available, size); local
366 if (bytes_to_copy) {
368 memcpy(buffer, buffer_ + buffer_pos_, bytes_to_copy);
369 *size_read = bytes_to_copy;
370 buffer_pos_ += bytes_to_copy;
376 buffer = reinterpret_cast<uint8*>(buffer) + bytes_to_copy;
377 size -= bytes_to_copy;
382 *size_read = bytes_to_copy + new_data;
    [all...]
  /packages/apps/Gallery2/jni/filters/
geometry.c 26 size_t bytes_to_copy = sizeof(char) * width; local
30 memcpy(destination + temp - i, source + i, bytes_to_copy);
  /external/chromium_org/chrome/browser/automation/
url_request_automation_job.cc 382 const int bytes_to_copy = std::min(bytes.size(), pending_buf_size_); local
383 memcpy(pending_buf_->data(), &bytes[0], bytes_to_copy);
388 NotifyReadComplete(bytes_to_copy);
  /external/chromium_org/chrome/browser/thumbnails/
content_analysis.cc 701 size_t bytes_to_copy = (c - left_copy_pixel) * bitmap.bytesPerPixel(); local
704 bytes_to_copy);
706 insertion_target += bytes_to_copy;
711 size_t bytes_to_copy = local
715 bytes_to_copy);
  /external/bluetooth/bluedroid/bta/dm/
bta_dm_act.c 2752 UINT32 bytes_to_copy; local
    [all...]

Completed in 3551 milliseconds