Home
last modified time | relevance | path

Searched refs:Container (Results 1 – 25 of 333) sorted by relevance

12345678910>>...14

/external/dynamic_depth/internal/dynamic_depth/
Dcontainer.cc19 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/libcxx/test/libcxx/debug/containers/
Ddb_sequence_container_iterators.pass.cpp30 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 …]
Ddb_string.pass.cpp32 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/libcxx/test/std/containers/
Dmap_allocator_requirement_test_templates.h32 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 …]
Dset_allocator_requirement_test_templates.h31 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/
DCompactConstructorExampleTest.java41 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/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/CodeView/
DDebugSubsectionRecord.cpp28 CodeViewContainer Container) in DebugSubsectionRecord() argument
29 : Container(Container), Kind(Kind), Data(Data) {} in DebugSubsectionRecord()
33 CodeViewContainer Container) { in initialize() argument
43 Info.Container = Container; in initialize()
57 std::shared_ptr<DebugSubsection> Subsection, CodeViewContainer Container) in DebugSubsectionRecordBuilder() argument
58 : Subsection(std::move(Subsection)), Container(Container) {} in DebugSubsectionRecordBuilder()
61 const DebugSubsectionRecord &Contents, CodeViewContainer Container) in DebugSubsectionRecordBuilder() argument
62 : Contents(Contents), Container(Container) {} in DebugSubsectionRecordBuilder()
73 assert(Writer.getOffset() % alignOf(Container) == 0 && in commit()
82 Header.Length = alignTo(DataSize, alignOf(Container)); in commit()
/external/swiftshader/third_party/subzero/unittest/AssemblerX8632/
DTestUtil.h301 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/
Djava_iterator.h38 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/
DAttrIterator.h47 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/
Dinsert_node_type.pass.cpp22 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 …]
Dinsert_node_type_hint.pass.cpp21 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()
/external/libcxx/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/
Dinsert_node_type.pass.cpp21 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 …]
Dinsert_node_type_hint.pass.cpp21 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()
/external/libcxx/test/std/containers/associative/multiset/
Dinsert_node_type.pass.cpp22 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/libcxx/test/std/containers/unord/unord.multiset/
Dinsert_node_type.pass.cpp22 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/pdfium/third_party/base/
Dspan.h47 template <typename Container, typename T>
50 std::declval<Container>().data())>::type,
52 template <typename Container>
54 std::is_integral<decltype(std::declval<Container>().size())>;
72 template <typename Container, typename T>
74 typename std::enable_if<!internal::IsSpan<Container>::value &&
75 !internal::IsStdArray<Container>::value &&
76 ContainerHasConvertibleData<Container, T>::value &&
77 ContainerHasIntegralSize<Container>::value>::type;
79 template <typename Container, typename T>
[all …]
/external/libcxx/test/std/containers/unord/unord.map/unord.map.modifiers/
Dinsert_node_type.pass.cpp21 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()
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::insert_return_type irt = c.insert(std::move(node)); in test()
[all …]
Dinsert_node_type_hint.pass.cpp21 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()
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()
/external/libcxx/test/std/containers/associative/map/map.modifiers/
Dinsert_node_type.pass.cpp22 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()
33 template <class Container>
34 void test(Container& c) in test()
36 auto* nf = &node_factory<Container>; in test()
40 typename Container::node_type node = nf(i, i + 1); in test()
42 typename Container::insert_return_type irt = c.insert(std::move(node)); in test()
[all …]
Dinsert_node_type_hint.pass.cpp21 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()
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()
/external/libcxx/test/std/containers/associative/set/
Dinsert_node_type.pass.cpp22 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()
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); in test()
41 typename Container::insert_return_type irt = c.insert(std::move(node)); in test()
51 typename Container::node_type def; in test()
[all …]
/external/libcxx/test/std/containers/unord/unord.set/
Dinsert_node_type.pass.cpp22 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()
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); in test()
41 typename Container::insert_return_type irt = c.insert(std::move(node)); in test()
51 typename Container::node_type def; in test()
[all …]
/external/libcxx/benchmarks/
DContainerBenchmarks.hpp11 template <class Container, class GenInputs>
12 void BM_ConstructIterIter(benchmark::State& st, Container, GenInputs gen) { in BM_ConstructIterIter() argument
18 Container c(begin, end); in BM_ConstructIterIter()
23 template <class Container, class GenInputs>
24 void BM_InsertValue(benchmark::State& st, Container c, GenInputs gen) { in BM_InsertValue()
36 template <class Container, class GenInputs>
37 void BM_InsertValueRehash(benchmark::State& st, Container c, GenInputs gen) { in BM_InsertValueRehash()
51 template <class Container, class GenInputs>
52 void BM_InsertDuplicate(benchmark::State& st, Container c, GenInputs gen) { in BM_InsertDuplicate()
67 template <class Container, class GenInputs>
[all …]
/external/libcxx/include/
Dstack20 template <class T, class Container = deque<T>>
24 typedef Container container_type;
61 void swap(stack& c) noexcept(is_nothrow_swappable_v<Container>)
64 template<class Container>
65 stack(Container) -> stack<typename Container::value_type, Container>; // C++17
67 template<class Container, class Allocator>
68 stack(Container, Allocator) -> stack<typename Container::value_type, Container>; // C++17
70 template <class T, class Container>
71 bool operator==(const stack<T, Container>& x, const stack<T, Container>& y);
72 template <class T, class Container>
[all …]

12345678910>>...14