Home
last modified time | relevance | path

Searched refs:buf_used_ (Results 1 – 2 of 2) sorted by relevance

/external/google-breakpad/src/client/linux/minidump_writer/
Dline_reader.h49 buf_used_(0) { in LineReader()
66 if (buf_used_ == 0 && hit_eof_) in GetNextLine()
69 for (unsigned i = 0; i < buf_used_; ++i) { in GetNextLine()
78 if (buf_used_ == sizeof(buf_)) { in GetNextLine()
87 assert(buf_used_); in GetNextLine()
90 buf_[buf_used_] = 0; in GetNextLine()
91 *len = buf_used_; in GetNextLine()
92 buf_used_ += 1; // since we appended the NUL. in GetNextLine()
98 const ssize_t n = sys_read(fd_, buf_ + buf_used_, in GetNextLine()
99 sizeof(buf_) - buf_used_); in GetNextLine()
[all …]
Ddirectory_reader.h51 buf_used_(0) { in DirectoryReader()
65 if (buf_used_ == 0) { in GetNextEntry()
73 buf_used_ += n; in GetNextEntry()
77 if (buf_used_ == 0 && hit_eof_) in GetNextEntry()
80 assert(buf_used_ > 0); in GetNextEntry()
87 if (!buf_used_) in PopEntry()
93 buf_used_ -= dent->d_reclen; in PopEntry()
94 my_memmove(buf_, buf_ + dent->d_reclen, buf_used_); in PopEntry()
100 unsigned buf_used_; variable