/external/elfutils/src/libelf/ |
dl-hash.h | 1 /* Compute hash value for given string according to ELF standard. 42 unsigned int hash = (unsigned int) *iname++; local 45 hash = (hash << 4) + (unsigned int) *iname++; 48 hash = (hash << 4) + (unsigned int) *iname++; 51 hash = (hash << 4) + (unsigned int) *iname++; 54 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...] |
/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/std/extensions/hash/ |
specializations.pass.cpp | 19 assert(__gnu_cxx::hash<const char *>()("test") == 20 std::hash<std::string>()("test")); 21 assert(__gnu_cxx::hash<char *>()(str) == std::hash<std::string>()("test")); 22 assert(__gnu_cxx::hash<char>()(42) == 42); 23 assert(__gnu_cxx::hash<signed char>()(42) == 42); 24 assert(__gnu_cxx::hash<unsigned char>()(42) == 42); 25 assert(__gnu_cxx::hash<short>()(42) == 42); 26 assert(__gnu_cxx::hash<unsigned short>()(42) == 42); 27 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/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
|
/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 193 Hash hash; local [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-linux-glibc2.15-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...] |
/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...] |
/prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.9/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...] |
/external/icu/icu4c/source/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/guava/guava/src/com/google/common/hash/ |
package-info.java | 17 * Hash functions and related structures. 24 package com.google.common.hash;
|
/external/protobuf/src/google/protobuf/stubs/ |
hash.cc | 33 #include <google/protobuf/stubs/hash.h>
|