Lines Matching refs:entries

307   result->entries = (void **) (*alloc_f) (alloc_arg, size, sizeof (void *));  in htab_create_alloc_ex()
308 if (result->entries == NULL) in htab_create_alloc_ex()
360 result->entries = (void **) (*alloc_f) (size, sizeof (void *)); in htab_create_typed_alloc()
361 if (result->entries == NULL) in htab_create_typed_alloc()
415 void **entries = htab->entries; in htab_delete() local
420 if (entries[i] != HTAB_EMPTY_ENTRY && entries[i] != HTAB_DELETED_ENTRY) in htab_delete()
421 (*htab->del_f) (entries[i]); in htab_delete()
425 (*htab->free_f) (entries); in htab_delete()
430 (*htab->free_with_arg_f) (htab->alloc_arg, entries); in htab_delete()
441 void **entries = htab->entries; in htab_empty() local
446 if (entries[i] != HTAB_EMPTY_ENTRY && entries[i] != HTAB_DELETED_ENTRY) in htab_empty()
447 (*htab->del_f) (entries[i]); in htab_empty()
456 (*htab->free_f) (htab->entries); in htab_empty()
458 (*htab->free_with_arg_f) (htab->alloc_arg, htab->entries); in htab_empty()
460 htab->entries = (void **) (*htab->alloc_with_arg_f) (htab->alloc_arg, nsize, in htab_empty()
463 htab->entries = (void **) (*htab->alloc_f) (nsize, sizeof (void *)); in htab_empty()
468 memset (entries, 0, size * sizeof (void *)); in htab_empty()
485 void **slot = htab->entries + index; in find_empty_slot_for_expand()
500 slot = htab->entries + index; in find_empty_slot_for_expand()
526 oentries = htab->entries; in htab_expand()
552 htab->entries = nentries; in htab_expand()
595 entry = htab->entries[index]; in htab_find_with_hash()
608 entry = htab->entries[index]; in htab_find_with_hash()
654 entry = htab->entries[index]; in htab_find_slot_with_hash()
658 first_deleted_slot = &htab->entries[index]; in htab_find_slot_with_hash()
660 return &htab->entries[index]; in htab_find_slot_with_hash()
670 entry = htab->entries[index]; in htab_find_slot_with_hash()
676 first_deleted_slot = &htab->entries[index]; in htab_find_slot_with_hash()
679 return &htab->entries[index]; in htab_find_slot_with_hash()
694 return &htab->entries[index]; in htab_find_slot_with_hash()
745 if (slot < htab->entries || slot >= htab->entries + htab_size (htab) in htab_clear_slot()
767 slot = htab->entries; in htab_traverse_noresize()