Searched refs:Container (Results 1 - 25 of 168) sorted by relevance

1234567

/external/clang/test/CodeGenCXX/
H A Deh-aggregated-inits-unwind.cpp25 struct Container { struct
30 Container() { id = 1000; } function in struct:Container
31 ~Container() { id = 2000; }
36 Container c1;
38 // CHECK: %{{.+}} = getelementptr inbounds %struct.Container, %struct.Container* %{{.+}}, i32 0, i32 1
39 // CHECK-NOT: %{{.+}} = bitcast %struct.Container* %{{.+}} to %struct.ImplicitCopy*
40 Container c2(c1);
H A Deh-aggregated-inits.cpp24 struct Container { struct
28 Container() { globId = 1000; } function in struct:Container
29 ~Container() { globId = 2000; }
34 Container c1;
38 Container c2(c1);
H A Deh-aggregate-copy-destroy.cpp17 struct Container { struct
24 Container c1;
29 Container c2(c1);
/external/sfntly/cpp/src/sfntly/port/
H A 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) {}
59 Container* container() { return 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* containe
[all...]
/external/clang/test/SemaCXX/
H A DPR11358.cpp13 typedef container<T> Container; typedef in struct:test1::Test
15 Container::iterator i = c.begin(); // expected-error{{missing 'typename'}}
17 Container c;
45 typedef container<T> Container; typedef in struct:test3::Test
47 Container::iterator const i; // expected-error{{missing 'typename'}}
49 Container c;
H A Dwarn-range-loop-analysis.cpp12 struct Container { struct
63 Container<int> int_non_ref_container;
64 Container<int&> int_container;
65 Container<Bar&> bar_container;
68 // expected-warning@-1 {{loop variable 'x' is always a copy because the range of type 'Container<int>' does not return a reference}}
81 Container<int> A;
115 Container<int&> B;
146 Container<Bar> C;
170 Container<Bar&> D;
194 Container<Fo
[all...]
/external/libcxx/test/libcxx/debug/containers/
H A Ddb_associative_container_tests.pass.cpp28 template <class Container, ContainerType CT>
29 struct AssociativeContainerChecks : BasicContainerChecks<Container, CT> {
30 using Base = BasicContainerChecks<Container, CT>;
31 using value_type = typename Container::value_type;
32 using iterator = typename Container::iterator;
33 using const_iterator = typename Container::const_iterator;
H A Ddb_string.pass.cpp29 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;
58 Container C = makeContainer(N);
59 Container const& CC = C;
72 Container
[all...]
H A Ddb_unord_container_tests.pass.cpp27 template <class Container, ContainerType CT>
28 struct UnorderedContainerChecks : BasicContainerChecks<Container, CT> {
29 using Base = BasicContainerChecks<Container, CT>;
30 using value_type = typename Container::value_type;
31 using iterator = typename Container::iterator;
32 using const_iterator = typename Container::const_iterator;
H A Ddb_sequence_container_iterators.pass.cpp27 template <class Container, ContainerType CT>
28 struct SequenceContainerChecks : BasicContainerChecks<Container, CT> {
29 using Base = BasicContainerChecks<Container, CT>;
30 using value_type = typename Container::value_type;
31 using allocator_type = typename Container::allocator_type;
32 using iterator = typename Container::iterator;
33 using const_iterator = typename Container::const_iterator;
65 Container C(allocator_type{});
98 Container C = makeContainer(1);
99 Container cons
[all...]
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/extensions/compactnotation/
H A DContainer.java18 public class Container { class
23 public Container() { method in class:Container
27 public Container(String title) { method in class:Container
33 if (obj instanceof Container) {
34 Container c = (Container) obj;
54 return "Container=" + title;
H A DCompactConstructorExampleTest.java41 assertEquals(new Container(), obj);
46 assertEquals(new Container("title"), obj);
50 Container obj = (Container) load("example3.yaml");
51 assertEquals(new Container("title3"), obj);
60 Container container = (Container) obj;
62 assertEquals(new Container("title4"), obj);
71 Container container = (Container) ob
[all...]
/external/autotest/site_utils/lxc/
H A D__init__.py14 from container import Container namespace
/external/clang/include/clang/AST/
H A 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) {
117 return specific_attr_iterator<SpecificAttr, Container>(container.begin());
119 template <typename SpecificAttr, typename Container>
120 inline specific_attr_iterator<SpecificAttr, Container>
121 specific_attr_end(const Container& container) {
122 return specific_attr_iterator<SpecificAttr, Container>(containe
[all...]
/external/mockito/src/test/java/org/mockito/internal/util/reflection/
H A DGenericArrayReturnTypeTest.java14 Container container = mock(Container.class, Answers.RETURNS_DEEP_STUBS);
18 class Container { class in class:GenericArrayReturnTypeTest
/external/libcxx/test/std/containers/associative/multimap/multimap.modifiers/
H A Dinsert_cv.pass.cpp22 template <class Container>
24 typedef Container M;
60 typedef std::multimap<int, double> Container; typedef
61 do_insert_test<Container>();
65 typedef std::multimap<int, double, std::less<int>, min_allocator<std::pair<const int, double>>> Container; typedef
66 do_insert_test<Container>();
/external/libcxx/benchmarks/
H A DContainerBenchmarks.hpp11 template <class Container, class GenInputs>
12 void BM_ConstructIterIter(benchmark::State& st, Container, GenInputs gen) {
18 Container c(begin, end);
23 template <class Container, class GenInputs>
24 void BM_InsertValue(benchmark::State& st, Container c, GenInputs gen) {
36 template <class Container, class GenInputs>
37 void BM_InsertValueRehash(benchmark::State& st, Container c, GenInputs gen) {
51 template <class Container, class GenInputs>
52 void BM_InsertDuplicate(benchmark::State& st, Container c, GenInputs gen) {
67 template <class Container, clas
[all...]
/external/protobuf/src/google/protobuf/
H A Dmetadata.h67 delete PtrValue<Container>();
74 return PtrValue<Container>()->unknown_fields_;
82 return &PtrValue<Container>()->unknown_fields_;
90 return PtrValue<Container>()->arena_;
123 // ptr_ is a Container*.
140 struct Container { struct in class:google::protobuf::internal::InternalMetadataWithArena
147 Container* container = Arena::Create<Container>(my_arena);
/external/libcxx/test/std/containers/associative/map/map.access/
H A Dindex_rv_key.pass.cpp61 using Container = TCT::map<>;
62 using Key = Container::key_type;
63 using MappedType = Container::mapped_type;
64 using ValueTp = Container::value_type;
68 Container c;
H A Dindex_key.pass.cpp84 using Container = TCT::map<>;
85 using Key = Container::key_type;
86 using MappedType = Container::mapped_type;
87 using ValueTp = Container::value_type;
91 Container c;
103 Container c;
/external/libcxx/test/std/containers/
H A Dset_allocator_requirement_test_templates.h31 template <class Container>
34 typedef typename Container::value_type ValueTp;
35 typedef Container C;
41 Container c;
54 Container c;
67 Container c;
80 Container c;
93 Container c;
105 Container c;
117 Container
[all...]
H A Dmap_allocator_requirement_test_templates.h32 template <class Container>
35 typedef typename Container::value_type ValueTp;
36 typedef typename Container::key_type Key;
37 typedef typename Container::mapped_type Mapped;
38 typedef Container C;
44 Container c;
57 Container c;
70 Container c;
83 Container c;
96 Container
[all...]
/external/swiftshader/third_party/subzero/unittest/AssemblerX8632/
H A 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 *cons
[all...]
/external/webrtc/webrtc/system_wrappers/include/
H A Ddata_log_impl.h37 // writable to file. Enforce this via the Container interface.
38 class Container { class in namespace:webrtc
40 virtual ~Container() {}
46 class ValueContainer : public Container {
62 class MultiValueContainer : public Container {
106 // Inserts a Container into a table with name table_name at the column
111 const Container* value_container);
/external/swiftshader/third_party/subzero/unittest/AssemblerX8664/
H A DTestUtil.h413 template <typename Container = C, int Size = N> \
414 typename std::enable_if<std::is_floating_point<Container>::value, \
418 typename std::conditional<std::is_same<float, Container>::value, \
420 static_assert(sizeof(ElemType) == sizeof(Container), \
443 template <typename Container = C, int Size = N> \
444 typename std::enable_if<std::is_floating_point<Container>::value, \
448 typename std::conditional<std::is_same<float, Container>::value, \
450 static_assert(sizeof(ElemType) == sizeof(Container), \
452 const Container *const RhsPtr = \
453 reinterpret_cast<const Container *cons
[all...]

Completed in 702 milliseconds

1234567