/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...] |
/external/chromium_org/base/ |
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 += get16bits(data) [all...] |
/external/chromium_org/third_party/smhasher/src/ |
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 ^= hash << 16 [all...] |
/hardware/invensense/60xx/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;
|
/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/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/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
|
/external/chromium_org/chrome/installer/mac/third_party/bsdiff/ |
sha1_adapter.cc | 9 void SHA1(const unsigned char* data, size_t len, unsigned char* hash) { 10 base::SHA1HashBytes(data, len, hash);
|
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/functional/ |
hash_fwd.hpp | 6 #include <boost/functional/hash/hash_fwd.hpp>
|
/system/core/libutils/ |
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...] |
/external/skia/tests/ |
DynamicHashTest.cpp | 23 class Hash : public SkTDynamicHash<Entry, int, GetKey, GetHash, AreEqual> { 25 Hash() : INHERITED() {} 26 Hash(int capacity) : INHERITED(capacity) {} 47 Hash hash(4); 48 ASSERT(hash.capacity() == 4); 50 hash.add(&a); 51 ASSERT(hash.capacity() == 4); 53 hash.add(&b); 54 ASSERT(hash.capacity() == 4) 69 Hash hash; local [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...] |
/prebuilts/ndk/9/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/9/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...] |
/prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.8/include/backward/ |
hash_fun.h | 1 // 'struct hash' from SGI -*- C++ -*- 68 struct hash { }; struct 80 struct hash<char*> struct 88 struct hash<const char*> struct 96 struct hash<char> struct 104 struct hash<unsigned char> struct 112 struct hash<signed char> struct 120 struct hash<short> struct 128 struct hash<unsigned short> struct 136 struct hash<int struct 144 struct hash<unsigned int> struct 152 struct hash<long> struct 160 struct hash<unsigned long> struct [all...] |