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

  /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/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/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 151 size_t to_read = local
154 memcpy(buf->data(), data_->data() + data_bytes_read_, to_read);
155 data_bytes_read_ += to_read;
159 *bytes_read = to_read;
  /system/core/fastbootd/
utils.c 190 size_t to_read = (length - n > READ_BUF_SIZE) ? READ_BUF_SIZE : length - n; local
191 ret = TEMP_FAILURE_RETRY(read(bulk_out, buf + n, to_read));
198 if (ret < (ssize_t)to_read) {
199 D(VERBOSE, "bulk_read short read, ret=%zd to_read=%zu n=%zu length=%zu",
200 ret, to_read, n, length);
  /build/tools/releasetools/
sparse_img.py 135 to_read = e-s
141 this_read = min(remain, to_read)
148 to_read -= this_read
150 while to_read > 0:
154 this_read = min(chunk_len, to_read)
160 to_read -= this_read
  /external/chromium_org/net/url_request/
url_request_test_job.cc 233 int to_read = buf_size; local
234 if (to_read + offset_ > static_cast<int>(response_data_.length()))
235 to_read = static_cast<int>(response_data_.length()) - offset_;
237 memcpy(buf->data(), &response_data_.c_str()[offset_], to_read);
238 offset_ += to_read;
240 *bytes_read = to_read;
  /external/chromium_org/tools/android/file_poller/
file_poller.cc 57 size_t to_read = size; local
59 while (to_read > 0 && ((n = read(fd_in, index, to_read)) > 0)) {
61 to_read -= n;
65 return size - to_read;
  /external/chromium_org/third_party/libvpx/source/libvpx/examples/
vp8_multi_resolution_encoder.c 70 size_t nbytes, to_read; local
73 to_read = img->w*img->h*3/2;
74 nbytes = fread(img->planes[0], 1, to_read, f);
75 if(nbytes != to_read) {
84 size_t nbytes, to_read; local
113 to_read = w;
115 nbytes = fread(ptr, 1, to_read, f);
116 if(nbytes != to_read) {
  /external/libvpx/libvpx/examples/
vp8_multi_resolution_encoder.c 70 size_t nbytes, to_read; local
73 to_read = img->w*img->h*3/2;
74 nbytes = fread(img->planes[0], 1, to_read, f);
75 if(nbytes != to_read) {
84 size_t nbytes, to_read; local
113 to_read = w;
115 nbytes = fread(ptr, 1, to_read, f);
116 if(nbytes != to_read) {
  /external/qemu/distrib/libsparse/src/
sparse_read.c 363 unsigned int to_read; local
372 to_read = min(remain, s->block_size);
373 ret = read_all(fd, buf, to_read);
379 if (to_read == s->block_size) {
393 sparse_file_add_fill(s, buf[0], to_read, block);
395 sparse_file_add_fd(s, fd, offset, to_read, block);
398 remain -= to_read;
399 offset += to_read;
  /hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/examples/
vp8_multi_resolution_encoder.c 70 size_t nbytes, to_read; local
73 to_read = img->w*img->h*3/2;
74 nbytes = fread(img->planes[0], 1, to_read, f);
75 if(nbytes != to_read) {
84 size_t nbytes, to_read; local
113 to_read = w;
115 nbytes = fread(ptr, 1, to_read, f);
116 if(nbytes != to_read) {
  /system/core/libsparse/
sparse_read.c 363 unsigned int to_read; local
372 to_read = min(remain, s->block_size);
373 ret = read_all(fd, buf, to_read);
379 if (to_read == s->block_size) {
393 sparse_file_add_fill(s, buf[0], to_read, block);
395 sparse_file_add_fd(s, fd, offset, to_read, block);
398 remain -= to_read;
399 offset += to_read;
  /bootable/recovery/applypatch/
applypatch.c 474 size_t to_read = len - p; local
475 if (to_read > sizeof(buffer)) to_read = sizeof(buffer);
478 while (so_far < to_read) {
479 ssize_t read_count = read(fd, buffer+so_far, to_read-so_far);
489 if ((size_t)read_count < to_read) {
491 partition, p, read_count, to_read, strerror(errno));
496 if (memcmp(buffer, data+p, to_read)) {
    [all...]
  /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);
  /external/chromium_org/chrome/browser/sessions/
session_backend.cc 173 int to_read = static_cast<int>(buffer_.size() - available_count_); local
175 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 2176 int rc, to_read = 2; local
2254 int rc, to_read; local
2829 int rc, to_read = 2; local
    [all...]
  /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...]
  /external/chromium_org/third_party/webrtc/base/
stream.cc 578 size_t to_read = rtc::_min(buffer_len, read_segment_available_); local
580 = rtc::FileStream::Read(buffer, to_read, read, error);
    [all...]
  /external/chromium_org/net/spdy/
spdy_framer_test.cc 3421 size_t to_read = min(kReadChunkSize, unframed_data); local
5342 size_t to_read = min(kReadChunkSize, unframed_data); local
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
_pyio.py     [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
_pyio.py     [all...]

Completed in 762 milliseconds