Searched refs:to_read (Results 1 - 6 of 6) sorted by relevance

/external/vboot_reference/futility/
H A Ddump_kernel_config_lib.c34 ssize_t to_read = count - nr_read; local
35 ssize_t chunk = read(fd, buf + nr_read, to_read);
60 ssize_t to_read = count - nr_skipped; local
61 if (to_read > sizeof(buf)) {
62 to_read = sizeof(buf);
64 if (read_fn(ctx, buf, to_read) != to_read) {
67 nr_skipped += to_read;
/external/vboot_reference/cgpt/
H A Dcgpt_nor.c122 size_t to_read = size - copied; local
123 if (to_read > bufsize) {
124 to_read = bufsize;
126 nr_read = read(source_fd, buf, to_read);
/external/libvpx/libvpx/examples/
H A Dvp8_multi_resolution_encoder.c74 size_t nbytes, to_read; local
77 to_read = img->w*img->h*3/2;
78 nbytes = fread(img->planes[0], 1, to_read, f);
79 if(nbytes != to_read) {
88 size_t nbytes, to_read; local
117 to_read = w;
119 nbytes = fread(ptr, 1, to_read, f);
120 if(nbytes != to_read) {
/external/tinycompress/
H A Dcompress.c417 int to_read = 0; local
456 to_read = avail.avail;
458 to_read = size;
459 num_read = read(compress->fd, cbuf, to_read);
/external/e2fsprogs/intl/
H A Dloadmsgcat.c977 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);
/external/selinux/libsepol/src/
H A Dpolicydb.c2190 int rc, to_read = 2; local
2197 to_read = 3;
2199 rc = next_entry(buf, fp, sizeof(uint32_t) * to_read);
2268 int rc, to_read; local
2278 to_read = 5;
2280 to_read = 4;
2283 to_read = 3;
2285 to_read = 5;
2287 to_read = 4;
2289 rc = next_entry(buf, fp, sizeof(uint32_t) * to_read);
2868 int rc, to_read = 2; local
[all...]

Completed in 1690 milliseconds