Home | History | Annotate | Download | only in gtest

Lines Matching refs:bytes_read

6921   int bytes_read;
6928 bytes_read = posix::Read(read_fd(), &flag, 1);
6929 } while (bytes_read == -1 && errno == EINTR);
6931 if (bytes_read == 0) {
6933 } else if (bytes_read == 1) {
8820 size_t bytes_read = 0; // # of bytes read so far
8827 bytes_last_read = fread(buffer+bytes_read, 1, file_size-bytes_read, file);
8828 bytes_read += bytes_last_read;
8829 } while (bytes_last_read > 0 && bytes_read < file_size);
8831 const std::string content(buffer, bytes_read);