/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/extensions/hash/ |
H A D | specializations.pass.cpp | 17 assert(__gnu_cxx::hash<const char *>()("test") == 18 std::hash<std::string>()("test")); 19 assert(__gnu_cxx::hash<char *>()(str) == std::hash<std::string>()("test")); 20 assert(__gnu_cxx::hash<char>()(42) == 42); 21 assert(__gnu_cxx::hash<signed char>()(42) == 42); 22 assert(__gnu_cxx::hash<unsigned char>()(42) == 42); 23 assert(__gnu_cxx::hash<short>()(42) == 42); 24 assert(__gnu_cxx::hash<unsigned short>()(42) == 42); 25 assert(__gnu_cxx::hash<in [all...] |
H A D | specializations.fail.cpp | 16 assert(__gnu_cxx::hash<std::string>()(std::string()) == 0); // error
|
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/functional/ |
H A D | hash_fwd.hpp | 6 #include <boost/functional/hash/hash_fwd.hpp>
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/optional/optional.hash/ |
H A D | hash.pass.cpp | 12 // template <class T> struct hash<optional<T>>; 28 assert(std::hash<optional<T>>{}(opt) == 0); 30 assert(std::hash<optional<T>>{}(opt) == std::hash<T>{}(*opt)); 35 assert(std::hash<optional<T>>{}(opt) == 0); 37 assert(std::hash<optional<T>>{}(opt) == std::hash<T>{}(*opt)); 42 assert(std::hash<optional<T>>{}(opt) == 0); 44 assert(std::hash<optional<T>>{}(opt) == std::hash< [all...] |
/ndk/sources/cxx-stl/stlport/stlport/stl/ |
H A D | _hash_fun.h | 40 template <class _Key> struct hash { }; struct 56 struct hash<char*> { struct 64 struct hash<const char*> { struct 71 _STLP_TEMPLATE_NULL struct hash<char> { struct 74 _STLP_TEMPLATE_NULL struct hash<unsigned char> { struct 78 _STLP_TEMPLATE_NULL struct hash<signed char> { struct 82 _STLP_TEMPLATE_NULL struct hash<short> { struct 85 _STLP_TEMPLATE_NULL struct hash<unsigned short> { struct 88 _STLP_TEMPLATE_NULL struct hash<int> { struct 93 _STLP_TEMPLATE_NULL struct hash<unsigne struct 103 _STLP_TEMPLATE_NULL struct hash<size_t> { struct 108 _STLP_TEMPLATE_NULL struct hash<long> { struct 111 _STLP_TEMPLATE_NULL struct hash<unsigned long> { struct 116 _STLP_TEMPLATE_NULL struct hash<_STLP_LONG_LONG> { struct 119 _STLP_TEMPLATE_NULL struct hash<unsigned _STLP_LONG_LONG> { struct 125 struct hash<void *> struct [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/function.objects/unord.hash/ |
H A D | enum.fail.cpp | 12 // Hashing a struct w/o a defined hash should fail. 23 size_t h = std::hash<X>{} ( x );
|
H A D | pointer.pass.cpp | 13 // struct hash 31 std::hash<T> >::value), ""); 32 std::hash<T> h;
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/type.index/type.index.hash/ |
H A D | hash.pass.cpp | 15 // struct hash<type_index> 27 assert(std::hash<std::type_index>()(t1) == t1.hash_code());
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.hash/ |
H A D | hash_shared_ptr.pass.cpp | 13 // struct hash<shared_ptr<T>> 27 std::hash<std::shared_ptr<int> > f; 29 assert(h == std::hash<int*>()(ptr));
|
H A D | hash_unique_ptr.pass.cpp | 13 // struct hash<unique_ptr<T, D>> 27 std::hash<std::unique_ptr<int> > f; 29 assert(h == std::hash<int*>()(ptr));
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.collate/locale.collate/locale.collate.members/ |
H A D | hash.pass.cpp | 14 // long hash(const charT* low, const charT* high) const; 29 assert(f.hash(x1.data(), x1.data() + x1.size()) 30 != f.hash(x2.data(), x2.data() + x2.size())); 36 assert(f.hash(x1.data(), x1.data() + x1.size()) 37 != f.hash(x2.data(), x2.data() + x2.size()));
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.collate/locale.collate.byname/ |
H A D | hash.pass.cpp | 14 // long hash(const charT* low, const charT* high) const; 31 assert(f.hash(x1.data(), x1.data() + x1.size()) 32 != f.hash(x2.data(), x2.data() + x2.size())); 38 assert(f.hash(x1.data(), x1.data() + x1.size()) 39 != f.hash(x2.data(), x2.data() + x2.size()));
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/type.index/type.index.synopsis/ |
H A D | hash_type_index.pass.cpp | 12 // struct hash<type_index> 24 std::hash<std::type_index> >::value), "");
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.multiset/unord.multiset.cnstr/ |
H A D | size_hash.pass.cpp | 12 // template <class Value, class Hash = hash<Value>, class Pred = equal_to<Value>, 31 test_hash<std::hash<NotConstructible> >, 36 test_hash<std::hash<NotConstructible> >(8) 39 assert(c.hash_function() == test_hash<std::hash<NotConstructible> >(8)); 51 test_hash<std::hash<NotConstructible> >, 56 test_hash<std::hash<NotConstructible> >(8) 59 assert(c.hash_function() == test_hash<std::hash<NotConstructible> >(8));
|
H A D | size_hash_equal.pass.cpp | 12 // template <class Value, class Hash = hash<Value>, class Pred = equal_to<Value>, 31 test_hash<std::hash<NotConstructible> >, 36 test_hash<std::hash<NotConstructible> >(8), 40 assert(c.hash_function() == test_hash<std::hash<NotConstructible> >(8)); 52 test_hash<std::hash<NotConstructible> >, 57 test_hash<std::hash<NotConstructible> >(8), 61 assert(c.hash_function() == test_hash<std::hash<NotConstructible> >(8));
|
H A D | size_hash_equal_allocator.pass.cpp | 12 // template <class Value, class Hash = hash<Value>, class Pred = equal_to<Value>, 31 test_hash<std::hash<NotConstructible> >, 36 test_hash<std::hash<NotConstructible> >(8), 41 assert(c.hash_function() == test_hash<std::hash<NotConstructible> >(8)); 53 test_hash<std::hash<NotConstructible> >, 58 test_hash<std::hash<NotConstructible> >(8), 63 assert(c.hash_function() == test_hash<std::hash<NotConstructible> >(8));
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.set/unord.set.cnstr/ |
H A D | size_hash.pass.cpp | 12 // template <class Value, class Hash = hash<Value>, class Pred = equal_to<Value>, 31 test_hash<std::hash<NotConstructible> >, 36 test_hash<std::hash<NotConstructible> >(8) 39 assert(c.hash_function() == test_hash<std::hash<NotConstructible> >(8)); 51 test_hash<std::hash<NotConstructible> >, 56 test_hash<std::hash<NotConstructible> >(8) 59 assert(c.hash_function() == test_hash<std::hash<NotConstructible> >(8));
|
H A D | size_hash_equal.pass.cpp | 12 // template <class Value, class Hash = hash<Value>, class Pred = equal_to<Value>, 31 test_hash<std::hash<NotConstructible> >, 36 test_hash<std::hash<NotConstructible> >(8), 40 assert(c.hash_function() == test_hash<std::hash<NotConstructible> >(8)); 52 test_hash<std::hash<NotConstructible> >, 57 test_hash<std::hash<NotConstructible> >(8), 61 assert(c.hash_function() == test_hash<std::hash<NotConstructible> >(8));
|
H A D | size_hash_equal_allocator.pass.cpp | 12 // template <class Value, class Hash = hash<Value>, class Pred = equal_to<Value>, 31 test_hash<std::hash<NotConstructible> >, 36 test_hash<std::hash<NotConstructible> >(8), 41 assert(c.hash_function() == test_hash<std::hash<NotConstructible> >(8)); 53 test_hash<std::hash<NotConstructible> >, 58 test_hash<std::hash<NotConstructible> >(8), 63 assert(c.hash_function() == test_hash<std::hash<NotConstructible> >(8));
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.map/unord.map.cnstr/ |
H A D | size_hash.pass.cpp | 12 // template <class Key, class T, class Hash = hash<Key>, class Pred = equal_to<Key>, 31 test_hash<std::hash<NotConstructible> >, 37 test_hash<std::hash<NotConstructible> >(8) 40 assert(c.hash_function() == test_hash<std::hash<NotConstructible> >(8)); 53 test_hash<std::hash<NotConstructible> >, 59 test_hash<std::hash<NotConstructible> >(8) 62 assert(c.hash_function() == test_hash<std::hash<NotConstructible> >(8));
|
H A D | size_hash_equal.pass.cpp | 12 // template <class Key, class T, class Hash = hash<Key>, class Pred = equal_to<Key>, 31 test_hash<std::hash<NotConstructible> >, 37 test_hash<std::hash<NotConstructible> >(8), 41 assert(c.hash_function() == test_hash<std::hash<NotConstructible> >(8)); 54 test_hash<std::hash<NotConstructible> >, 60 test_hash<std::hash<NotConstructible> >(8), 64 assert(c.hash_function() == test_hash<std::hash<NotConstructible> >(8));
|
H A D | size_hash_equal_allocator.pass.cpp | 12 // template <class Key, class T, class Hash = hash<Key>, class Pred = equal_to<Key>, 31 test_hash<std::hash<NotConstructible> >, 37 test_hash<std::hash<NotConstructible> >(8), 42 assert(c.hash_function() == test_hash<std::hash<NotConstructible> >(8)); 55 test_hash<std::hash<NotConstructible> >, 61 test_hash<std::hash<NotConstructible> >(8), 66 assert(c.hash_function() == test_hash<std::hash<NotConstructible> >(8));
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.multimap/unord.multimap.cnstr/ |
H A D | size_hash.pass.cpp | 12 // template <class Key, class T, class Hash = hash<Key>, class Pred = equal_to<Key>, 31 test_hash<std::hash<NotConstructible> >, 37 test_hash<std::hash<NotConstructible> >(8) 40 assert(c.hash_function() == test_hash<std::hash<NotConstructible> >(8)); 53 test_hash<std::hash<NotConstructible> >, 59 test_hash<std::hash<NotConstructible> >(8) 62 assert(c.hash_function() == test_hash<std::hash<NotConstructible> >(8));
|
H A D | size_hash_equal.pass.cpp | 12 // template <class Key, class T, class Hash = hash<Key>, class Pred = equal_to<Key>, 31 test_hash<std::hash<NotConstructible> >, 37 test_hash<std::hash<NotConstructible> >(8), 41 assert(c.hash_function() == test_hash<std::hash<NotConstructible> >(8)); 54 test_hash<std::hash<NotConstructible> >, 60 test_hash<std::hash<NotConstructible> >(8), 64 assert(c.hash_function() == test_hash<std::hash<NotConstructible> >(8));
|
H A D | size_hash_equal_allocator.pass.cpp | 12 // template <class Key, class T, class Hash = hash<Key>, class Pred = equal_to<Key>, 31 test_hash<std::hash<NotConstructible> >, 37 test_hash<std::hash<NotConstructible> >(8), 42 assert(c.hash_function() == test_hash<std::hash<NotConstructible> >(8)); 55 test_hash<std::hash<NotConstructible> >, 61 test_hash<std::hash<NotConstructible> >(8), 66 assert(c.hash_function() == test_hash<std::hash<NotConstructible> >(8));
|