Home | History | Annotate | Download | only in gtest

Lines Matching refs:bytes_read

6413   int bytes_read;
6420 bytes_read = posix::Read(read_fd(), &flag, 1);
6421 } while (bytes_read == -1 && errno == EINTR);
6423 if (bytes_read == 0) {
6425 } else if (bytes_read == 1) {
8115 size_t bytes_read = 0; // # of bytes read so far
8122 bytes_last_read = fread(buffer+bytes_read, 1, file_size-bytes_read, file);
8123 bytes_read += bytes_last_read;
8124 } while (bytes_last_read > 0 && bytes_read < file_size);
8126 const String content(buffer, bytes_read);