Searched refs:bytes_ (Results 1 – 6 of 6) sorted by relevance
/system/core/libmemunreachable/ |
D | LineBuffer.cpp | 31 if (bytes_ > 0) { in GetLine() 32 char* newline = reinterpret_cast<char*>(memchr(buffer_ + start_, '\n', bytes_)); in GetLine() 37 bytes_ -= newline - *line + 1; in GetLine() 44 memmove(buffer_, buffer_ + start_, bytes_); in GetLine() 47 ssize_t bytes = TEMP_FAILURE_RETRY(read(fd_, buffer_ + bytes_, buffer_len_ - bytes_ - 1)); in GetLine() 49 if (bytes_ > 0) { in GetLine() 51 buffer_[bytes_] = '\0'; in GetLine() 53 *line_len = bytes_; in GetLine() 54 bytes_ = 0; in GetLine() 60 bytes_ += bytes; in GetLine()
|
D | LineBuffer.h | 33 size_t bytes_ = 0; variable
|
/system/extras/memory_replay/ |
D | LineBuffer.cpp | 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()
|
D | LineBuffer.h | 33 size_t bytes_ = 0; variable
|
/system/update_engine/ |
D | fake_file_writer.h | 48 bytes_.insert(bytes_.end(), char_bytes, char_bytes + count); in Write() 60 return bytes_; in bytes() 65 brillo::Blob bytes_;
|
/system/core/fastboot/ |
D | udp.cpp | 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::Header 87 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()
|