Searched refs:Hash (Results 1 - 25 of 64) sorted by relevance

123

/external/chromium/net/disk_cache/
H A Dhash.h18 inline uint32 Hash(const char* key, size_t length) { function in namespace:disk_cache
22 inline uint32 Hash(const std::string& key) { function in namespace:disk_cache
H A Ddisk_cache_perftest.cc142 TEST_F(DiskCacheTest, Hash) {
146 PerfTimeLogger timer("Hash disk cache keys");
149 disk_cache::Hash(key);
/external/webkit/JavaScriptCore/wtf/
H A DHashFunctions.h142 return intHash((static_cast<uint64_t>(DefaultHash<T>::Hash::hash(p.first)) << 32 | DefaultHash<U>::Hash::hash(p.second)));
146 return DefaultHash<T>::Hash::equal(a.first, b.first) && DefaultHash<U>::Hash::equal(a.second, b.second);
148 static const bool safeToCompareToEmptyOrDeleted = DefaultHash<T>::Hash::safeToCompareToEmptyOrDeleted
149 && DefaultHash<U>::Hash::safeToCompareToEmptyOrDeleted;
154 template<> struct DefaultHash<short> { typedef IntHash<unsigned> Hash; }; typedef in struct:WTF::DefaultHash
155 template<> struct DefaultHash<unsigned short> { typedef IntHash<unsigned> Hash; }; typedef in struct:WTF::DefaultHash
156 template<> struct DefaultHash<int> { typedef IntHash<unsigned> Hash; }; typedef in struct:WTF::DefaultHash
157 template<> struct DefaultHash<unsigned> { typedef IntHash<unsigned> Hash; }; typedef in struct:WTF::DefaultHash
158 template<> struct DefaultHash<long> { typedef IntHash<unsigned long> Hash; }; typedef in struct:WTF::DefaultHash
159 template<> struct DefaultHash<unsigned long> { typedef IntHash<unsigned long> Hash; }; typedef in struct:WTF::DefaultHash
160 template<> struct DefaultHash<long long> { typedef IntHash<unsigned long long> Hash; }; typedef in struct:WTF::DefaultHash
161 template<> struct DefaultHash<unsigned long long> { typedef IntHash<unsigned long long> Hash; }; typedef in struct:WTF::DefaultHash
164 template<> struct DefaultHash<wchar_t> { typedef IntHash<wchar_t> Hash; }; typedef in struct:WTF::DefaultHash
167 template<> struct DefaultHash<float> { typedef FloatHash<float> Hash; }; typedef in struct:WTF::DefaultHash
168 template<> struct DefaultHash<double> { typedef FloatHash<double> Hash; }; typedef in struct:WTF::DefaultHash
172 template<typename P> struct DefaultHash<P*> { typedef PtrHash<P*> Hash; }; typedef in struct:WTF::DefaultHash
173 template<typename P> struct DefaultHash<RefPtr<P> > { typedef PtrHash<RefPtr<P> > Hash; }; typedef in struct:WTF::DefaultHash
175 template<typename T, typename U> struct DefaultHash<std::pair<T, U> > { typedef PairHash<T, U> Hash; }; typedef in struct:WTF::DefaultHash
[all...]
H A DTCPackedCache.h154 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) { function in class:PackedCache
/external/openssl/crypto/rsa/
H A Drsa_pss.c74 const EVP_MD *Hash, const unsigned char *EM, int sLen)
84 hLen = EVP_MD_size(Hash);
131 if (PKCS1_MGF1(DB, maskedDBLen, H, hLen, Hash) < 0)
149 EVP_DigestInit_ex(&ctx, Hash, NULL);
174 const EVP_MD *Hash, int sLen)
182 hLen = EVP_MD_size(Hash);
231 EVP_DigestInit_ex(&ctx, Hash, NULL);
240 if (PKCS1_MGF1(EM, maskedDBLen, H, hLen, Hash))
73 RSA_verify_PKCS1_PSS(RSA *rsa, const unsigned char *mHash, const EVP_MD *Hash, const unsigned char *EM, int sLen) argument
172 RSA_padding_add_PKCS1_PSS(RSA *rsa, unsigned char *EM, const unsigned char *mHash, const EVP_MD *Hash, int sLen) argument
H A Drsa.h378 const EVP_MD *Hash, const unsigned char *EM, int sLen);
381 const EVP_MD *Hash, int sLen);
/external/webkit/WebKitTools/iExploder/tools/
H A Dlasthit.rb12 hostHash = Hash.new
26 hostHash[host] = Hash.new
29 hostHash[host][agent] = Hash.new
/external/webkit/JavaScriptCore/profiler/
H A DCallIdentifier.h55 struct Hash { struct in struct:JSC::CallIdentifier
70 unsigned hash() const { return Hash::hash(*this); }
82 template<> struct DefaultHash<JSC::CallIdentifier> { typedef JSC::CallIdentifier::Hash Hash; }; typedef in struct:WTF::DefaultHash
/external/webkit/WebCore/platform/graphics/
H A DIntSizeHash.h36 template<> struct DefaultHash<IntSize> { typedef IntHash<IntSize> Hash; }; typedef in struct:WTF::DefaultHash
/external/chromium/sdch/open-vcdiff/src/
H A Drolling_hash_test.cc110 result_array[i] = hasher.Hash(&buffer[i]);
120 uint32_t running_hash = hasher.Hash(buffer);
144 uint32_t running_hash = hasher.Hash(buffer_);
150 // Hash() calculates the hash value from scratch. Verify that both
152 EXPECT_EQ(running_hash, hasher.Hash(&buffer_[i + 1 - kBlockSize]));
H A Dvcdiffengine.cc191 uint32_t hash_value = hasher.Hash(candidate_pos);
209 hash_value = hasher.Hash(candidate_pos);
H A Drolling_hash.h68 // Hash() function, below, does exactly this, albeit with some refinements.
108 // instance of this type to use UpdateHash(), but Hash() does not depend on
118 static uint32_t Hash(const char* ptr) { function in class:open_vcdiff::RollingHash
132 // without having to run Hash() on the entire window.
135 // (which runs in time independent of window_size) instead of Hash().
136 // Each time window_size doubles, the time to execute Hash() also doubles,
H A Dblockhash_test.cc147 hashed_y = RollingHash<kBlockSize>::Hash(test_string_y);
148 hashed_e = RollingHash<kBlockSize>::Hash(test_string_e);
150 RollingHash<kBlockSize>::Hash(&search_string[index_of_f_in_fearsome]);
151 hashed_unaligned_e = RollingHash<kBlockSize>::Hash(test_string_unaligned_e);
152 hashed_all_Qs = RollingHash<kBlockSize>::Hash(test_string_all_Qs);
549 th_->AddOneIndexHash(i, RollingHash<kBlockSize>::Hash(&sample_text[i]));
792 // Hash the "i" in "fear itself"
793 uint32_t hash_value = RollingHash<kBlockSize>::Hash(
806 // Hash the "i" in "fear itself"
807 uint32_t hash_value = RollingHash<kBlockSize>::Hash(
[all...]
/external/webkit/WebCore/platform/
H A DCookie.h78 typedef WebCore::CookieHash Hash; typedef in struct:WTF::DefaultHash
/external/webkit/WebCore/platform/network/
H A DProtectionSpaceHash.h69 typedef WebCore::ProtectionSpaceHash Hash; typedef in struct:WTF::DefaultHash
/external/v8/test/cctest/
H A Dtest-hashmap.cc89 static uint32_t Hash(uint32_t key) { return 23; } function
174 TestSet(Hash, 100);
/external/srec/tools/thirdparty/OpenFst/fst/lib/
H A Dproduct-weight.h72 ssize_t Hash() const { function in class:fst::ProductWeight
73 ssize_t h1 = value1_.Hash();
74 ssize_t h2 = value2_.Hash();
/external/v8/src/
H A Dd8.h82 Hash(name),
90 Hash(name),
108 static int Hash(const char* name);
H A Dserialize.h73 static uint32_t Hash(Address key) { function in class:v8::internal::ExternalReferenceEncoder
330 return serialization_map_->Lookup(Key(obj), Hash(obj), false) != NULL;
336 serialization_map_->Lookup(Key(obj), Hash(obj), false)->value));
342 serialization_map_->Lookup(Key(obj), Hash(obj), true);
351 static uint32_t Hash(HeapObject* obj) {
H A Dscopeinfo.cc535 int ContextSlotCache::Hash(Code* code, String* name) { function in class:v8::internal::ContextSlotCache
539 return static_cast<int>((addr_hash ^ name->Hash()) % kLength);
546 int index = Hash(code, name);
564 int index = Hash(code, symbol);
596 int index = Hash(code, name);
H A Dscopeinfo.h189 inline static int Hash(Code* code, String* name);
H A Dobjects.cc714 self->Hash(); // Force regeneration of the hash value.
760 self->Hash(); // Force regeneration of the hash value.
3304 uint32_t descriptor_hash = descriptor->GetKey()->Hash();
3310 if (key->Hash() > descriptor_hash || key == descriptor->GetKey()) {
3370 uint32_t parent_hash = GetKey(parent_index)->Hash();
3371 uint32_t child_hash = GetKey(child_index)->Hash();
3390 uint32_t child1_hash = GetKey(child_index)->Hash();
3391 uint32_t child2_hash = GetKey(child_index + 1)->Hash();
3392 uint32_t parent_hash = GetKey(parent_index)->Hash();
3410 uint32_t hash = name->Hash();
6578 uint32_t NumberDictionaryShape::Hash(uint32_t key) { function in class:v8::internal::NumberDictionaryShape
6602 uint32_t StringDictionaryShape::Hash(String* key) { function in class:v8::internal::StringDictionaryShape
6633 uint32_t Hash() { return hash_; } function in class:v8::internal::StringKey
6675 uint32_t Hash() { function in class:v8::internal::StringSharedKey
6718 uint32_t Hash() { return RegExpHash(string_, flags_); } function in class:v8::internal::RegExpKey
6751 uint32_t Hash() { function in class:v8::internal::Utf8SymbolKey
6786 uint32_t Hash() { return string_->Hash(); } function in class:v8::internal::SymbolKey
7389 uint32_t Hash() { return hash_; } function in class:v8::internal::TwoCharHashTableKey
7570 uint32_t Hash() { return HashForObject(symbols_); } function in class:v8::internal::SymbolsKey
[all...]
/external/webkit/SunSpider/tests/parse-only/
H A Dmootools-1.2.2-core-nc.js106 var Hash = new Native({
108 name: 'Hash',
118 Hash.implement({
144 Hash.alias('forEach', 'each');
187 ((type == 'arguments' || type == 'collection' || type == 'array') ? Array : Hash).each(iterable, fn, bind);
198 return new Hash(object);
277 unlinked = new Hash(object);
291 The Browser Core. Contains Browser initialization, Window and Document, and the Browser Hash.
786 Script: Hash.js
787 Contains Hash Prototype
[all...]
/external/webkit/WebCore/platform/text/
H A DStringImpl.h257 typedef WebCore::StringHash Hash;
260 typedef WebCore::StringHash Hash;
/external/openssl/include/openssl/
H A Drsa.h378 const EVP_MD *Hash, const unsigned char *EM, int sLen);
381 const EVP_MD *Hash, int sLen);

Completed in 296 milliseconds

123