/external/libcxx/test/std/containers/associative/ |
D | iterator_types.pass.cpp | 19 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/ |
D | iterator_difference_type.pass.cpp | 19 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/ |
D | set_allocator_requirement_test_templates.h | 34 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 …]
|
D | map_allocator_requirement_test_templates.h | 35 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/ |
D | container_test_types.h | 448 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/ |
D | make_from_tuple.pass.cpp | 103 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/ |
D | index_rv_key.pass.cpp | 64 using ValueTp = Container::value_type; in main() typedef
|
D | index_key.pass.cpp | 87 using ValueTp = Container::value_type; in main() typedef
|
/external/libcxx/test/std/containers/unord/unord.map/unord.map.elem/ |
D | index.pass.cpp | 122 using ValueTp = Container::value_type; in main() typedef
|