Home
last modified time | relevance | path

Searched refs:item (Results 1 – 4 of 4) sorted by relevance

/bootable/recovery/minzip/
DHash.c178 void* mzHashTableLookup(HashTable* pHashTable, unsigned int itemHash, void* item, in mzHashTableLookup() argument
186 assert(item != HASH_TOMBSTONE); in mzHashTableLookup()
187 assert(item != NULL); in mzHashTableLookup()
195 (*cmpFunc)(pEntry->data, item) == 0) in mzHashTableLookup()
212 pEntry->data = item; in mzHashTableLookup()
231 result = item; in mzHashTableLookup()
247 bool mzHashTableRemove(HashTable* pHashTable, unsigned int itemHash, void* item) in mzHashTableRemove() argument
258 if (pEntry->data == item) { in mzHashTableRemove()
304 int countProbes(HashTable* pHashTable, unsigned int itemHash, const void* item, in countProbes() argument
312 assert(item != HASH_TOMBSTONE); in countProbes()
[all …]
DHash.h19 typedef unsigned int (*HashCompute)(const void* item);
120 void* mzHashTableLookup(HashTable* pHashTable, unsigned int itemHash, void* item,
127 bool mzHashTableRemove(HashTable* pHashTable, unsigned int hash, void* item);
182 typedef unsigned int (*HashCalcFunc)(const void* item);
/bootable/recovery/
Drecovery.cpp627 char* item = zips[chosen_item]; in browse_directory() local
628 int item_len = strlen(item); in browse_directory()
638 strlcat(new_path, item, PATH_MAX); in browse_directory()
640 if (item[item_len-1] == '/') { in browse_directory()
/bootable/recovery/updater/
Dblockimg.c450 struct dirent* item; in EnumerateStash() local
465 while ((item = readdir(directory)) != NULL) { in EnumerateStash()
466 if (item->d_type != DT_REG) { in EnumerateStash()
470 len = strlen(dirname) + 1 + strlen(item->d_name) + 1; in EnumerateStash()
478 res = snprintf(fn, len, "%s/%s", dirname, item->d_name); in EnumerateStash()