Home
last modified time | relevance | path

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

/system/extras/memtrack/
Dmemtrack.cpp37 : 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()
Dmemtrack.h48 size_t len_; variable
/system/incremental_delivery/incfs/include/
Dincfs.h123 constexpr Span(T* array, size_t length) : ptr_(array), len_(length) {} in Span()
130 constexpr size_t size() const { return len_; } in size()
139 size_t len_; variable