Lines Matching refs:slot
486 PTR *slot = htab->entries + index; in find_empty_slot_for_expand() local
489 if (*slot == HTAB_EMPTY_ENTRY) in find_empty_slot_for_expand()
490 return slot; in find_empty_slot_for_expand()
491 else if (*slot == HTAB_DELETED_ENTRY) in find_empty_slot_for_expand()
501 slot = htab->entries + index; in find_empty_slot_for_expand()
502 if (*slot == HTAB_EMPTY_ENTRY) in find_empty_slot_for_expand()
503 return slot; in find_empty_slot_for_expand()
504 else if (*slot == HTAB_DELETED_ENTRY) in find_empty_slot_for_expand()
726 PTR *slot; in htab_remove_elt_with_hash() local
728 slot = htab_find_slot_with_hash (htab, element, hash, NO_INSERT); in htab_remove_elt_with_hash()
729 if (*slot == HTAB_EMPTY_ENTRY) in htab_remove_elt_with_hash()
733 (*htab->del_f) (*slot); in htab_remove_elt_with_hash()
735 *slot = HTAB_DELETED_ENTRY; in htab_remove_elt_with_hash()
744 htab_clear_slot (htab_t htab, PTR *slot) in htab_clear_slot() argument
746 if (slot < htab->entries || slot >= htab->entries + htab_size (htab) in htab_clear_slot()
747 || *slot == HTAB_EMPTY_ENTRY || *slot == HTAB_DELETED_ENTRY) in htab_clear_slot()
751 (*htab->del_f) (*slot); in htab_clear_slot()
753 *slot = HTAB_DELETED_ENTRY; in htab_clear_slot()
765 PTR *slot; in htab_traverse_noresize() local
768 slot = htab->entries; in htab_traverse_noresize()
769 limit = slot + htab_size (htab); in htab_traverse_noresize()
773 PTR x = *slot; in htab_traverse_noresize()
776 if (!(*callback) (slot, info)) in htab_traverse_noresize()
779 while (++slot < limit); in htab_traverse_noresize()