• Home
  • Raw
  • Download

Lines Matching refs:data

80         if (pEnt->data == HASH_TOMBSTONE) {  in dvmHashTableClear()
82 pEnt->data = NULL; in dvmHashTableClear()
83 } else if (pEnt->data != NULL) { in dvmHashTableClear()
86 (*pHashTable->freeFunc)(pEnt->data); in dvmHashTableClear()
87 pEnt->data = NULL; in dvmHashTableClear()
116 if (pHashTable->pEntries[i].data == HASH_TOMBSTONE) in countTombStones()
146 void* data = pHashTable->pEntries[i].data; in resizeHash() local
147 if (data != NULL && data != HASH_TOMBSTONE) { in resizeHash()
153 while (pNewEntries[newIdx].data != NULL) in resizeHash()
157 pNewEntries[newIdx].data = data; in resizeHash()
189 while (pEntry->data != NULL) { in dvmHashTableLookup()
190 if (pEntry->data != HASH_TOMBSTONE && in dvmHashTableLookup()
192 (*cmpFunc)(pEntry->data, item) == 0) in dvmHashTableLookup()
209 if (pEntry->data == NULL) { in dvmHashTableLookup()
212 pEntry->data = item; in dvmHashTableLookup()
240 result = pEntry->data; in dvmHashTableLookup()
261 while (pEntry->data != NULL) { in dvmHashTableRemove()
262 if (pEntry->data == item) { in dvmHashTableRemove()
264 pEntry->data = HASH_TOMBSTONE; in dvmHashTableRemove()
299 if (pEnt->data != NULL && pEnt->data != HASH_TOMBSTONE) { in dvmHashForeachRemove()
300 val = (*func)(pEnt->data); in dvmHashForeachRemove()
302 pEnt->data = HASH_TOMBSTONE; in dvmHashForeachRemove()
327 if (pEnt->data != NULL && pEnt->data != HASH_TOMBSTONE) { in dvmHashForeach()
328 val = (*func)(pEnt->data, arg); in dvmHashForeach()
357 while (pEntry->data != NULL) { in countProbes()
358 if (pEntry->data != HASH_TOMBSTONE && in countProbes()
360 (*cmpFunc)(pEntry->data, item) == 0) in countProbes()
375 if (pEntry->data == NULL) in countProbes()
401 const void* data = (const void*)dvmHashIterData(&iter); in dvmHashTableProbeCount() local
404 count = countProbes(pHashTable, (*calcFunc)(data), data, cmpFunc); in dvmHashTableProbeCount()