HomeSort by relevance Sort by last modified time
    Searched refs:bytes_to_copy (Results 1 - 18 of 18) 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/device/usb/
android_usb_socket.cc 126 size_t bytes_to_copy = static_cast<size_t>(length) > read_buffer_.length() ? local
128 memcpy(buffer->data(), read_buffer_.data(), bytes_to_copy);
129 if (read_buffer_.length() > bytes_to_copy)
130 read_buffer_ = read_buffer_.substr(bytes_to_copy);
133 return bytes_to_copy;
239 size_t bytes_to_copy = local
242 memcpy(read_request.buffer->data(), read_buffer_.data(), bytes_to_copy);
243 if (read_buffer_.length() > bytes_to_copy)
244 read_buffer_ = read_buffer_.substr(bytes_to_copy);
247 read_request.callback.Run(bytes_to_copy);
    [all...]
  /external/chromium_org/content/renderer/pepper/
pepper_media_stream_audio_track_host.cc 252 uint32_t bytes_to_copy = std::min(buffer_bytes_remaining, local
254 uint32_t frames_to_copy = bytes_to_copy / bytes_per_frame;
255 DCHECK_EQ(bytes_to_copy % bytes_per_frame, 0U);
257 audio_data, bytes_to_copy);
258 active_buffer_offset_ += bytes_to_copy;
259 audio_data += bytes_to_copy / sizeof(*audio_data);
  /external/chromium_org/native_client_sdk/src/libraries/nacl_io/devfs/
tty_node.cc 124 size_t bytes_to_copy = std::min(count, input_buffer_.size());
131 // We found a newline in the buffer, adjust bytes_to_copy accordingly
133 bytes_to_copy = std::min(bytes_to_copy, line_len);
139 input_buffer_.begin() + bytes_to_copy,
141 *out_bytes = bytes_to_copy;
143 input_buffer_.begin() + bytes_to_copy);
dev_fs.cc 214 int bytes_to_copy = std::min(bytes_left, sizeof(random_int));
215 memcpy(out, &random_int, bytes_to_copy);
216 out += bytes_to_copy;
217 bytes_left -= bytes_to_copy;
  /external/chromium_org/net/quic/
quic_http_stream.cc 182 const int bytes_to_copy = std::min(buf_len, data->size()); local
183 memcpy(&(buf->data()[bytes_read]), data->data(), bytes_to_copy);
184 buf_len -= bytes_to_copy;
185 if (bytes_to_copy == data->size()) {
188 const int bytes_remaining = data->size() - bytes_to_copy;
190 memcpy(new_buffer->data(), &(data->data()[bytes_to_copy]),
195 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 381 size_t bytes_to_copy = std::min(buffer_.size(), user_buffer_size_); local
382 std::copy(buffer_.begin(), buffer_.begin() + bytes_to_copy, user_buffer_);
383 buffer_.erase(buffer_.begin(), buffer_.begin() + bytes_to_copy);
396 return bytes_to_copy;
  /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/native_client_sdk/src/tests/nacl_io_test/fake_ppapi/
fake_pepper_interface_url_loader.cc 216 size_t bytes_to_copy = std::min(bytes_left, src_size - src_offset); local
217 memcpy(dst, src + src_offset, bytes_to_copy);
218 dst += bytes_to_copy;
219 bytes_left -= bytes_to_copy;
  /external/chromium_org/chrome/browser/thumbnails/
content_analysis.cc 698 size_t bytes_to_copy = (c - left_copy_pixel) * bitmap.bytesPerPixel(); local
701 bytes_to_copy);
703 insertion_target += bytes_to_copy;
708 size_t bytes_to_copy = local
712 bytes_to_copy);
  /external/chromium_org/third_party/webrtc/modules/video_coding/codecs/vp8/
vp8_impl.cc 708 const uint32_t bytes_to_copy = input_image._length; local
709 if (last_keyframe_._size < bytes_to_copy) {
722 last_keyframe_._size = bytes_to_copy;
726 memcpy(last_keyframe_._buffer, input_image._buffer, bytes_to_copy);
727 last_keyframe_._length = bytes_to_copy;
  /external/libpng/
pngrutil.c 3272 unsigned int bytes_to_copy, bytes_to_jump; local
    [all...]
  /external/lldb/source/Plugins/Process/MacOSX-Kernel/
CommunicationKDP.cpp 1339 const uint32_t bytes_to_copy = std::min<uint32_t>(src_len, dst_len); local
    [all...]
  /external/bluetooth/bluedroid/bta/dm/
bta_dm_act.c 2821 UINT32 bytes_to_copy; local
    [all...]
  /external/chromium_org/pdf/pdfium/
pdfium_engine.cc 3196 int bytes_to_copy = rv_bytes < length ? rv_bytes : length; local
    [all...]

Completed in 579 milliseconds