Home | History | Annotate | Download | only in memory_replay

Lines Matching refs:bytes_

28     if (bytes_ > 0) {
29 char* newline = reinterpret_cast<char*>(memchr(buffer_ + start_, '\n', bytes_));
34 bytes_ -= newline - *line + 1;
41 memmove(buffer_, buffer_ + start_, bytes_);
44 ssize_t bytes = TEMP_FAILURE_RETRY(read(fd_, buffer_ + bytes_, buffer_len_ - bytes_ - 1));
46 if (bytes_ > 0) {
48 buffer_[bytes_] = '\0';
50 *line_len = bytes_;
51 bytes_ = 0;
57 bytes_ += bytes;