Home
last modified time | relevance | path

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

/packages/modules/adb/
Dtypes.cpp23 start_index_ = move.start_index_; in operator =()
32 start_index_ = 0; in clear()
53 const auto next = chain_[start_index_].size() - begin_offset_; in drop_front()
76 while (chain_[start_index_].size() - begin_offset_ <= len) { in take_front()
77 chain_length_ -= chain_[start_index_].size(); in take_front()
78 len -= chain_[start_index_].size() - begin_offset_; in take_front()
79 if (chain_[start_index_].size() > begin_offset_) { in take_front()
80 res.append(std::move(chain_[start_index_])); in take_front()
87 ++start_index_; in take_front()
94 if (begin_offset_ != 0 || len < chain_[start_index_].size() / 2) { in take_front()
[all …]
Dtypes.h158 return chain_[start_index_].data() + begin_offset_; in front_data()
166 return chain_[start_index_].size() - begin_offset_; in front_size()
206 for (size_t i = start_index_; i < chain_.size(); ++i) { in iterate_blocks()
211 if (i == start_index_) { in iterate_blocks()
244 if (chain_.size() == start_index_ + 1) { in coalesced()
246 return f(chain_[start_index_].data() + begin_offset_, size()); in coalesced()
262 size_t start_index_ = 0; member