Lines Matching full:deleted
33 #define DELETED ((const char *)h) macro
80 if (4 * h->deleted < h->total) { in ohash_resize()
85 } else if (3 * h->deleted > 2 * h->total) in ohash_resize()
101 if (h->t[j].p != NULL && h->t[j].p != DELETED) { in ohash_resize()
116 h->total -= h->deleted; in ohash_resize()
117 h->deleted = 0; in ohash_resize()
125 if (result == NULL || result == DELETED) in ohash_remove()
131 h->t[i].p = DELETED; in ohash_remove()
132 h->deleted++; in ohash_remove()
133 if (h->deleted >= MINDELETED && 4 * h->deleted > h->total) in ohash_remove()
141 if (h->t[i].p == DELETED) in ohash_find()
153 if (h->t[i].p == DELETED) { in ohash_insert()
154 h->deleted--; in ohash_insert()
168 return h->total - h->deleted; in ohash_entries()
182 if (h->t[*pos].p != DELETED && h->t[*pos].p != NULL) in ohash_next()
205 h->total = h->deleted = 0; in ohash_init()
241 if (h->t[i].p == DELETED) { in ohash_lookup_interval()
251 h->t[i].p = DELETED; in ohash_lookup_interval()
288 if (h->t[i].p == DELETED) { in ohash_lookup_memory()
296 h->t[i].p = DELETED; in ohash_lookup_memory()