Searched refs:to_read (Results 1 - 9 of 9) sorted by relevance
/external/libvpx/examples/ |
H A D | 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/chromium/net/url_request/ |
H A D | url_request_test_job.cc | 170 int to_read = buf_size; local 171 if (to_read + offset_ > static_cast<int>(response_data_.length())) 172 to_read = static_cast<int>(response_data_.length()) - offset_; 174 memcpy(buf->data(), &response_data_.c_str()[offset_], to_read); 175 offset_ += to_read; 177 *bytes_read = to_read;
|
/external/grub/stage2/ |
H A D | 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, bu [all...] |
/external/dbus/tools/ |
H A D | dbus-launch.c | 155 size_t to_read; local 158 to_read = maxlen - bytes; 160 if (to_read == 0) 165 to_read); 208 size_t to_read; local 211 to_read = sizeof (pid_t) - bytes; 213 if (to_read == 0) 218 to_read);
|
/external/chromium/net/base/ |
H A D | file_stream_posix.cc | 404 int to_read = buf_len; local 408 int bytes_read = Read(buf, to_read, NULL); 418 to_read -= bytes_read;
|
H A D | file_stream_win.cc | 249 int to_read = buf_len; local 253 int bytes_read = Read(buf, to_read, NULL); 263 to_read -= bytes_read;
|
/external/dbus/dbus/ |
H A D | dbus-spawn.c | 74 size_t to_read; local 76 to_read = sizeof (int) * n_ints_in_buf - bytes; 78 if (to_read == 0) 85 to_read); 129 size_t to_read; local 131 to_read = sizeof (pid_t) - bytes; 133 if (to_read == 0) 140 to_read);
|
/external/clearsilver/cgi/ |
H A D | rfc2388.c | 129 int to_read; local 166 to_read = cgi->buflen - ofs; 167 if (cgi->data_expected && (to_read > cgi->data_expected - cgi->data_read)) 169 to_read = cgi->data_expected - cgi->data_read; 171 cgiwrap_read (cgi->buf + ofs, to_read, &(cgi->readlen));
|
/external/e2fsprogs/intl/ |
H A D | 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);
|
Completed in 171 milliseconds