Lines Matching refs:bytes_read
6584 int bytes_read;
6591 bytes_read = posix::Read(read_fd(), &flag, 1);
6592 } while (bytes_read == -1 && errno == EINTR);
6594 if (bytes_read == 0) {
6596 } else if (bytes_read == 1) {
8369 size_t bytes_read = 0; // # of bytes read so far
8376 bytes_last_read = fread(buffer+bytes_read, 1, file_size-bytes_read, file);
8377 bytes_read += bytes_last_read;
8378 } while (bytes_last_read > 0 && bytes_read < file_size);
8380 const String content(buffer, bytes_read);