/external/pigweed/pw_containers/ |
D | intrusive_list_test.cc | 27 class TestItem : public IntrusiveList<TestItem>::Item { 45 TEST(IntrusiveList, Construct_InitializerList_Empty) { in TEST() argument 46 IntrusiveList<TestItem> list({}); in TEST() 50 TEST(IntrusiveList, Construct_InitializerList_One) { in TEST() argument 52 IntrusiveList<TestItem> list({&one}); in TEST() 57 TEST(IntrusiveList, Construct_InitializerList_Multiple) { in TEST() argument 62 IntrusiveList<TestItem> list({&one, &two, &thr}); in TEST() 70 TEST(IntrusiveList, Construct_ObjectIterator_Empty) { in TEST() argument 72 IntrusiveList<TestItem> list(array.begin(), array.end()); in TEST() 77 TEST(IntrusiveList, Construct_ObjectIterator_One) { in TEST() argument [all …]
|
D | docs.rst | 22 pw::IntrusiveList 24 IntrusiveList provides an embedded-friendly singly-linked list implementation. 29 pointer as a member of the object's struct. `pw::IntrusiveList` uses C++ 33 stored in the linked list; only the `pw::IntrusiveList` class can modify the 49 While the API of `pw::IntrusiveList` is relatively similar to a 52 ``IntrusiveList<T>`` must inherit from ``IntrusiveList<T>::Item``. When an item 59 - An instantiated IntrusiveList::Item must remain in scope for the lifetime of 60 the IntrusiveList it has been added to. 68 : public pw::IntrusiveList<Square>::Item { 77 pw::IntrusiveList<Square> squares; [all …]
|
/external/deqp-deps/SPIRV-Tools/source/util/ |
D | ilist.h | 49 class IntrusiveList { 57 inline IntrusiveList(); 60 IntrusiveList(IntrusiveList&&); 64 virtual ~IntrusiveList(); 67 IntrusiveList& operator=(IntrusiveList&&); 107 iterator_template MoveBefore(IntrusiveList* list) { in MoveBefore() 141 friend IntrusiveList; variable 187 void Splice(iterator where, IntrusiveList<NodeType>* other, iterator first, 194 IntrusiveList(const IntrusiveList&) = delete; 195 IntrusiveList& operator=(const IntrusiveList&) = delete; [all …]
|
/external/swiftshader/third_party/SPIRV-Tools/source/util/ |
D | ilist.h | 49 class IntrusiveList { 57 inline IntrusiveList(); 60 IntrusiveList(IntrusiveList&&); 64 virtual ~IntrusiveList(); 67 IntrusiveList& operator=(IntrusiveList&&); 107 iterator_template MoveBefore(IntrusiveList* list) { in MoveBefore() 141 friend IntrusiveList; variable 187 void Splice(iterator where, IntrusiveList<NodeType>* other, iterator first, 194 IntrusiveList(const IntrusiveList&) = delete; 195 IntrusiveList& operator=(const IntrusiveList&) = delete; [all …]
|
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/util/ |
D | ilist.h | 49 class IntrusiveList { 57 inline IntrusiveList(); 60 IntrusiveList(IntrusiveList&&); 64 virtual ~IntrusiveList(); 67 IntrusiveList& operator=(IntrusiveList&&); 107 iterator_template MoveBefore(IntrusiveList* list) { in MoveBefore() 141 friend IntrusiveList; variable 187 void Splice(iterator where, IntrusiveList<NodeType>* other, iterator first, 194 IntrusiveList(const IntrusiveList&) = delete; 195 IntrusiveList& operator=(const IntrusiveList&) = delete; [all …]
|
/external/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | instruction_list.h | 44 class InstructionList : public utils::IntrusiveList<Instruction> { 48 : utils::IntrusiveList<Instruction>(std::move(that)) {} in InstructionList() 50 auto p = static_cast<utils::IntrusiveList<Instruction>*>(this); 58 class iterator : public utils::IntrusiveList<Instruction>::iterator { 60 iterator(const utils::IntrusiveList<Instruction>::iterator& i) in iterator() 61 : utils::IntrusiveList<Instruction>::iterator(i) {} in iterator() 62 iterator(Instruction* i) : utils::IntrusiveList<Instruction>::iterator(i) {} in iterator() 65 utils::IntrusiveList<Instruction>::iterator::operator++(); 70 utils::IntrusiveList<Instruction>::iterator::operator--(); 99 iterator begin() { return utils::IntrusiveList<Instruction>::begin(); } in begin() [all …]
|
/external/deqp-deps/SPIRV-Tools/source/opt/ |
D | instruction_list.h | 44 class InstructionList : public utils::IntrusiveList<Instruction> { 48 : utils::IntrusiveList<Instruction>(std::move(that)) {} in InstructionList() 50 auto p = static_cast<utils::IntrusiveList<Instruction>*>(this); 58 class iterator : public utils::IntrusiveList<Instruction>::iterator { 60 iterator(const utils::IntrusiveList<Instruction>::iterator& i) in iterator() 61 : utils::IntrusiveList<Instruction>::iterator(i) {} in iterator() 62 iterator(Instruction* i) : utils::IntrusiveList<Instruction>::iterator(i) {} in iterator() 65 utils::IntrusiveList<Instruction>::iterator::operator++(); 70 utils::IntrusiveList<Instruction>::iterator::operator--(); 99 iterator begin() { return utils::IntrusiveList<Instruction>::begin(); } in begin() [all …]
|
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/opt/ |
D | instruction_list.h | 44 class InstructionList : public utils::IntrusiveList<Instruction> { 48 : utils::IntrusiveList<Instruction>(std::move(that)) {} in InstructionList() 50 auto p = static_cast<utils::IntrusiveList<Instruction>*>(this); 58 class iterator : public utils::IntrusiveList<Instruction>::iterator { 60 iterator(const utils::IntrusiveList<Instruction>::iterator& i) in iterator() 61 : utils::IntrusiveList<Instruction>::iterator(i) {} in iterator() 62 iterator(Instruction* i) : utils::IntrusiveList<Instruction>::iterator(i) {} in iterator() 65 utils::IntrusiveList<Instruction>::iterator::operator++(); 70 utils::IntrusiveList<Instruction>::iterator::operator--(); 99 iterator begin() { return utils::IntrusiveList<Instruction>::begin(); } in begin() [all …]
|
/external/pigweed/pw_metric/public/pw_metric/ |
D | metric.h | 44 class Metric : public IntrusiveList<Metric>::Item { 62 static void Dump(IntrusiveList<Metric>& metrics, int indent_level = 0); 75 Metric(Token name, float value, IntrusiveList<Metric>& metrics); 76 Metric(Token name, uint32_t value, IntrusiveList<Metric>& metrics); 117 TypedMetric(Token name, float value, IntrusiveList<Metric>& metrics) in TypedMetric() 134 TypedMetric(Token name, uint32_t value, IntrusiveList<Metric>& metrics) in TypedMetric() 150 class Group : public IntrusiveList<Group>::Item { 153 Group(Token name, IntrusiveList<Group>& groups); 160 IntrusiveList<Metric>& metrics() { return metrics_; } in metrics() 161 IntrusiveList<Group>& children() { return children_; } in children() [all …]
|
D | metric_service_nanopb.h | 36 MetricService(const IntrusiveList<Metric>& metrics, in MetricService() 37 const IntrusiveList<Group>& groups) in MetricService() 45 const IntrusiveList<Metric>& metrics_; 46 const IntrusiveList<Group>& groups_;
|
D | global.h | 24 extern IntrusiveList<Group> global_groups; 25 extern IntrusiveList<Metric> global_metrics;
|
/external/scudo/standalone/ |
D | list.h | 34 template <class T> struct IntrusiveList { struct 65 template <class T> void IntrusiveList<T>::checkConsistency() const { in checkConsistency() argument 81 template <class T> struct SinglyLinkedList : public IntrusiveList<T> { 82 using IntrusiveList<T>::First; 83 using IntrusiveList<T>::Last; 84 using IntrusiveList<T>::Size; 85 using IntrusiveList<T>::empty; 139 template <class T> struct DoublyLinkedList : IntrusiveList<T> { 140 using IntrusiveList<T>::First; 141 using IntrusiveList<T>::Last; [all …]
|
/external/llvm-project/compiler-rt/lib/scudo/standalone/ |
D | list.h | 34 template <class T> struct IntrusiveList { struct 65 template <class T> void IntrusiveList<T>::checkConsistency() const { in checkConsistency() argument 81 template <class T> struct SinglyLinkedList : public IntrusiveList<T> { 82 using IntrusiveList<T>::First; 83 using IntrusiveList<T>::Last; 84 using IntrusiveList<T>::Size; 85 using IntrusiveList<T>::empty; 139 template <class T> struct DoublyLinkedList : IntrusiveList<T> { 140 using IntrusiveList<T>::First; 141 using IntrusiveList<T>::Last; [all …]
|
/external/pigweed/pw_metric/ |
D | metric.cc | 53 Metric::Metric(Token name, float value, IntrusiveList<Metric>& metrics) in Metric() 57 Metric::Metric(Token name, uint32_t value, IntrusiveList<Metric>& metrics) in Metric() 100 void Metric::Dump(IntrusiveList<Metric>& metrics, int level) { in Dump() 108 Group::Group(Token name, IntrusiveList<Group>& groups) : name_(name) { in Group() 121 void Group::Dump(IntrusiveList<Group>& groups, int level) { in Dump()
|
D | global.cc | 19 constinit IntrusiveList<Group> global_groups; 20 constinit IntrusiveList<Metric> global_metrics;
|
D | metric_service_nanopb.cc | 92 void Walk(const IntrusiveList<Metric>& metrics) { in Walk() 99 void Walk(const IntrusiveList<Group>& groups) { in Walk()
|
/external/pigweed/pw_containers/public/pw_containers/ |
D | intrusive_list.h | 53 class IntrusiveList { 68 constexpr IntrusiveList() { CheckItemType(); } in IntrusiveList() function 74 IntrusiveList(Iterator first, Iterator last) : list_(first, last) { in IntrusiveList() function 80 IntrusiveList(std::initializer_list<Item*> items) in IntrusiveList() function 81 : IntrusiveList(items.begin(), items.end()) {} in IntrusiveList()
|
/external/pigweed/pw_rpc/public/pw_rpc/ |
D | server.h | 56 IntrusiveList<internal::BaseServerWriter>& writers() { return writers_; } in writers() 70 IntrusiveList<Service> services_; 71 IntrusiveList<internal::BaseServerWriter> writers_;
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_list.h | 29 struct IntrusiveList { struct 78 void append_front(IntrusiveList<Item> *l) { in append_front() argument 92 void append_back(IntrusiveList<Item> *l) { in append_back() argument
|
D | sanitizer_symbolizer.h | 163 IntrusiveList<SymbolizerTool> tools_; 165 explicit Symbolizer(IntrusiveList<SymbolizerTool> tools);
|
/external/llvm-project/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_list.h | 28 struct IntrusiveList { struct 88 void append_front(IntrusiveList<Item> *l) { in append_front() argument 102 void append_back(IntrusiveList<Item> *l) { in append_back() argument
|
/external/pigweed/pw_log_sink/ |
D | log_sink.cc | 39 IntrusiveList<Sink>& sink_list() { in sink_list() 40 static IntrusiveList<Sink> sink_list; in sink_list()
|
/external/deqp-deps/SPIRV-Tools/test/util/ |
D | ilist_test.cpp | 34 class TestList : public IntrusiveList<TestNode> { 37 TestList(TestList&& that) : IntrusiveList<TestNode>(std::move(that)) {} in TestList() 39 static_cast<IntrusiveList<TestNode>&>(*this) = in operator =() 40 static_cast<IntrusiveList<TestNode>&&>(that); in operator =()
|
/external/angle/third_party/vulkan-deps/spirv-tools/src/test/util/ |
D | ilist_test.cpp | 34 class TestList : public IntrusiveList<TestNode> { 37 TestList(TestList&& that) : IntrusiveList<TestNode>(std::move(that)) {} in TestList() 39 static_cast<IntrusiveList<TestNode>&>(*this) = in operator =() 40 static_cast<IntrusiveList<TestNode>&&>(that); in operator =()
|
/external/swiftshader/third_party/SPIRV-Tools/test/util/ |
D | ilist_test.cpp | 34 class TestList : public IntrusiveList<TestNode> { 37 TestList(TestList&& that) : IntrusiveList<TestNode>(std::move(that)) {} in TestList() 39 static_cast<IntrusiveList<TestNode>&>(*this) = in operator =() 40 static_cast<IntrusiveList<TestNode>&&>(that); in operator =()
|