/external/chromium/net/disk_cache/ |
hash.h | 14 // From http://www.azillionmonkeys.com/qed/hash.html 15 // This is the hash used on WebCore/platform/stringhash 18 inline uint32 Hash(const char* key, size_t length) { 22 inline uint32 Hash(const std::string& key) {
|
disk_cache_perftest.cc | 19 #include "net/disk_cache/hash.h" 142 TEST_F(DiskCacheTest, Hash) { 146 PerfTimeLogger timer("Hash disk cache keys"); 149 disk_cache::Hash(key);
|
/external/webkit/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) {
|
/bootable/recovery/minzip/ |
Android.mk | 5 Hash.c \
|
/external/webkit/JavaScriptCore/profiler/ |
CallIdentifier.h | 55 struct Hash { 56 static unsigned hash(const CallIdentifier& key) function in struct:JSC::CallIdentifier::Hash 59 key.m_name.rep()->hash(), 60 key.m_url.rep()->hash(), 70 unsigned hash() const { return Hash::hash(*this); } function in struct:JSC::CallIdentifier 82 template<> struct DefaultHash<JSC::CallIdentifier> { typedef JSC::CallIdentifier::Hash Hash; };
|
/external/openssl/crypto/rsa/ |
rsa_pss.c | 74 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))
|
/external/webkit/WebKitTools/iExploder/tools/ |
lasthit.rb | 12 hostHash = Hash.new 26 hostHash[host] = Hash.new 29 hostHash[host][agent] = Hash.new
|
/frameworks/base/media/libstagefright/foundation/ |
AAtomizer.cpp | 41 size_t index = AAtomizer::Hash(name) % n; 57 uint32_t AAtomizer::Hash(const char *s) {
|
/external/webkit/WebCore/platform/graphics/ |
IntSizeHash.h | 32 static unsigned hash(const IntSize& key) { return intHash((static_cast<uint64_t>(key.width()) << 32 | key.height())); } function in struct:WTF::IntHash 36 template<> struct DefaultHash<IntSize> { typedef IntHash<IntSize> Hash; };
|
/frameworks/base/include/media/stagefright/foundation/ |
AAtomizer.h | 44 static uint32_t Hash(const char *s);
|
/development/tools/findunused/ |
find_unused_resources.rb | 89 @@globalJavaIdUses = Hash.new 106 javaIdUses = Hash.new 107 layouts = Hash.new 108 strings = Hash.new 109 xmlIdUses = Hash.new
|
/external/chromium/sdch/open-vcdiff/src/ |
rolling_hash_test.cc | 110 result_array[i] = hasher.Hash(&buffer[i]); 120 uint32_t running_hash = hasher.Hash(buffer); 144 uint32_t running_hash = hasher.Hash(buffer_); 146 // UpdateHash() calculates the hash value incrementally. 150 // Hash() calculates the hash value from scratch. Verify that both 151 // methods return the same hash value. 152 EXPECT_EQ(running_hash, hasher.Hash(&buffer_[i + 1 - kBlockSize])); 158 // Execution time is expected to be O(kBlockSize) per hash operation, 170 // Execution time is expected to be O(1) per hash operation [all...] |
vcdiffengine.cc | 54 LOG(DFATAL) << "Creation of dictionary hash failed" << LOG_ENDL; 179 LOG(DFATAL) << "Instantiation of target hash failed" << LOG_ENDL; 191 uint32_t hash_value = hasher.Hash(candidate_pos); 208 // can't be used to calculate the hash value at its new position. 209 hash_value = hasher.Hash(candidate_pos); 211 // Update the target hash for the ADDed and COPYed data
|
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...] |
blockhash_test.cc | 147 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); 235 std::auto_ptr<const BlockHash> dh_; // hash table is populated at startup 236 std::auto_ptr<BlockHash> th_; // hash table not populated; 532 // for two blocks whose hash values match, and the two most important 549 th_->AddOneIndexHash(i, RollingHash<kBlockSize>::Hash(&sample_text[i])); 600 // Add hash values only for those characters before the fourth instanc [all...] |
/external/webkit/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/webkit/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 60 // WebCore::ProtectionSpaceHash is the default hash for ProtectionSpace 69 typedef WebCore::ProtectionSpaceHash Hash;
|
/external/v8/src/ |
serialize.h | 73 static uint32_t Hash(Address key) { 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) {
|
d8.h | 82 Hash(name), 90 Hash(name), 108 static int Hash(const char* name);
|
/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/srec/tools/thirdparty/OpenFst/fst/lib/ |
product-weight.h | 72 ssize_t Hash() const { 73 ssize_t h1 = value1_.Hash(); 74 ssize_t h2 = value2_.Hash();
|
/external/webkit/SunSpider/tests/parse-only/ |
mootools-1.2.2-core-nc.js | 106 var Hash = new Native({ 108 name: 'Hash', 111 if ($type(object) == 'hash') object = $unlink(object.getClean()); 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); 276 case 'hash': 277 unlinked = new Hash(object); 291 The Browser Core. Contains Browser initialization, Window and Document, and the Browser Hash [all...] |
/external/libvpx/examples/includes/geshi/geshi/ |
rails.php | 77 'Hash', 'IO', 'IOError', 'Iconv', 'Iconv::BrokenLibrary', 236 'ActiveSupport::CoreExtensions::Hash::Conversions', 237 'ActiveSupport::CoreExtensions::Hash::Conversions::ClassMethods', 238 'ActiveSupport::CoreExtensions::Hash::Diff', 239 'ActiveSupport::CoreExtensions::Hash::Keys', 240 'ActiveSupport::CoreExtensions::Hash::ReverseMerge',
|
/external/webkit/WebCore/platform/text/ |
StringImpl.h | 76 void setHash(unsigned hash) { ASSERT(!m_hash); m_hash = hash; } 107 unsigned hash() { if (m_hash == 0) m_hash = computeHash(m_data, m_length); return m_hash; } function in class:WebCore::StringImpl 254 // WebCore::StringHash is the default hash for StringImpl* and RefPtr<StringImpl> 257 typedef WebCore::StringHash Hash; 260 typedef WebCore::StringHash Hash;
|