Home
last modified time | relevance | path

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

/system/extras/memtrack/
Dmemtrack.cpp41 : data_(buffer), max_(buffer_len), cur_idx_(0), len_(0), in FileData()
56 if (cur_idx_ + bytes_needed < len_) { in isAvail()
64 if (cur_idx_ != len_) { in isAvail()
66 len_ = len_ - cur_idx_; in isAvail()
67 memcpy(data_, data_ + cur_idx_, len_); in isAvail()
72 while (cur_idx_ + bytes_needed >= len_) { in isAvail()
73 bytes = read(fd_, data_ + len_, max_ - len_); in isAvail()
78 len_ += bytes; in isAvail()
81 return cur_idx_ + bytes_needed < len_; in isAvail()
Dmemtrack.h46 size_t len_; variable