HomeSort by relevance Sort by last modified time
    Searched refs:hash (Results 1 - 25 of 3742) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /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...]
  /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/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/skia/include/private/
SkChecksum.h 18 * uint32_t -> uint32_t hash, useful for when you're about to trucate this hash but you
23 static uint32_t Mix(uint32_t hash) {
24 hash ^= hash >> 16;
25 hash *= 0x85ebca6b;
26 hash ^= hash >> 13;
27 hash *= 0xc2b2ae35;
28 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
  /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
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/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...]
  /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/current/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/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...]
  /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>
  /external/mesa3d/src/gallium/auxiliary/cso_cache/
cso_hash.h 30 * Hash table implementation.
32 * This file provides a hash implementation that is capable of dealing
34 * functions operating on the hash return an iterator. The iterator
59 struct cso_hash *hash; member in struct:cso_hash_iter
65 void cso_hash_delete(struct cso_hash *hash);
68 int cso_hash_size(struct cso_hash *hash);
72 * Adds a data with the given key to the hash. If entry with the given
73 * key is already in the hash, this current entry is instered before it
75 * Function returns iterator pointing to the inserted item in the hash.
77 struct cso_hash_iter cso_hash_insert(struct cso_hash *hash, unsigned key
    [all...]
  /external/skia/src/core/
SkChecksum.cpp 19 uint32_t hash = seed; local
26 hash ^= k;
27 hash = (hash << 13) | (hash >> 19);
28 hash *= 5;
29 hash += 0xe6546b64;
42 hash ^= k;
45 hash ^= bytes;
46 return SkChecksum::Mix(hash);
    [all...]
  /system/bt/osi/src/
hash_functions.c 36 hash_index_t hash = 5381; local
40 hash = ((hash << 5) + hash ) + name[i];
41 return hash;
  /external/libcxx/test/std/experimental/optional/optional.hash/
hash.pass.cpp 12 // template <class T> struct hash<optional<T>>;
28 assert(std::hash<optional<T>>{}(opt) == 0);
30 assert(std::hash<optional<T>>{}(opt) == std::hash<T>{}(*opt));
35 assert(std::hash<optional<T>>{}(opt) == 0);
37 assert(std::hash<optional<T>>{}(opt) == std::hash<T>{}(*opt));
42 assert(std::hash<optional<T>>{}(opt) == 0);
44 assert(std::hash<optional<T>>{}(opt) == std::hash<T>{}(*opt))
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/optional/optional.hash/
hash.pass.cpp 12 // template <class T> struct hash<optional<T>>;
28 assert(std::hash<optional<T>>{}(opt) == 0);
30 assert(std::hash<optional<T>>{}(opt) == std::hash<T>{}(*opt));
35 assert(std::hash<optional<T>>{}(opt) == 0);
37 assert(std::hash<optional<T>>{}(opt) == std::hash<T>{}(*opt));
42 assert(std::hash<optional<T>>{}(opt) == 0);
44 assert(std::hash<optional<T>>{}(opt) == std::hash<T>{}(*opt))
    [all...]
  /external/deqp/framework/delibs/debase/
deSha1.h 23 * \brief SHA1 hash functions.
33 deUint32 hash[5]; member in struct:deSha1Stream_s
40 deUint32 hash[5]; member in struct:deSha1_s
49 /* Finalize the stream and output the hash. */
50 void deSha1Stream_finalize (deSha1Stream* stream, deSha1* hash);
52 /* Compute the sha1 hash from data. */
53 void deSha1_compute (deSha1* hash, size_t size, const void* data);
55 /* Render sha1 hash as 40 digit hex string. */
56 void deSha1_render (const deSha1* hash, char* buffer);
59 deBool deSha1_parse (deSha1* hash, const char* buffer)
    [all...]

Completed in 2996 milliseconds

1 2 3 4 5 6 7 8 91011>>