• Home
  • Raw
  • Download

Lines Matching refs:data

79         if (pEnt->data == HASH_TOMBSTONE) {  in dvmHashTableClear()
81 pEnt->data = NULL; in dvmHashTableClear()
82 } else if (pEnt->data != NULL) { in dvmHashTableClear()
85 (*pHashTable->freeFunc)(pEnt->data); in dvmHashTableClear()
86 pEnt->data = NULL; in dvmHashTableClear()
115 if (pHashTable->pEntries[i].data == HASH_TOMBSTONE) in countTombStones()
145 void* data = pHashTable->pEntries[i].data; in resizeHash() local
146 if (data != NULL && data != HASH_TOMBSTONE) { in resizeHash()
152 while (pNewEntries[newIdx].data != NULL) in resizeHash()
156 pNewEntries[newIdx].data = data; in resizeHash()
188 while (pEntry->data != NULL) { in dvmHashTableLookup()
189 if (pEntry->data != HASH_TOMBSTONE && in dvmHashTableLookup()
191 (*cmpFunc)(pEntry->data, item) == 0) in dvmHashTableLookup()
208 if (pEntry->data == NULL) { in dvmHashTableLookup()
211 pEntry->data = item; in dvmHashTableLookup()
239 result = pEntry->data; in dvmHashTableLookup()
260 while (pEntry->data != NULL) { in dvmHashTableRemove()
261 if (pEntry->data == item) { in dvmHashTableRemove()
263 pEntry->data = HASH_TOMBSTONE; in dvmHashTableRemove()
300 if (pEnt->data != NULL && pEnt->data != HASH_TOMBSTONE) { in dvmHashForeachRemove()
301 val = (*func)(pEnt->data); in dvmHashForeachRemove()
303 pEnt->data = HASH_TOMBSTONE; in dvmHashForeachRemove()
330 if (pEnt->data != NULL && pEnt->data != HASH_TOMBSTONE) { in dvmHashForeach()
331 val = (*func)(pEnt->data, arg); in dvmHashForeach()
360 while (pEntry->data != NULL) { in countProbes()
361 if (pEntry->data != HASH_TOMBSTONE && in countProbes()
363 (*cmpFunc)(pEntry->data, item) == 0) in countProbes()
378 if (pEntry->data == NULL) in countProbes()
404 const void* data = (const void*)dvmHashIterData(&iter); in dvmHashTableProbeCount() local
407 count = countProbes(pHashTable, (*calcFunc)(data), data, cmpFunc); in dvmHashTableProbeCount()