HomeSort by relevance Sort by last modified time
    Searched full:to_read (Results 1 - 25 of 32) sorted by null

1 2

  /external/chromium_org/chrome/common/
partial_circular_buffer.cc 76 uint32 to_read = Min3(buffer_size, to_wrap_pos, to_eow); local
77 memcpy(buffer_uint8, buffer_data_->data + position_, to_read);
78 position_ += to_read;
79 total_read_ += to_read;
80 read += to_read;
105 uint32 to_read = Min3(remaining_buffer_size, to_eof, to_eow); local
106 memcpy(buffer_uint8 + read, buffer_data_->data + position_, to_read);
107 position_ += to_read;
108 total_read_ += to_read;
109 read += to_read;
130 uint32 to_read = Min3(remaining_buffer_size, to_eob, to_eow); local
    [all...]
  /external/qemu-pc-bios/bochs/bios/
usage.cc 44 unsigned int to_read, index; local
62 to_read = 65536;
64 while (to_read > 0) {
65 retval = read(bios_file, &bios[index], to_read);
70 to_read -= retval;
  /external/chromium_org/content/browser/streams/
stream_url_request_job.cc 102 int to_read = buf_size; local
103 if (max_range_ && to_read) {
104 if (to_read + total_bytes_read_ > max_range_)
105 to_read = max_range_ - total_bytes_read_;
107 if (to_read <= 0) {
113 switch (stream_->ReadRawData(buf, to_read, bytes_read)) {
120 pending_buffer_size_ = to_read;
stream.cc 149 size_t to_read = local
152 memcpy(buf->data(), data_->data() + data_bytes_read_, to_read);
153 data_bytes_read_ += to_read;
157 *bytes_read = to_read;
  /external/chromium/net/url_request/
url_request_test_job.cc 173 int to_read = buf_size; local
174 if (to_read + offset_ > static_cast<int>(response_data_.length()))
175 to_read = static_cast<int>(response_data_.length()) - offset_;
177 memcpy(buf->data(), &response_data_.c_str()[offset_], to_read);
178 offset_ += to_read;
180 *bytes_read = to_read;
  /external/chromium_org/net/url_request/
url_request_test_job.cc 225 int to_read = buf_size; local
226 if (to_read + offset_ > static_cast<int>(response_data_.length()))
227 to_read = static_cast<int>(response_data_.length()) - offset_;
229 memcpy(buf->data(), &response_data_.c_str()[offset_], to_read);
230 offset_ += to_read;
232 *bytes_read = to_read;
  /system/core/libsparse/
sparse_read.c 366 unsigned int to_read; local
376 to_read = min(remain, s->block_size);
377 ret = read_all(fd, buf, to_read);
383 if (to_read == s->block_size) {
397 sparse_file_add_fill(s, buf[0], to_read, block);
399 sparse_file_add_fd(s, fd, offset, to_read, block);
402 remain -= to_read;
403 offset += to_read;
  /external/libvpx/libvpx/examples/
encoder_tmpl.c 54 size_t nbytes, to_read; local
57 to_read = img->w*img->h*3/2;
58 nbytes = fread(img->planes[0], 1, to_read, f);
59 if(nbytes != to_read) {
  /external/libvpx/libvpx/
vp8_multi_resolution_encoder.c 84 size_t nbytes, to_read; local
87 to_read = img->w*img->h*3/2;
88 nbytes = fread(img->planes[0], 1, to_read, f);
89 if(nbytes != to_read) {
98 size_t nbytes, to_read; local
127 to_read = w;
129 nbytes = fread(ptr, 1, to_read, f);
130 if(nbytes != to_read) {
vp9_spatial_scalable_encoder.c 145 const int to_read = w; local
147 nbytes = fread(ptr, 1, to_read, f);
148 if (nbytes != to_read) {
vp8_scalable_patterns.c 62 size_t nbytes, to_read; local
65 to_read = img->w*img->h*3/2;
66 nbytes = fread(img->planes[0], 1, to_read, f);
67 if(nbytes != to_read) {
  /system/core/fastbootd/
usb_linux_client.c 257 size_t to_read = (length - n > READ_BUF_SIZE) ? READ_BUF_SIZE : length - n; local
258 ret = TEMP_FAILURE_RETRY(read(bulk_out, buf + n, to_read));
265 if (ret < (ssize_t)to_read) {
266 D(VERBOSE, "bulk_read short read, ret=%zd to_read=%u n=%u length=%u",
267 ret, to_read, n, length);
  /external/grub/stage2/
fsys_reiserfs.c 890 unsigned int to_read; local
925 to_read = blocksize - offset;
926 if (to_read > len)
927 to_read = len;
934 (INFO->current_item - LEAF + offset), to_read, buf);
939 memcpy (buf, INFO->current_item + offset, to_read);
956 to_read = INFO->blocksize - blk_offset;
957 if (to_read > len)
958 to_read = len;
966 blk_offset, to_read, buf)
    [all...]
  /external/chromium/net/base/
file_stream_win.cc 261 int to_read = buf_len; local
265 int bytes_read = Read(buf, to_read, NULL);
275 to_read -= bytes_read;
file_stream_posix.cc 386 int to_read = buf_len; local
390 int bytes_read = Read(buf, to_read, NULL);
400 to_read -= bytes_read;
  /external/chromium_org/net/base/
file_stream.cc 185 int to_read = buf_len; local
189 int bytes_read = ReadSync(buf, to_read);
199 to_read -= bytes_read;
  /external/qemu/android/protocol/
core-connection.h 97 * to_read Number of bytes to read.
105 size_t to_read,
core-connection.c 227 size_t to_read,
239 syncsocket_read(desc->ssocket, buffer, to_read, CORE_PORT_TIMEOUT_MS);
  /external/tinycompress/
compress.c 417 int to_read = 0; local
456 to_read = avail.avail;
458 to_read = size;
459 num_read = read(compress->fd, cbuf, to_read);
  /bootable/recovery/applypatch/
applypatch.c 469 size_t to_read = len - p; local
470 if (to_read > sizeof(buffer)) to_read = sizeof(buffer);
473 while (so_far < to_read) {
474 ssize_t read_count = read(fd, buffer+so_far, to_read-so_far);
484 if ((size_t)read_count < to_read) {
486 partition, p, read_count, to_read, strerror(errno));
491 if (memcmp(buffer, data+p, to_read)) {
    [all...]
  /external/chromium/chrome/browser/sessions/
session_backend.cc 170 int to_read = static_cast<int>(buffer_.size() - available_count_); local
172 to_read);
  /external/e2fsprogs/intl/
loadmsgcat.c 977 size_t to_read; local
984 to_read = size;
988 long int nb = (long int) read (fd, read_ptr, to_read);
999 to_read -= nb;
1001 while (to_read > 0);
    [all...]
  /external/libsepol/src/
policydb.c 2174 int rc, to_read = 2; local
2252 int rc, to_read; local
2827 int rc, to_read = 2; local
    [all...]
  /external/chromium_org/chrome/browser/sessions/
session_backend.cc 176 int to_read = static_cast<int>(buffer_.size() - available_count_); local
178 to_read);
  /external/chromium_org/third_party/libjingle/source/talk/base/
stream.cc 595 size_t to_read = talk_base::_min(buffer_len, read_segment_available_); local
597 = talk_base::FileStream::Read(buffer, to_read, read, error);
    [all...]

Completed in 1158 milliseconds

1 2