Home | History | Annotate | Download | only in memtrack

Lines Matching refs:cur_idx_

41     : data_(buffer), max_(buffer_len), cur_idx_(0), len_(0),
56 if (cur_idx_ + bytes_needed < len_) {
64 if (cur_idx_ != len_) {
66 len_ = len_ - cur_idx_;
67 memcpy(data_, data_ + cur_idx_, len_);
71 cur_idx_ = 0;
72 while (cur_idx_ + bytes_needed >= len_) {
81 return cur_idx_ + bytes_needed < len_;
91 if (data_[cur_idx_] != 'P' || data_[cur_idx_+1] != 's' ||
92 data_[cur_idx_+2] != 's' || data_[cur_idx_+3] != ':') {
94 while (isAvail(1) && data_[cur_idx_++] != '\n');
96 cur_idx_ += 4;
97 while (isAvail(1) && isspace(data_[cur_idx_])) {
98 cur_idx_++;
102 while (isAvail(1) && isdigit(data_[cur_idx_])) {
103 value = value * 10 + data_[cur_idx_] - '0';
104 cur_idx_++;
109 while (isAvail(1) && data_[cur_idx_++] != '\n');