/external/libchrome/base/ |
D | callback_list.h | 81 : 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 …]
|
D | observer_list_unittest.cc | 41 : 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 …]
|
D | observer_list.h | 92 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()
|
D | values.cc | 870 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 …]
|
D | values.h | 406 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/ |
D | regexp-parser.h | 27 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/ |
D | sanitizer_quarantine.h | 126 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/ |
D | cons.h | 111 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/ |
D | bwe.cc | 228 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()
|
D | bwe.h | 87 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/ |
D | instructions-aarch32.h | 458 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 …]
|
D | instructions-aarch32.cc | 99 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/ |
D | ast-loop-assignment-analyzer.h | 25 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
|
D | ast-loop-assignment-analyzer.cc | 48 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/ |
D | operands-aarch64.h | 524 : 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 …]
|
D | operands-aarch64.cc | 37 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/ |
D | flags.cc | 108 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()
|
D | flags.h | 195 static Flag* list() { return list_; } in list() 243 static Flag* list_;
|
/external/webrtc/talk/app/webrtc/ |
D | statstypes.cc | 725 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/ |
D | resultset.py | 43 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/ |
D | AST.stg | 205 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); 237 …list_<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/ |
D | assembler-arm64.h | 391 : 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/ |
D | xeExtractShaderPrograms.cpp | 96 explicit StackEntry (const xe::ri::List* list_) : list(list_), curNdx(0) {} in StackEntry()
|
/external/v8/testing/gtest/test/ |
D | gtest-port_test.cc | 1181 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/ |
D | gtest-port_test.cc | 1186 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
|