/external/llvm/lib/Fuzzer/test/ |
H A D | SimpleHashTest.cpp | 13 uint32_t Hash = 0x12039854; local 15 Hash += Data[i]; 16 Hash += (Hash << 10); 17 Hash ^= (Hash >> 6); 19 Hash += (Hash << 3); 20 Hash ^= (Hash >> 1 [all...] |
/external/v8/test/mjsunit/ |
H A D | call-stub.js | 28 function Hash() { function 36 Hash.prototype.m = function() { 40 var h = new Hash(); 55 Hash.prototype.wwwww = Hash.prototype.m; 34 Hash.prototype.m = function() { class
|
/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/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();
|
H A D | socketaddresspair.h | 32 size_t Hash() const;
|
/external/v8/test/cctest/ |
H A D | test-simd.cc | 22 CHECK_EQ(a->Hash(), b->Hash()); \ 26 CHECK_NE(a->Hash(), b->Hash()); \ 31 CHECK_EQ(a->Hash(), b->Hash()); \ 38 CHECK_NE(a->Hash(), b->Hash()); \ 41 CHECK_EQ(a->Hash(), b->Hash()); \ [all...] |
/external/libchrome/base/ |
H A D | hash.h | 18 inline uint32_t Hash(const std::string& str) { function in namespace:base
|
/external/libchrome/sandbox/linux/bpf_dsl/ |
H A D | codegen_unittest.cc | 23 // Hash provides an abstraction for building "hash trees" from BPF 29 class Hash { class in namespace:sandbox::__anon9410 31 static const Hash kZero; 33 Hash() : digest_() {} function in class:sandbox::__anon9410::Hash 35 Hash(uint16_t code, function in class:sandbox::__anon9410::Hash 37 const Hash& jt = kZero, 38 const Hash& jf = kZero) 49 Hash(const Hash& hash) = default; 50 Hash [all...] |
/external/compiler-rt/lib/ubsan/ |
H A D | ubsan_handlers_cxx.h | 39 DynamicTypeCacheMissData *Data, ValueHandle Pointer, ValueHandle Hash); 42 DynamicTypeCacheMissData *Data, ValueHandle Pointer, ValueHandle Hash);
|
H A D | ubsan_handlers_cxx.cc | 34 DynamicTypeCacheMissData *Data, ValueHandle Pointer, ValueHandle Hash, 36 if (checkDynamicType((void*)Pointer, Data->TypeInfo, Hash)) 78 DynamicTypeCacheMissData *Data, ValueHandle Pointer, ValueHandle Hash) { 80 HandleDynamicTypeCacheMiss(Data, Pointer, Hash, Opts); 83 DynamicTypeCacheMissData *Data, ValueHandle Pointer, ValueHandle Hash) { 86 if (HandleDynamicTypeCacheMiss(Data, Pointer, Hash, Opts)) 33 HandleDynamicTypeCacheMiss( DynamicTypeCacheMissData *Data, ValueHandle Pointer, ValueHandle Hash, ReportOptions Opts) argument 77 __ubsan_handle_dynamic_type_cache_miss( DynamicTypeCacheMissData *Data, ValueHandle Pointer, ValueHandle Hash) argument 82 __ubsan_handle_dynamic_type_cache_miss_abort( DynamicTypeCacheMissData *Data, ValueHandle Pointer, ValueHandle Hash) argument
|
H A D | ubsan_type_hash_itanium.cc | 207 bool __ubsan::checkDynamicType(void *Object, void *Type, HashValue Hash) { argument 212 HashValue *Bucket = getTypeCacheHashTableBucket(Hash); 213 if (*Bucket == Hash) { 214 __ubsan_vptr_type_cache[Hash % VptrTypeCacheSize] = Hash; 234 __ubsan_vptr_type_cache[Hash % VptrTypeCacheSize] = Hash; 235 *Bucket = Hash;
|
/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>, 31 typedef test_hash<std::hash<int> > Hash; typedef 34 typedef std::unordered_map<int, std::string, Hash, Compare, Alloc> C; 35 C c1(0, Hash(1), Compare(1), Alloc(1)); 36 C c2(0, Hash(2), Compare(2), Alloc(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_map<int, std::string, 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.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>, 31 typedef test_hash<std::hash<int> > Hash; typedef 34 typedef std::unordered_map<int, std::string, Hash, Compare, Alloc> C; 35 C c1(0, Hash(1), Compare(1), Alloc(1)); 36 C c2(0, Hash(2), Compare(2), Alloc(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_map<int, std::string, 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.multimap/ |
H A D | swap_member.pass.cpp | 12 // template <class Key, class T, class Hash = hash<Key>, class Pred = equal_to<Key>, 31 typedef test_hash<std::hash<int> > Hash; typedef 34 typedef std::unordered_multimap<int, std::string, Hash, Compare, Alloc> C; 36 C c1(0, Hash(1), Compare(1), Alloc(1)); 37 C c2(0, Hash(2), Compare(2), Alloc(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 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 430 typedef test_hash<std::hash<int> > Hash; typedef 478 typedef test_hash<std::hash<int> > Hash; typedef 522 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>, 30 typedef test_hash<std::hash<int> > Hash; typedef 33 typedef std::unordered_multimap<int, std::string, Hash, Compare, Alloc> C; 35 C c1(0, Hash(1), Compare(1), Alloc(1)); 36 C c2(0, Hash(2), Compare(2), Alloc(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_multimap<int, std::string, Hash, Compare, Alloc> C; 75 C c1(0, Hash( 107 typedef test_hash<std::hash<int> > Hash; typedef 151 typedef test_hash<std::hash<int> > Hash; typedef 215 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 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.multiset/ |
H A D | swap_member.pass.cpp | 12 // template <class Value, class Hash = hash<Value>, class Pred = equal_to<Value>, 29 typedef test_hash<std::hash<int> > Hash; typedef 32 typedef std::unordered_multiset<int, Hash, Compare, Alloc> C; 34 C c1(0, Hash(1), Compare(1), Alloc(1)); 35 C c2(0, Hash(2), Compare(2), Alloc(2)); 41 assert(c1.hash_function() == Hash(2)); 50 assert(c2.hash_function() == Hash(1)); 58 typedef test_hash<std::hash<int> > Hash; typedef 61 typedef std::unordered_multiset<int, Hash, Compare, Alloc> C; 74 C c1(0, Hash( 106 typedef test_hash<std::hash<int> > Hash; typedef 148 typedef test_hash<std::hash<int> > Hash; typedef 210 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 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.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>, 29 typedef test_hash<std::hash<int> > Hash; typedef 32 typedef std::unordered_multiset<int, Hash, Compare, Alloc> C; 34 C c1(0, Hash(1), Compare(1), Alloc(1)); 35 C c2(0, Hash(2), Compare(2), Alloc(2)); 41 assert(c1.hash_function() == Hash(2)); 50 assert(c2.hash_function() == Hash(1)); 58 typedef test_hash<std::hash<int> > Hash; typedef 61 typedef std::unordered_multiset<int, Hash, Compare, Alloc> C; 74 C c1(0, Hash( 106 typedef test_hash<std::hash<int> > Hash; typedef 148 typedef test_hash<std::hash<int> > Hash; typedef 210 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 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.set/ |
H A D | swap_member.pass.cpp | 12 // template <class Value, class Hash = hash<Value>, class Pred = equal_to<Value>, 29 typedef test_hash<std::hash<int> > Hash; typedef 32 typedef std::unordered_set<int, Hash, Compare, Alloc> C; 34 C c1(0, Hash(1), Compare(1), Alloc(1)); 35 C c2(0, Hash(2), Compare(2), Alloc(2)); 41 assert(c1.hash_function() == Hash(2)); 50 assert(c2.hash_function() == Hash(1)); 58 typedef test_hash<std::hash<int> > Hash; typedef 61 typedef std::unordered_set<int, Hash, Compare, Alloc> C; 74 C c1(0, Hash( 106 typedef test_hash<std::hash<int> > Hash; typedef 148 typedef test_hash<std::hash<int> > Hash; typedef 210 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 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.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>, 29 typedef test_hash<std::hash<int> > Hash; typedef 32 typedef std::unordered_set<int, Hash, Compare, Alloc> C; 34 C c1(0, Hash(1), Compare(1), Alloc(1)); 35 C c2(0, Hash(2), Compare(2), Alloc(2)); 41 assert(c1.hash_function() == Hash(2)); 50 assert(c2.hash_function() == Hash(1)); 58 typedef test_hash<std::hash<int> > Hash; typedef 61 typedef std::unordered_set<int, Hash, Compare, Alloc> C; 74 C c1(0, Hash( 106 typedef test_hash<std::hash<int> > Hash; typedef 148 typedef test_hash<std::hash<int> > Hash; typedef 210 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 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/v8/src/compiler/ |
H A D | node-cache.cc | 23 template <typename Key, typename Hash, typename Pred> 24 struct NodeCache<Key, Hash, Pred>::Entry { 30 template <typename Key, typename Hash, typename Pred> 31 bool NodeCache<Key, Hash, Pred>::Resize(Zone* zone) { 63 template <typename Key, typename Hash, typename Pred> 64 Node** NodeCache<Key, Hash, Pred>::Find(Zone* zone, Key key) { 101 template <typename Key, typename Hash, typename Pred> 102 void NodeCache<Key, Hash, Pred>::GetCachedNodes(ZoneVector<Node*>* nodes) {
|
/external/v8/src/ |
H A D | flags.h | 61 // Hash of flags (to quickly determine mismatching flag expectations). 63 static uint32_t Hash();
|
/external/libchrome/base/containers/ |
H A D | hash_tables.h | 135 class Hash = std::hash<Key>, 138 using hash_map = std::unordered_map<Key, T, Hash, Pred, Alloc>; 141 class Hash = std::hash<Key>, 144 using hash_multimap = std::unordered_multimap<Key, T, Hash, Pred, Alloc>; 147 class Hash = std::hash<Key>, 150 using hash_multiset = std::unordered_multiset<Key, Hash, Pred, Alloc>; 153 class Hash = std::hash<Key>, 156 using hash_set = std::unordered_set<Key, Hash, Pred, Alloc>; 163 class Hash = BASE_HASH_NAMESPACE::hash<Key>, 166 using hash_map = BASE_HASH_IMPL_NAMESPACE::hash_map<Key, T, Hash, Pre [all...] |
/external/skia/src/gpu/effects/ |
H A D | GrTextureStripAtlas.h | 140 // Hash table entry for atlases 145 static uint32_t Hash(const Desc& desc) { return SkChecksum::Murmur3(&desc, sizeof(Desc)); } function in class:GrTextureStripAtlas::AtlasEntry 154 class Hash; 155 static Hash* gAtlasCache; 157 static Hash* GetCache();
|
/external/v8/src/snapshot/ |
H A D | serializer-common.cc | 26 map_->Lookup(addr, Hash(addr)) == nullptr); 27 map_->LookupOrInsert(addr, Hash(addr))->value = reinterpret_cast<void*>(i); 35 const_cast<base::HashMap*>(map_)->Lookup(address, Hash(address)); 43 const_cast<base::HashMap*>(map_)->Lookup(address, Hash(address));
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
H A D | ByteStreamer.h | 61 DIEHash &Hash; member in class:llvm::final 63 HashingByteStreamer(DIEHash &H) : Hash(H) {} 65 Hash.update(Byte); 68 Hash.addSLEB128(DWord); 71 Hash.addULEB128(DWord);
|