HomeSort by relevance Sort by last modified time
    Searched defs:Hash (Results 1 - 25 of 51) sorted by null

1 2 3

  /external/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/net/disk_cache/
hash.h 15 // From http://www.azillionmonkeys.com/qed/hash.html
16 // This is the hash used on WebCore/platform/stringhash
19 inline uint32 Hash(const char* key, size_t length) {
23 inline uint32 Hash(const std::string& key) {
  /external/chromium/third_party/libjingle/source/talk/base/
socketaddresspair.cc 54 size_t SocketAddressPair::Hash() const {
55 return src_.Hash() ^ dest_.Hash();
  /external/skia/gpu/include/
GrKey.h 25 typedef intptr_t Hash;
27 explicit GrKey(Hash hash) : fHash(hash) {}
43 const Hash fHash;
  /external/chromium/net/base/
ssl_false_start_blacklist.h 14 // precompiled by the code in ssl_false_start_blacklist_process.cc into a hash
22 // Hash returns the modified djb2 hash of the given string.
23 static unsigned Hash(const char* str) {
24 // This is inline because the code which generates the hash table needs to
29 unsigned hash = 5381; local
33 hash = ((hash << 5) + hash) ^ c;
34 return hash;
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/
IntPointHash.h 31 static unsigned hash(const WebCore::IntPoint& p) { return WTF::intHash(static_cast<uint64_t>(p.x()) << 32 | p.y()); } function in struct:WTF::IntPointHash
43 typedef IntPointHash Hash;
IntRectHash.h 38 static unsigned hash(const WebCore::IntRect& key) function in struct:WTF::IntHash
40 return intHash(static_cast<uint64_t>(DefaultHash<WebCore::IntPoint>::Hash::hash(key.location())) << 32 | DefaultHash<WebCore::IntSize>::Hash::hash(key.size()));
44 return DefaultHash<WebCore::IntPoint>::Hash::equal(a.location(), b.location()) && DefaultHash<WebCore::IntSize>::Hash::equal(a.size(), b.size());
48 template<> struct DefaultHash<WebCore::IntRect> { typedef IntHash<WebCore::IntRect> Hash; };
IntSizeHash.h 30 static unsigned hash(const WebCore::IntSize& key) { return intHash((static_cast<uint64_t>(key.width()) << 32 | key.height())); } function in struct:WTF::IntHash
34 template<> struct DefaultHash<WebCore::IntSize> { typedef IntHash<WebCore::IntSize> Hash; };
  /external/webkit/Source/WebCore/platform/network/
ProtectionSpaceHash.h 35 static unsigned hash(const ProtectionSpace& protectionSpace) function in struct:WebCore::ProtectionSpaceHash
38 protectionSpace.host().impl() ? protectionSpace.host().impl()->hash() : 0,
42 protectionSpace.realm().impl() ? protectionSpace.realm().impl()->hash() : 0
64 typedef WebCore::ProtectionSpaceHash Hash;
  /frameworks/base/media/libstagefright/foundation/
AAtomizer.cpp 41 size_t index = AAtomizer::Hash(name) % n;
57 uint32_t AAtomizer::Hash(const char *s) {
  /external/chromium/chrome/common/
visitedlink_common.h 30 // for looking things up in the hash table, and for computing hash values and
50 // A hash value of a fingerprint
51 typedef int32 Hash;
53 // A fingerprint or hash value that does not exist
55 static const Hash null_hash_;
110 // Computes the hash value of the given fingerprint, this is used as a lookup
112 static Hash HashFingerprint(Fingerprint fingerprint, int32 table_length) {
115 return static_cast<Hash>(fingerprint % table_length);
118 Hash HashFingerprint(Fingerprint fingerprint) const
    [all...]
  /external/webkit/Source/JavaScriptCore/wtf/
HashFunctions.h 35 // integer hash function
90 static unsigned hash(T key) { return intHash(static_cast<typename IntTypes<sizeof(T)>::UnsignedType>(key)); } function in struct:WTF::IntHash
96 static unsigned hash(T key) function in struct:WTF::FloatHash
109 // pointer identity hash function
112 static unsigned hash(T key) function in struct:WTF::PtrHash
118 return IntHash<uintptr_t>::hash(reinterpret_cast<uintptr_t>(key));
127 using PtrHash<P*>::hash;
128 static unsigned hash(const RefPtr<P>& key) { return hash(key.get()); } function in struct:WTF::PtrHash
135 // default hash function for each typ
140 static unsigned hash(const std::pair<T, U>& p) function in struct:WTF::PairHash
    [all...]
TCPackedCache.h 72 // a hash function, H, and use an array indexed by H(key):
103 // the hash function simply takes the low bits of the key.
154 array_[Hash(key)] = static_cast<T>(KeyToUpper(key) | value);
159 return KeyMatch(array_[Hash(key)], key);
168 T entry = array_[Hash(key)];
208 static size_t Hash(K key) {
RetainPtr.h 68 // Hash table deleted values, which are only constructed and never copied or destroyed.
240 using PtrHash<P*>::hash;
241 static unsigned hash(const RetainPtr<P>& key) { return hash(key.get()); } function in struct:WTF::PtrHash
248 template<typename P> struct DefaultHash<RetainPtr<P> > { typedef PtrHash<RetainPtr<P> > Hash; };
  /external/webkit/Source/WebCore/platform/
Cookie.h 63 static unsigned hash(Cookie key) function in struct:WebCore::CookieHash
65 return StringHash::hash(key.name) + StringHash::hash(key.domain) + StringHash::hash(key.path) + key.secure;
78 typedef WebCore::CookieHash Hash;
  /external/chromium/sdch/open-vcdiff/src/
rolling_hash.h 29 // Definitions common to all hash window sizes.
65 // Here's the heart of the hash algorithm. Start with a partial_hash value of
67 // hashed. The result will be the hash value for the entire data window. The
68 // Hash() function, below, does exactly this, albeit with some refinements.
74 // Use this function to start computing a new hash value based on the first
108 // instance of this type to use UpdateHash(), but Hash() does not depend on
117 // Compute a hash of the window "ptr[0, window_size - 1]".
118 static uint32_t Hash(const char* ptr) {
126 // Update a hash by removing the oldest byte and adding a new byte.
128 // UpdateHash takes the hash value of buffer[0] ... buffer[window_size -1
    [all...]
  /external/llvm/lib/CodeGen/
BranchFolding.h 34 unsigned Hash;
38 : Hash(h), Block(b) {}
40 unsigned getHash() const { return Hash; }
  /external/v8/test/cctest/
test-hashmap.cc 46 explicit IntSet(IntKeyHash hash) : hash_(hash), map_(DefaultMatchFun) {}
89 static uint32_t Hash(uint32_t key) { return 23; }
93 void TestSet(IntKeyHash hash, int size) {
94 IntSet set(hash);
174 TestSet(Hash, 100);
  /external/webkit/Source/JavaScriptCore/profiler/
CallIdentifier.h 58 struct Hash {
59 static unsigned hash(const CallIdentifier& key) function in struct:JSC::CallIdentifier::Hash
62 key.m_name.impl()->hash(),
63 key.m_url.impl()->hash(),
73 unsigned hash() const { return Hash::hash(*this); } function in struct:JSC::CallIdentifier
85 template<> struct DefaultHash<JSC::CallIdentifier> { typedef JSC::CallIdentifier::Hash Hash; };
  /external/webkit/Source/JavaScriptCore/runtime/
RegExpKey.h 96 static unsigned hash(const JSC::RegExpKey& key) { return key.pattern->hash(); } function in struct:WTF::RegExpHash
102 typedef RegExpHash<JSC::RegExpKey> Hash;
StructureTransitionTable.h 43 struct Hash {
45 static unsigned hash(const Key& p) function in struct:JSC::StructureTransitionTable::Hash
73 static void* finalizerContextFor(Hash::Key)
78 static inline Hash::Key keyForFinalizer(void* context, Structure* structure)
84 typedef WeakGCMap<Hash::Key, Structure, WeakGCMapFinalizerCallback, Hash, HashTraits> TransitionMap;
86 static Hash::Key keyForWeakGCMapFinalizer(void* context, Structure*);
UString.h 190 static unsigned hash(StringImpl* key) { return key->hash(); } function in struct:JSC::UStringHash
230 static unsigned hash(const RefPtr<StringImpl>& key) { return key->hash(); } function in struct:JSC::UStringHash
236 static unsigned hash(const UString& key) { return key.impl()->hash(); } function in struct:JSC::UStringHash
249 // UStringHash is the default hash for UString
252 typedef JSC::UStringHash Hash;
  /external/srec/tools/thirdparty/OpenFst/fst/lib/
float-weight.h 54 ssize_t Hash() const {
product-weight.h 72 ssize_t Hash() const {
73 ssize_t h1 = value1_.Hash();
74 ssize_t h2 = value2_.Hash();
  /external/v8/src/
serialize.h 73 static uint32_t Hash(Address key) {
366 return serialization_map_->Lookup(Key(obj), Hash(obj), false) != NULL;
372 serialization_map_->Lookup(Key(obj), Hash(obj), false)->value));
378 serialization_map_->Lookup(Key(obj), Hash(obj), true);
387 RLYSTC uint32_t Hash(HeapObject* obj) {

Completed in 1848 milliseconds

1 2 3