Home
last modified time | relevance | path

Searched refs:cur_ (Results 1 – 6 of 6) sorted by relevance

/system/security/keystore/include/keystore/
Dutils.h40 : coll_(other.coll_), cur_(other.cur_) {} in SharedNullableIterator()
42 : coll_(std::move(other.coll_)), cur_(std::move(other.cur_)) {} in SharedNullableIterator()
53 T& operator*() const { return **cur_; }
55 T* operator->() const { return &**cur_; }
58 return cur_ == other.cur_ || (is_end() && other.is_end());
66 inline bool is_end() const { return !coll_ || cur_ == coll_->end(); } in is_end()
70 ++cur_; in inc()
72 } while (cur_ != coll_->end() && !(*cur_)); in inc()
78 for (cur_ = coll_->begin(); cur_ != coll_->end() && !(*cur_); ++cur_) { in init()
84 typename CollectionType::iterator cur_; variable
/system/extras/memtrack/
Dmemtrack.cpp149 if (cur_.count(cmd_name_) == 0) { in getInformation()
150 cur_[cmd_name_] = process_info; in getInformation()
152 cur_[cmd_name_].pss_kb += process_info.pss_kb; in getInformation()
154 cur_[cmd_name_].pids.push_back(pid); in getInformation()
175 cur_.clear(); in scan()
195 for (cur_processes_t::const_iterator it = cur_.begin(); in scan()
196 it != cur_.end(); ++it) { in scan()
Dmemtrack.h114 cur_processes_t cur_; variable
/system/extras/simpleperf/
Dutils.cpp46 cur_ = nullptr; in Clear()
52 if (cur_ + size > end_) { in AllocateString()
56 cur_ = p; in AllocateString()
59 strcpy(cur_, s.data()); in AllocateString()
60 const char* result = cur_; in AllocateString()
61 cur_ += size; in AllocateString()
Dutils.h50 : unit_size_(unit_size), cur_(nullptr), end_(nullptr) { in unit_size_()
63 char* cur_; variable
/system/chre/external/flatbuffers/include/flatbuffers/
Dflatbuffers.h546 cur_(buf_ + reserved_),
558 cur_ = buf_ + reserved_;
573 cur_ = nullptr;
584 if (len > static_cast<size_t>(cur_ - buf_)) {
587 cur_ -= len;
591 return cur_;
595 assert(cur_ != nullptr && buf_ != nullptr);
596 return static_cast<uoffset_t>(reserved_ - static_cast<size_t>(cur_ - buf_));
600 assert(cur_ != nullptr);
601 return cur_;
[all …]