Home
last modified time | relevance | path

Searched +defs:hash +defs:h (Results 1 – 25 of 65) sorted by relevance

123

/external/chromium_org/third_party/smhasher/src/
DKeysetTest.h30 pfHash hash, std::vector<hashtype> & hashes ) in CombinationKeygenRecurse()
40 hashtype h; in CombinationKeygenRecurse() local
53 bool CombinationKeyTest ( hashfunc<hashtype> hash, int maxlen, uint32_t * blocks, int blockcount, b… in CombinationKeyTest()
85 void PermutationKeygenRecurse ( pfHash hash, uint32_t * blocks, int blockcount, int k, std::vector<… in PermutationKeygenRecurse()
89 hashtype h; in PermutationKeygenRecurse() local
109 bool PermutationKeyTest ( hashfunc<hashtype> hash, uint32_t * blocks, int blockcount, bool testColl… in PermutationKeyTest()
136 void SparseKeygenRecurse ( pfHash hash, int start, int bitsleft, bool inclusive, keytype & k, std::… in SparseKeygenRecurse()
141 hashtype h; in SparseKeygenRecurse() local
165 bool SparseKeyTest ( hashfunc<hashtype> hash, const int setbits, bool inclusive, bool testColl, boo… in SparseKeyTest()
178 hashtype h; in SparseKeyTest() local
[all …]
DStats.h69 int PrintCollisions ( hashfunc<hashtype> hash, std::vector<keytype> & keys ) in PrintCollisions()
80 hashtype h = hash(&k1,sizeof(keytype),0); in PrintCollisions() local
140 hashtype & hash = hashes[j]; in TestDistribution() local
261 bool TestKeyList ( hashfunc<hashtype> hash, std::vector<keytype> & keys, bool testColl, bool testDi… in TestKeyList()
326 hashtype & hash = hashes[i]; in TestDistributionBytepairs() local
371 hashtype & hash = hashes[j]; in TestDistributionFast() local
/external/clang/test/CXX/temp/temp.spec/temp.explicit/
Dp6.cpp17 template<typename T> struct hash { }; struct
24 hash<T> h; member
32 template<> struct hash<S> { struct
33 int operator()(const S& k) const { in operator ()()
/external/chromium_org/third_party/leveldatabase/src/util/
Dcache.cc34 uint32_t hash; // Hash of key(); used for fast sharding and comparisons member
58 LRUHandle* Lookup(const Slice& key, uint32_t hash) { in Lookup()
62 LRUHandle* Insert(LRUHandle* h) { in Insert()
78 LRUHandle* Remove(const Slice& key, uint32_t hash) { in Remove()
98 LRUHandle** FindPointer(const Slice& key, uint32_t hash) { in FindPointer()
116 LRUHandle* h = list_[i]; in Resize() local
119 uint32_t hash = h->hash; in Resize() local
209 Cache::Handle* LRUCache::Lookup(const Slice& key, uint32_t hash) { in Lookup()
226 const Slice& key, uint32_t hash, void* value, size_t charge, in Insert()
258 void LRUCache::Erase(const Slice& key, uint32_t hash) { in Erase()
[all …]
/external/chromium_org/third_party/WebKit/Source/platform/fonts/skia/
DFontPlatformDataSkia.cpp41 unsigned FontPlatformData::hash() const in hash() function in WebCore::FontPlatformData
43 unsigned h = SkTypeface::UniqueID(m_typeface.get()); in hash() local
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_stackdepot.cc32 u32 hash; member
51 static u32 hash(const uptr *stack, uptr size) { in hash() function
56 u32 h = seed ^ (size * sizeof(uptr)); in hash() local
108 static u32 find(StackDesc *s, const uptr *stack, uptr size, u32 hash) { in find()
147 uptr h = hash(stack, size); in StackDepotPut() local
/external/qemu/android/skin/
Dimage.c40 sdl_surface_from_argb32( void* base, int w, int h ) in sdl_surface_from_argb32()
150 unsigned h, in blend_image()
175 unsigned h = 0; in skin_image_desc_hash() local
211 unsigned hash; member
218 unsigned w, h; member
253 skin_image_alloc( SkinImageDesc* desc, unsigned hash ) in skin_image_alloc()
279 unsigned w, h; in skin_image_load() local
450 unsigned h = skin_image_desc_hash(desc); in skin_image_lookup_p() local
467 skin_image_create( SkinImageDesc* desc, unsigned hash ) in skin_image_create()
538 unsigned hash; in skin_image_find() local
/external/openssl/crypto/lhash/
Dlhash.c114 _LHASH *lh_new(LHASH_HASH_FN_TYPE h, LHASH_COMP_FN_TYPE c) in lh_new()
181 unsigned long hash; in lh_insert() local
219 unsigned long hash; in lh_delete() local
250 unsigned long hash; in lh_retrieve() local
314 unsigned long hash,nni; in expand() local
408 unsigned long hash,nn; in getrn() local
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/cso_cache/
Dcso_hash.c97 static void *cso_data_allocate_node(struct cso_hash_data *hash) in cso_data_allocate_node()
108 cso_hash_create_node(struct cso_hash *hash, in cso_hash_create_node()
126 static void cso_data_rehash(struct cso_hash_data *hash, int hint) in cso_data_rehash()
154 unsigned h = firstNode->key; in cso_data_rehash() local
175 static void cso_data_might_grow(struct cso_hash_data *hash) in cso_data_might_grow()
181 static void cso_data_has_shrunk(struct cso_hash_data *hash) in cso_data_has_shrunk()
190 static struct cso_node *cso_data_first_node(struct cso_hash_data *hash) in cso_data_first_node()
203 static struct cso_node **cso_hash_find_node(struct cso_hash *hash, unsigned akey) in cso_hash_find_node()
218 struct cso_hash_iter cso_hash_insert(struct cso_hash *hash, in cso_hash_insert()
240 struct cso_hash *hash = MALLOC_STRUCT(cso_hash); in cso_hash_create() local
[all …]
Dcso_cache.c51 unsigned hash = 0, i; in hash_key() local
65 unsigned h = 0; in hash_key() local
85 struct cso_hash *hash; in _cso_hash_for_type() local
156 struct cso_hash *hash, in sanitize_hash()
165 static INLINE void sanitize_cb(struct cso_hash *hash, enum cso_cache_type type, in sanitize_cb()
190 struct cso_hash *hash = _cso_hash_for_type(sc, type); in cso_insert_state() local
200 struct cso_hash *hash = _cso_hash_for_type(sc, type); in cso_find_state() local
206 void *cso_hash_find_data_from_template( struct cso_hash *hash, in cso_hash_find_data_from_template()
242 struct cso_hash *hash = _cso_hash_for_type(sc, type); in cso_take_state() local
266 struct cso_hash *hash = _cso_hash_for_type(sc, type); in cso_for_each_state() local
/external/mesa3d/src/gallium/auxiliary/cso_cache/
Dcso_hash.c97 static void *cso_data_allocate_node(struct cso_hash_data *hash) in cso_data_allocate_node()
108 cso_hash_create_node(struct cso_hash *hash, in cso_hash_create_node()
126 static void cso_data_rehash(struct cso_hash_data *hash, int hint) in cso_data_rehash()
154 unsigned h = firstNode->key; in cso_data_rehash() local
175 static void cso_data_might_grow(struct cso_hash_data *hash) in cso_data_might_grow()
181 static void cso_data_has_shrunk(struct cso_hash_data *hash) in cso_data_has_shrunk()
190 static struct cso_node *cso_data_first_node(struct cso_hash_data *hash) in cso_data_first_node()
203 static struct cso_node **cso_hash_find_node(struct cso_hash *hash, unsigned akey) in cso_hash_find_node()
218 struct cso_hash_iter cso_hash_insert(struct cso_hash *hash, in cso_hash_insert()
240 struct cso_hash *hash = MALLOC_STRUCT(cso_hash); in cso_hash_create() local
[all …]
Dcso_cache.c51 unsigned hash = 0, i; in hash_key() local
65 unsigned h = 0; in hash_key() local
85 struct cso_hash *hash; in _cso_hash_for_type() local
156 struct cso_hash *hash, in sanitize_hash()
165 static INLINE void sanitize_cb(struct cso_hash *hash, enum cso_cache_type type, in sanitize_cb()
190 struct cso_hash *hash = _cso_hash_for_type(sc, type); in cso_insert_state() local
200 struct cso_hash *hash = _cso_hash_for_type(sc, type); in cso_find_state() local
206 void *cso_hash_find_data_from_template( struct cso_hash *hash, in cso_hash_find_data_from_template()
242 struct cso_hash *hash = _cso_hash_for_type(sc, type); in cso_take_state() local
266 struct cso_hash *hash = _cso_hash_for_type(sc, type); in cso_for_each_state() local
/external/chromium_org/third_party/openssl/openssl/crypto/lhash/
Dlhash.c222 _LHASH *lh_new(LHASH_HASH_FN_TYPE h, LHASH_COMP_FN_TYPE c) in lh_new()
290 unsigned long hash; in lh_insert() local
331 unsigned long hash; in lh_delete() local
364 unsigned long hash; in lh_retrieve() local
439 unsigned long hash,nni; in expand() local
533 unsigned long hash,nn; in getrn() local
/external/chromium_org/third_party/mesa/src/src/mesa/program/
Dprog_noise.c149 grad1(int hash, float x) in grad1()
151 int h = hash & 15; in grad1() local
159 grad2(int hash, float x, float y) in grad2()
161 int h = hash & 7; /* Convert low 3 bits of hash code */ in grad2() local
168 grad3(int hash, float x, float y, float z) in grad3()
170 int h = hash & 15; /* Convert low 4 bits of hash code into 12 simple */ in grad3() local
177 grad4(int hash, float x, float y, float z, float t) in grad4()
179 int h = hash & 31; /* Convert low 5 bits of hash code into 32 simple */ in grad4() local
/external/mesa3d/src/mesa/program/
Dprog_noise.c149 grad1(int hash, float x) in grad1()
151 int h = hash & 15; in grad1() local
159 grad2(int hash, float x, float y) in grad2()
161 int h = hash & 7; /* Convert low 3 bits of hash code */ in grad2() local
168 grad3(int hash, float x, float y, float z) in grad3()
170 int h = hash & 15; /* Convert low 4 bits of hash code into 12 simple */ in grad3() local
177 grad4(int hash, float x, float y, float z, float t) in grad4()
179 int h = hash & 31; /* Convert low 5 bits of hash code into 32 simple */ in grad4() local
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/noise/basis/
DImprovedNoise.java89 static float grad(final int hash, final float x, final float y, final float z) { in grad()
90 int h = hash & 15; // CONVERT LO 4 BITS OF HASH CODE in grad() local
/external/ipsec-tools/src/racoon/
Dvendorid.c132 lookup_vendor_id_by_hash (const char *hash) in lookup_vendor_id_by_hash()
135 unsigned char *h = (unsigned char *)hash; in lookup_vendor_id_by_hash() local
/external/chromium_org/third_party/protobuf/java/src/main/java/com/google/protobuf/
DLiteralByteString.java234 private int hash = 0; field in LiteralByteString
244 int h = hash; in hashCode() local
263 protected int partialHash(int h, int offset, int length) { in partialHash()
/external/chromium_org/third_party/mesa/src/src/glx/
Dglxhash.c129 unsigned long hash = 0; in HashHash() local
201 HashFind(__glxHashTablePtr table, unsigned long key, unsigned long *h) in HashFind()
203 unsigned long hash = HashHash(key); in HashFind() local
251 unsigned long hash; in __glxHashInsert() local
276 unsigned long hash; in __glxHashDelete() local
/external/mesa3d/src/glx/
Dglxhash.c129 unsigned long hash = 0; in HashHash() local
201 HashFind(__glxHashTablePtr table, unsigned long key, unsigned long *h) in HashFind()
203 unsigned long hash = HashHash(key); in HashFind() local
251 unsigned long hash; in __glxHashInsert() local
276 unsigned long hash; in __glxHashDelete() local
/external/protobuf/java/src/main/java/com/google/protobuf/micro/
DByteStringMicro.java204 private volatile int hash = 0; field in ByteStringMicro
208 int h = hash; in hashCode() local
/external/openssl/crypto/x509/
Dby_dir.c78 unsigned long hash; member
172 static void by_dir_hash_free(BY_DIR_HASH *hash) in by_dir_hash_free()
289 unsigned long h; in get_cert_by_subject() local
/external/chromium_org/third_party/openssl/openssl/crypto/x509/
Dby_dir.c78 unsigned long hash; member
172 static void by_dir_hash_free(BY_DIR_HASH *hash) in by_dir_hash_free()
289 unsigned long h; in get_cert_by_subject() local
/external/apache-harmony/auth/src/test/java/common/javax/security/auth/
DSubjectTest.java227 HashSet hash = new HashSet(); in testSubject_3Set_InvalidSet() local
579 HashSet hash = new HashSet(); in testEquals_VerifyCheckSequence() local
658 HashSet hash = new HashSet(); in testGetSetClass() local
666 HashSet h = new HashSet(); in testGetSetClass() local
751 final HashSet hash = new HashSet(); in test_getSubject_NotSameSubject() local
1448 HashSet<Object> hash = new HashSet<Object>(); in testForbiddenElement() local
1571 HashSet<Object> hash = new HashSet<Object>(); in testIteratorNext() local
1608 HashSet<Principal> hash = new HashSet<Principal>(); in test_PrivateCredentialPermission() local
1635 HashSet<Principal> hash = new HashSet<Principal>(); in test_Principal() local
1687 HashSet hash = new HashSet(); in testGetClass() local
[all …]
/external/guava/guava/src/com/google/common/collect/
DMapMakerInternalMap.java356 Segment<K, V> segment, K key, int hash, @Nullable ReferenceEntry<K, V> next) { in newEntry()
363 Segment<K, V> segment, K key, int hash, @Nullable ReferenceEntry<K, V> next) { in newEntry()
378 Segment<K, V> segment, K key, int hash, @Nullable ReferenceEntry<K, V> next) { in newEntry()
393 Segment<K, V> segment, K key, int hash, @Nullable ReferenceEntry<K, V> next) { in newEntry()
410 Segment<K, V> segment, K key, int hash, @Nullable ReferenceEntry<K, V> next) { in newEntry()
417 Segment<K, V> segment, K key, int hash, @Nullable ReferenceEntry<K, V> next) { in newEntry()
432 Segment<K, V> segment, K key, int hash, @Nullable ReferenceEntry<K, V> next) { in newEntry()
447 Segment<K, V> segment, K key, int hash, @Nullable ReferenceEntry<K, V> next) { in newEntry()
464 Segment<K, V> segment, K key, int hash, @Nullable ReferenceEntry<K, V> next) { in newEntry()
471 Segment<K, V> segment, K key, int hash, @Nullable ReferenceEntry<K, V> next) { in newEntry()
[all …]

123