Searched defs:Hash (Results 1 - 25 of 138) sorted by relevance

123456

/external/libcxx/test/std/containers/unord/unord.map/unord.map.cnstr/
H A Dhash_copy_constructible.fail.cpp21 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 Dhash_copy_constructible.fail.cpp21 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 Dhash_copy_constructible.fail.cpp18 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 Dhash_copy_constructible.fail.cpp18 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 DSimpleHashTest.cpp16 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 DMD5Test.cpp24 MD5 Hash; local
25 Hash.update(Input);
27 Hash.final(MD5Res);
34 MD5 Hash; local
35 Hash.update(Input);
37 Hash.final(MD5Res);
H A Draw_sha1_ostream_test.cpp35 auto Hash = toHex(Sha1Stream.sha1()); local
37 ASSERT_EQ("2EF7BDE608CE5404E97D5F042F95F89F1C232871", Hash);
45 auto Hash = toHex(Sha1Stream.sha1()); local
47 ASSERT_EQ("F7FF9E8B7BB2E09B70935A5D785E0CC5D9D0ABF0", Hash);
49 Hash = toHex(Sha1Stream.sha1());
56 ASSERT_EQ(NonSplitHash, Hash);
62 auto Hash = toHex(Sha1Stream.sha1()); local
64 ASSERT_EQ("F7FF9E8B7BB2E09B70935A5D785E0CC5D9D0ABF0", Hash);
68 Hash = toHex(Sha1Stream.sha1());
70 ASSERT_EQ("7447F2A5A42185C8CF91E632789C431830B59067", Hash);
[all...]
/external/libcxx/test/std/containers/unord/unord.map/
H A Dswap_member.pass.cpp12 // 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 Dswap_non_member.pass.cpp12 // 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 Dswap_member.pass.cpp12 // 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 Dswap_non_member.pass.cpp12 // 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 Dswap_member.pass.cpp12 // 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 Derase_const_iter.pass.cpp12 // 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 Dswap_non_member.pass.cpp12 // 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 Dswap_member.pass.cpp12 // 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 Derase_const_iter.pass.cpp12 // 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 Dswap_non_member.pass.cpp12 // 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/webrtc/webrtc/base/
H A Dsocketaddresspair.cc37 size_t SocketAddressPair::Hash() const { function in class:rtc::SocketAddressPair
38 return src_.Hash() ^ dest_.Hash();
/external/compiler-rt/lib/ubsan/
H A Dubsan_handlers_cxx.cc35 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 Dubsan_type_hash_win.cc41 bool __ubsan::checkDynamicType(void *Object, void *Type, HashValue Hash) { argument
/external/libcxx/test/std/containers/unord/unord.map/unord.map.modifiers/
H A Derase_const_iter.pass.cpp12 // 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 DByteStreamer.h60 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 DHash.cpp1 //===- 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 DNameAnonFunctions.cpp52 MD5::MD5Result Hash; local
53 Hasher.final(Hash);
55 MD5::stringifyResult(Hash, Result);
/external/skia/src/gpu/vk/
H A DGrVkSampler.h29 static uint32_t Hash(const uint16_t& key) { return key; } function in class:GrVkSampler

Completed in 638 milliseconds

123456