Home
last modified time | relevance | path

Searched refs:list_ (Results 1 – 25 of 63) sorted by relevance

123

/external/libchrome/base/
Dcallback_list.h82 : list_(list), in Subscription()
87 if (list_->active_iterator_count_) { in ~Subscription()
90 list_->callbacks_.erase(iter_); in ~Subscription()
91 if (!list_->removal_callback_.is_null()) in ~Subscription()
92 list_->removal_callback_.Run(); in ~Subscription()
97 CallbackListBase<CallbackType>* list_;
129 : list_(list), in Iterator()
130 list_iter_(list_->callbacks_.begin()) { in Iterator()
131 ++list_->active_iterator_count_; in Iterator()
135 : list_(iter.list_), in Iterator()
[all …]
Dobserver_list_unittest.cc41 : list_(list), in Disrupter()
45 void Observe(int x) override { list_->RemoveObserver(doomed_); } in Observe()
48 ObserverList<Foo>* list_; member in base::__anonf87ead410111::Disrupter
55 : list_(list), in ThreadSafeDisrupter()
59 void Observe(int x) override { list_->RemoveObserver(doomed_); } in Observe()
62 ObserverListThreadSafe<Foo>* list_; member in base::__anonf87ead410111::ThreadSafeDisrupter
97 : list_(list), in AddRemoveThread()
133 list_->AddObserver(this); in AddTask()
138 list_->Notify(FROM_HERE, &Foo::Observe, 10); in AddTask()
161 list_->RemoveObserver(this); in Observe()
[all …]
Dvalues.cc900 for (ValueVector::iterator i(list_.begin()); i != list_.end(); ++i) in Clear()
902 list_.clear(); in Clear()
909 if (index >= list_.size()) { in Set()
911 while (index > list_.size()) in Set()
915 DCHECK(list_[index] != in_value); in Set()
916 delete list_[index]; in Set()
917 list_[index] = in_value; in Set()
927 if (index >= list_.size()) in Get()
931 *out_value = list_[index]; in Get()
1038 if (index >= list_.size()) in Remove()
[all …]
Dobserver_list.h92 WeakPtr<ObserverListBase<ObserverType>> list_;
135 : list_(list->AsWeakPtr()), in Iterator()
139 ++list_->notify_depth_; in Iterator()
144 if (list_.get() && --list_->notify_depth_ == 0) in ~Iterator()
145 list_->Compact(); in ~Iterator()
150 if (!list_.get()) in GetNext()
152 ListType& observers = list_->observers_; in GetNext()
Dvalues.h404 size_t GetSize() const { return list_.size(); } in GetSize()
407 bool empty() const { return list_.empty(); } in empty()
493 iterator begin() { return list_.begin(); } in begin()
494 iterator end() { return list_.end(); } in end()
496 const_iterator begin() const { return list_.begin(); } in begin()
497 const_iterator end() const { return list_.end(); } in end()
509 ValueVector list_;
/external/libweave/third_party/chromium/base/
Dcallback_list.h82 : list_(list), in Subscription()
87 if (list_->active_iterator_count_) { in ~Subscription()
90 list_->callbacks_.erase(iter_); in ~Subscription()
91 if (!list_->removal_callback_.is_null()) in ~Subscription()
92 list_->removal_callback_.Run(); in ~Subscription()
97 CallbackListBase<CallbackType>* list_;
129 : list_(list), in Iterator()
130 list_iter_(list_->callbacks_.begin()) { in Iterator()
131 ++list_->active_iterator_count_; in Iterator()
135 : list_(iter.list_), in Iterator()
[all …]
Dobserver_list_unittest.cc38 : list_(list), in Disrupter()
42 void Observe(int x) override { list_->RemoveObserver(doomed_); } in Observe()
45 ObserverList<Foo>* list_; member in base::__anon831971470111::Disrupter
123 : list_(list), added_(false), adder_(1) {} in AddInClearObserve()
126 list_->Clear(); in Observe()
127 list_->AddObserver(&adder_); in Observe()
135 ObserverList<Foo>* const list_; member in base::__anon831971470111::AddInClearObserve
167 explicit ListDestructor(ObserverList<Foo>* list) : list_(list) {} in ListDestructor()
170 void Observe(int x) override { delete list_; } in Observe()
173 ObserverList<Foo>* list_; member in base::__anon831971470111::ListDestructor
Dvalues.cc857 for (ValueVector::iterator i(list_.begin()); i != list_.end(); ++i) in Clear()
859 list_.clear(); in Clear()
866 if (index >= list_.size()) { in Set()
868 while (index > list_.size()) in Set()
872 DCHECK(list_[index] != in_value); in Set()
873 delete list_[index]; in Set()
874 list_[index] = in_value; in Set()
884 if (index >= list_.size()) in Get()
888 *out_value = list_[index]; in Get()
987 if (index >= list_.size()) in Remove()
[all …]
Dobserver_list.h88 WeakPtr<ObserverListBase<ObserverType>> list_;
129 : list_(list->AsWeakPtr()), in Iterator()
133 ++list_->notify_depth_; in Iterator()
138 if (list_.get() && --list_->notify_depth_ == 0) in ~Iterator()
139 list_->Compact(); in ~Iterator()
144 if (!list_.get()) in GetNext()
146 ListType& observers = list_->observers_; in GetNext()
Dvalues.h392 size_t GetSize() const { return list_.size(); } in GetSize()
395 bool empty() const { return list_.empty(); } in empty()
478 iterator begin() { return list_.begin(); } in begin()
479 iterator end() { return list_.end(); } in end()
481 const_iterator begin() const { return list_.begin(); } in begin()
482 const_iterator end() const { return list_.end(); } in end()
494 ValueVector list_;
/external/v8/src/regexp/
Dregexp-parser.h27 BufferedZoneList() : list_(NULL), last_(NULL) {} in BufferedZoneList()
34 if (list_ == NULL) { in Add()
35 list_ = new (zone) ZoneList<T*>(initial_size, zone); in Add()
37 list_->Add(last_, zone); in Add()
50 if ((list_ != NULL) && (list_->length() > 0)) in RemoveLast()
51 last_ = list_->RemoveLast(); in RemoveLast()
59 if (list_ == NULL) { in Get()
63 if (i == list_->length()) { in Get()
67 return list_->at(i); in Get()
73 list_ = NULL; in Clear()
[all …]
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_quarantine.h124 list_.clear(); in QuarantineCache()
132 if (list_.empty() || list_.back()->count == QuarantineBatch::kSize) { in Enqueue()
136 QuarantineBatch *b = list_.back(); in Enqueue()
144 list_.append_back(&c->list_); in Transfer()
150 list_.push_back(b); in EnqueueBatch()
155 if (list_.empty()) in DequeueBatch()
157 QuarantineBatch *b = list_.front(); in DequeueBatch()
158 list_.pop_front(); in DequeueBatch()
164 IntrusiveList<QuarantineBatch> list_;
179 list_.push_back(b); in AllocBatch()
Dsanitizer_list.h123 : list_(list), current_(list->first_) { } in IteratorBase()
131 ListTy *list_;
/external/libchrome/sandbox/linux/bpf_dsl/
Dcons.h113 ListIterator() : list_() {} in ListIterator()
114 explicit ListIterator(const List<T>& list) : list_(list) {} in ListIterator()
116 const T& operator*() const { return list_->head(); }
119 list_ = list_->tail();
124 return lhs.list_ == rhs.list_;
128 List<T> list_;
/external/webrtc/webrtc/modules/remote_bitrate_estimator/test/
Dbwe.cc228 if (node_it != list_.begin()) { in Insert()
229 list_.erase(node_it); in Insert()
230 list_.push_front(node); in Insert()
231 map_[sequence_number] = list_.begin(); in Insert()
248 map_.erase(list_.back()->sequence_number); in RemoveTail()
249 delete list_.back(); in RemoveTail()
250 list_.pop_back(); in RemoveTail()
253 list_.push_front(new_head); in UpdateHead()
254 map_[new_head->sequence_number] = list_.begin(); in UpdateHead()
260 list_.erase(node_it); in Erase()
Dbwe.h87 PacketNodeIt begin() { return list_.begin(); } in begin()
88 PacketNodeIt end() { return list_.end(); } in end()
90 bool empty() const { return list_.empty(); } in empty()
91 size_t size() const { return list_.size(); } in size()
108 std::list<PacketIdentifierNode*> list_; variable
/external/v8/src/compiler/
Dast-loop-assignment-analyzer.h24 for (size_t i = 0; i < list_.size(); i++) { in GetVariablesAssignedInLoop()
26 if (list_[i].first == loop) return list_[i].second; in GetVariablesAssignedInLoop()
36 explicit LoopAssignmentAnalysis(Zone* zone) : list_(zone) {} in LoopAssignmentAnalysis()
37 ZoneVector<std::pair<IterationStatement*, BitVector*>> list_; variable
/external/webrtc/webrtc/base/
Dflags.cc108 Flag* FlagList::list_ = NULL; member in rtc::FlagList
112 list_ = NULL; in FlagList()
119 for (Flag* f = list_; f != NULL; f = f->next()) { in Print()
132 Flag* f = list_; in Lookup()
262 flag->next_ = list_; in Register()
263 list_ = flag; in Register()
/external/webrtc/talk/app/webrtc/
Dstatstypes.cc725 for (auto* r : list_) in ~StatsCollection()
731 return list_.begin(); in begin()
736 return list_.end(); in end()
741 return list_.size(); in size()
748 list_.push_back(report); in InsertNew()
761 Container::iterator it = std::find_if(list_.begin(), list_.end(), in ReplaceOrAddNew()
776 Container::iterator it = std::find_if(list_.begin(), list_.end(), in Find()
778 return it == list_.end() ? nullptr : *it; in Find()
/external/opencv3/modules/cudaimgproc/src/
Dhough_segments.cpp127 GpuMat list_; member in __anon3e56cab70111::HoughSegmentDetectorImpl
146 ensureSizeIsEnough(1, src.size().area(), CV_32SC1, list_); in detect()
147 unsigned int* srcPoints = list_.ptr<unsigned int>(); in detect()
Dhough_lines.cpp124 GpuMat list_; member in __anonb2720a4c0111::HoughLinesDetectorImpl
142 ensureSizeIsEnough(1, src.size().area(), CV_32SC1, list_); in detect()
143 unsigned int* srcPoints = list_.ptr<unsigned int>(); in detect()
Dhough_circles.cpp137 GpuMat list_; member in __anonc6bac8360111::HoughCirclesDetectorImpl
186 ensureSizeIsEnough(2, src.size().area(), CV_32SC1, list_); in detect()
187 unsigned int* srcPoints = list_.ptr<unsigned int>(0); in detect()
188 unsigned int* centers = list_.ptr<unsigned int>(1); in detect()
/external/autotest/site_utils/bootperf-bin/
Dresultset.py43 def _ListStats(list_): argument
54 for v in list_:
57 n = len(list_)
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/C/
DAST.stg205 if (list_<label> == NULL)
207 list_<label>=ctx->vectors->newVector(ctx->vectors);
209 list_<label>->add(list_<label>, <label>.tree, NULL);
228 if (list_<label> == NULL)
230 list_<label>=ctx->vectors->newVector(ctx->vectors);
237list_<label>->add(list_<label>, (void *)tcopy, freeScope); /* Add whatever the return type is */<…
314 …e<rewriteElementType>StreamNewAEV(ADAPTOR, RECOGNIZER, (pANTLR3_UINT8)"token <it>", list_<it>); };
322 …tlr3RewriteRuleSubtreeStreamNewAEV(ADAPTOR, RECOGNIZER, (pANTLR3_UINT8)"token <it>", list_<it>);};
/external/v8/src/arm64/
Dassembler-arm64.h381 : list_(reg1.Bit() | reg2.Bit() | reg3.Bit() | reg4.Bit()),
388 : list_(list), size_(size), type_(type) { in CPURegList()
400 list_ = (1UL << (last_reg + 1)) - 1; in CPURegList()
401 list_ &= ~((1UL << first_reg) - 1); in CPURegList()
412 return list_; in list()
417 list_ = new_list; in set_list()
462 return list_ == 0; in IsEmpty()
475 return (list_ & list) != 0;
480 return CountSetBits(list_, kRegListSizeInBits); in Count()
500 RegList list_;
[all …]

123