Searched defs:hash (Results 1 - 4 of 4) sorted by relevance

/system/core/init/
H A Dinit.h44 unsigned hash; member in struct:action
/system/core/libcutils/
H A Dhashmap.c29 int hash; member in struct:Entry
37 int (*hash)(void* key); member in struct:Hashmap
44 int (*hash)(void* key), bool (*equals)(void* keyA, void* keyB)) {
45 assert(hash != NULL);
69 map->hash = hash;
81 int h = map->hash(key);
97 static inline size_t calculateIndex(size_t bucketCount, int hash) { argument
98 return ((size_t) hash) & (bucketCount - 1);
118 size_t index = calculateIndex(newBucketCount, entry->hash);
166 createEntry(void* key, int hash, void* value) argument
190 int hash = hashKey(map, key); local
222 int hash = hashKey(map, key); local
237 int hash = hashKey(map, key); local
253 int hash = hashKey(map, key); local
285 int hash = hashKey(map, key); local
[all...]
H A Dstr_parms.c43 /* use djb hash unless we find it inadequate */
46 uint32_t hash = 5381; local
50 hash = ((hash << 5) + hash) + *p;
51 return (int)hash;
/system/bluetooth/bluez-clean-headers/bluetooth/
H A Dhci.h541 uint8_t hash[16]; member in struct:__anon32
1160 uint8_t hash[16]; member in struct:__anon108

Completed in 129 milliseconds