/external/chromium/net/disk_cache/ |
hash.cc | 1 // From http://www.azillionmonkeys.com/qed/hash.html 3 #include "net/disk_cache/hash.h" 22 uint32_t hash = len, tmp; local 33 hash += get16bits(data); 34 tmp = (get16bits(data + 2) << 11) ^ hash; 35 hash = (hash << 16) ^ tmp; 37 hash += hash >> 11; 42 case 3: hash += get16bits(data) [all...] |
/external/e2fsprogs/tests/f_h_badnode/ |
name | 0 hash directory with bad HTREE nodes
|
/external/e2fsprogs/tests/f_h_reindex/ |
name | 1 reindex HTREE Directory with different hash seed
|
expect.1 | 5 Problem in HTREE directory inode 16001: block #1 has bad max hash 6 Problem in HTREE directory inode 16001: block #2 has bad min hash 7 Problem in HTREE directory inode 16001: block #2 has bad max hash 8 Problem in HTREE directory inode 16001: block #3 has bad min hash 9 Problem in HTREE directory inode 16001: block #3 has bad max hash 10 Problem in HTREE directory inode 16001: block #4 has bad min hash 11 Problem in HTREE directory inode 16001: block #4 has bad max hash 12 Problem in HTREE directory inode 16001: block #5 has bad min hash 13 Problem in HTREE directory inode 16001: block #5 has bad max hash 14 Problem in HTREE directory inode 16001: block #6 has bad min hash [all...] |
/hardware/invensense/mlsdk/mlutils/ |
checksum.c | 3 /** bernstein hash, from public domain source */ 7 uint32_t hash = 5381; local 12 hash = ((hash << 5) + hash) + c; /* hash * 33 + c */ 15 return hash;
|
/external/e2fsprogs/ext2ed/ |
ext2.descriptors | 416 __u32 hash[1]; 418 __u32 hash[2]; 420 __u32 hash[3]; 422 __u32 hash[4]; 424 __u32 hash[5]; 426 __u32 hash[6]; 428 __u32 hash[7]; 430 __u32 hash[8]; 432 __u32 hash[9]; 434 __u32 hash[10] [all...] |
/external/webkit/LayoutTests/fast/dom/HTMLAnchorElement/ |
set-href-attribute-hash-expected.txt | 1 Test setting the hash attribute of the URL in HTMLAnchorElement. 6 Hash value does not start with '#' 7 PASS a.href is 'https://www.mydomain.com:8080/path/testurl.html#hash-value' 8 Hash value starts with '#' 10 '?' in hash value 11 PASS a.href is 'http://www.mydomain.com/path/testurl.html#hash?value' 12 '#' in hash value, and illegal characters in hostname 14 Set hash to null 16 Set hash to empty string 18 Add hash to mailto: protoco [all...] |
/external/webkit/LayoutTests/storage/ |
hash-change-with-xhr-expected.txt | 1 Changing the hash to create history entries.
|
/external/bison/m4/ |
hash.m4 | 0 # hash.m4 serial 5 9 AC_LIBSOURCES([hash.c, hash.h]) 10 AC_LIBOBJ([hash]) 12 dnl Prerequisites of lib/hash.c.
|
/external/webkit/LayoutTests/fast/dom/HTMLAnchorElement/script-tests/ |
set-href-attribute-hash.js | 1 description('Test setting the hash attribute of the URL in HTMLAnchorElement.'); 5 debug("Hash value does not start with '#'"); 7 a.hash = "hash-value"; 8 shouldBe("a.href", "'https://www.mydomain.com:8080/path/testurl.html#hash-value'"); 10 debug("Hash value starts with '#'"); 12 a.hash = "#hash_value"; 15 debug("'?' in hash value"); 17 a.hash = "#hash?value" [all...] |
/external/icu4c/test/cintltst/ |
chashtst.c | 30 static void _put(UHashtable* hash, 35 static void _get(UHashtable* hash, 39 static void _remove(UHashtable* hash, 104 UHashtable *hash; local 106 hash = uhash_open(hashChars, isEqualChars, NULL, &status); 109 u_errorName(status), hash); 112 if (hash == NULL) { 116 log_verbose("Ok: uhash_open returned 0x%08X\n", hash); 118 _put(hash, one, 1, 0); 119 _put(hash, omega, 24, 0) 154 UHashtable *hash; local 288 UHashtable *hash; local [all...] |
/external/chromium/base/ |
sha1.h | 18 SHA1_LENGTH = 20 // Length in bytes of a SHA-1 hash. 21 // Computes the SHA-1 hash of the input string |str| and returns the full 22 // hash. 25 // Computes the SHA-1 hash of the |len| bytes in |data| and puts the hash 26 // in |hash|. |hash| must be SHA1_LENGTH bytes long. 28 unsigned char* hash);
|
/external/clang/test/Preprocessor/ |
hash_space.c | 5 #define HASH # 6 HASH define foo bar
|
/build/tools/droiddoc/templates-pdk/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...] |
/build/tools/droiddoc/templates-sdk/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/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/chromium/android/ext/ |
fake_hash.h | 11 template <class _Key> struct hash { }; struct in namespace:__gnu_cxx 15 struct hash<_type> { \ 17 return std::hash<_type>(val); \
|
/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:
|
/external/dropbear/libtomcrypt/src/hashes/helper/ |
hash_memory.c | 15 Hash memory helper, Tom St Denis 19 Hash a block of memory and store the digest. 20 @param hash The index of the hash you wish to use 21 @param in The data you wish to hash 22 @param inlen The length of the data to hash (octets) 27 int hash_memory(int hash, const unsigned char *in, unsigned long inlen, unsigned char *out, unsigned long *outlen) 36 if ((err = hash_is_valid(hash)) != CRYPT_OK) { 40 if (*outlen < hash_descriptor[hash].hashsize) { 41 *outlen = hash_descriptor[hash].hashsize [all...] |
hash_filehandle.c | 15 Hash open files, Tom St Denis 19 Hash data from an open file handle. 20 @param hash The index of the hash you want to use 21 @param in The FILE* handle of the file you want to hash 26 int hash_filehandle(int hash, FILE *in, unsigned char *out, unsigned long *outlen) 40 if ((err = hash_is_valid(hash)) != CRYPT_OK) { 44 if (*outlen < hash_descriptor[hash].hashsize) { 45 *outlen = hash_descriptor[hash].hashsize; 48 if ((err = hash_descriptor[hash].init(&md)) != CRYPT_OK) [all...] |
hash_memory_multi.c | 15 Hash (multiple buffers) memory helper, Tom St Denis 19 Hash multiple (non-adjacent) blocks of memory at once. 20 @param hash The index of the hash you wish to use 23 @param in The data you wish to hash 24 @param inlen The length of the data to hash (octets) 25 @param ... tuples of (data,len) pairs to hash, terminated with a (NULL,x) (x=don't care) 28 int hash_memory_multi(int hash, unsigned char *out, unsigned long *outlen, 41 if ((err = hash_is_valid(hash)) != CRYPT_OK) { 45 if (*outlen < hash_descriptor[hash].hashsize) [all...] |
/external/elfutils/libelf/ |
dl-hash.h | 1 /* Compute hash value for given string according to ELF standard. 30 unsigned int hash = (unsigned int) *iname++; local 33 hash = (hash << 4) + (unsigned int) *iname++; 36 hash = (hash << 4) + (unsigned int) *iname++; 39 hash = (hash << 4) + (unsigned int) *iname++; 42 hash = (hash << 4) + (unsigned int) *iname++ [all...] |
/external/webkit/LayoutTests/storage/resources/ |
database-common.js | 17 function setLocationHash(hash) { 18 location.hash = hash;
|
/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/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...] |