/external/libcxx/test/std/containers/unord/unord.map/unord.map.cnstr/ |
H A D | hash_copy_constructible.fail.cpp | 21 struct Hash { struct 24 Hash () {} function in struct:Hash 26 Hash (const Hash &); // declared but not defined 31 std::unordered_map<int, int, Hash<int> > m;
|
/external/libcxx/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/ |
H A D | hash_copy_constructible.fail.cpp | 21 struct Hash { struct 24 Hash () {} function in struct:Hash 26 Hash (const Hash &); // declared but not defined 31 std::unordered_multimap<int, int, Hash<int> > m;
|
/external/libcxx/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/ |
H A D | hash_copy_constructible.fail.cpp | 18 struct Hash { struct 21 Hash () {} function in struct:Hash 23 Hash (const Hash &); // declared but not defined 28 std::unordered_multiset<int, Hash<int> > m;
|
/external/libcxx/test/std/containers/unord/unord.set/unord.set.cnstr/ |
H A D | hash_copy_constructible.fail.cpp | 18 struct Hash { struct 21 Hash () {} function in struct:Hash 23 Hash (const Hash &); // declared but not defined 28 std::unordered_set<int, Hash<int> > m;
|
/external/llvm/lib/Fuzzer/test/ |
H A D | SimpleHashTest.cpp | 16 uint32_t Hash = 0x12039854; local 18 Hash += Data[i]; 19 Hash += (Hash << 10); 20 Hash ^= (Hash >> 6); 22 Hash += (Hash << 3); 23 Hash ^= (Hash >> 1 [all...] |
/external/llvm/unittests/Support/ |
H A D | MD5Test.cpp | 24 MD5 Hash; local 25 Hash.update(Input); 27 Hash.final(MD5Res); 34 MD5 Hash; local 35 Hash.update(Input); 37 Hash.final(MD5Res);
|
/external/libcxx/test/std/containers/unord/unord.map/ |
H A D | swap_member.pass.cpp | 12 // template <class Key, class T, class Hash = hash<Key>, class Pred = equal_to<Key>, 32 typedef test_hash<std::hash<int> > Hash; typedef 35 typedef std::unordered_map<int, std::string, Hash, Compare, Alloc> C; 36 C c1(0, Hash(1), Compare(1), Alloc(1, 1)); 37 C c2(0, Hash(2), Compare(2), Alloc(1, 2)); 43 assert(c1.hash_function() == Hash(2)); 52 assert(c2.hash_function() == Hash(1)); 60 typedef test_hash<std::hash<int> > Hash; typedef 63 typedef std::unordered_map<int, std::string, Hash, Compare, Alloc> C; 76 C c1(0, Hash( 108 typedef test_hash<std::hash<int> > Hash; typedef 150 typedef test_hash<std::hash<int> > Hash; typedef 212 typedef test_hash<std::hash<int> > Hash; typedef 240 typedef test_hash<std::hash<int> > Hash; typedef 288 typedef test_hash<std::hash<int> > Hash; typedef 330 typedef test_hash<std::hash<int> > Hash; typedef 392 typedef test_hash<std::hash<int> > Hash; typedef 420 typedef test_hash<std::hash<int> > Hash; typedef 468 typedef test_hash<std::hash<int> > Hash; typedef 510 typedef test_hash<std::hash<int> > Hash; typedef [all...] |
/external/libcxx/test/std/containers/unord/unord.map/unord.map.swap/ |
H A D | swap_non_member.pass.cpp | 12 // template <class Key, class T, class Hash = hash<Key>, class Pred = equal_to<Key>, 32 typedef test_hash<std::hash<int> > Hash; typedef 35 typedef std::unordered_map<int, std::string, Hash, Compare, Alloc> C; 36 C c1(0, Hash(1), Compare(1), Alloc(1, 1)); 37 C c2(0, Hash(2), Compare(2), Alloc(1, 2)); 43 assert(c1.hash_function() == Hash(2)); 52 assert(c2.hash_function() == Hash(1)); 60 typedef test_hash<std::hash<int> > Hash; typedef 63 typedef std::unordered_map<int, std::string, Hash, Compare, Alloc> C; 76 C c1(0, Hash( 108 typedef test_hash<std::hash<int> > Hash; typedef 150 typedef test_hash<std::hash<int> > Hash; typedef 212 typedef test_hash<std::hash<int> > Hash; typedef 240 typedef test_hash<std::hash<int> > Hash; typedef 288 typedef test_hash<std::hash<int> > Hash; typedef 330 typedef test_hash<std::hash<int> > Hash; typedef 392 typedef test_hash<std::hash<int> > Hash; typedef 420 typedef test_hash<std::hash<int> > Hash; typedef 468 typedef test_hash<std::hash<int> > Hash; typedef 510 typedef test_hash<std::hash<int> > Hash; typedef [all...] |
/external/libcxx/test/std/containers/unord/unord.multimap/ |
H A D | swap_member.pass.cpp | 12 // template <class Key, class T, class Hash = hash<Key>, class Pred = equal_to<Key>, 33 typedef test_hash<std::hash<int> > Hash; typedef 36 typedef std::unordered_multimap<int, std::string, Hash, Compare, Alloc> C; 37 C c1(0, Hash(1), Compare(1), Alloc(1, 1)); 38 C c2(0, Hash(2), Compare(2), Alloc(1, 2)); 44 assert(c1.hash_function() == Hash(2)); 53 assert(c2.hash_function() == Hash(1)); 61 typedef test_hash<std::hash<int> > Hash; typedef 64 typedef std::unordered_multimap<int, std::string, Hash, Compare, Alloc> C; 77 C c1(0, Hash( 109 typedef test_hash<std::hash<int> > Hash; typedef 153 typedef test_hash<std::hash<int> > Hash; typedef 217 typedef test_hash<std::hash<int> > Hash; typedef 245 typedef test_hash<std::hash<int> > Hash; typedef 293 typedef test_hash<std::hash<int> > Hash; typedef 337 typedef test_hash<std::hash<int> > Hash; typedef 401 typedef test_hash<std::hash<int> > Hash; typedef 429 typedef test_hash<std::hash<int> > Hash; typedef 477 typedef test_hash<std::hash<int> > Hash; typedef 521 typedef test_hash<std::hash<int> > Hash; typedef [all...] |
/external/libcxx/test/std/containers/unord/unord.multimap/unord.multimap.swap/ |
H A D | swap_non_member.pass.cpp | 12 // template <class Key, class T, class Hash = hash<Key>, class Pred = equal_to<Key>, 32 typedef test_hash<std::hash<int> > Hash; typedef 35 typedef std::unordered_multimap<int, std::string, Hash, Compare, Alloc> C; 36 C c1(0, Hash(1), Compare(1), Alloc(1, 1)); 37 C c2(0, Hash(2), Compare(2), Alloc(1, 2)); 43 assert(c1.hash_function() == Hash(2)); 52 assert(c2.hash_function() == Hash(1)); 60 typedef test_hash<std::hash<int> > Hash; typedef 63 typedef std::unordered_multimap<int, std::string, Hash, Compare, Alloc> C; 76 C c1(0, Hash( 108 typedef test_hash<std::hash<int> > Hash; typedef 152 typedef test_hash<std::hash<int> > Hash; typedef 216 typedef test_hash<std::hash<int> > Hash; typedef 244 typedef test_hash<std::hash<int> > Hash; typedef 292 typedef test_hash<std::hash<int> > Hash; typedef 336 typedef test_hash<std::hash<int> > Hash; typedef 400 typedef test_hash<std::hash<int> > Hash; typedef 428 typedef test_hash<std::hash<int> > Hash; typedef 476 typedef test_hash<std::hash<int> > Hash; typedef 520 typedef test_hash<std::hash<int> > Hash; typedef [all...] |
/external/libcxx/test/std/containers/unord/unord.multiset/ |
H A D | swap_member.pass.cpp | 12 // template <class Value, class Hash = hash<Value>, class Pred = equal_to<Value>, 31 typedef test_hash<std::hash<int> > Hash; typedef 34 typedef std::unordered_multiset<int, Hash, Compare, Alloc> C; 35 C c1(0, Hash(1), Compare(1), Alloc(1, 1)); 36 C c2(0, Hash(2), Compare(2), Alloc(1, 2)); 42 assert(c1.hash_function() == Hash(2)); 51 assert(c2.hash_function() == Hash(1)); 59 typedef test_hash<std::hash<int> > Hash; typedef 62 typedef std::unordered_multiset<int, Hash, Compare, Alloc> C; 75 C c1(0, Hash( 107 typedef test_hash<std::hash<int> > Hash; typedef 149 typedef test_hash<std::hash<int> > Hash; typedef 211 typedef test_hash<std::hash<int> > Hash; typedef 239 typedef test_hash<std::hash<int> > Hash; typedef 287 typedef test_hash<std::hash<int> > Hash; typedef 329 typedef test_hash<std::hash<int> > Hash; typedef 391 typedef test_hash<std::hash<int> > Hash; typedef 419 typedef test_hash<std::hash<int> > Hash; typedef 467 typedef test_hash<std::hash<int> > Hash; typedef 509 typedef test_hash<std::hash<int> > Hash; typedef [all...] |
H A D | erase_const_iter.pass.cpp | 12 // template <class Value, class Hash = hash<Value>, class Pred = equal_to<Value>, 30 struct Hash { size_t operator() (const TemplateConstructor &) const { return 0; } }; struct 90 typedef std::unordered_set<T, Hash> C;
|
/external/libcxx/test/std/containers/unord/unord.multiset/unord.multiset.swap/ |
H A D | swap_non_member.pass.cpp | 12 // template <class Value, class Hash = hash<Value>, class Pred = equal_to<Value>, 31 typedef test_hash<std::hash<int> > Hash; typedef 34 typedef std::unordered_multiset<int, Hash, Compare, Alloc> C; 35 C c1(0, Hash(1), Compare(1), Alloc(1, 1)); 36 C c2(0, Hash(2), Compare(2), Alloc(1, 2)); 42 assert(c1.hash_function() == Hash(2)); 51 assert(c2.hash_function() == Hash(1)); 59 typedef test_hash<std::hash<int> > Hash; typedef 62 typedef std::unordered_multiset<int, Hash, Compare, Alloc> C; 75 C c1(0, Hash( 107 typedef test_hash<std::hash<int> > Hash; typedef 149 typedef test_hash<std::hash<int> > Hash; typedef 211 typedef test_hash<std::hash<int> > Hash; typedef 239 typedef test_hash<std::hash<int> > Hash; typedef 287 typedef test_hash<std::hash<int> > Hash; typedef 329 typedef test_hash<std::hash<int> > Hash; typedef 391 typedef test_hash<std::hash<int> > Hash; typedef 419 typedef test_hash<std::hash<int> > Hash; typedef 467 typedef test_hash<std::hash<int> > Hash; typedef 509 typedef test_hash<std::hash<int> > Hash; typedef [all...] |
/external/libcxx/test/std/containers/unord/unord.set/ |
H A D | swap_member.pass.cpp | 12 // template <class Value, class Hash = hash<Value>, class Pred = equal_to<Value>, 31 typedef test_hash<std::hash<int> > Hash; typedef 34 typedef std::unordered_set<int, Hash, Compare, Alloc> C; 35 C c1(0, Hash(1), Compare(1), Alloc(1, 1)); 36 C c2(0, Hash(2), Compare(2), Alloc(1, 2)); 42 assert(c1.hash_function() == Hash(2)); 51 assert(c2.hash_function() == Hash(1)); 59 typedef test_hash<std::hash<int> > Hash; typedef 62 typedef std::unordered_set<int, Hash, Compare, Alloc> C; 75 C c1(0, Hash( 107 typedef test_hash<std::hash<int> > Hash; typedef 149 typedef test_hash<std::hash<int> > Hash; typedef 211 typedef test_hash<std::hash<int> > Hash; typedef 239 typedef test_hash<std::hash<int> > Hash; typedef 287 typedef test_hash<std::hash<int> > Hash; typedef 329 typedef test_hash<std::hash<int> > Hash; typedef 391 typedef test_hash<std::hash<int> > Hash; typedef 419 typedef test_hash<std::hash<int> > Hash; typedef 467 typedef test_hash<std::hash<int> > Hash; typedef 509 typedef test_hash<std::hash<int> > Hash; typedef [all...] |
H A D | erase_const_iter.pass.cpp | 12 // template <class Value, class Hash = hash<Value>, class Pred = equal_to<Value>, 30 struct Hash { size_t operator() (const TemplateConstructor &) const { return 0; } }; struct 88 typedef std::unordered_set<T, Hash> C;
|
/external/libcxx/test/std/containers/unord/unord.set/unord.set.swap/ |
H A D | swap_non_member.pass.cpp | 12 // template <class Value, class Hash = hash<Value>, class Pred = equal_to<Value>, 31 typedef test_hash<std::hash<int> > Hash; typedef 34 typedef std::unordered_set<int, Hash, Compare, Alloc> C; 35 C c1(0, Hash(1), Compare(1), Alloc(1, 1)); 36 C c2(0, Hash(2), Compare(2), Alloc(1, 2)); 42 assert(c1.hash_function() == Hash(2)); 51 assert(c2.hash_function() == Hash(1)); 59 typedef test_hash<std::hash<int> > Hash; typedef 62 typedef std::unordered_set<int, Hash, Compare, Alloc> C; 75 C c1(0, Hash( 107 typedef test_hash<std::hash<int> > Hash; typedef 149 typedef test_hash<std::hash<int> > Hash; typedef 211 typedef test_hash<std::hash<int> > Hash; typedef 239 typedef test_hash<std::hash<int> > Hash; typedef 287 typedef test_hash<std::hash<int> > Hash; typedef 329 typedef test_hash<std::hash<int> > Hash; typedef 391 typedef test_hash<std::hash<int> > Hash; typedef 419 typedef test_hash<std::hash<int> > Hash; typedef 467 typedef test_hash<std::hash<int> > Hash; typedef 509 typedef test_hash<std::hash<int> > Hash; typedef [all...] |
/external/libmojo/mojo/public/cpp/bindings/lib/ |
H A D | native_struct.cc | 30 size_t NativeStruct::Hash(size_t seed) const { function in class:mojo::NativeStruct 31 return internal::Hash(seed, data);
|
H A D | hash_util.h | 29 static char Test(decltype(&U::Hash)); 42 size_t Hash(size_t seed, const T& value); 46 static size_t Hash(size_t seed, const T& value) { return value.Hash(seed); } function in struct:mojo::internal::HashTraits 51 static size_t Hash(size_t seed, const T& value) { function in struct:mojo::internal::HashTraits 58 static size_t Hash(size_t seed, const std::vector<T>& value) { function in struct:mojo::internal::HashTraits 68 static size_t Hash(size_t seed, const base::Optional<std::vector<T>>& value) { function in struct:mojo::internal::HashTraits 72 return Hash(seed, *value); 77 size_t Hash(size_t seed, const T& value) { function in namespace:mojo::internal 78 return HashTraits<T>::Hash(see [all...] |
/external/webrtc/webrtc/base/ |
H A D | socketaddresspair.cc | 37 size_t SocketAddressPair::Hash() const { function in class:rtc::SocketAddressPair 38 return src_.Hash() ^ dest_.Hash();
|
/external/compiler-rt/lib/ubsan/ |
H A D | ubsan_handlers_cxx.cc | 35 DynamicTypeCacheMissData *Data, ValueHandle Pointer, ValueHandle Hash, 37 if (checkDynamicType((void*)Pointer, Data->TypeInfo, Hash)) 85 DynamicTypeCacheMissData *Data, ValueHandle Pointer, ValueHandle Hash) { 87 HandleDynamicTypeCacheMiss(Data, Pointer, Hash, Opts); 90 DynamicTypeCacheMissData *Data, ValueHandle Pointer, ValueHandle Hash) { 93 if (HandleDynamicTypeCacheMiss(Data, Pointer, Hash, Opts)) 34 HandleDynamicTypeCacheMiss( DynamicTypeCacheMissData *Data, ValueHandle Pointer, ValueHandle Hash, ReportOptions Opts) argument 84 __ubsan_handle_dynamic_type_cache_miss( DynamicTypeCacheMissData *Data, ValueHandle Pointer, ValueHandle Hash) argument 89 __ubsan_handle_dynamic_type_cache_miss_abort( DynamicTypeCacheMissData *Data, ValueHandle Pointer, ValueHandle Hash) argument
|
H A D | ubsan_type_hash_win.cc | 41 bool __ubsan::checkDynamicType(void *Object, void *Type, HashValue Hash) { argument
|
/external/libcxx/test/std/containers/unord/unord.map/unord.map.modifiers/ |
H A D | erase_const_iter.pass.cpp | 12 // template <class Key, class T, class Hash = hash<Key>, class Pred = equal_to<Key>, 32 struct Hash { size_t operator() (const TemplateConstructor &) const { return 0; } }; struct 83 typedef std::unordered_map<T, int, Hash> C;
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
H A D | ByteStreamer.h | 60 DIEHash &Hash; member in class:llvm::final 62 HashingByteStreamer(DIEHash &H) : Hash(H) {} 64 Hash.update(Byte); 67 Hash.addSLEB128(DWord); 70 Hash.addULEB128(DWord);
|
/external/llvm/lib/DebugInfo/PDB/Raw/ |
H A D | Hash.cpp | 1 //===- Hash.cpp - PDB Hash Functions --------------------------------------===// 10 #include "llvm/DebugInfo/PDB/Raw/Hash.h" 33 // Maximum of 3 bytes left. Hash a 2 byte word if possible, then hash the 57 uint32_t Hash = 0xb170a1bf; local 65 Hash += Item; 66 Hash += (Hash << 10); 67 Hash ^= (Hash >> 127 uint32_t Hash = 0; local [all...] |
/external/llvm/lib/Transforms/Utils/ |
H A D | NameAnonFunctions.cpp | 52 MD5::MD5Result Hash; local 53 Hasher.final(Hash); 55 MD5::stringifyResult(Hash, Result);
|