Searched refs:bytes_ (Results 1 - 6 of 6) sorted by path

/system/core/fastboot/
H A Dudp.cpp70 uint8_t id() const { return bytes_[kIndexId]; }
71 const uint8_t* bytes() const { return bytes_; }
79 uint8_t bytes_[kHeaderSize]; member in class:udp::Header
87 bytes_[kIndexId] = id;
88 bytes_[kIndexFlags] = flag;
89 bytes_[kIndexSeqH] = sequence >> 8;
90 bytes_[kIndexSeqL] = sequence;
96 return bytes_[kIndexSeqH] == response[kIndexSeqH] &&
97 bytes_[kIndexSeqL] == response[kIndexSeqL] &&
98 (bytes_[kIndexI
[all...]
/system/core/libmemunreachable/
H A DLineBuffer.cpp33 if (bytes_ > 0) {
34 char* newline = reinterpret_cast<char*>(memchr(buffer_ + start_, '\n', bytes_));
39 bytes_ -= newline - *line + 1;
46 memmove(buffer_, buffer_ + start_, bytes_);
49 ssize_t bytes = TEMP_FAILURE_RETRY(read(fd_, buffer_ + bytes_, buffer_len_ - bytes_ - 1));
51 if (bytes_ > 0) {
53 buffer_[bytes_] = '\0';
55 *line_len = bytes_;
56 bytes_
[all...]
H A DLineBuffer.h35 size_t bytes_ = 0; member in class:android::LineBuffer
/system/extras/memory_replay/
H A DLineBuffer.cpp28 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_
[all...]
H A DLineBuffer.h33 size_t bytes_ = 0; member in class:LineBuffer
/system/update_engine/
H A Dfake_file_writer.h48 bytes_.insert(bytes_.end(), char_bytes, char_bytes + count);
60 return bytes_;
65 brillo::Blob bytes_; member in class:chromeos_update_engine::FakeFileWriter

Completed in 158 milliseconds