Home
last modified time | relevance | path

Searched refs:hash (Results 1 – 7 of 7) sorted by relevance

/system/core/libcutils/
Dhashmap.c29 int hash; member
37 int (*hash)(void* key); member
44 int (*hash)(void* key), bool (*equals)(void* keyA, void* keyB)) { in hashmapCreate()
45 assert(hash != NULL); in hashmapCreate()
69 map->hash = hash; in hashmapCreate()
81 int h = map->hash(key); in hashKey()
97 static inline size_t calculateIndex(size_t bucketCount, int hash) { in calculateIndex() argument
98 return ((size_t) hash) & (bucketCount - 1); in calculateIndex()
118 size_t index = calculateIndex(newBucketCount, entry->hash); in expandIfNecessary()
166 static Entry* createEntry(void* key, int hash, void* value) { in createEntry() argument
[all …]
Dstr_parms.c46 uint32_t hash = 5381; in str_hash_fn() local
50 hash = ((hash << 5) + hash) + *p; in str_hash_fn()
51 return (int)hash; in str_hash_fn()
/system/core/include/cutils/
Dhashmap.h42 int (*hash)(void* key), bool (*equals)(void* keyA, void* keyB));
/system/core/init/
Dinit.h44 unsigned hash; member
/system/core/logcat/
Devent.logtags42 # "account" is the java hash of the account name
/system/core/sh/
DTOUR239 the command in the hash table if it is not already there. The
243 fore any forking is done, so to get the commands into the hash
261 VAR.C: Variables are stored in a hash table. Probably we should
/system/bluetooth/bluez-clean-headers/bluetooth/
Dhci.h541 uint8_t hash[16]; member
1160 uint8_t hash[16]; member