/external/chromium_org/media/base/ |
djb2.cc | 9 uint32 hash = seed; local 11 hash = hash * 33 + src[i]; 13 return hash;
|
/external/doclava/res/assets/templates/assets/ |
jquery-history.js | 15 return msie.getDoc().location.hash; 17 setHash: function(hash) { 21 d.location.hash = hash; 26 var hash = msie.iframe ? msie.getHash() : location.hash; 27 if (hash != currentHash) { 28 currentHash = hash; 30 location.hash = currentHash; 39 add: function(hash) { [all...] |
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/include/linux/ |
hash.h | 1 #include "../../../../include/linux/hash.h"
|
/libcore/luni/src/main/files/ |
README.cacerts | 1 The filenames in the cacerts directory are in the format of <hash>.<n> 2 where "hash" is the subject hash produced by:
|
/system/core/include/utils/ |
JenkinsHash.h | 17 /* Implementation of Jenkins one-at-a-time hash function. These choices are 29 /* The Jenkins hash of a sequence of 32 bit words A, B, C is: 32 inline uint32_t JenkinsHashMix(uint32_t hash, uint32_t data) { 33 hash += data; 34 hash += (hash << 10); 35 hash ^= (hash >> 6); 36 return hash; 39 hash_t JenkinsHashWhiten(uint32_t hash); [all...] |
/external/chromium_org/chrome/common/ |
spellcheck_marker.h | 23 SpellCheckMarker() : hash(0xFFFFFFFF), offset(static_cast<size_t>(-1)) {} 25 SpellCheckMarker(uint32 hash, size_t offset) : hash(hash), offset(offset) {} 27 uint32 hash; member in class:SpellCheckMarker
|
/external/wpa_supplicant_8/src/eap_common/ |
eap_psk_common.c | 37 u8 hash[aes_block_size]; local 41 if (aes_128_encrypt_block(kdk, rand_p, hash)) 44 hash[aes_block_size - 1] ^= counter; 45 if (aes_128_encrypt_block(kdk, hash, tek)) 47 hash[aes_block_size - 1] ^= counter; 51 hash[aes_block_size - 1] ^= counter; 52 if (aes_128_encrypt_block(kdk, hash, &msk[i * aes_block_size])) 54 hash[aes_block_size - 1] ^= counter; 59 hash[aes_block_size - 1] ^= counter; 60 if (aes_128_encrypt_block(kdk, hash, [all...] |
/external/guava/guava/src/com/google/common/hash/ |
HashCodes.java | 15 package com.google.common.hash; 29 static HashCode fromInt(int hash) { 30 return new IntHashCode(hash); 34 final int hash; field in class:HashCodes.IntHashCode 36 IntHashCode(int hash) { 37 this.hash = hash; 46 (byte) hash, 47 (byte) (hash >> 8), 48 (byte) (hash >> 16) 70 final long hash; field in class:HashCodes.LongHashCode [all...] |
/external/fio/ |
filelock.c | 3 * No hash indexing, just a list, so only works well for < 100 files or 14 #include "hash.h" 18 uint32_t hash; member in struct:fio_filelock 55 static struct fio_filelock *fio_hash_find(uint32_t hash) 62 if (ff->hash == hash) 69 static struct fio_filelock *fio_hash_get(uint32_t hash) 73 ff = fio_hash_find(hash); 76 ff->hash = hash; 88 uint32_t hash; local 124 uint32_t hash; local 139 uint32_t hash; local [all...] |
/external/libcxx/test/extensions/hash/ |
specializations.pass.cpp | 17 assert(__gnu_cxx::hash<const char *>()("test") == 18 std::hash<std::string>()("test")); 19 assert(__gnu_cxx::hash<char *>()(str) == std::hash<std::string>()("test")); 20 assert(__gnu_cxx::hash<char>()(42) == 42); 21 assert(__gnu_cxx::hash<signed char>()(42) == 42); 22 assert(__gnu_cxx::hash<unsigned char>()(42) == 42); 23 assert(__gnu_cxx::hash<short>()(42) == 42); 24 assert(__gnu_cxx::hash<unsigned short>()(42) == 42); 25 assert(__gnu_cxx::hash<int>()(42) == 42) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/extensions/hash/ |
specializations.pass.cpp | 17 assert(__gnu_cxx::hash<const char *>()("test") == 18 std::hash<std::string>()("test")); 19 assert(__gnu_cxx::hash<char *>()(str) == std::hash<std::string>()("test")); 20 assert(__gnu_cxx::hash<char>()(42) == 42); 21 assert(__gnu_cxx::hash<signed char>()(42) == 42); 22 assert(__gnu_cxx::hash<unsigned char>()(42) == 42); 23 assert(__gnu_cxx::hash<short>()(42) == 42); 24 assert(__gnu_cxx::hash<unsigned short>()(42) == 42); 25 assert(__gnu_cxx::hash<int>()(42) == 42) [all...] |
/external/deqp/framework/delibs/depool/ |
dePoolHash.h | 23 * \brief Memory pool hash class. 45 * \brief Declare a template pool hash class interface. 46 * \param TYPENAME Type name of the declared hash. 50 * This macro declares the interface for a hash. For the implementation of 51 * the hash, see DE_IMPLEMENT_POOL_HASH. Usually this macro is put into the 56 * The functions for operating the hash are: 60 * Hash* Hash_create (deMemPool* pool); 61 * int Hash_getNumElements (const Hash* hash); 62 * Value* Hash_find (Hash* hash, Key key) [all...] |
/external/chromium_org/base/ |
hash_unittest.cc | 5 #include "base/hash.h" 16 // Empty string (should hash to 0). 18 EXPECT_EQ(0u, Hash(str)); 22 EXPECT_EQ(2794219650u, Hash(str)); 26 EXPECT_EQ(1006697176u, Hash(str)); 31 EXPECT_EQ(2319902537u, Hash(str)); 33 // Test that the bytes after the null contribute to the hash. 36 EXPECT_EQ(553904462u, Hash(str)); 44 EXPECT_EQ(2797962408u, Hash(str)); 54 EXPECT_EQ(615571198u, Hash(str)) [all...] |
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/WebKit/Source/wtf/ |
HashFunctions.h | 37 // integer hash function 91 // Compound integer hash method: http://opendatastructures.org/versions/edition-0.1d/ods-java/node33.html#SECTION00832000000000000000 104 static unsigned hash(T key) { return intHash(static_cast<typename IntTypes<sizeof(T)>::UnsignedType>(key)); } function in struct:WTF::IntHash 111 static unsigned hash(T key) function in struct:WTF::FloatHash 122 // pointer identity hash function 125 static unsigned hash(T key) function in struct:WTF::PtrHash 131 return IntHash<uintptr_t>::hash(reinterpret_cast<uintptr_t>(key)); 142 using PtrHash<P*>::hash; 143 static unsigned hash(const RefPtr<P>& key) { return hash(key.get()); function in struct:WTF::PtrHash 144 static unsigned hash(const PassRefPtr<P>& key) { return hash(key.get()); } function in struct:WTF::PtrHash 153 static unsigned hash(const RawPtr<P>& key) { return hash(key.get()); } function in struct:WTF::PtrHash 161 static unsigned hash(const OwnPtr<P>& key) { return hash(key.get()); } function in struct:WTF::PtrHash 162 static unsigned hash(const PassOwnPtr<P>& key) { return hash(key.get()); } function in struct:WTF::PtrHash 180 static unsigned hash(const std::pair<T, U>& p) function in struct:WTF::PairHash 193 static unsigned hash(const std::pair<T, U>& p) { return pairIntHash(p.first, p.second); } function in struct:WTF::IntPairHash [all...] |
/external/chromium_org/third_party/sqlite/src/src/ |
hash.h | 12 ** This is the header file for the generic hash-table implemenation 19 typedef struct Hash Hash; 22 /* A complete hash table is an instance of the following structure. 30 ** All elements of the hash table are on a single doubly-linked list. 31 ** Hash.first points to the head of this list. 33 ** There are Hash.htsize buckets. Each bucket points to a spot in 37 ** Hash.htsize and Hash.ht may be zero. In that case lookup is done 39 ** Hash.ht table is never allocated because if there are few element [all...] |
/cts/tests/tests/webkit/assets/webkit/ |
test_anchor.html | 7 document.title = self.document.location.hash.substring(1);
|
/external/chromium_org/content/test/data/webcrypto/ |
hmac.json | 4 // http://en.wikipedia.org/wiki/Hash-based_message_authentication_code 6 "hash": "sha-1", 13 "hash": "sha-256", 24 "hash": "sha-1", 31 "hash": "sha-1", 38 "hash": "sha-256", 45 "hash": "sha-256", 52 "hash": "sha-384", 59 "hash": "sha-512",
|
/external/oprofile/daemon/liblegacy/ |
opd_mapping.c | 27 /* hash map device mmap */ 48 perror("oprofiled: couldn't mmap hash map"); 96 * get_from_pool - retrieve string from hash map pool 106 * opg_get_hash_name - find a mapping name from a hash 107 * @param hash hash value for this name 109 static char const * opd_get_hash_name(int hash) 113 int orighash = hash; 115 if (hash_name[hash]) 116 return hash_name[hash]; 143 int hash; local [all...] |
/external/chromium_org/crypto/third_party/nss/ |
rsawrapr.c | 26 const SECHashObject *hash; local 30 hash = HASH_GetHashObject(hashAlg); 31 if (hash == NULL) 34 hashContext = (*hash->create)(); 35 rounds = (maskLen + hash->length - 1) / hash->length; 44 (*hash->begin)(hashContext); 45 (*hash->update)(hashContext, mgfSeed, mgfSeedLen); 46 (*hash->update)(hashContext, C, sizeof C); 48 tempHash = mask + counter * hash->length 78 const SECHashObject *hash; local [all...] |
/external/smack/src/org/jivesoftware/smackx/entitycaps/packet/ |
CapsExtension.java | 25 private String node, ver, hash; field in class:CapsExtension 30 public CapsExtension(String node, String version, String hash) { 33 this.hash = hash; 61 return hash; 64 public void setHash(String hash) { 65 this.hash = hash; 70 * hash='sha-1' 77 "hash=\"" + hash + "\" " [all...] |
/external/chromium_org/content/test/data/screen_orientation/ |
screen_orientation_lock_smoke.html | 7 document.location.hash = 10 document.location.hash = "#" + e.name;
|
screen_orientation_screenorientationchange.html | 7 document.location.hash = '#' + screen.orientation.angle; 10 document.location.hash = '#ready';
|
/external/chromium_org/third_party/angle/src/ |
commit.h | 7 // This is a default commit hash header, when git is not available. 10 #define ANGLE_COMMIT_HASH "unknown hash"
|
/external/chromium_org/ui/android/java/src/org/chromium/ui/picker/ |
DateTimeSuggestion.java | 53 int hash = 31; local 54 hash = 37 * hash + (int) mValue; 55 hash = 37 * hash + mLocalizedValue.hashCode(); 56 hash = 37 * hash + mLabel.hashCode(); 57 return hash;
|