Lines Matching refs:alloc_arg
295 htab_del del_f, void *alloc_arg, in htab_create_alloc_ex() argument
305 result = (htab_t) (*alloc_f) (alloc_arg, 1, sizeof (struct htab)); in htab_create_alloc_ex()
308 result->entries = (PTR *) (*alloc_f) (alloc_arg, size, sizeof (PTR)); in htab_create_alloc_ex()
312 (*free_f) (alloc_arg, result); in htab_create_alloc_ex()
320 result->alloc_arg = alloc_arg; in htab_create_alloc_ex()
383 htab_del del_f, PTR alloc_arg, in htab_set_functions_ex() argument
389 htab->alloc_arg = alloc_arg; in htab_set_functions_ex()
431 (*htab->free_with_arg_f) (htab->alloc_arg, entries); in htab_delete()
432 (*htab->free_with_arg_f) (htab->alloc_arg, htab); in htab_delete()
459 (*htab->free_with_arg_f) (htab->alloc_arg, htab->entries); in htab_empty()
461 htab->entries = (PTR *) (*htab->alloc_with_arg_f) (htab->alloc_arg, nsize, in htab_empty()
547 nentries = (PTR *) (*htab->alloc_with_arg_f) (htab->alloc_arg, nsize, in htab_expand()
578 (*htab->free_with_arg_f) (htab->alloc_arg, oentries); in htab_expand()