/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/ |
H A D | ObjectExtensions.cs | 55 int hash = 23; 56 hash = ( ( hash << 5 ) * 37 ) ^ a; 57 hash = ( ( hash << 5 ) * 37 ) ^ b; 58 return hash; 63 int hash = 23; 64 hash = ( ( hash << 5 ) * 37 ) ^ a; 65 hash [all...] |
/external/chromium_org/third_party/WebKit/Source/core/scripts/ |
H A D | Hasher.pm | 37 # http://www.azillionmonkeys.com/qed/hash.html 42 # This hash is designed to work on 16-bit chunks at a time. But since the normal case 43 # (above) is to hash UTF-16 characters, we just treat the 8-bit chars as if they 48 my $hash = 0x9e3779b9; 57 $hash += ord($chars[$s]); 58 my $tmp = leftShift(ord($chars[$s+1]), 11) ^ $hash; 59 $hash = (leftShift($hash, 16)% $EXP2_32) ^ $tmp; 61 $hash += $hash >> 1 [all...] |
/external/elfutils/libelf/ |
H A D | dl-hash.h | 1 /* Compute hash value for given string according to ELF standard. 62 unsigned int hash = (unsigned int) *iname++; local 65 hash = (hash << 4) + (unsigned int) *iname++; 68 hash = (hash << 4) + (unsigned int) *iname++; 71 hash = (hash << 4) + (unsigned int) *iname++; 74 hash = (hash << [all...] |
/external/chromium/net/disk_cache/ |
H A D | 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 [all...] |
/external/chromium_org/base/ |
H A D | hash.cc | 1 // From http://www.azillionmonkeys.com/qed/hash.html 3 #include "base/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; 43 hash [all...] |
/external/chromium_org/third_party/smhasher/src/ |
H A D | SuperFastHash.cpp | 8 http://www.azillionmonkeys.com/qed/hash.html */ 29 uint32_t hash = 0, tmp; local 39 hash += get16bits (data); 40 tmp = (get16bits (data+2) << 11) ^ hash; 41 hash = (hash << 16) ^ tmp; 43 hash += hash >> 11; 48 case 3: hash += get16bits (data); 49 hash [all...] |
H A D | SpeedTest.h | 5 void BulkSpeedTest ( pfHash hash, uint32_t seed ); 6 void TinySpeedTest ( pfHash hash, int hashsize, int keysize, uint32_t seed, bool verbose, double & outCycles );
|
/external/guava/guava/src/com/google/common/hash/ |
H A D | HashCodes.java | 15 package com.google.common.hash; 29 static HashCode fromInt(int hash) { argument 30 return new IntHashCode(hash); 34 final int hash; field in class:HashCodes.IntHashCode 36 IntHashCode(int hash) { argument 37 this.hash = hash; 46 (byte) hash, 47 (byte) (hash >> 8), 48 (byte) (hash >> 1 65 fromLong(long hash) argument 70 final long hash; field in class:HashCodes.LongHashCode 72 LongHashCode(long hash) argument [all...] |
H A D | package-info.java | 20 package com.google.common.hash;
|
/external/clang/test/CodeGen/ |
H A D | ubsan-blacklist.c | 2 // RUN: echo "fun:hash" > %t-func.blacklist 13 // DEFAULT: @hash 14 // FUNC: @hash 15 // FILE: @hash 16 unsigned hash() { function
|
/external/chromium_org/chrome/installer/mac/third_party/bsdiff/ |
H A D | sha1_adapter.cc | 9 void SHA1(const unsigned char* data, size_t len, unsigned char* hash) { argument 10 base::SHA1HashBytes(data, len, hash);
|
/external/skia/tests/ |
H A D | DynamicHashTest.cpp | 39 Hash hash(4); 40 ASSERT(hash.capacity() == 4); 42 hash.add(&a); 43 ASSERT(hash.capacity() == 4); 45 hash.add(&b); 46 ASSERT(hash.capacity() == 4); 48 hash.add(&c); 49 ASSERT(hash.capacity() == 4); 51 hash.add(&d); 52 ASSERT(hash 61 Hash hash; local [all...] |
/external/chromium_org/third_party/WebKit/Source/modules/crypto/ |
H A D | HmacParams.idl | 34 readonly attribute Algorithm hash;
|
H A D | RsaSsaParams.idl | 34 readonly attribute Algorithm hash;
|
/external/chromium_org/third_party/icu/source/test/cintltst/ |
H A D | 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, omeg 154 UHashtable *hash; local 288 UHashtable *hash; local 336 _put(UHashtable* hash, const char* key, int32_t value, int32_t expectedOldValue) argument 355 _get(UHashtable* hash, const char* key, int32_t expectedValue) argument 372 _remove(UHashtable* hash, const char* key, int32_t expectedValue) argument [all...] |
/external/icu4c/test/cintltst/ |
H A D | 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, omeg 154 UHashtable *hash; local 288 UHashtable *hash; local 336 _put(UHashtable* hash, const char* key, int32_t value, int32_t expectedOldValue) argument 355 _get(UHashtable* hash, const char* key, int32_t expectedValue) argument 372 _remove(UHashtable* hash, const char* key, int32_t expectedValue) argument [all...] |
/external/linux-tools-perf/util/include/linux/added/ |
H A D | hash.h | 40 u64 hash = val; local 43 u64 n = hash; 45 hash -= n; 47 hash -= n; 49 hash += n; 51 hash -= n; 53 hash += n; 55 hash += n; 58 return hash >> (64 - bits); 64 u32 hash local [all...] |
/external/chromium_org/media/base/ |
H A D | djb2.cc | 9 uint32 hash = seed; local 11 hash = hash * 33 + src[i]; 13 return hash;
|
/external/chromium_org/tools/page_cycler/startup_test_common/ |
H A D | head.js | 6 console.log("PAGE_ONLOAD_EVENT" + location.hash);
|
/external/protobuf/src/google/protobuf/stubs/ |
H A D | hash.cc | 33 #include <google/protobuf/stubs/hash.h>
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/cso_cache/ |
H A D | cso_hash.h | 32 * This file provides a hash implementation that is capable of dealing 34 * functions operating on the hash return an iterator. The iterator 59 struct cso_hash *hash; member in struct:cso_hash_iter 65 void cso_hash_delete(struct cso_hash *hash); 68 int cso_hash_size(struct cso_hash *hash); 72 * Adds a data with the given key to the hash. If entry with the given 73 * key is already in the hash, this current entry is instered before it 75 * Function returns iterator pointing to the inserted item in the hash. 77 struct cso_hash_iter cso_hash_insert(struct cso_hash *hash, unsigned key, 80 * Removes the item pointed to by the current iterator from the hash [all...] |
/external/mesa3d/src/gallium/auxiliary/cso_cache/ |
H A D | cso_hash.h | 32 * This file provides a hash implementation that is capable of dealing 34 * functions operating on the hash return an iterator. The iterator 59 struct cso_hash *hash; member in struct:cso_hash_iter 65 void cso_hash_delete(struct cso_hash *hash); 68 int cso_hash_size(struct cso_hash *hash); 72 * Adds a data with the given key to the hash. If entry with the given 73 * key is already in the hash, this current entry is instered before it 75 * Function returns iterator pointing to the inserted item in the hash. 77 struct cso_hash_iter cso_hash_insert(struct cso_hash *hash, unsigned key, 80 * Removes the item pointed to by the current iterator from the hash [all...] |
/external/chromium_org/chrome/common/ |
H A D | spellcheck_marker.h | 23 SpellCheckMarker() : hash(-1), offset(-1) {} 25 SpellCheckMarker(uint32 hash, size_t offset) : hash(hash), offset(offset) {} argument 27 uint32 hash; member in class:SpellCheckMarker
|
/external/smack/src/org/jivesoftware/smackx/entitycaps/packet/ |
H A D | CapsExtension.java | 25 private String node, ver, hash; field in class:CapsExtension 30 public CapsExtension(String node, String version, String hash) { argument 33 this.hash = hash; 61 return hash; 64 public void setHash(String hash) { argument 65 this.hash = hash; 70 * hash='sha-1' 77 "hash [all...] |
/external/chromium_org/third_party/WebKit/Source/wtf/text/ |
H A D | StringHash.h | 36 // The hash() functions on StringHash and CaseFoldingHash do not support 42 // closer to having all the nearly-identical hash functions in one place. 45 static unsigned hash(StringImpl* key) { return key->hash(); } function in struct:WTF::StringHash 51 static unsigned hash(const RefPtr<StringImpl>& key) { return key->hash(); } function in struct:WTF::StringHash 57 static unsigned hash(const String& key) { return key.impl()->hash(); } function in struct:WTF::StringHash 73 static unsigned hash(const UChar* data, unsigned length) function in class:WTF::CaseFoldingHash 78 static unsigned hash(StringImp function in class:WTF::CaseFoldingHash 85 static unsigned hash(const LChar* data, unsigned length) function in class:WTF::CaseFoldingHash 90 static inline unsigned hash(const char* data, unsigned length) function in class:WTF::CaseFoldingHash 100 static unsigned hash(const RefPtr<StringImpl>& key) function in class:WTF::CaseFoldingHash 110 static unsigned hash(const String& key) function in class:WTF::CaseFoldingHash 114 static unsigned hash(const AtomicString& key) function in class:WTF::CaseFoldingHash 134 static unsigned hash(unsigned key) { return key; } function in struct:WTF::AlreadyHashed 140 avoidDeletedValue(unsigned hash) argument [all...] |