/external/dynamic_depth/internal/dynamic_depth/ |
D | container.cc | 19 Container::Container() {} in Container() function in dynamic_depth::Container 21 void Container::GetNamespaces( in GetNamespaces() 27 ns_name_href_map->emplace(DynamicDepthConst::Container(), kNamespaceHref); in GetNamespaces() 31 std::unique_ptr<Container> Container::FromItems( in FromItems() 38 std::unique_ptr<Container> container(new Container()); in FromItems() 54 std::unique_ptr<Container> Container::FromDeserializer( in FromDeserializer() 56 std::unique_ptr<Container> container(new Container()); in FromDeserializer() 60 DynamicDepthConst::Namespace(DynamicDepthConst::Container()), in FromDeserializer() 61 DynamicDepthConst::Container(), 0); in FromDeserializer() 70 DynamicDepthConst::Namespace(DynamicDepthConst::Container()), in FromDeserializer() [all …]
|
/external/llvm-project/libcxx/test/libcxx/debug/containers/ |
D | db_sequence_container_iterators.pass.cpp | 28 template <class Container, ContainerType CT> 29 struct SequenceContainerChecks : BasicContainerChecks<Container, CT> { 30 using Base = BasicContainerChecks<Container, CT>; 31 using value_type = typename Container::value_type; 32 using allocator_type = typename Container::allocator_type; 33 using iterator = typename Container::iterator; 34 using const_iterator = typename Container::const_iterator; 74 Container C = {1, 1, 1, 1}; in SanityTest() 82 Container C = makeContainer(1); in RemoveFirstElem() 88 Container C = {1, 1, 1, 1}; in RemoveFirstElem() [all …]
|
D | db_string.pass.cpp | 29 template <class Container = StringType, ContainerType CT = CT_String> 30 struct StringContainerChecks : BasicContainerChecks<Container, CT> { 31 using Base = BasicContainerChecks<Container, CT_String>; 32 using value_type = typename Container::value_type; 33 using allocator_type = typename Container::allocator_type; 34 using iterator = typename Container::iterator; 35 using const_iterator = typename Container::const_iterator; 55 Container C = makeContainer(N); in BackOnEmptyContainer() 56 Container const& CC = C; in BackOnEmptyContainer() 69 Container C = makeContainer(N); in FrontOnEmptyContainer() [all …]
|
/external/libcxx/test/libcxx/debug/containers/ |
D | db_sequence_container_iterators.pass.cpp | 30 template <class Container, ContainerType CT> 31 struct SequenceContainerChecks : BasicContainerChecks<Container, CT> { 32 using Base = BasicContainerChecks<Container, CT>; 33 using value_type = typename Container::value_type; 34 using allocator_type = typename Container::allocator_type; 35 using iterator = typename Container::iterator; 36 using const_iterator = typename Container::const_iterator; 79 Container C = makeContainer(1); in RemoveFirstElem() 85 Container C = {1, 1, 1, 1}; in RemoveFirstElem() 96 Container C = makeContainer(1); in SpliceFirstElem() [all …]
|
D | db_string.pass.cpp | 32 template <class Container = StringType, ContainerType CT = CT_String> 33 struct StringContainerChecks : BasicContainerChecks<Container, CT> { 34 using Base = BasicContainerChecks<Container, CT_String>; 35 using value_type = typename Container::value_type; 36 using allocator_type = typename Container::allocator_type; 37 using iterator = typename Container::iterator; 38 using const_iterator = typename Container::const_iterator; 61 Container C = makeContainer(N); in BackOnEmptyContainer() 62 Container const& CC = C; in BackOnEmptyContainer() 75 Container C = makeContainer(N); in FrontOnEmptyContainer() [all …]
|
/external/llvm-project/libcxx/test/std/containers/ |
D | set_allocator_requirement_test_templates.h | 29 template <class Container> 32 typedef typename Container::value_type ValueTp; in testSetInsert() 37 Container c; in testSetInsert() 50 Container c; in testSetInsert() 63 Container c; in testSetInsert() 76 Container c; in testSetInsert() 89 Container c; in testSetInsert() 101 Container c; in testSetInsert() 113 Container c; in testSetInsert() 128 Container c; in testSetInsert() [all …]
|
D | map_allocator_requirement_test_templates.h | 30 template <class Container> 33 typedef typename Container::value_type ValueTp; in testMapInsert() 38 Container c; in testMapInsert() 51 Container c; in testMapInsert() 64 Container c; in testMapInsert() 77 Container c; in testMapInsert() 90 Container c; in testMapInsert() 102 Container c; in testMapInsert() 114 Container c; in testMapInsert() 126 Container c; in testMapInsert() [all …]
|
/external/llvm-project/libcxx/benchmarks/ |
D | ContainerBenchmarks.h | 20 template <class Container> 21 void BM_ConstructSize(benchmark::State& st, Container) { in BM_ConstructSize() argument 24 Container c(size); in BM_ConstructSize() 29 template <class Container> 30 void BM_ConstructSizeValue(benchmark::State& st, Container, typename Container::value_type const& v… in BM_ConstructSizeValue() argument 33 Container c(size, val); in BM_ConstructSizeValue() 38 template <class Container, class GenInputs> 39 void BM_ConstructIterIter(benchmark::State& st, Container, GenInputs gen) { in BM_ConstructIterIter() argument 45 Container c(begin, end); in BM_ConstructIterIter() 50 template <class Container, class GenInputs> [all …]
|
/external/libcxx/test/std/containers/ |
D | map_allocator_requirement_test_templates.h | 32 template <class Container> 35 typedef typename Container::value_type ValueTp; in testMapInsert() 40 Container c; in testMapInsert() 53 Container c; in testMapInsert() 66 Container c; in testMapInsert() 79 Container c; in testMapInsert() 92 Container c; in testMapInsert() 104 Container c; in testMapInsert() 116 Container c; in testMapInsert() 128 Container c; in testMapInsert() [all …]
|
D | set_allocator_requirement_test_templates.h | 31 template <class Container> 34 typedef typename Container::value_type ValueTp; in testSetInsert() 39 Container c; in testSetInsert() 52 Container c; in testSetInsert() 65 Container c; in testSetInsert() 78 Container c; in testSetInsert() 91 Container c; in testSetInsert() 103 Container c; in testSetInsert() 115 Container c; in testSetInsert() 130 Container c; in testSetInsert() [all …]
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/extensions/compactnotation/ |
D | CompactConstructorExampleTest.java | 41 assertEquals(new Container(), obj); in test1() 46 assertEquals(new Container("title"), obj); in test2() 50 Container obj = (Container) load("example3.yaml"); in test3() 51 assertEquals(new Container("title3"), obj); in test3() 60 Container container = (Container) obj; in test4() 62 assertEquals(new Container("title4"), obj); in test4() 71 Container container = (Container) obj; in test5() 73 assertEquals(new Container("title4"), obj); in test5() 82 Container container = (Container) obj; in test6() 84 assertEquals(new Container("title4"), obj); in test6() [all …]
|
/external/llvm-project/clang/include/clang/AST/ |
D | AttrIterator.h | 33 template <typename SpecificAttr, typename Container = AttrVec> 35 using Iterator = typename Container::const_iterator; 100 template <typename SpecificAttr, typename Container> 101 inline specific_attr_iterator<SpecificAttr, Container> 102 specific_attr_begin(const Container& container) { in specific_attr_begin() 103 return specific_attr_iterator<SpecificAttr, Container>(container.begin()); in specific_attr_begin() 105 template <typename SpecificAttr, typename Container> 106 inline specific_attr_iterator<SpecificAttr, Container> 107 specific_attr_end(const Container& container) { in specific_attr_end() 108 return specific_attr_iterator<SpecificAttr, Container>(container.end()); in specific_attr_end() [all …]
|
/external/llvm-project/libcxx/test/support/ |
D | container_debug_tests.h | 94 template <class Container, class ValueType = typename Container::value_type> 104 template <class Container> 105 struct ContainerDebugHelper<Container, char> { 111 template <class Container, class Key, class Value> 112 struct ContainerDebugHelper<Container, std::pair<const Key, Value> > { 124 template <class Container, ContainerType CT, 125 class Helper = ContainerDebugHelper<Container> > 127 using value_type = typename Container::value_type; 128 using iterator = typename Container::iterator; 129 using const_iterator = typename Container::const_iterator; [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/CodeView/ |
D | DebugSubsectionRecord.cpp | 27 CodeViewContainer Container) in DebugSubsectionRecord() argument 28 : Container(Container), Kind(Kind), Data(Data) {} in DebugSubsectionRecord() 32 CodeViewContainer Container) { in initialize() argument 42 Info.Container = Container; in initialize() 56 std::shared_ptr<DebugSubsection> Subsection, CodeViewContainer Container) in DebugSubsectionRecordBuilder() argument 57 : Subsection(std::move(Subsection)), Container(Container) {} in DebugSubsectionRecordBuilder() 60 const DebugSubsectionRecord &Contents, CodeViewContainer Container) in DebugSubsectionRecordBuilder() argument 61 : Contents(Contents), Container(Container) {} in DebugSubsectionRecordBuilder() 72 assert(Writer.getOffset() % alignOf(Container) == 0 && in commit() 81 Header.Length = alignTo(DataSize, alignOf(Container)); in commit()
|
/external/llvm-project/clang/test/SemaCXX/ |
D | warn-range-loop-analysis.cpp | 14 struct Container { struct 69 Container<int> int_non_ref_container; in test0() 70 Container<int&> int_container; in test0() 71 Container<Bar&> bar_container; in test0() 90 Container<int> A; in test1() 139 Container<int&> B; in test2() 192 Container<Bar> C; in test3() 226 Container<Bar&> D; in test4() 264 Container<Foo> E; in test5() 283 Container<Foo&> F; in test6() [all …]
|
/external/swiftshader/third_party/subzero/unittest/AssemblerX8632/ |
D | TestUtil.h | 301 template <typename Container = C, int Size = N> \ 302 typename std::enable_if<std::is_floating_point<Container>::value, \ 306 typename std::conditional<std::is_same<float, Container>::value, \ 308 static_assert(sizeof(ElemType) == sizeof(Container), \ 331 template <typename Container = C, int Size = N> \ 332 typename std::enable_if<std::is_floating_point<Container>::value, \ 336 typename std::conditional<std::is_same<float, Container>::value, \ 338 static_assert(sizeof(ElemType) == sizeof(Container), \ 340 const Container *const RhsPtr = \ 341 reinterpret_cast<const Container *const>(&Rhs); \ [all …]
|
/external/sfntly/cpp/src/sfntly/port/ |
D | java_iterator.h | 38 template <typename ReturnType, typename Container, 39 typename ContainerBase = Container> 41 public RefCounted< PODIterator<ReturnType, Container> > { 43 explicit PODIterator(Container* container) : container_(container) {} in PODIterator() 59 Container* container() { return container_; } in container() 62 Container* container_; // Dumb pointer is used to avoid circular ref-counting 65 template <typename ReturnType, typename Container, 66 typename ContainerBase = Container> 68 public RefCounted< RefIterator<ReturnType, Container> > { 70 explicit RefIterator(Container* container) : container_(container) {} in RefIterator() [all …]
|
/external/clang/include/clang/AST/ |
D | AttrIterator.h | 47 template <typename SpecificAttr, typename Container = AttrVec> 49 typedef typename Container::const_iterator Iterator; 114 template <typename SpecificAttr, typename Container> 115 inline specific_attr_iterator<SpecificAttr, Container> 116 specific_attr_begin(const Container& container) { in specific_attr_begin() 117 return specific_attr_iterator<SpecificAttr, Container>(container.begin()); in specific_attr_begin() 119 template <typename SpecificAttr, typename Container> 120 inline specific_attr_iterator<SpecificAttr, Container> 121 specific_attr_end(const Container& container) { in specific_attr_end() 122 return specific_attr_iterator<SpecificAttr, Container>(container.end()); in specific_attr_end() [all …]
|
/external/libcxx/test/std/containers/associative/multimap/multimap.modifiers/ |
D | insert_node_type.pass.cpp | 22 template <class Container> 23 typename Container::node_type 24 node_factory(typename Container::key_type const& key, in node_factory() 25 typename Container::mapped_type const& mapped) in node_factory() 27 static Container c; in node_factory() 32 template <class Container> 33 void test(Container& c) in test() 35 auto* nf = &node_factory<Container>; in test() 39 typename Container::node_type node = nf(i, i + 1); in test() 41 typename Container::iterator it = c.insert(std::move(node)); in test() [all …]
|
/external/llvm-project/libcxx/test/std/containers/associative/multimap/multimap.modifiers/ |
D | insert_node_type.pass.cpp | 22 template <class Container> 23 typename Container::node_type 24 node_factory(typename Container::key_type const& key, in node_factory() 25 typename Container::mapped_type const& mapped) in node_factory() 27 static Container c; in node_factory() 32 template <class Container> 33 void test(Container& c) in test() 35 auto* nf = &node_factory<Container>; in test() 39 typename Container::node_type node = nf(i, i + 1); in test() 41 typename Container::iterator it = c.insert(std::move(node)); in test() [all …]
|
/external/flac/oss-fuzz/fuzzing/ |
D | types.hpp | 14 class Container { class 77 Container(void) 83 Container(const void* data, const size_t size) in Container() function in fuzzing::types::Container 99 Container(const T& t) in Container() function in fuzzing::types::Container 102 Container(t.data(), t.size()); in Container() 107 ~Container(void) in ~Container() 119 Container(const Container &c) { in Container() function in fuzzing::types::Container 124 Container& operator=(Container &c) { in operator =() 131 template <bool UseMSAN = false> using String = Container<char, true, UseMSAN>; 132 template <bool UseMSAN = false> using Data = Container<uint8_t, false, UseMSAN>;
|
/external/llvm-project/libcxx/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/ |
D | insert_node_type.pass.cpp | 21 template <class Container> 22 typename Container::node_type 23 node_factory(typename Container::key_type const& key, in node_factory() 24 typename Container::mapped_type const& mapped) in node_factory() 26 static Container c; in node_factory() 31 template <class Container> 32 void test(Container& c) in test() 34 auto* nf = &node_factory<Container>; in test() 38 typename Container::node_type node = nf(i, i + 1); in test() 40 typename Container::iterator it = c.insert(std::move(node)); in test() [all …]
|
/external/libcxx/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/ |
D | insert_node_type.pass.cpp | 21 template <class Container> 22 typename Container::node_type 23 node_factory(typename Container::key_type const& key, in node_factory() 24 typename Container::mapped_type const& mapped) in node_factory() 26 static Container c; in node_factory() 31 template <class Container> 32 void test(Container& c) in test() 34 auto* nf = &node_factory<Container>; in test() 38 typename Container::node_type node = nf(i, i + 1); in test() 40 typename Container::iterator it = c.insert(std::move(node)); in test() [all …]
|
/external/llvm-project/libcxx/test/std/containers/unord/unord.multiset/ |
D | insert_node_type.pass.cpp | 22 template <class Container> 23 typename Container::node_type 24 node_factory(typename Container::key_type const& key) in node_factory() 26 static Container c; in node_factory() 31 template <class Container> 32 void test(Container& c) in test() 34 auto* nf = &node_factory<Container>; in test() 38 typename Container::node_type node = nf(i); in test() 40 typename Container::iterator it = c.insert(std::move(node)); in test() 50 typename Container::node_type def; in test() [all …]
|
/external/llvm-project/libcxx/test/std/containers/associative/multiset/ |
D | insert_node_type.pass.cpp | 22 template <class Container> 23 typename Container::node_type 24 node_factory(typename Container::key_type const& key) in node_factory() 26 static Container c; in node_factory() 31 template <class Container> 32 void test(Container& c) in test() 34 auto* nf = &node_factory<Container>; in test() 38 typename Container::node_type node = nf(i); in test() 40 typename Container::iterator it = c.insert(std::move(node)); in test() 50 typename Container::node_type def; in test() [all …]
|