Home
last modified time | relevance | path

Searched refs:to_read (Results 1 – 13 of 13) sorted by relevance

/external/qemu-pc-bios/bochs/bios/
Dusage.cc44 unsigned int to_read, index; in main() local
62 to_read = 65536; in main()
64 while (to_read > 0) { in main()
65 retval = read(bios_file, &bios[index], to_read); in main()
70 to_read -= retval; in main()
/external/chromium/net/url_request/
Durl_request_test_job.cc173 int to_read = buf_size; in ReadRawData() local
174 if (to_read + offset_ > static_cast<int>(response_data_.length())) in ReadRawData()
175 to_read = static_cast<int>(response_data_.length()) - offset_; in ReadRawData()
177 memcpy(buf->data(), &response_data_.c_str()[offset_], to_read); in ReadRawData()
178 offset_ += to_read; in ReadRawData()
180 *bytes_read = to_read; in ReadRawData()
/external/grub/stage2/
Dfsys_reiserfs.c890 unsigned int to_read; in reiserfs_read() local
925 to_read = blocksize - offset; in reiserfs_read()
926 if (to_read > len) in reiserfs_read()
927 to_read = len; in reiserfs_read()
934 (INFO->current_item - LEAF + offset), to_read, buf); in reiserfs_read()
939 memcpy (buf, INFO->current_item + offset, to_read); in reiserfs_read()
956 to_read = INFO->blocksize - blk_offset; in reiserfs_read()
957 if (to_read > len) in reiserfs_read()
958 to_read = len; in reiserfs_read()
966 blk_offset, to_read, buf); in reiserfs_read()
[all …]
/external/libvpx/examples/
Dencoder_tmpl.c54 size_t nbytes, to_read; in read_frame() local
57 to_read = img->w*img->h*3/2; in read_frame()
58 nbytes = fread(img->planes[0], 1, to_read, f); in read_frame()
59 if(nbytes != to_read) { in read_frame()
/external/dbus/tools/
Ddbus-launch.c201 size_t to_read; in read_line() local
204 to_read = maxlen - bytes; in read_line()
206 if (to_read == 0) in read_line()
211 to_read); in read_line()
254 size_t to_read; in read_pid() local
257 to_read = sizeof (pid_t) - bytes; in read_pid()
259 if (to_read == 0) in read_pid()
264 to_read); in read_pid()
/external/dbus/dbus/
Ddbus-spawn.c81 size_t to_read; in read_ints() local
83 to_read = sizeof (int) * n_ints_in_buf - bytes; in read_ints()
85 if (to_read == 0) in read_ints()
92 to_read); in read_ints()
136 size_t to_read; in read_pid() local
138 to_read = sizeof (pid_t) - bytes; in read_pid()
140 if (to_read == 0) in read_pid()
147 to_read); in read_pid()
/external/chromium/net/base/
Dfile_stream_win.cc261 int to_read = buf_len; in ReadUntilComplete() local
265 int bytes_read = Read(buf, to_read, NULL); in ReadUntilComplete()
275 to_read -= bytes_read; in ReadUntilComplete()
Dfile_stream_posix.cc386 int to_read = buf_len; in ReadUntilComplete() local
390 int bytes_read = Read(buf, to_read, NULL); in ReadUntilComplete()
400 to_read -= bytes_read; in ReadUntilComplete()
/external/qemu/android/protocol/
Dcore-connection.h105 size_t to_read,
Dcore-connection.c227 size_t to_read, in core_connection_read() argument
239 syncsocket_read(desc->ssocket, buffer, to_read, CORE_PORT_TIMEOUT_MS); in core_connection_read()
/external/e2fsprogs/intl/
Dloadmsgcat.c977 size_t to_read; in _nl_load_domain() local
984 to_read = size; in _nl_load_domain()
988 long int nb = (long int) read (fd, read_ptr, to_read); in _nl_load_domain()
999 to_read -= nb; in _nl_load_domain()
1001 while (to_read > 0); in _nl_load_domain()
/external/chromium/chrome/browser/sessions/
Dsession_backend.cc170 int to_read = static_cast<int>(buffer_.size() - available_count_); in FillBuffer() local
172 to_read); in FillBuffer()
/external/libsepol/src/
Dpolicydb.c2085 int rc, to_read = 2; in role_read() local
2092 to_read = 3; in role_read()
2094 rc = next_entry(buf, fp, sizeof(uint32_t) * to_read); in role_read()
2163 int rc, to_read; in type_read() local
2173 to_read = 5; in type_read()
2175 to_read = 4; in type_read()
2178 to_read = 3; in type_read()
2180 to_read = 5; in type_read()
2182 to_read = 4; in type_read()
2184 rc = next_entry(buf, fp, sizeof(uint32_t) * to_read); in type_read()
[all …]