Home
last modified time | relevance | path

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

/system/core/adb/
Dtypes.cpp22 begin_offset_ = move.begin_offset_; in operator =()
31 begin_offset_ = 0; in clear()
53 const auto next = chain_[start_index_].size() - begin_offset_; in drop_front()
59 begin_offset_ += taken; in drop_front()
76 while (chain_[start_index_].size() - begin_offset_ <= len) { 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()
81 if (begin_offset_) { in take_front()
82 res.begin_offset_ = std::exchange(begin_offset_, 0); in take_front()
85 begin_offset_ = 0; 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()
169 size_type size() const { return chain_length_ - begin_offset_; } in size()
212 CHECK_GE(block.size(), begin_offset_); in iterate_blocks()
213 begin += begin_offset_; in iterate_blocks()
214 length -= begin_offset_; in iterate_blocks()
246 return f(chain_[start_index_].data() + begin_offset_, size()); in coalesced()
261 size_t begin_offset_ = 0; member