/system/tools/hidl/test/hash_test/good/hash/1.0/ |
IHash.hal | 16 package test.hash.hash@1.0;
|
/external/elfutils/libelf/ |
dl-hash.h | 1 /* Compute hash value for given string according to ELF standard. 31 unsigned long int hash = *name; local 32 if (hash != 0 && name[1] != '\0') 34 hash = (hash << 4) + name[1]; 37 hash = (hash << 4) + name[2]; 40 hash = (hash << 4) + name[3]; 43 hash = (hash << 4) + name[4] [all...] |
/system/tools/hidl/test/hash_test/bad/hash/1.0/ |
IHash.hal | 16 package test.hash.hash@1.0;
|
/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/kmod/shared/ |
hash.h | 5 struct hash; 8 const struct hash *hash; member in struct:hash_iter 13 struct hash *hash_new(unsigned int n_buckets, void (*free_value)(void *value)); 14 void hash_free(struct hash *hash); 15 int hash_add(struct hash *hash, const char *key, const void *value); 16 int hash_add_unique(struct hash *hash, const char *key, const void *value) [all...] |
hash.c | 25 #include <shared/hash.h> 39 struct hash { struct 47 struct hash *hash_new(unsigned int n_buckets, 50 struct hash *hash; local 53 hash = calloc(1, sizeof(struct hash) + 55 if (hash == NULL) 57 hash->n_buckets = n_buckets; 58 hash->free_value = free_value 95 unsigned int tmp, hash = len, rem = len & 3; local [all...] |
/external/adhd/cras/src/common/ |
sfh.c | 43 uint32_t SuperFastHash (const char * data, int len, uint32_t hash) { 54 hash += get16bits (data); 55 tmp = (get16bits (data+2) << 11) ^ hash; 56 hash = (hash << 16) ^ tmp; 58 hash += hash >> 11; 63 case 3: hash += get16bits (data); 64 hash ^= hash << 16 [all...] |
sfh.h | 5 * An incremental version of the SuperFastHash hash function from 6 * http://www.azillionmonkeys.com/qed/hash.html 14 uint32_t SuperFastHash(const char *data, int len, uint32_t hash);
|
/external/annotation-tools/scene-lib/src/annotations/util/ |
Hasher.java | 8 * A simple class to mash a lot of data into a hash code for use in 15 * The calculated hash code for the data that has been contributed so far. 17 public int hash = 0; field in class:Hasher 22 * Contributes the data <code>x</code> to the calculation of the hash code. 25 hash = ((hash << SHIFT) | (hash >> (32 - SHIFT))) ^ x;
|
/external/clang/test/PCH/Inputs/ |
pr27445.h | 3 void hash() {} function in struct:Info
|
/external/libcxx/test/libcxx/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...] |
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/libcxx/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...] |
/external/skia/include/private/ |
SkChecksum.h | 24 * uint32_t -> uint32_t hash, useful for when you're about to trucate this hash but you 29 static uint32_t Mix(uint32_t hash) { 30 hash ^= hash >> 16; 31 hash *= 0x85ebca6b; 32 hash ^= hash >> 13; 33 hash *= 0xc2b2ae35; 34 hash ^= hash >> 16 [all...] |
/external/skqp/include/private/ |
SkChecksum.h | 24 * uint32_t -> uint32_t hash, useful for when you're about to trucate this hash but you 29 static uint32_t Mix(uint32_t hash) { 30 hash ^= hash >> 16; 31 hash *= 0x85ebca6b; 32 hash ^= hash >> 13; 33 hash *= 0xc2b2ae35; 34 hash ^= hash >> 16 [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
|
/system/core/libutils/ |
JenkinsHash.cpp | 17 /* Implementation of Jenkins one-at-a-time hash function. These choices are 30 hash_t JenkinsHashWhiten(uint32_t hash) { 31 hash += (hash << 3); 32 hash ^= (hash >> 11); 33 hash += (hash << 15); 34 return hash; 37 uint32_t JenkinsHashMixBytes(uint32_t hash, const uint8_t* bytes, size_t size) [all...] |
/system/core/libutils/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: 35 inline uint32_t JenkinsHashMix(uint32_t hash, uint32_t data) { 36 hash += data; 37 hash += (hash << 10); 38 hash ^= (hash >> 6); 39 return hash; 42 hash_t JenkinsHashWhiten(uint32_t hash); [all...] |
/external/deqp/framework/delibs/decpp/ |
deSha1.cpp | 21 * \brief SHA1 hash functions 31 deSha1 hash; local 34 DE_CHECK_RUNTIME_ERR_MSG(deSha1_parse(&hash, str.c_str()), "Failed to parse SHA1. Invalid characters.."); 36 return Sha1(hash); 41 deSha1 hash; local 43 deSha1_compute(&hash, size, data); 44 return Sha1(hash); 59 deSha1 hash; local 60 deSha1Stream_finalize(&m_stream, &hash); 62 return Sha1(hash); [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...] |
/external/skqp/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.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...] |
/hardware/interfaces/tests/hash/1.0/ |
IHash.hal | 17 package android.hardware.tests.hash@1.0; 21 * This file is FREEZED to ensure its hash doesn't change.
|
/external/icu/icu4c/source/test/cintltst/ |
chashtst.c | 32 static void _put(UHashtable* hash, 37 static void _get(UHashtable* hash, 41 static void _remove(UHashtable* hash, 106 UHashtable *hash; local 108 hash = uhash_open(hashChars, isEqualChars, NULL, &status); 111 u_errorName(status), hash); 114 if (hash == NULL) { 118 log_verbose("Ok: uhash_open returned 0x%08X\n", hash); 120 _put(hash, one, 1, 0); 121 _put(hash, omega, 24, 0) 156 UHashtable *hash; local 290 UHashtable *hash; local [all...] |
/external/libdrm/amdgpu/ |
util_hash.c | 100 static void *util_data_allocate_node(struct util_hash_data *hash) 102 return malloc(hash->nodeSize); 111 util_hash_create_node(struct util_hash *hash, 115 struct util_node *node = util_data_allocate_node(hash->data.d); 125 ++hash->data.d->size; 129 static void util_data_rehash(struct util_hash_data *hash, int hint) 135 hash->userNumBits = (short)hint; 136 while (primeForNumBits(hint) < (hash->size >> 1)) 142 if (hash->numBits != hint) { 143 struct util_node *e = (struct util_node *)(hash); 243 struct util_hash *hash = malloc(sizeof(struct util_hash)); local [all...] |