/external/chromium_org/third_party/WebKit/Source/wtf/text/ |
H A D | StringHash.h | 36 // The hash() functions on StringHash and CaseFoldingHash do not support 42 // closer to having all the nearly-identical hash functions in one place. 45 static unsigned hash(StringImpl* key) { return key->hash(); } function in struct:WTF::StringHash 51 static unsigned hash(const RefPtr<StringImpl>& key) { return key->hash(); } function in struct:WTF::StringHash 57 static unsigned hash(const String& key) { return key.impl()->hash(); } function in struct:WTF::StringHash 73 static unsigned hash(const UChar* data, unsigned length) function in class:WTF::CaseFoldingHash 78 static unsigned hash(StringImp function in class:WTF::CaseFoldingHash 85 static unsigned hash(const LChar* data, unsigned length) function in class:WTF::CaseFoldingHash 90 static inline unsigned hash(const char* data, unsigned length) function in class:WTF::CaseFoldingHash 100 static unsigned hash(const RefPtr<StringImpl>& key) function in class:WTF::CaseFoldingHash 110 static unsigned hash(const String& key) function in class:WTF::CaseFoldingHash 114 static unsigned hash(const AtomicString& key) function in class:WTF::CaseFoldingHash 134 static unsigned hash(unsigned key) { return key; } function in struct:WTF::AlreadyHashed 140 avoidDeletedValue(unsigned hash) argument [all...] |
/external/chromium_org/third_party/boringssl/src/include/openssl/ |
H A D | lhash.h | 67 /* lhash is a traditional, chaining hash table that automatically expands and 71 * A hash table of a specific type of object has type |LHASH_OF(type)|. This 81 * Although note that the hash table will contain /pointers/ to |foo|. 109 /* lhash_item_st is an element of a hash chain. It points to the opaque data 115 /* hash contains the cached, hash value of |data|. */ 116 uint32_t hash; member in struct:lhash_item_st 130 /* num_items contains the total number of items in the hash table. */ 133 * a chain of LHASH_ITEM objects that have the same hash value, mod 145 lhash_hash_func hash; member in struct:lhash_st [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
H A D | u_surfaces.h | 39 struct cso_hash *hash; member in union:util_surfaces::__anon13788 80 return cso_hash_iter_data(cso_hash_find(us->u.hash, (layer << 8) | level));
|
/external/chromium_org/third_party/protobuf/src/google/protobuf/stubs/ |
H A D | hash.h | 59 // Make hash<T> be the same as less<T>. Note that everywhere where custom 60 // hash functions are defined in the protobuf code, they are also defined such 63 struct hash { struct in namespace:google::protobuf 64 // Dummy, just to make derivative hash functions compile. 77 struct hash<const char*> { struct in namespace:google::protobuf 78 // Dummy, just to make derivative hash functions compile. 90 typename HashFcn = hash<Key>, 98 typename HashFcn = hash<Key>, 108 struct hash : public HASH_NAMESPACE::hash_compare<Key> { 121 struct hash<cons 190 struct hash<string> { struct in namespace:google::protobuf 203 struct hash<pair<First, Second> > { struct in namespace:google::protobuf [all...] |
/external/chromium_org/v8/src/compiler/ |
H A D | node-cache.cc | 60 int hash = NodeCacheHash(old->key_); local 61 int start = hash & (size_ - 1); 79 int32_t hash = NodeCacheHash(key); local 86 Entry* entry = &entries_[hash & (INITIAL_SIZE - 1)]; 93 int start = hash & (size_ - 1); 108 Entry* entry = &entries_[hash & (size_ - 1)];
|
/external/chromium_org/v8/test/cctest/ |
H A D | test-hashing.cc | 117 HASH_FUNCTION hash = FUNCTION_CAST<HASH_FUNCTION>(code->entry()); local 120 reinterpret_cast<uintptr_t>(CALL_GENERATED_CODE(hash, 0, 0, 0, 0, 0))); 122 uint32_t codegen_hash = hash();
|
/external/deqp/modules/internal/ |
H A D | ditImageIOTests.cpp | 64 const deUint32 hash = deMemoryHash(texture.getAccess().getDataPtr(), imageSize); local 66 if (hash != m_expectedHash) 68 m_testCtx.getLog() << TestLog::Message << "ERROR: expected hash " << tcu::toHex(m_expectedHash) << ", got " << tcu::toHex(hash) << TestLog::EndMessage;
|
/external/elfutils/0.153/lib/ |
H A D | fixedsizehash.h | 1 /* Fixed size hash table with internal linking. 63 TYPE data type of the hash table entries 71 INSERT_HASH if defined alternate insert function which takes a hash 161 HASHTYPE hash; local 168 /* Second hash function as suggested in [Knuth]. */ 169 hash = 1 + hval % (htab->nslots - 2); 173 if (idx <= hash) 174 idx = htab->nslots + idx - hash; 176 idx -= hash;
|
/external/fio/ |
H A D | filelock.c | 3 * No hash indexing, just a list, so only works well for < 100 files or 14 #include "hash.h" 18 uint32_t hash; member in struct:fio_filelock 55 static struct fio_filelock *fio_hash_find(uint32_t hash) argument 62 if (ff->hash == hash) 69 static struct fio_filelock *fio_hash_get(uint32_t hash) argument 73 ff = fio_hash_find(hash); 76 ff->hash = hash; 88 uint32_t hash; local 124 uint32_t hash; local 139 uint32_t hash; local [all...] |
/external/guava/guava/src/com/google/common/hash/ |
H A D | HashCode.java | 15 package com.google.common.hash; 24 * An immutable hash code of arbitrary bit length. 48 * Returns the value of this hash code as a byte array. The caller may modify the byte array; 56 * Copies bytes from this hash code into {@code dest}. 58 * @param dest the byte array into which the hash code will be written 65 byte[] hash = asBytes(); 66 maxLength = Ints.min(maxLength, hash.length); 68 System.arraycopy(hash, 0, dest, offset, maxLength); 73 * Returns the number of bits in this hash code; a positive multiple of 32. 81 // hash cod [all...] |
H A D | Murmur3_32HashFunction.java | 15 package com.google.common.hash;
|
/external/guava/guava-tests/test/com/google/common/hash/ |
H A D | AbstractNonStreamingHashFunctionTest.java | 3 package com.google.common.hash; 6 import com.google.common.hash.HashTestUtils.RandomHasherAction; 37 codes[i] = hashers.get(i).hash();
|
/external/iproute2/tc/ |
H A D | f_tcindex.c | 20 fprintf(stderr," Usage: ... tcindex [ hash SIZE ] [ mask MASK ]" 45 if (!strcmp(*argv,"hash")) { 46 int hash; local 49 hash = strtoul(*argv,&end,0); 50 if (*end || !hash || hash > 0x10000) { 54 addattr_l(n,4096,TCA_TCINDEX_HASH,&hash,sizeof(hash)); 133 __u16 hash; local 135 if (RTA_PAYLOAD(tb[TCA_TCINDEX_HASH]) < sizeof(hash)) [all...] |
/external/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_surfaces.h | 39 struct cso_hash *hash; member in union:util_surfaces::__anon27199 80 return cso_hash_iter_data(cso_hash_find(us->u.hash, (layer << 8) | level));
|
/external/protobuf/src/google/protobuf/stubs/ |
H A D | hash.h | 59 // Make hash<T> be the same as less<T>. Note that everywhere where custom 60 // hash functions are defined in the protobuf code, they are also defined such 63 struct hash { struct in namespace:google::protobuf 64 // Dummy, just to make derivative hash functions compile. 77 struct hash<const char*> { struct in namespace:google::protobuf 78 // Dummy, just to make derivative hash functions compile. 90 typename HashFcn = hash<Key>, 96 typename HashFcn = hash<Key>, 104 struct hash : public HASH_NAMESPACE::hash_compare<Key> { 117 struct hash<cons 178 struct hash<string> { struct in namespace:google::protobuf 191 struct hash<pair<First, Second> > { struct in namespace:google::protobuf [all...] |
/external/qemu/android/base/containers/ |
H A D | StringVector_unittest.cpp | 23 size_t hash = 3467 * n; local 25 result += "0123456789abcdefghijklmnopqrstvuwxyz"[hash % 36]; 26 hash = hash * 3667 + n;
|
/external/qemu/android/utils/ |
H A D | refset.c | 20 uint32_t hash; local 22 hash = (uint32_t)(ptrdiff_t)item >> 2; 24 hash ^= ((uint64_t)(ptrdiff_t)item >> 32); 26 return hash; 32 uint32_t hash = _arefSet_hashItem(item); local 33 unsigned index = hash & (s->max_buckets-1); 50 uint32_t hash = _arefSet_hashItem(item); local 51 unsigned index = hash & (s->max_buckets-1);
|
/external/skia/tests/ |
H A D | DynamicHashTest.cpp | 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); 54 hash.add(&c); 55 ASSERT(hash.capacity() == 4); 57 hash.add(&d); 58 ASSERT(hash 67 Hash hash; local 79 Hash hash; local 114 Hash hash; local 140 Hash hash; local [all...] |
/external/smack/src/org/jivesoftware/smackx/entitycaps/packet/ |
H A D | CapsExtension.java | 25 private String node, ver, hash; field in class:CapsExtension 30 public CapsExtension(String node, String version, String hash) { argument 33 this.hash = hash; 61 return hash; 64 public void setHash(String hash) { argument 65 this.hash = hash; 70 * hash='sha-1' 77 "hash [all...] |
/external/srec/srec/crec/ |
H A D | astar_pphash.c | 32 /* initialize the hash with no elements defined */ 34 void hash_init(FixedSizeHash* hash, srec* rec_debug) argument 37 hash->hashsize = FSH_HASHSIZE; 38 for (i = 0; i < hash->hashsize; i++) 39 hash->items[i] = FSH_NULL; 40 hash->rec = rec_debug; 94 int hash_get(FixedSizeHash* hash, partial_path* parp, void** hval) argument 99 hkey_index = hkey_index % hash->hashsize; 100 p_return = hash->items[hkey_index]; 105 if (compare_parp(p_return, parp, hash 116 hash_set(FixedSizeHash* hash, partial_path* parp) argument 151 hash_del(FixedSizeHash* hash, partial_path* parp) argument [all...] |
/external/wpa_supplicant_8/hostapd/src/crypto/ |
H A D | sha256-prf.c | 57 u8 hash[SHA256_MAC_LEN]; local 82 hmac_sha256_vector(key, key_len, 4, addr, len, hash); 83 os_memcpy(&buf[pos], hash, plen);
|
/external/wpa_supplicant_8/hostapd/src/eap_common/ |
H A D | eap_peap_common.c | 21 u8 hash[SHA1_MAC_LEN]; local 27 addr[0] = hash; 72 if (hmac_sha1_vector(key, key_len, 5, addr, len, hash) < 0) 75 os_memcpy(&buf[pos], hash, SHA1_MAC_LEN); 78 os_memcpy(&buf[pos], hash, plen);
|
/external/wpa_supplicant_8/hostapd/src/utils/ |
H A D | http-utils.h | 24 u8 *hash; member in struct:http_logo
|
/external/wpa_supplicant_8/src/crypto/ |
H A D | sha256-prf.c | 57 u8 hash[SHA256_MAC_LEN]; local 82 hmac_sha256_vector(key, key_len, 4, addr, len, hash); 83 os_memcpy(&buf[pos], hash, plen);
|
/external/wpa_supplicant_8/src/eap_common/ |
H A D | eap_peap_common.c | 21 u8 hash[SHA1_MAC_LEN]; local 27 addr[0] = hash; 72 if (hmac_sha1_vector(key, key_len, 5, addr, len, hash) < 0) 75 os_memcpy(&buf[pos], hash, SHA1_MAC_LEN); 78 os_memcpy(&buf[pos], hash, plen);
|