Searched refs:len_ (Results 1 – 2 of 2) sorted by relevance
37 : data_(buffer), max_(buffer_len), cur_idx_(0), len_(0), in FileData()52 if (cur_idx_ + bytes_needed < len_) { in isAvail()60 if (cur_idx_ != len_) { in isAvail()62 len_ = len_ - cur_idx_; in isAvail()63 memcpy(data_, data_ + cur_idx_, len_); in isAvail()68 while (cur_idx_ + bytes_needed >= len_) { in isAvail()69 bytes = read(fd_, data_ + len_, max_ - len_); in isAvail()74 len_ += bytes; in isAvail()77 return cur_idx_ + bytes_needed < len_; in isAvail()
46 size_t len_; variable