Searched refs:bytes_ (Results 1 – 4 of 4) sorted by relevance
28 if (bytes_ > 0) { in GetLine()29 char* newline = reinterpret_cast<char*>(memchr(buffer_ + start_, '\n', bytes_)); in GetLine()34 bytes_ -= newline - *line + 1; in GetLine()41 memmove(buffer_, buffer_ + start_, bytes_); in GetLine()44 ssize_t bytes = TEMP_FAILURE_RETRY(read(fd_, buffer_ + bytes_, buffer_len_ - bytes_ - 1)); in GetLine()46 if (bytes_ > 0) { in GetLine()48 buffer_[bytes_] = '\0'; in GetLine()50 *line_len = bytes_; in GetLine()51 bytes_ = 0; in GetLine()57 bytes_ += bytes; in GetLine()
33 size_t bytes_ = 0; variable
48 bytes_.insert(bytes_.end(), char_bytes, char_bytes + count); in Write()59 const brillo::Blob& bytes() { return bytes_; } in bytes()63 brillo::Blob bytes_;
70 uint8_t id() const { return bytes_[kIndexId]; } in id()71 const uint8_t* bytes() const { return bytes_; } in bytes()79 uint8_t bytes_[kHeaderSize]; member in udp::Header87 bytes_[kIndexId] = id; in Set()88 bytes_[kIndexFlags] = flag; in Set()89 bytes_[kIndexSeqH] = sequence >> 8; in Set()90 bytes_[kIndexSeqL] = sequence; in Set()96 return bytes_[kIndexSeqH] == response[kIndexSeqH] && in Matches()97 bytes_[kIndexSeqL] == response[kIndexSeqL] && in Matches()98 (bytes_[kIndexId] == response[kIndexId] || response[kIndexId] == kIdError); in Matches()