Home
last modified time | relevance | path

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

123

/external/libchrome/base/
Dcallback_list.h81 : list_(list), in Subscription()
86 if (list_->active_iterator_count_) { in ~Subscription()
89 list_->callbacks_.erase(iter_); in ~Subscription()
90 if (!list_->removal_callback_.is_null()) in ~Subscription()
91 list_->removal_callback_.Run(); in ~Subscription()
96 CallbackListBase<CallbackType>* list_;
128 : list_(list), in Iterator()
129 list_iter_(list_->callbacks_.begin()) { in Iterator()
130 ++list_->active_iterator_count_; in Iterator()
134 : 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::__anonf2975cd40111::Disrupter
55 : list_(list), in ThreadSafeDisrupter()
59 void Observe(int x) override { list_->RemoveObserver(doomed_); } in Observe()
62 ObserverListThreadSafe<Foo>* list_; member in base::__anonf2975cd40111::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 …]
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.cc870 list_.clear(); in Clear()
881 if (index >= list_.size()) { in Set()
883 while (index > list_.size()) in Set()
888 DCHECK(list_[index] != in_value); in Set()
889 list_[index] = std::move(in_value); in Set()
895 if (index >= list_.size()) in Get()
899 *out_value = list_[index].get(); in Get()
1006 if (index >= list_.size()) in Remove()
1010 *out_value = std::move(list_[index]); in Remove()
1012 list_.erase(list_.begin() + index); in Remove()
[all …]
Dvalues.h406 size_t GetSize() const { return list_.size(); } in GetSize()
409 bool empty() const { return list_.empty(); } in empty()
495 iterator begin() { return list_.begin(); } in begin()
496 iterator end() { return list_.end(); } in end()
498 const_iterator begin() const { return list_.begin(); } in begin()
499 const_iterator end() const { return list_.end(); } in end()
511 Storage 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.h126 list_.clear(); in QuarantineCache()
134 if (list_.empty() || list_.back()->count == QuarantineBatch::kSize) { in Enqueue()
138 QuarantineBatch *b = list_.back(); in Enqueue()
146 list_.append_back(&c->list_); in Transfer()
152 list_.push_back(b); in EnqueueBatch()
157 if (list_.empty()) in DequeueBatch()
159 QuarantineBatch *b = list_.front(); in DequeueBatch()
160 list_.pop_front(); in DequeueBatch()
166 IntrusiveList<QuarantineBatch> list_;
181 list_.push_back(b); in AllocBatch()
/external/libchrome/sandbox/linux/bpf_dsl/
Dcons.h111 ListIterator() : list_() {} in ListIterator()
112 explicit ListIterator(const List<T>& list) : list_(list) {} in ListIterator()
114 const T& operator*() const { return list_->head(); }
117 list_ = list_->tail();
122 return lhs.list_ == rhs.list_;
126 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/vixl/src/aarch32/
Dinstructions-aarch32.h458 RegisterList() : list_(0) {}
460 : list_(RegisterToList(reg)) {}
462 : list_(RegisterToList(reg1) | RegisterToList(reg2)) {}
464 : list_(RegisterToList(reg1) | RegisterToList(reg2) |
467 : list_(RegisterToList(reg1) | RegisterToList(reg2) |
469 explicit RegisterList(uint32_t list) : list_(list) {}
470 uint32_t GetList() const { return list_; }
471 void SetList(uint32_t list) { list_ = list; }
473 return (list_ & RegisterToList(reg)) != 0;
475 void Combine(const RegisterList& other) { list_ |= other.GetList(); }
[all …]
Dinstructions-aarch32.cc99 if (((list_ >> i) & 1) != 0) return Register(i); in GetFirstAvailableRegister()
134 if (((list_ >> (i * 4)) & 0xf) == 0xf) return QRegister(i); in GetFirstAvailableQRegister()
142 if (((list_ >> (i * 2)) & 0x3) == 0x3) return DRegister(i); in GetFirstAvailableDRegister()
150 if (((list_ >> i) & 0x1) != 0) return SRegister(i); in GetFirstAvailableSRegister()
/external/v8/src/compiler/
Dast-loop-assignment-analyzer.h25 for (size_t i = 0; i < list_.size(); i++) { in GetVariablesAssignedInLoop()
27 if (list_[i].first == loop) return list_[i].second; in GetVariablesAssignedInLoop()
37 explicit LoopAssignmentAnalysis(Zone* zone) : list_(zone) {} in LoopAssignmentAnalysis()
38 ZoneVector<std::pair<IterationStatement*, BitVector*>> list_; variable
Dast-loop-assignment-analyzer.cc48 result_->list_.push_back( in Exit()
315 for (size_t i = 0; i < list_.size(); i++) { in GetAssignmentCountForTesting()
316 if (list_[i].second->Contains(var_index)) count++; in GetAssignmentCountForTesting()
/external/vixl/src/aarch64/
Doperands-aarch64.h524 : list_(reg1.GetBit() | reg2.GetBit() | reg3.GetBit() | reg4.GetBit()),
532 : list_(list), size_(size), type_(type) { in CPURegList()
546 list_ = (UINT64_C(1) << (last_reg + 1)) - 1; in CPURegList()
547 list_ &= ~((UINT64_C(1) << first_reg) - 1); in CPURegList()
566 list_ |= other.GetList(); in Combine()
576 list_ &= ~other.GetList(); in Remove()
597 list_ |= (UINT64_C(1) << code); in Combine()
603 list_ &= ~(UINT64_C(1) << code); in Remove()
609 return CPURegList(list_1.type_, list_1.size_, list_1.list_ | list_2.list_); in Union()
623 return CPURegList(list_1.type_, list_1.size_, list_1.list_ & list_2.list_); in Intersection()
[all …]
Doperands-aarch64.cc37 int index = CountTrailingZeros(list_); in PopLowestIndex()
38 VIXL_ASSERT((1 << index) & list_); in PopLowestIndex()
49 int index = CountLeadingZeros(list_); in PopHighestIndex()
51 VIXL_ASSERT((1 << index) & list_); in PopHighestIndex()
62 if (((list_ >> i) & 1) != 0) { in IsValid()
69 return list_ == 0; in IsValid()
/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()
Dflags.h195 static Flag* list() { return list_; } in list()
243 static Flag* list_;
/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/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.h391 : list_(reg1.Bit() | reg2.Bit() | reg3.Bit() | reg4.Bit()),
398 : list_(list), size_(size), type_(type) { in CPURegList()
410 list_ = (1UL << (last_reg + 1)) - 1; in CPURegList()
411 list_ &= ~((1UL << first_reg) - 1); in CPURegList()
422 return list_; in list()
427 list_ = new_list; in set_list()
472 return list_ == 0; in IsEmpty()
485 return (list_ & list) != 0;
490 return CountSetBits(list_, kRegListSizeInBits); in Count()
510 RegList list_;
[all …]
/external/deqp/executor/tools/
DxeExtractShaderPrograms.cpp96 explicit StackEntry (const xe::ri::List* list_) : list(list_), curNdx(0) {} in StackEntry()
/external/v8/testing/gtest/test/
Dgtest-port_test.cc1181 static std::vector<DestructorCall*>& List() { return *list_; } in List()
1184 for (size_t i = 0; i < list_->size(); ++i) { in ResetList()
1185 delete list_->at(i); in ResetList()
1187 list_->clear(); in ResetList()
1195 static std::vector<DestructorCall*>* const list_; member in testing::internal::DestructorCall
1200 std::vector<DestructorCall*>* const DestructorCall::list_ = member in testing::internal::DestructorCall
/external/vulkan-validation-layers/tests/gtest-1.7.0/test/
Dgtest-port_test.cc1186 static std::vector<DestructorCall*>& List() { return *list_; } in List()
1189 for (size_t i = 0; i < list_->size(); ++i) { in ResetList()
1190 delete list_->at(i); in ResetList()
1192 list_->clear(); in ResetList()
1200 static std::vector<DestructorCall*>* const list_; member in testing::internal::DestructorCall
1205 std::vector<DestructorCall*>* const DestructorCall::list_ = member in testing::internal::DestructorCall

123