Home | History | Annotate | Download | only in applypatch

Lines Matching full:to_read

469                     size_t to_read = len - p;
470 if (to_read > sizeof(buffer)) to_read = sizeof(buffer);
473 while (so_far < to_read) {
474 ssize_t read_count = read(fd, buffer+so_far, to_read-so_far);
484 if ((size_t)read_count < to_read) {
486 partition, p, read_count, to_read, strerror(errno));
491 if (memcmp(buffer, data+p, to_read)) {