Home
last modified time | relevance | path

Searched refs:ValueTp (Results 1 – 9 of 9) 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/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/libcxx/test/std/containers/
Dset_allocator_requirement_test_templates.h34 typedef typename Container::value_type ValueTp; in testSetInsert() typedef
42 const ValueTp v(42); in testSetInsert()
43 cc->expect<const ValueTp&>(); in testSetInsert()
48 const ValueTp v2(42); in testSetInsert()
55 ValueTp v(42); in testSetInsert()
56 cc->expect<const ValueTp&>(); in testSetInsert()
61 ValueTp v2(42); in testSetInsert()
68 ValueTp v(42); in testSetInsert()
69 cc->expect<ValueTp&&>(); in testSetInsert()
74 ValueTp v2(42); in testSetInsert()
[all …]
Dmap_allocator_requirement_test_templates.h35 typedef typename Container::value_type ValueTp; in testMapInsert() typedef
45 const ValueTp v(42, 1); in testMapInsert()
46 cc->expect<const ValueTp&>(); in testMapInsert()
51 const ValueTp v2(42, 1); in testMapInsert()
58 ValueTp v(42, 1); in testMapInsert()
59 cc->expect<const ValueTp&>(); in testMapInsert()
64 ValueTp v2(42, 1); in testMapInsert()
71 ValueTp v(42, 1); in testMapInsert()
72 cc->expect<ValueTp&&>(); in testMapInsert()
77 ValueTp v2(42, 1); in testMapInsert()
[all …]
/external/libcxx/test/support/
Dcontainer_test_types.h448 class ValueTp = std::pair<const Key, Value> >
451 ContainerTestAllocator<ValueTp, ValueTp> >;
454 class ValueTp = std::pair<const Key, Value> >
457 ContainerTestAllocator<ValueTp, ValueTp> >;
460 class ValueTp = std::pair<const Key, Value> >
463 ContainerTestAllocator<ValueTp, ValueTp> >;
466 class ValueTp = std::pair<const Key, Value> >
469 ContainerTestAllocator<ValueTp, ValueTp> >;
/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()
/external/libcxx/test/std/containers/associative/map/map.access/
Dindex_rv_key.pass.cpp64 using ValueTp = Container::value_type; in main() typedef
Dindex_key.pass.cpp87 using ValueTp = Container::value_type; in main() typedef
/external/libcxx/test/std/containers/unord/unord.map/unord.map.elem/
Dindex.pass.cpp122 using ValueTp = Container::value_type; in main() typedef