/external/elfutils/libelf/ |
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 << 4) + (unsigned int) *iname++ [all...] |
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/ |
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 = ( ( hash << 5 ) * 37 ) ^ b [all...] |
/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...] |
/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;
|
/frameworks/native/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/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...] |
package-info.java | 17 * Hash functions and related structures. 20 package com.google.common.hash;
|
/external/clang/test/CodeGen/ |
ubsan-blacklist.c | 2 // RUN: echo "fun:hash" > %t-func.blacklist 13 // DEFAULT: @hash 14 // FUNC: @hash 15 // FILE: @hash 16 unsigned hash() { function
|
/frameworks/native/libs/utils/ |
JenkinsHash.cpp | 17 /* Implementation of Jenkins one-at-a-time hash function. These choices are 26 hash_t JenkinsHashWhiten(uint32_t hash) { 27 hash += (hash << 3); 28 hash ^= (hash >> 11); 29 hash += (hash << 15); 30 return hash; 33 uint32_t JenkinsHashMixBytes(uint32_t hash, const uint8_t* bytes, size_t size) [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/backward/ |
hash_fun.h | 1 // 'struct hash' from SGI -*- C++ -*- 66 struct hash { }; struct 78 struct hash<char*> struct 86 struct hash<const char*> struct 94 struct hash<char> struct 102 struct hash<unsigned char> struct 110 struct hash<signed char> struct 118 struct hash<short> struct 126 struct hash<unsigned short> struct 134 struct hash<int struct 142 struct hash<unsigned int> struct 150 struct hash<long> struct 158 struct hash<unsigned long> struct [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/i686-linux/include/c++/4.6.x-google/backward/ |
hash_fun.h | 1 // 'struct hash' from SGI -*- C++ -*- 69 struct hash { }; struct 81 struct hash<char*> struct 89 struct hash<const char*> struct 97 struct hash<char> struct 105 struct hash<unsigned char> struct 113 struct hash<signed char> struct 121 struct hash<short> struct 129 struct hash<unsigned short> struct 137 struct hash<int struct 145 struct hash<unsigned int> struct 153 struct hash<long> struct 161 struct hash<unsigned long> struct [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/x86_64-linux/include/c++/4.6.x-google/backward/ |
hash_fun.h | 1 // 'struct hash' from SGI -*- C++ -*- 69 struct hash { }; struct 81 struct hash<char*> struct 89 struct hash<const char*> struct 97 struct hash<char> struct 105 struct hash<unsigned char> struct 113 struct hash<signed char> struct 121 struct hash<short> struct 129 struct hash<unsigned short> struct 137 struct hash<int struct 145 struct hash<unsigned int> struct 153 struct hash<long> struct 161 struct hash<unsigned long> struct [all...] |
/prebuilts/ndk/5/sources/cxx-stl/gnu-libstdc++/include/backward/ |
hash_fun.h | 1 // 'struct hash' from SGI -*- C++ -*- 66 struct hash { }; struct 78 struct hash<char*> struct 86 struct hash<const char*> struct 94 struct hash<char> struct 102 struct hash<unsigned char> struct 110 struct hash<signed char> struct 118 struct hash<short> struct 126 struct hash<unsigned short> struct 134 struct hash<int struct 142 struct hash<unsigned int> struct 150 struct hash<long> struct 158 struct hash<unsigned long> struct [all...] |
/prebuilts/ndk/6/sources/cxx-stl/gnu-libstdc++/include/backward/ |
hash_fun.h | 1 // 'struct hash' from SGI -*- C++ -*- 66 struct hash { }; struct 78 struct hash<char*> struct 86 struct hash<const char*> struct 94 struct hash<char> struct 102 struct hash<unsigned char> struct 110 struct hash<signed char> struct 118 struct hash<short> struct 126 struct hash<unsigned short> struct 134 struct hash<int struct 142 struct hash<unsigned int> struct 150 struct hash<long> struct 158 struct hash<unsigned long> struct [all...] |
/prebuilts/ndk/7/sources/cxx-stl/gnu-libstdc++/include/backward/ |
hash_fun.h | 1 // 'struct hash' from SGI -*- C++ -*- 66 struct hash { }; struct 78 struct hash<char*> struct 86 struct hash<const char*> struct 94 struct hash<char> struct 102 struct hash<unsigned char> struct 110 struct hash<signed char> struct 118 struct hash<short> struct 126 struct hash<unsigned short> struct 134 struct hash<int struct 142 struct hash<unsigned int> struct 150 struct hash<long> struct 158 struct hash<unsigned long> struct [all...] |
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.4.3/include/backward/ |
hash_fun.h | 1 // 'struct hash' from SGI -*- C++ -*- 66 struct hash { }; struct 78 struct hash<char*> struct 86 struct hash<const char*> struct 94 struct hash<char> struct 102 struct hash<unsigned char> struct 110 struct hash<signed char> struct 118 struct hash<short> struct 126 struct hash<unsigned short> struct 134 struct hash<int struct 142 struct hash<unsigned int> struct 150 struct hash<long> struct 158 struct hash<unsigned long> struct [all...] |
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.6/include/backward/ |
hash_fun.h | 1 // 'struct hash' from SGI -*- C++ -*- 69 struct hash { }; struct 81 struct hash<char*> struct 89 struct hash<const char*> struct 97 struct hash<char> struct 105 struct hash<unsigned char> struct 113 struct hash<signed char> struct 121 struct hash<short> struct 129 struct hash<unsigned short> struct 137 struct hash<int struct 145 struct hash<unsigned int> struct 153 struct hash<long> struct 161 struct hash<unsigned long> struct [all...] |
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.7/include/backward/ |
hash_fun.h | 1 // 'struct hash' from SGI -*- C++ -*- 69 struct hash { }; struct 81 struct hash<char*> struct 89 struct hash<const char*> struct 97 struct hash<char> struct 105 struct hash<unsigned char> struct 113 struct hash<signed char> struct 121 struct hash<short> struct 129 struct hash<unsigned short> struct 137 struct hash<int struct 145 struct hash<unsigned int> struct 153 struct hash<long> struct 161 struct hash<unsigned long> struct [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/linux-tools-perf/util/include/linux/added/ |
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 = val * GOLDEN_RATIO_PRIME_32 local [all...] |
/external/protobuf/src/google/protobuf/stubs/ |
hash.cc | 33 #include <google/protobuf/stubs/hash.h>
|
/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/webkit/Tools/DumpRenderTree/cairo/ |
PixelDumpSupportCairo.cpp | 81 Vector<uint8_t, 16> hash; local 82 md5Context.checksum(hash); 85 hash[0], hash[1], hash[2], hash[3], hash[4], hash[5], hash[6], hash[7] [all...] |
/external/guava/guava-tests/test/com/google/common/hash/ |
Murmur3Hash32Test.java | 17 package com.google.common.hash; 19 import static com.google.common.hash.Hashing.murmur3_32; 21 import com.google.common.hash.Funnels; 22 import com.google.common.hash.HashTestUtils.HashFn; 32 @Override public byte[] hash(byte[] input, int seed) { 35 return hasher.hash().asBytes();
|
/external/dropbear/libtomcrypt/src/hashes/helper/ |
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...] |