Home
last modified time | relevance | path

Searched refs:cur_idx_ (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()
71 cur_idx_ = 0; in isAvail()
72 while (cur_idx_ + bytes_needed >= len_) { in isAvail()
81 return cur_idx_ + bytes_needed < len_; in isAvail()
91 if (data_[cur_idx_] != 'P' || data_[cur_idx_+1] != 's' || in getPss()
92 data_[cur_idx_+2] != 's' || data_[cur_idx_+3] != ':') { in getPss()
[all …]
Dmemtrack.h45 size_t cur_idx_; variable