/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...] |
cso_hash.c | 97 static void *cso_data_allocate_node(struct cso_hash_data *hash) 99 return MALLOC(hash->nodeSize); 108 cso_hash_create_node(struct cso_hash *hash, 112 struct cso_node *node = cso_data_allocate_node(hash->data.d); 122 ++hash->data.d->size; 126 static void cso_data_rehash(struct cso_hash_data *hash, int hint) 132 hash->userNumBits = (short)hint; 133 while (primeForNumBits(hint) < (hash->size >> 1)) 139 if (hash->numBits != hint) { 140 struct cso_node *e = (struct cso_node *)(hash); 240 struct cso_hash *hash = MALLOC_STRUCT(cso_hash); local [all...] |
/external/guava/guava/src/com/google/common/hash/ |
HashCodes.java | 15 package com.google.common.hash; 43 public static HashCode fromInt(int hash) { 44 return HashCode.fromInt(hash); 55 public static HashCode fromLong(long hash) { 56 return HashCode.fromLong(hash);
|
/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/skia/src/core/ |
SkChecksum.h | 42 * uint32_t -> uint32_t hash, useful for when you're about to trucate this hash but you 47 static uint32_t Mix(uint32_t hash) { 48 hash ^= hash >> 16; 49 hash *= 0x85ebca6b; 50 hash ^= hash >> 13; 51 hash *= 0xc2b2ae35; 52 hash ^= hash >> 16 88 uint32_t hash = seed; local [all...] |
/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...] |
/build/tools/droiddoc/templates-pdk/assets/ |
jquery-history.js | 15 return msie.getDoc().location.hash; 17 setHash: function(hash) { 21 d.location.hash = hash; 26 var hash = msie.iframe ? msie.getHash() : location.hash; 27 if (hash != currentHash) { 28 currentHash = hash; 30 location.hash = currentHash; 39 add: function(hash) { [all...] |
/external/doclava/res/assets/templates/assets/ |
jquery-history.js | 15 return msie.getDoc().location.hash; 17 setHash: function(hash) { 21 d.location.hash = hash; 26 var hash = msie.iframe ? msie.getHash() : location.hash; 27 if (hash != currentHash) { 28 currentHash = hash; 30 location.hash = currentHash; 39 add: function(hash) { [all...] |
/external/vboot_reference/tests/futility/ |
test_create.sh | 17 for hash in sha1 sha256 sha512; do 18 ${FUTILITY} --vb1 create --hash_alg "${hash}" \ 19 "${TESTKEYS}/key_${sig}.pem" "${TMP}_key_${sig}.${hash}" 20 cmp "${TESTKEYS}/key_${sig}.${hash}.vbprivk" \ 21 "${TMP}_key_${sig}.${hash}.vbprivk" 22 cmp "${TESTKEYS}/key_${sig}.${hash}.vbpubk" \ 23 "${TMP}_key_${sig}.${hash}.vbpubk" 31 for hash in sha1 sha256 sha512; do 32 ${FUTILITY} --vb21 create --hash_alg "${hash}" \ 33 "${TESTKEYS}/key_${sig}.pem" "${TMP}_key_${sig}.${hash}" [all...] |
/ndk/sources/cxx-stl/stlport/stlport/stl/ |
_hash_fun.h | 40 template <class _Key> struct hash { }; struct 56 struct hash<char*> { struct 64 struct hash<const char*> { struct 71 _STLP_TEMPLATE_NULL struct hash<char> { struct 74 _STLP_TEMPLATE_NULL struct hash<unsigned char> { struct 78 _STLP_TEMPLATE_NULL struct hash<signed char> { struct 82 _STLP_TEMPLATE_NULL struct hash<short> { struct 85 _STLP_TEMPLATE_NULL struct hash<unsigned short> { struct 88 _STLP_TEMPLATE_NULL struct hash<int> { struct 93 _STLP_TEMPLATE_NULL struct hash<unsigned int> struct 103 _STLP_TEMPLATE_NULL struct hash<size_t> { struct 108 _STLP_TEMPLATE_NULL struct hash<long> { struct 111 _STLP_TEMPLATE_NULL struct hash<unsigned long> { struct 116 _STLP_TEMPLATE_NULL struct hash<_STLP_LONG_LONG> { struct 119 _STLP_TEMPLATE_NULL struct hash<unsigned _STLP_LONG_LONG> { struct 125 struct hash<void *> struct [all...] |
/prebuilts/ndk/5/sources/cxx-stl/stlport/stlport/stl/ |
_hash_fun.h | 40 template <class _Key> struct hash { }; struct 56 struct hash<char*> { struct 64 struct hash<const char*> { struct 71 _STLP_TEMPLATE_NULL struct hash<char> { struct 74 _STLP_TEMPLATE_NULL struct hash<unsigned char> { struct 78 _STLP_TEMPLATE_NULL struct hash<signed char> { struct 82 _STLP_TEMPLATE_NULL struct hash<short> { struct 85 _STLP_TEMPLATE_NULL struct hash<unsigned short> { struct 88 _STLP_TEMPLATE_NULL struct hash<int> { struct 93 _STLP_TEMPLATE_NULL struct hash<unsigned int> struct 103 _STLP_TEMPLATE_NULL struct hash<size_t> { struct 108 _STLP_TEMPLATE_NULL struct hash<long> { struct 111 _STLP_TEMPLATE_NULL struct hash<unsigned long> { struct 116 _STLP_TEMPLATE_NULL struct hash<_STLP_LONG_LONG> { struct 119 _STLP_TEMPLATE_NULL struct hash<unsigned _STLP_LONG_LONG> { struct 125 struct hash<void *> struct [all...] |
/prebuilts/ndk/6/sources/cxx-stl/stlport/stlport/stl/ |
_hash_fun.h | 40 template <class _Key> struct hash { }; struct 56 struct hash<char*> { struct 64 struct hash<const char*> { struct 71 _STLP_TEMPLATE_NULL struct hash<char> { struct 74 _STLP_TEMPLATE_NULL struct hash<unsigned char> { struct 78 _STLP_TEMPLATE_NULL struct hash<signed char> { struct 82 _STLP_TEMPLATE_NULL struct hash<short> { struct 85 _STLP_TEMPLATE_NULL struct hash<unsigned short> { struct 88 _STLP_TEMPLATE_NULL struct hash<int> { struct 93 _STLP_TEMPLATE_NULL struct hash<unsigned int> struct 103 _STLP_TEMPLATE_NULL struct hash<size_t> { struct 108 _STLP_TEMPLATE_NULL struct hash<long> { struct 111 _STLP_TEMPLATE_NULL struct hash<unsigned long> { struct 116 _STLP_TEMPLATE_NULL struct hash<_STLP_LONG_LONG> { struct 119 _STLP_TEMPLATE_NULL struct hash<unsigned _STLP_LONG_LONG> { struct 125 struct hash<void *> struct [all...] |
/prebuilts/ndk/7/sources/cxx-stl/stlport/stlport/stl/ |
_hash_fun.h | 40 template <class _Key> struct hash { }; struct 56 struct hash<char*> { struct 64 struct hash<const char*> { struct 71 _STLP_TEMPLATE_NULL struct hash<char> { struct 74 _STLP_TEMPLATE_NULL struct hash<unsigned char> { struct 78 _STLP_TEMPLATE_NULL struct hash<signed char> { struct 82 _STLP_TEMPLATE_NULL struct hash<short> { struct 85 _STLP_TEMPLATE_NULL struct hash<unsigned short> { struct 88 _STLP_TEMPLATE_NULL struct hash<int> { struct 93 _STLP_TEMPLATE_NULL struct hash<unsigned int> struct 103 _STLP_TEMPLATE_NULL struct hash<size_t> { struct 108 _STLP_TEMPLATE_NULL struct hash<long> { struct 111 _STLP_TEMPLATE_NULL struct hash<unsigned long> { struct 116 _STLP_TEMPLATE_NULL struct hash<_STLP_LONG_LONG> { struct 119 _STLP_TEMPLATE_NULL struct hash<unsigned _STLP_LONG_LONG> { struct 125 struct hash<void *> struct [all...] |
/prebuilts/ndk/8/sources/cxx-stl/stlport/stlport/stl/ |
_hash_fun.h | 40 template <class _Key> struct hash { }; struct 56 struct hash<char*> { struct 64 struct hash<const char*> { struct 71 _STLP_TEMPLATE_NULL struct hash<char> { struct 74 _STLP_TEMPLATE_NULL struct hash<unsigned char> { struct 78 _STLP_TEMPLATE_NULL struct hash<signed char> { struct 82 _STLP_TEMPLATE_NULL struct hash<short> { struct 85 _STLP_TEMPLATE_NULL struct hash<unsigned short> { struct 88 _STLP_TEMPLATE_NULL struct hash<int> { struct 93 _STLP_TEMPLATE_NULL struct hash<unsigned int> struct 103 _STLP_TEMPLATE_NULL struct hash<size_t> { struct 108 _STLP_TEMPLATE_NULL struct hash<long> { struct 111 _STLP_TEMPLATE_NULL struct hash<unsigned long> { struct 116 _STLP_TEMPLATE_NULL struct hash<_STLP_LONG_LONG> { struct 119 _STLP_TEMPLATE_NULL struct hash<unsigned _STLP_LONG_LONG> { struct 125 struct hash<void *> struct [all...] |
/prebuilts/ndk/9/sources/cxx-stl/EH/stlport/stlport/stl/ |
_hash_fun.h | 40 template <class _Key> struct hash { }; struct 56 struct hash<char*> { struct 64 struct hash<const char*> { struct 71 _STLP_TEMPLATE_NULL struct hash<char> { struct 74 _STLP_TEMPLATE_NULL struct hash<unsigned char> { struct 78 _STLP_TEMPLATE_NULL struct hash<signed char> { struct 82 _STLP_TEMPLATE_NULL struct hash<short> { struct 85 _STLP_TEMPLATE_NULL struct hash<unsigned short> { struct 88 _STLP_TEMPLATE_NULL struct hash<int> { struct 93 _STLP_TEMPLATE_NULL struct hash<unsigned int> struct 103 _STLP_TEMPLATE_NULL struct hash<size_t> { struct 108 _STLP_TEMPLATE_NULL struct hash<long> { struct 111 _STLP_TEMPLATE_NULL struct hash<unsigned long> { struct 116 _STLP_TEMPLATE_NULL struct hash<_STLP_LONG_LONG> { struct 119 _STLP_TEMPLATE_NULL struct hash<unsigned _STLP_LONG_LONG> { struct 125 struct hash<void *> struct [all...] |
/frameworks/compile/mclinker/include/mcld/Support/ |
PathCache.h | 23 hash::StringCompare<llvm::StringRef> > HashEntryType; 26 hash::StringHash<hash::DJB>,
|
/prebuilts/ndk/5/sources/cxx-stl/gnu-libstdc++/include/tr1_impl/ |
functional_hash.h | 34 /// Class template hash. 35 // Declaration of default hash functor std::tr1::hash. The types for 36 // which std::tr1::hash<T> is well-defined is in clause 6.3.3. of the PDTR. 38 struct hash : public std::unary_function<_Tp, size_t> struct in namespace:std 46 struct hash<_Tp*> : public std::unary_function<_Tp*, size_t> struct in namespace:std 57 hash<_Tp>::operator()(_Tp __val) const \ 80 // Fowler / Noll / Vo (FNV) Hash (type FNV-1a) 81 // (Used by the next specializations of std::tr1::hash.) 88 hash(const char* __first, size_t __length function in struct:std::_Fnv_hash 101 hash(const char* __first, size_t __length) function in struct:std::_Fnv_hash 117 hash(const char* __first, size_t __length) function in struct:std::_Fnv_hash [all...] |
/prebuilts/ndk/6/sources/cxx-stl/gnu-libstdc++/include/tr1_impl/ |
functional_hash.h | 34 /// Class template hash. 35 // Declaration of default hash functor std::tr1::hash. The types for 36 // which std::tr1::hash<T> is well-defined is in clause 6.3.3. of the PDTR. 38 struct hash : public std::unary_function<_Tp, size_t> struct in namespace:std 46 struct hash<_Tp*> : public std::unary_function<_Tp*, size_t> struct in namespace:std 57 hash<_Tp>::operator()(_Tp __val) const \ 80 // Fowler / Noll / Vo (FNV) Hash (type FNV-1a) 81 // (Used by the next specializations of std::tr1::hash.) 88 hash(const char* __first, size_t __length function in struct:std::_Fnv_hash 101 hash(const char* __first, size_t __length) function in struct:std::_Fnv_hash 117 hash(const char* __first, size_t __length) function in struct:std::_Fnv_hash [all...] |
/prebuilts/ndk/7/sources/cxx-stl/gnu-libstdc++/include/tr1_impl/ |
functional_hash.h | 34 /// Class template hash. 35 // Declaration of default hash functor std::tr1::hash. The types for 36 // which std::tr1::hash<T> is well-defined is in clause 6.3.3. of the PDTR. 38 struct hash : public std::unary_function<_Tp, size_t> struct in namespace:std 46 struct hash<_Tp*> : public std::unary_function<_Tp*, size_t> struct in namespace:std 57 hash<_Tp>::operator()(_Tp __val) const \ 80 // Fowler / Noll / Vo (FNV) Hash (type FNV-1a) 81 // (Used by the next specializations of std::tr1::hash.) 88 hash(const char* __first, size_t __length function in struct:std::_Fnv_hash 101 hash(const char* __first, size_t __length) function in struct:std::_Fnv_hash 117 hash(const char* __first, size_t __length) function in struct:std::_Fnv_hash [all...] |
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.4.3/include/tr1_impl/ |
functional_hash.h | 34 /// Class template hash. 35 // Declaration of default hash functor std::tr1::hash. The types for 36 // which std::tr1::hash<T> is well-defined is in clause 6.3.3. of the PDTR. 38 struct hash : public std::unary_function<_Tp, size_t> struct in namespace:std 46 struct hash<_Tp*> : public std::unary_function<_Tp*, size_t> struct in namespace:std 57 hash<_Tp>::operator()(_Tp __val) const \ 80 // Fowler / Noll / Vo (FNV) Hash (type FNV-1a) 81 // (Used by the next specializations of std::tr1::hash.) 88 hash(const char* __first, size_t __length function in struct:std::_Fnv_hash 101 hash(const char* __first, size_t __length) function in struct:std::_Fnv_hash 117 hash(const char* __first, size_t __length) function in struct:std::_Fnv_hash [all...] |
/external/deqp/framework/delibs/depool/ |
dePoolHash.h | 23 * \brief Memory pool hash class. 45 * \brief Declare a template pool hash class interface. 46 * \param TYPENAME Type name of the declared hash. 50 * This macro declares the interface for a hash. For the implementation of 51 * the hash, see DE_IMPLEMENT_POOL_HASH. Usually this macro is put into the 56 * The functions for operating the hash are: 60 * Hash* Hash_create (deMemPool* pool); 61 * int Hash_getNumElements (const Hash* hash); 62 * Value* Hash_find (Hash* hash, Key key) [all...] |
/external/linux-tools-perf/src/include/linux/ |
hash.h | 37 u64 hash = val; local 40 u64 n = hash; 42 hash -= n; 44 hash -= n; 46 hash += n; 48 hash -= n; 50 hash += n; 52 hash += n; 55 return hash >> (64 - bits); 61 u32 hash = val * GOLDEN_RATIO_PRIME_32 local [all...] |
/external/wpa_supplicant_8/src/eap_common/ |
eap_psk_common.c | 37 u8 hash[aes_block_size]; local 41 if (aes_128_encrypt_block(kdk, rand_p, hash)) 44 hash[aes_block_size - 1] ^= counter; 45 if (aes_128_encrypt_block(kdk, hash, tek)) 47 hash[aes_block_size - 1] ^= counter; 51 hash[aes_block_size - 1] ^= counter; 52 if (aes_128_encrypt_block(kdk, hash, &msk[i * aes_block_size])) 54 hash[aes_block_size - 1] ^= counter; 59 hash[aes_block_size - 1] ^= counter; 60 if (aes_128_encrypt_block(kdk, hash, [all...] |
/frameworks/base/sax/java/android/sax/ |
Children.java | 31 int hash = uri.hashCode() * 31 + localName.hashCode(); local 32 int index = hash & 15; 37 current = new Child(parent, uri, localName, parent.depth + 1, hash); 44 if (current.hash == hash 56 current = new Child(parent, uri, localName, parent.depth + 1, hash); 66 int hash = uri.hashCode() * 31 + localName.hashCode(); local 67 int index = hash & 15; 74 if (current.hash == hash 88 final int hash; field in class:Children.Child [all...] |