/external/elfutils/0.153/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_org/base/third_party/superfasthash/ |
superfasthash.c | 42 uint32_t hash = len, tmp; local 52 hash += get16bits (data); 53 tmp = (get16bits (data+2) << 11) ^ hash; 54 hash = (hash << 16) ^ tmp; 56 hash += hash >> 11; 61 case 3: hash += get16bits (data); 62 hash ^= hash << 16 [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/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/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 | 18 static uint32_t Hash(const int& key) { return key; } 22 class Hash : public SkTDynamicHash<Entry, int> { 24 Hash() : INHERITED() {} 45 Hash hash; local 46 ASSERT(hash.capacity() == 0); 48 hash.add(&a); 49 ASSERT(hash.capacity() == 4); 51 hash.add(&b); 52 ASSERT(hash.capacity() == 4) 67 Hash hash; local 79 Hash hash; local 114 Hash hash; local 140 Hash hash; local [all...] |
/external/chromium_org/third_party/skia/tests/ |
DynamicHashTest.cpp | 18 static uint32_t Hash(const int& key) { return key; } 22 class Hash : public SkTDynamicHash<Entry, int> { 24 Hash() : INHERITED() {} 45 Hash hash; local 46 ASSERT(hash.capacity() == 0); 48 hash.add(&a); 49 ASSERT(hash.capacity() == 4); 51 hash.add(&b); 52 ASSERT(hash.capacity() == 4) 67 Hash hash; local 79 Hash hash; local 114 Hash hash; local 140 Hash hash; local 193 Hash hash; local [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/x86_64-linux/include/c++/4.6/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.11-4.8/x86_64-linux/include/c++/4.8/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...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/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...] |
/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...] |