/device/htc/common/updater/ |
firmware.c | 116 size_t to_read = image_length - total; local 117 if (to_read > block_size) to_read = block_size; 118 ssize_t read = mtd_read_data(ctx, buffer, to_read);
|
/external/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/chromium/net/url_request/ |
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/ |
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/dbus/tools/ |
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);
|
/libcore/luni/src/main/java/java/io/ |
InputStreamReader.java | 253 int to_read = bytes.capacity() - bytes.limit(); local 255 int was_red = in.read(bytes.array(), off, to_read);
|
/external/chromium/net/base/ |
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;
|
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/ |
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); [all...] |
/external/clearsilver/cgi/ |
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/ |
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...] |