Lines Matching full:deleted
31 #define DELETED ((const char *)h) macro
78 if (4 * h->deleted < h->total) { in ohash_resize()
83 } else if (3 * h->deleted > 2 * h->total) in ohash_resize()
99 if (h->t[j].p != NULL && h->t[j].p != DELETED) { in ohash_resize()
114 h->total -= h->deleted; in ohash_resize()
115 h->deleted = 0; in ohash_resize()
123 if (result == NULL || result == DELETED) in ohash_remove()
129 h->t[i].p = DELETED; in ohash_remove()
130 h->deleted++; in ohash_remove()
131 if (h->deleted >= MINDELETED && 4 * h->deleted > h->total) in ohash_remove()
139 if (h->t[i].p == DELETED) in ohash_find()
151 if (h->t[i].p == DELETED) { in ohash_insert()
152 h->deleted--; in ohash_insert()
166 return h->total - h->deleted; in ohash_entries()
180 if (h->t[*pos].p != DELETED && h->t[*pos].p != NULL) in ohash_next()
203 h->total = h->deleted = 0; in ohash_init()
239 if (h->t[i].p == DELETED) { in ohash_lookup_interval()
249 h->t[i].p = DELETED; in ohash_lookup_interval()
286 if (h->t[i].p == DELETED) { in ohash_lookup_memory()
294 h->t[i].p = DELETED; in ohash_lookup_memory()