/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/extensions/hash/ |
D | specializations.pass.cpp | 17 assert(__gnu_cxx::hash<const char *>()("test") == in main() 18 std::hash<std::string>()("test")); in main() 19 assert(__gnu_cxx::hash<char *>()(str) == std::hash<std::string>()("test")); in main() 20 assert(__gnu_cxx::hash<char>()(42) == 42); in main() 21 assert(__gnu_cxx::hash<signed char>()(42) == 42); in main() 22 assert(__gnu_cxx::hash<unsigned char>()(42) == 42); in main() 23 assert(__gnu_cxx::hash<short>()(42) == 42); in main() 24 assert(__gnu_cxx::hash<unsigned short>()(42) == 42); in main() 25 assert(__gnu_cxx::hash<int>()(42) == 42); in main() 26 assert(__gnu_cxx::hash<unsigned int>()(42) == 42); in main() [all …]
|
/ndk/sources/cxx-stl/stlport/stlport/stl/ |
D | _hash_fun.h | 40 template <class _Key> struct hash { }; struct 56 struct hash<char*> { 64 struct hash<const char*> { 71 _STLP_TEMPLATE_NULL struct hash<char> { 74 _STLP_TEMPLATE_NULL struct hash<unsigned char> { 78 _STLP_TEMPLATE_NULL struct hash<signed char> { 82 _STLP_TEMPLATE_NULL struct hash<short> { 85 _STLP_TEMPLATE_NULL struct hash<unsigned short> { 88 _STLP_TEMPLATE_NULL struct hash<int> { 93 _STLP_TEMPLATE_NULL struct hash<unsigned int> { [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/optional/optional.hash/ |
D | hash.pass.cpp | 28 assert(std::hash<optional<T>>{}(opt) == 0); in main() 30 assert(std::hash<optional<T>>{}(opt) == std::hash<T>{}(*opt)); in main() 35 assert(std::hash<optional<T>>{}(opt) == 0); in main() 37 assert(std::hash<optional<T>>{}(opt) == std::hash<T>{}(*opt)); in main() 42 assert(std::hash<optional<T>>{}(opt) == 0); in main() 44 assert(std::hash<optional<T>>{}(opt) == std::hash<T>{}(*opt)); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/ext/ |
D | __hash | 22 template <typename _Tp> struct _LIBCPP_TYPE_VIS_ONLY hash { }; 24 template <> struct _LIBCPP_TYPE_VIS_ONLY hash<const char*> 34 template <> struct _LIBCPP_TYPE_VIS_ONLY hash<char *> 44 template <> struct _LIBCPP_TYPE_VIS_ONLY hash<char> 54 template <> struct _LIBCPP_TYPE_VIS_ONLY hash<signed char> 64 template <> struct _LIBCPP_TYPE_VIS_ONLY hash<unsigned char> 74 template <> struct _LIBCPP_TYPE_VIS_ONLY hash<short> 84 template <> struct _LIBCPP_TYPE_VIS_ONLY hash<unsigned short> 94 template <> struct _LIBCPP_TYPE_VIS_ONLY hash<int> 104 template <> struct _LIBCPP_TYPE_VIS_ONLY hash<unsigned int> [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.multiset/unord.multiset.cnstr/ |
D | assign_move.pass.cpp | 33 test_hash<std::hash<int> >, in main() 49 test_hash<std::hash<int> >(8), in main() 55 test_hash<std::hash<int> >(2), in main() 74 assert(c.hash_function() == test_hash<std::hash<int> >(8)); in main() 86 test_hash<std::hash<int> >, in main() 102 test_hash<std::hash<int> >(8), in main() 108 test_hash<std::hash<int> >(2), in main() 119 assert(c.hash_function() == test_hash<std::hash<int> >(8)); in main() 131 test_hash<std::hash<int> >, in main() 147 test_hash<std::hash<int> >(8), in main() [all …]
|
D | size_hash.pass.cpp | 31 test_hash<std::hash<NotConstructible> >, in main() 36 test_hash<std::hash<NotConstructible> >(8) in main() 39 assert(c.hash_function() == test_hash<std::hash<NotConstructible> >(8)); in main() 51 test_hash<std::hash<NotConstructible> >, in main() 56 test_hash<std::hash<NotConstructible> >(8) in main() 59 assert(c.hash_function() == test_hash<std::hash<NotConstructible> >(8)); in main()
|
D | size_hash_equal.pass.cpp | 31 test_hash<std::hash<NotConstructible> >, in main() 36 test_hash<std::hash<NotConstructible> >(8), in main() 40 assert(c.hash_function() == test_hash<std::hash<NotConstructible> >(8)); in main() 52 test_hash<std::hash<NotConstructible> >, in main() 57 test_hash<std::hash<NotConstructible> >(8), in main() 61 assert(c.hash_function() == test_hash<std::hash<NotConstructible> >(8)); in main()
|
D | size_hash_equal_allocator.pass.cpp | 31 test_hash<std::hash<NotConstructible> >, in main() 36 test_hash<std::hash<NotConstructible> >(8), in main() 41 assert(c.hash_function() == test_hash<std::hash<NotConstructible> >(8)); in main() 53 test_hash<std::hash<NotConstructible> >, in main() 58 test_hash<std::hash<NotConstructible> >(8), in main() 63 assert(c.hash_function() == test_hash<std::hash<NotConstructible> >(8)); in main()
|
D | move.pass.cpp | 32 test_hash<std::hash<int> >, in main() 47 test_hash<std::hash<int> >(8), in main() 54 assert(c.hash_function() == test_hash<std::hash<int> >(8)); in main() 67 test_hash<std::hash<int> >, in main() 83 test_hash<std::hash<int> >(8), in main() 94 assert(c.hash_function() == test_hash<std::hash<int> >(8)); in main() 108 test_hash<std::hash<int> >, in main() 123 test_hash<std::hash<int> >(8), in main() 130 assert(c.hash_function() == test_hash<std::hash<int> >(8)); in main() 143 test_hash<std::hash<int> >, in main() [all …]
|
D | assign_copy.pass.cpp | 32 test_hash<std::hash<int> >, in main() 48 test_hash<std::hash<int> >(8), in main() 54 test_hash<std::hash<int> >(2), in main() 73 assert(c.hash_function() == test_hash<std::hash<int> >(8)); in main() 104 test_hash<std::hash<int> >, in main() 120 test_hash<std::hash<int> >(8), in main() 126 test_hash<std::hash<int> >(2), in main() 145 assert(c.hash_function() == test_hash<std::hash<int> >(8)); in main() 158 test_hash<std::hash<int> >, in main() 174 test_hash<std::hash<int> >(8), in main() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.set/unord.set.cnstr/ |
D | assign_move.pass.cpp | 33 test_hash<std::hash<int> >, in main() 49 test_hash<std::hash<int> >(8), in main() 55 test_hash<std::hash<int> >(2), in main() 66 assert(c.hash_function() == test_hash<std::hash<int> >(8)); in main() 78 test_hash<std::hash<int> >, in main() 94 test_hash<std::hash<int> >(8), in main() 100 test_hash<std::hash<int> >(2), in main() 111 assert(c.hash_function() == test_hash<std::hash<int> >(8)); in main() 123 test_hash<std::hash<int> >, in main() 139 test_hash<std::hash<int> >(8), in main() [all …]
|
D | size_hash.pass.cpp | 31 test_hash<std::hash<NotConstructible> >, in main() 36 test_hash<std::hash<NotConstructible> >(8) in main() 39 assert(c.hash_function() == test_hash<std::hash<NotConstructible> >(8)); in main() 51 test_hash<std::hash<NotConstructible> >, in main() 56 test_hash<std::hash<NotConstructible> >(8) in main() 59 assert(c.hash_function() == test_hash<std::hash<NotConstructible> >(8)); in main()
|
D | size_hash_equal.pass.cpp | 31 test_hash<std::hash<NotConstructible> >, in main() 36 test_hash<std::hash<NotConstructible> >(8), in main() 40 assert(c.hash_function() == test_hash<std::hash<NotConstructible> >(8)); in main() 52 test_hash<std::hash<NotConstructible> >, in main() 57 test_hash<std::hash<NotConstructible> >(8), in main() 61 assert(c.hash_function() == test_hash<std::hash<NotConstructible> >(8)); in main()
|
D | size_hash_equal_allocator.pass.cpp | 31 test_hash<std::hash<NotConstructible> >, in main() 36 test_hash<std::hash<NotConstructible> >(8), in main() 41 assert(c.hash_function() == test_hash<std::hash<NotConstructible> >(8)); in main() 53 test_hash<std::hash<NotConstructible> >, in main() 58 test_hash<std::hash<NotConstructible> >(8), in main() 63 assert(c.hash_function() == test_hash<std::hash<NotConstructible> >(8)); in main()
|
D | assign_copy.pass.cpp | 32 test_hash<std::hash<int> >, in main() 48 test_hash<std::hash<int> >(8), in main() 54 test_hash<std::hash<int> >(2), in main() 65 assert(c.hash_function() == test_hash<std::hash<int> >(8)); in main() 95 test_hash<std::hash<int> >, in main() 111 test_hash<std::hash<int> >(8), in main() 117 test_hash<std::hash<int> >(2), in main() 128 assert(c.hash_function() == test_hash<std::hash<int> >(8)); in main() 141 test_hash<std::hash<int> >, in main() 157 test_hash<std::hash<int> >(8), in main() [all …]
|
D | copy.pass.cpp | 31 test_hash<std::hash<int> >, in main() 47 test_hash<std::hash<int> >(8), in main() 58 assert(c.hash_function() == test_hash<std::hash<int> >(8)); in main() 70 test_hash<std::hash<int> >, in main() 86 test_hash<std::hash<int> >(8), in main() 97 assert(c.hash_function() == test_hash<std::hash<int> >(8)); in main() 110 test_hash<std::hash<int> >, in main() 126 test_hash<std::hash<int> >(8), in main() 137 assert(c.hash_function() == test_hash<std::hash<int> >(8)); in main()
|
D | move.pass.cpp | 32 test_hash<std::hash<int> >, in main() 47 test_hash<std::hash<int> >(8), in main() 54 assert(c.hash_function() == test_hash<std::hash<int> >(8)); in main() 67 test_hash<std::hash<int> >, in main() 83 test_hash<std::hash<int> >(8), in main() 94 assert(c.hash_function() == test_hash<std::hash<int> >(8)); in main() 108 test_hash<std::hash<int> >, in main() 123 test_hash<std::hash<int> >(8), in main() 130 assert(c.hash_function() == test_hash<std::hash<int> >(8)); in main() 143 test_hash<std::hash<int> >, in main() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.multimap/unord.multimap.cnstr/ |
D | size_hash.pass.cpp | 31 test_hash<std::hash<NotConstructible> >, in main() 37 test_hash<std::hash<NotConstructible> >(8) in main() 40 assert(c.hash_function() == test_hash<std::hash<NotConstructible> >(8)); in main() 53 test_hash<std::hash<NotConstructible> >, in main() 59 test_hash<std::hash<NotConstructible> >(8) in main() 62 assert(c.hash_function() == test_hash<std::hash<NotConstructible> >(8)); in main()
|
D | size_hash_equal.pass.cpp | 31 test_hash<std::hash<NotConstructible> >, in main() 37 test_hash<std::hash<NotConstructible> >(8), in main() 41 assert(c.hash_function() == test_hash<std::hash<NotConstructible> >(8)); in main() 54 test_hash<std::hash<NotConstructible> >, in main() 60 test_hash<std::hash<NotConstructible> >(8), in main() 64 assert(c.hash_function() == test_hash<std::hash<NotConstructible> >(8)); in main()
|
D | size_hash_equal_allocator.pass.cpp | 31 test_hash<std::hash<NotConstructible> >, in main() 37 test_hash<std::hash<NotConstructible> >(8), in main() 42 assert(c.hash_function() == test_hash<std::hash<NotConstructible> >(8)); in main() 55 test_hash<std::hash<NotConstructible> >, in main() 61 test_hash<std::hash<NotConstructible> >(8), in main() 66 assert(c.hash_function() == test_hash<std::hash<NotConstructible> >(8)); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.map/unord.map.cnstr/ |
D | size_hash.pass.cpp | 31 test_hash<std::hash<NotConstructible> >, in main() 37 test_hash<std::hash<NotConstructible> >(8) in main() 40 assert(c.hash_function() == test_hash<std::hash<NotConstructible> >(8)); in main() 53 test_hash<std::hash<NotConstructible> >, in main() 59 test_hash<std::hash<NotConstructible> >(8) in main() 62 assert(c.hash_function() == test_hash<std::hash<NotConstructible> >(8)); in main()
|
D | assign_move.pass.cpp | 34 test_hash<std::hash<int> >, in main() 50 test_hash<std::hash<int> >(8), in main() 56 test_hash<std::hash<int> >(2), in main() 67 assert(c.hash_function() == test_hash<std::hash<int> >(8)); in main() 79 test_hash<std::hash<int> >, in main() 95 test_hash<std::hash<int> >(8), in main() 101 test_hash<std::hash<int> >(2), in main() 112 assert(c.hash_function() == test_hash<std::hash<int> >(8)); in main() 125 test_hash<std::hash<int> >, in main() 141 test_hash<std::hash<int> >(8), in main() [all …]
|
D | size_hash_equal.pass.cpp | 31 test_hash<std::hash<NotConstructible> >, in main() 37 test_hash<std::hash<NotConstructible> >(8), in main() 41 assert(c.hash_function() == test_hash<std::hash<NotConstructible> >(8)); in main() 54 test_hash<std::hash<NotConstructible> >, in main() 60 test_hash<std::hash<NotConstructible> >(8), in main() 64 assert(c.hash_function() == test_hash<std::hash<NotConstructible> >(8)); in main()
|
D | size_hash_equal_allocator.pass.cpp | 31 test_hash<std::hash<NotConstructible> >, in main() 37 test_hash<std::hash<NotConstructible> >(8), in main() 42 assert(c.hash_function() == test_hash<std::hash<NotConstructible> >(8)); in main() 55 test_hash<std::hash<NotConstructible> >, in main() 61 test_hash<std::hash<NotConstructible> >(8), in main() 66 assert(c.hash_function() == test_hash<std::hash<NotConstructible> >(8)); in main()
|
D | assign_copy.pass.cpp | 33 test_hash<std::hash<int> >, in main() 49 test_hash<std::hash<int> >(8), in main() 55 test_hash<std::hash<int> >(2), in main() 66 assert(c.hash_function() == test_hash<std::hash<int> >(8)); in main() 96 test_hash<std::hash<int> >, in main() 112 test_hash<std::hash<int> >(8), in main() 118 test_hash<std::hash<int> >(2), in main() 129 assert(c.hash_function() == test_hash<std::hash<int> >(8)); in main() 142 test_hash<std::hash<int> >, in main() 158 test_hash<std::hash<int> >(8), in main() [all …]
|