/external/mesa3d/src/gallium/auxiliary/cso_cache/ |
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/libchrome/crypto/third_party/nss/ |
rsawrapr.c | 26 const SECHashObject *hash; local 30 hash = HASH_GetHashObject(hashAlg); 31 if (hash == NULL) 34 hashContext = (*hash->create)(); 35 rounds = (maskLen + hash->length - 1) / hash->length; 44 (*hash->begin)(hashContext); 45 (*hash->update)(hashContext, mgfSeed, mgfSeedLen); 46 (*hash->update)(hashContext, C, sizeof C); 48 tempHash = mask + counter * hash->length 78 const SECHashObject *hash; local [all...] |
/external/caliper/caliper/src/main/java/com/google/caliper/model/ |
PersistentHashing.java | 19 import com.google.common.hash.HashFunction; 20 import com.google.common.hash.Hashing; 23 * A utility class for standardizing the hash function that we're using for persistence.
|
/external/freetype/src/base/ |
fthash.c | 57 /* Mocklisp hash function. */ 72 /* Mocklisp hash function. */ 107 FT_Hash hash ) 110 FT_Hashnode* bp = hash->table; 114 res = (hash->lookup)( &key ); 116 ndp = bp + ( res % hash->size ); 119 if ( (hash->compare)( &(*ndp)->key, &key ) ) 124 ndp = bp + ( hash->size - 1 ); 132 hash_rehash( FT_Hash hash, 135 FT_Hashnode* obp = hash->table [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/current/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...] |
/toolchain/binutils/binutils-2.25/ld/testsuite/ld-mips-elf/ |
hash1b.d | 2 #ld: -shared --hash-style=both 3 #error: .gnu.hash is incompatible with the MIPS ABI
|
hash1c.d | 2 #ld: -shared --hash-style=gnu 3 #error: .gnu.hash is incompatible with the MIPS ABI
|
/frameworks/compile/mclinker/include/mcld/Support/ |
PathCache.h | 23 hash::StringCompare<llvm::StringRef> > HashEntryType; 26 hash::StringHash<hash::DJB>,
|
/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/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...] |
/external/libdrm/amdgpu/ |
util_hash.h | 30 * Hash 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 util_hash *hash; member in struct:util_hash_iter 65 drm_private void util_hash_delete(struct util_hash *hash); 69 * Adds a data with the given key to the hash. If entry with the given 70 * key is already in the hash, this current entry is instered before it 72 * Function returns iterator pointing to the inserted item in the hash. 75 util_hash_insert(struct util_hash *hash, unsigned key, void *data); 78 * Removes the item pointed to by the current iterator from the hash [all...] |
/external/libweave/third_party/chromium/crypto/ |
sha2.cc | 15 std::string hash = SHA256HashString(str); local 16 len = std::min(hash.size(), len); 17 std::copy(hash.begin(), hash.begin() + len, output); 25 std::string hash(kSHA256Length, 0); 26 SHA256_Final(reinterpret_cast<uint8_t*>(&hash[0]), &sha_context); 27 return hash;
|
/external/lzma/CPP/7zip/Crypto/ |
RandGen.cpp | 28 #define HASH_UPD(x) Sha256_Update(&hash, (const Byte *)&x, sizeof(x));
32 CSha256 hash;
local 33 Sha256_Init(&hash);
79 Sha256_Final(&hash, _buff);
80 Sha256_Init(&hash);
81 Sha256_Update(&hash, _buff, SHA256_DIGEST_SIZE);
84 Sha256_Final(&hash, _buff);
97 CSha256 hash;
local 99 Sha256_Init(&hash);
100 Sha256_Update(&hash, _buff, SHA256_DIGEST_SIZE); [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...] |
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/util/ |
ZHash.java | 23 * Concrete implementation of ZIndexable. Provides fast element retrieval via hash key. Also provides
28 private HashMap<KeyType, ValueType> hash;
field in class:ZHash 34 hash = new HashMap<KeyType, ValueType>();
45 return hash.get(key);
59 if(hash.containsKey(key)) {
60 hash.put(key, value);
63 hash.put(key, value);
76 if(hash.containsKey(key)) {
77 hash.put(key, value);
80 hash.put(key, value); [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/x86_64-linux/include/c++/4.8/tr1/ |
functional_hash.h | 41 /// Class template hash. 42 // Declaration of default hash functor std::tr1::hash. The types for 43 // which std::tr1::hash<T> is well-defined is in clause 6.3.3. of the PDTR. 45 struct hash : public std::unary_function<_Tp, size_t> struct in namespace:tr1 53 struct hash<_Tp*> : public std::unary_function<_Tp*, size_t> struct in namespace:tr1 64 hash<_Tp>::operator()(_Tp __val) const \ 83 // Fowler / Noll / Vo (FNV) Hash (type FNV-1a) 84 // (Used by the next specializations of std::tr1::hash.) 92 hash(const _Tp* __ptr, size_t __clength function in struct:tr1::_Fnv_hash_base 107 hash(const _Tp* __ptr, size_t __clength) function in struct:tr1::_Fnv_hash_base 125 hash(const _Tp* __ptr, size_t __clength) function in struct:tr1::_Fnv_hash_base 146 hash(const _Tp& __val) function in struct:tr1::_Fnv_hash [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/tr1/ |
functional_hash.h | 41 /// Class template hash. 42 // Declaration of default hash functor std::tr1::hash. The types for 43 // which std::tr1::hash<T> is well-defined is in clause 6.3.3. of the PDTR. 45 struct hash : public std::unary_function<_Tp, size_t> struct in namespace:tr1 53 struct hash<_Tp*> : public std::unary_function<_Tp*, size_t> struct in namespace:tr1 64 hash<_Tp>::operator()(_Tp __val) const \ 83 // Fowler / Noll / Vo (FNV) Hash (type FNV-1a) 84 // (Used by the next specializations of std::tr1::hash.) 92 hash(const _Tp* __ptr, size_t __clength function in struct:tr1::_Fnv_hash_base 107 hash(const _Tp* __ptr, size_t __clength) function in struct:tr1::_Fnv_hash_base 125 hash(const _Tp* __ptr, size_t __clength) function in struct:tr1::_Fnv_hash_base 146 hash(const _Tp& __val) function in struct:tr1::_Fnv_hash [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/tr1/ |
functional_hash.h | 41 /// Class template hash. 42 // Declaration of default hash functor std::tr1::hash. The types for 43 // which std::tr1::hash<T> is well-defined is in clause 6.3.3. of the PDTR. 45 struct hash : public std::unary_function<_Tp, size_t> struct in namespace:tr1 53 struct hash<_Tp*> : public std::unary_function<_Tp*, size_t> struct in namespace:tr1 64 hash<_Tp>::operator()(_Tp __val) const \ 83 // Fowler / Noll / Vo (FNV) Hash (type FNV-1a) 84 // (Used by the next specializations of std::tr1::hash.) 92 hash(const _Tp* __ptr, size_t __clength function in struct:tr1::_Fnv_hash_base 107 hash(const _Tp* __ptr, size_t __clength) function in struct:tr1::_Fnv_hash_base 125 hash(const _Tp* __ptr, size_t __clength) function in struct:tr1::_Fnv_hash_base 146 hash(const _Tp& __val) function in struct:tr1::_Fnv_hash [all...] |
/prebuilts/ndk/current/sources/cxx-stl/gnu-libstdc++/4.9/include/tr1/ |
functional_hash.h | 41 /// Class template hash. 42 // Declaration of default hash functor std::tr1::hash. The types for 43 // which std::tr1::hash<T> is well-defined is in clause 6.3.3. of the PDTR. 45 struct hash : public std::unary_function<_Tp, size_t> struct in namespace:tr1 53 struct hash<_Tp*> : public std::unary_function<_Tp*, size_t> struct in namespace:tr1 64 hash<_Tp>::operator()(_Tp __val) const \ 83 // Fowler / Noll / Vo (FNV) Hash (type FNV-1a) 84 // (Used by the next specializations of std::tr1::hash.) 92 hash(const _Tp* __ptr, size_t __clength function in struct:tr1::_Fnv_hash_base 107 hash(const _Tp* __ptr, size_t __clength) function in struct:tr1::_Fnv_hash_base 125 hash(const _Tp* __ptr, size_t __clength) function in struct:tr1::_Fnv_hash_base 146 hash(const _Tp& __val) function in struct:tr1::_Fnv_hash [all...] |
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/ |
ExtendedType.java | 32 private int hash; field in class:ExtendedType 36 * The hash code is calculated from the node type, namespace and local name. 47 this.hash = nodetype + namespace.hashCode() + localName.hashCode(); 52 * and a given hash code. 57 * @param hash The given hash code 59 public ExtendedType (int nodetype, String namespace, String localName, int hash) 64 this.hash = hash; 77 this.hash = nodetype + namespace.hashCode() + localName.hashCode() [all...] |
/external/deqp/framework/delibs/debase/ |
deSha1.c | 21 * \brief SHA1 hash functions. 50 stream->hash[0] = 0x67452301u; 51 stream->hash[1] = 0xEFCDAB89u; 52 stream->hash[2] = 0x98BADCFEu; 53 stream->hash[3] = 0x10325476u; 54 stream->hash[4] = 0xC3D2E1F0u; 75 deUint32 a = stream->hash[0]; 76 deUint32 b = stream->hash[1]; 77 deUint32 c = stream->hash[2]; 78 deUint32 d = stream->hash[3] 267 const char* const hash; member in struct:__anon9091 287 deSha1 hash; local 299 deSha1 hash; local 358 deSha1 hash; local [all...] |