Home
last modified time | relevance | path

Searched refs:ValueTp (Results 1 – 12 of 12) sorted by relevance

/external/libcxx/test/std/containers/associative/
Diterator_types.pass.cpp19 template <class Map, class ValueTp, class PtrT, class CPtrT>
24 static_assert((std::is_same<typename It::value_type, ValueTp>::value), ""); in testMap()
25 static_assert((std::is_same<typename It::reference, ValueTp&>::value), ""); in testMap()
31 static_assert((std::is_same<typename It::value_type, ValueTp>::value), ""); in testMap()
32 static_assert((std::is_same<typename It::reference, ValueTp const&>::value), ""); in testMap()
39 template <class Set, class ValueTp, class CPtrT>
46 static_assert((std::is_same<typename It::value_type, ValueTp>::value), ""); in testSet()
47 static_assert((std::is_same<typename It::reference, ValueTp const&>::value), ""); in testSet()
57 typedef std::pair<const int, int> ValueTp; in main() typedef
58 testMap<Map, ValueTp, ValueTp*, ValueTp const*>(); in main()
[all …]
/external/llvm-project/libcxx/test/std/containers/associative/
Diterator_types.pass.cpp18 template <class Map, class ValueTp, class PtrT, class CPtrT>
23 static_assert((std::is_same<typename It::value_type, ValueTp>::value), ""); in testMap()
24 static_assert((std::is_same<typename It::reference, ValueTp&>::value), ""); in testMap()
30 static_assert((std::is_same<typename It::value_type, ValueTp>::value), ""); in testMap()
31 static_assert((std::is_same<typename It::reference, ValueTp const&>::value), ""); in testMap()
38 template <class Set, class ValueTp, class CPtrT>
45 static_assert((std::is_same<typename It::value_type, ValueTp>::value), ""); in testSet()
46 static_assert((std::is_same<typename It::reference, ValueTp const&>::value), ""); in testSet()
56 typedef std::pair<const int, int> ValueTp; in main() typedef
57 testMap<Map, ValueTp, ValueTp*, ValueTp const*>(); in main()
[all …]
/external/llvm-project/libcxx/test/std/containers/unord/
Diterator_difference_type.pass.cpp18 template <class Map, class ValueTp, class PtrT, class CPtrT>
23 static_assert((std::is_same<typename It::value_type, ValueTp>::value), ""); in testUnorderedMap()
24 static_assert((std::is_same<typename It::reference, ValueTp&>::value), ""); in testUnorderedMap()
30 static_assert((std::is_same<typename It::value_type, ValueTp>::value), ""); in testUnorderedMap()
31 static_assert((std::is_same<typename It::reference, ValueTp const&>::value), ""); in testUnorderedMap()
37 static_assert((std::is_same<typename It::value_type, ValueTp>::value), ""); in testUnorderedMap()
38 static_assert((std::is_same<typename It::reference, ValueTp&>::value), ""); in testUnorderedMap()
44 static_assert((std::is_same<typename It::value_type, ValueTp>::value), ""); in testUnorderedMap()
45 static_assert((std::is_same<typename It::reference, ValueTp const&>::value), ""); in testUnorderedMap()
52 template <class Set, class ValueTp, class CPtrT>
[all …]
/external/libcxx/test/std/containers/unord/
Diterator_difference_type.pass.cpp19 template <class Map, class ValueTp, class PtrT, class CPtrT>
24 static_assert((std::is_same<typename It::value_type, ValueTp>::value), ""); in testUnorderedMap()
25 static_assert((std::is_same<typename It::reference, ValueTp&>::value), ""); in testUnorderedMap()
31 static_assert((std::is_same<typename It::value_type, ValueTp>::value), ""); in testUnorderedMap()
32 static_assert((std::is_same<typename It::reference, ValueTp const&>::value), ""); in testUnorderedMap()
38 static_assert((std::is_same<typename It::value_type, ValueTp>::value), ""); in testUnorderedMap()
39 static_assert((std::is_same<typename It::reference, ValueTp&>::value), ""); in testUnorderedMap()
45 static_assert((std::is_same<typename It::value_type, ValueTp>::value), ""); in testUnorderedMap()
46 static_assert((std::is_same<typename It::reference, ValueTp const&>::value), ""); in testUnorderedMap()
53 template <class Set, class ValueTp, class CPtrT>
[all …]
/external/llvm-project/libcxx/test/std/containers/
Dset_allocator_requirement_test_templates.h32 typedef typename Container::value_type ValueTp; in testSetInsert() typedef
38 const ValueTp v(42); in testSetInsert()
39 cc->expect<const ValueTp&>(); in testSetInsert()
44 const ValueTp v2(42); in testSetInsert()
51 ValueTp v(42); in testSetInsert()
52 cc->expect<const ValueTp&>(); in testSetInsert()
57 ValueTp v2(42); in testSetInsert()
64 ValueTp v(42); in testSetInsert()
65 cc->expect<ValueTp&&>(); in testSetInsert()
70 ValueTp v2(42); in testSetInsert()
[all …]
Dmap_allocator_requirement_test_templates.h33 typedef typename Container::value_type ValueTp; in testMapInsert() typedef
39 const ValueTp v(42, 1); in testMapInsert()
40 cc->expect<const ValueTp&>(); in testMapInsert()
45 const ValueTp v2(42, 1); in testMapInsert()
52 ValueTp v(42, 1); in testMapInsert()
53 cc->expect<const ValueTp&>(); in testMapInsert()
58 ValueTp v2(42, 1); in testMapInsert()
65 ValueTp v(42, 1); in testMapInsert()
66 cc->expect<ValueTp&&>(); in testMapInsert()
71 ValueTp v2(42, 1); in testMapInsert()
[all …]
/external/libcxx/test/std/containers/
Dset_allocator_requirement_test_templates.h34 typedef typename Container::value_type ValueTp; in testSetInsert() typedef
40 const ValueTp v(42); in testSetInsert()
41 cc->expect<const ValueTp&>(); in testSetInsert()
46 const ValueTp v2(42); in testSetInsert()
53 ValueTp v(42); in testSetInsert()
54 cc->expect<const ValueTp&>(); in testSetInsert()
59 ValueTp v2(42); in testSetInsert()
66 ValueTp v(42); in testSetInsert()
67 cc->expect<ValueTp&&>(); in testSetInsert()
72 ValueTp v2(42); in testSetInsert()
[all …]
Dmap_allocator_requirement_test_templates.h35 typedef typename Container::value_type ValueTp; in testMapInsert() typedef
41 const ValueTp v(42, 1); in testMapInsert()
42 cc->expect<const ValueTp&>(); in testMapInsert()
47 const ValueTp v2(42, 1); in testMapInsert()
54 ValueTp v(42, 1); in testMapInsert()
55 cc->expect<const ValueTp&>(); in testMapInsert()
60 ValueTp v2(42, 1); in testMapInsert()
67 ValueTp v(42, 1); in testMapInsert()
68 cc->expect<ValueTp&&>(); in testMapInsert()
73 ValueTp v2(42, 1); in testMapInsert()
[all …]
/external/llvm-project/libcxx/test/support/
Dcontainer_test_types.h474 class ValueTp = std::pair<const Key, Value> >
477 ContainerTestAllocator<ValueTp, ValueTp> >;
480 class ValueTp = std::pair<const Key, Value> >
483 ContainerTestAllocator<ValueTp, ValueTp> >;
486 class ValueTp = std::pair<const Key, Value> >
489 ContainerTestAllocator<ValueTp, ValueTp> >;
492 class ValueTp = std::pair<const Key, Value> >
495 ContainerTestAllocator<ValueTp, ValueTp> >;
/external/libcxx/test/support/
Dcontainer_test_types.h475 class ValueTp = std::pair<const Key, Value> >
478 ContainerTestAllocator<ValueTp, ValueTp> >;
481 class ValueTp = std::pair<const Key, Value> >
484 ContainerTestAllocator<ValueTp, ValueTp> >;
487 class ValueTp = std::pair<const Key, Value> >
490 ContainerTestAllocator<ValueTp, ValueTp> >;
493 class ValueTp = std::pair<const Key, Value> >
496 ContainerTestAllocator<ValueTp, ValueTp> >;
/external/llvm-project/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.apply/
Dmake_from_tuple.pass.cpp102 using ValueTp = ConstexprConstructibleFromTuple<Tuple>; in test_constexpr_construction() typedef
104 constexpr ValueTp value = std::make_from_tuple<ValueTp>(arr); in test_constexpr_construction()
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.apply/
Dmake_from_tuple.pass.cpp103 using ValueTp = ConstexprConstructibleFromTuple<Tuple>; in test_constexpr_construction() typedef
105 constexpr ValueTp value = std::make_from_tuple<ValueTp>(arr); in test_constexpr_construction()