/external/chromium_org/v8/test/mjsunit/ |
call-stub.js | 28 function Hash() { 36 Hash.prototype.m = function() { 40 var h = new Hash(); 55 Hash.prototype.wwwww = Hash.prototype.m;
|
/external/chromium_org/base/ |
hash.h | 17 // WARNING: This hash function should not be used for any cryptographic purpose. 20 // Computes a hash of a memory buffer |data| of a given |length|. 21 // WARNING: This hash function should not be used for any cryptographic purpose. 22 inline uint32 Hash(const char* data, size_t length) { 30 // Computes a hash of a string |str|. 31 // WARNING: This hash function should not be used for any cryptographic purpose. 32 inline uint32 Hash(const std::string& str) { 33 return Hash(str.data(), str.size());
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
socketaddresspair.cc | 54 size_t SocketAddressPair::Hash() const { 55 return src_.Hash() ^ dest_.Hash();
|
/external/chromium_org/third_party/webrtc/base/ |
socketaddresspair.cc | 37 size_t SocketAddressPair::Hash() const { 38 return src_.Hash() ^ dest_.Hash();
|
/external/llvm/unittests/Support/ |
MD5Test.cpp | 24 MD5 Hash; 25 Hash.update(Input); 27 Hash.final(MD5Res); 34 MD5 Hash; 35 Hash.update(Input); 37 Hash.final(MD5Res);
|
/external/llvm/include/llvm/ProfileData/ |
InstrProfWriter.h | 32 uint64_t Hash; 39 /// for this function and the hash and number of counts match, each counter is
|
/external/chromium_org/third_party/WebKit/Source/platform/weborigin/ |
SecurityOriginHash.h | 39 static unsigned hash(SecurityOrigin* origin) function in struct:WebCore::SecurityOriginHash 42 origin->protocol().impl() ? origin->protocol().impl()->hash() : 0, 43 origin->host().impl() ? origin->host().impl()->hash() : 0, 48 static unsigned hash(const RefPtr<SecurityOrigin>& origin) function in struct:WebCore::SecurityOriginHash 50 return hash(origin.get()); 95 typedef WebCore::SecurityOriginHash Hash;
|
/external/chromium_org/third_party/leveldatabase/src/util/ |
hash.cc | 7 #include "util/hash.h" 18 uint32_t Hash(const char* data, size_t n, uint32_t seed) { 19 // Similar to murmur hash
|
/external/chromium_org/third_party/skia/include/gpu/ |
GrKey.h | 15 typedef intptr_t Hash; 17 explicit GrKey(Hash hash) : fHash(hash) {} 33 const Hash fHash;
|
/external/libcxx/test/containers/unord/unord.map/ |
swap_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; 33 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 [all...] |
/external/libcxx/test/containers/unord/unord.map/unord.map.swap/ |
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; 33 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 [all...] |
/external/libcxx/test/containers/unord/unord.multimap/ |
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; 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 [all...] |
/external/libcxx/test/containers/unord/unord.multimap/unord.multimap.swap/ |
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; 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 [all...] |
/external/libcxx/test/containers/unord/unord.multiset/ |
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; 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 [all...] |
/external/libcxx/test/containers/unord/unord.multiset/unord.multiset.swap/ |
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; 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 [all...] |
/external/libcxx/test/containers/unord/unord.set/ |
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; 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 [all...] |
/external/libcxx/test/containers/unord/unord.set/unord.set.swap/ |
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; 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 [all...] |
/external/llvm/lib/CodeGen/AsmPrinter/ |
ByteStreamer.h | 56 DIEHash &Hash; 58 HashingByteStreamer(DIEHash &H) : Hash(H) {} 60 Hash.update(Byte); 63 Hash.addSLEB128(DWord); 66 Hash.addULEB128(DWord);
|
/external/skia/include/gpu/ |
GrKey.h | 15 typedef intptr_t Hash; 17 explicit GrKey(Hash hash) : fHash(hash) {} 33 const Hash fHash;
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.map/ |
swap_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; 33 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 [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.map/unord.map.swap/ |
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; 33 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 [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.multimap/ |
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; 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 [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.multimap/unord.multimap.swap/ |
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; 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 [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.multiset/ |
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; 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 [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.multiset/unord.multiset.swap/ |
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; 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 [all...] |