/external/snakeyaml/src/test/java/org/yaml/snakeyaml/extensions/compactnotation/ |
CompactConstructorExampleTest.java | 41 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; local 62 assertEquals(new Container("title4"), obj); 63 assertEquals("title4", container.getTitle()) 71 Container container = (Container) obj; local 82 Container container = (Container) obj; local 93 Container container = (Container) obj; local [all...] |
/external/clang/test/SemaCXX/ |
warn-range-loop-analysis.cpp | 12 struct Container { 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<Foo> E [all...] |
using-decl-templates.cpp | 72 typedef long Container; 78 using Base<T>::Container; 80 void foo(const Container& current); // expected-error {{unknown type name 'Container'}}
|
/external/protobuf/src/google/protobuf/ |
metadata.h | 57 // indicate an arena pointer and bit 0 == 1 to indicate a UFS+Arena-container 67 delete PtrValue<Container>(); 74 return PtrValue<Container>()->unknown_fields_; 82 return &PtrValue<Container>()->unknown_fields_; 90 return PtrValue<Container>()->arena_; 104 // different states (direct arena pointer vs. container with UFS) so we 123 // ptr_ is a Container*. 140 struct Container { 147 Container* container = Arena::Create<Container>(my_arena) local [all...] |
/prebuilts/tools/darwin-x86_64/protoc/include/google/protobuf/ |
metadata.h | 57 // indicate an arena pointer and bit 0 == 1 to indicate a UFS+Arena-container 67 delete PtrValue<Container>(); 74 return PtrValue<Container>()->unknown_fields_; 82 return &PtrValue<Container>()->unknown_fields_; 90 return PtrValue<Container>()->arena_; 104 // different states (direct arena pointer vs. container with UFS) so we 123 // ptr_ is a Container*. 140 struct Container { 147 Container* container = Arena::Create<Container>(my_arena) local [all...] |
/external/libcxx/test/std/containers/associative/map/map.access/ |
index_rv_key.pass.cpp | 61 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;
|
index_key.pass.cpp | 84 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;
|
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/containers/associative/map/map.access/ |
index_rv_key.pass.cpp | 61 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;
|
index_key.pass.cpp | 84 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/ |
set_allocator_requirement_test_templates.h | 31 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 c [all...] |
map_allocator_requirement_test_templates.h | 32 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 c [all...] |
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/containers/ |
set_allocator_requirement_test_templates.h | 31 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 c [all...] |
map_allocator_requirement_test_templates.h | 32 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 c [all...] |
/external/autotest/site_utils/lxc/ |
__init__.py | 6 1. Download base container from given GS location, setup the base container. 7 2. Create a snapshot as test container from base container. 8 3. Mount a directory in drone to the test container. 9 4. Run a command in the container and return the output. 10 5. Cleanup, e.g., destroy the container. 14 from container import Container
|
/external/libcxx/test/libcxx/debug/containers/ |
db_sequence_container_iterators.pass.cpp | 15 // test container debugging 27 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) [all...] |
/external/swiftshader/third_party/subzero/unittest/AssemblerX8632/ |
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/webrtc/webrtc/system_wrappers/include/ |
data_log_impl.h | 36 // All container classes need to implement a ToString-function to be 37 // writable to file. Enforce this via the Container interface. 38 class Container { 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/ |
TestUtil.h | 413 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 *const>(&Rhs); [all...] |
/art/runtime/base/ |
stl_util.h | 29 // For a range within a container of pointers, calls delete 48 // STLDeleteElements() deletes all the elements in an STL container and clears 49 // the container. This function is suitable for use with a vector, set, 50 // hash_set, or any other STL container which defines sensible begin(), end(), 53 // If container is null, this function is a no-op. 56 // using a container of std::unique_ptr, which ensures that your container's 57 // elements are deleted when the container goes out of scope. 59 void STLDeleteElements(T *container) { 60 if (container != nullptr) [all...] |
/external/clang/test/CXX/temp/temp.fct.spec/temp.arg.explicit/ |
p3.cpp | 44 template <class Container> 45 void quuz(const Container &cont) {
|
/libcore/luni/src/test/java/libcore/java/lang/reflect/annotations/ |
ClassTest.java | 24 import libcore.java.lang.reflect.annotations.AnnotatedElementTestSupport.Container; 65 @Container({@Repeated(1)}) 69 @Container({@Repeated(2), @Repeated(3)}) 104 Class<Container> container = Container.class; local 106 assertIsAnnotationPresent(SingleAnnotation.class, container, false); 107 assertIsAnnotationPresent(MultipleAnnotation.class, container, true); 108 assertIsAnnotationPresent(MultipleAnnotationExplicitSingle.class, container, true); 109 assertIsAnnotationPresent(MultipleAnnotationOddity.class, container, true) 135 Class<Container> container = Container.class; local 182 Class<Container> container = Container.class; local 238 Class<Container> container = Container.class; local [all...] |
PackageTest.java | 22 import libcore.java.lang.reflect.annotations.AnnotatedElementTestSupport.Container; 45 Class<Container> container = Container.class; local 46 checkDeclaredAnnotation(NoAnnotation.class, container, null); 47 checkDeclaredAnnotation(SingleAnnotation.class, container, null); 48 checkDeclaredAnnotation(MultipleAnnotation.class, container, 49 "@Container({@Repeated(1), @Repeated(2)})"); 50 checkDeclaredAnnotation(MultipleAnnotationExplicitSingle.class, container, 51 "@Container({@Repeated(1)})") 81 Class<Container> container = Container.class; local 111 Class<Container> container = Container.class; local [all...] |
/external/libchrome/base/containers/ |
scoped_ptr_hash_map.h | 28 typedef base::hash_map<Key, typename ScopedPtr::element_type*> Container; 31 typedef typename Container::key_type key_type; 32 typedef typename Container::mapped_type mapped_type; 33 typedef typename Container::value_type value_type; 34 typedef typename Container::iterator iterator; 35 typedef typename Container::const_iterator const_iterator; 169 Container data_;
|
/external/libcxx/test/std/containers/unord/unord.map/unord.map.elem/ |
index.pass.cpp | 119 using Container = TCT::unordered_map<>; 120 using Key = Container::key_type; 121 using MappedType = Container::mapped_type; 122 using ValueTp = Container::value_type; 126 Container c; 138 Container c; 150 Container c;
|
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/containers/unord/unord.map/unord.map.elem/ |
index.pass.cpp | 119 using Container = TCT::unordered_map<>; 120 using Key = Container::key_type; 121 using MappedType = Container::mapped_type; 122 using ValueTp = Container::value_type; 126 Container c; 138 Container c; 150 Container c;
|