Home
last modified time | relevance | path

Searched refs:free_fn (Results 1 – 4 of 4) sorted by relevance

/hardware/qcom/msm8998/json-c/
Darraylist.c26 array_list_new(array_list_free_fn *free_fn) in array_list_new() argument
34 arr->free_fn = free_fn; in array_list_new()
47 if(arr->array[i]) arr->free_fn(arr->array[i]); in array_list_free()
79 if(arr->array[idx]) arr->free_fn(arr->array[idx]); in array_list_put_idx()
Dlinkhash.h140 lh_entry_free_fn *free_fn; member
188 lh_entry_free_fn *free_fn,
201 lh_entry_free_fn *free_fn);
213 lh_entry_free_fn *free_fn);
Darraylist.h28 array_list_free_fn *free_fn; member
32 array_list_new(array_list_free_fn *free_fn);
Dlinkhash.c427 lh_entry_free_fn *free_fn, in lh_table_new() argument
441 t->free_fn = free_fn; in lh_table_new()
449 lh_entry_free_fn *free_fn) in lh_kchar_table_new() argument
451 return lh_table_new(size, name, free_fn, lh_char_hash, lh_char_equal); in lh_kchar_table_new()
455 lh_entry_free_fn *free_fn) in lh_kptr_table_new() argument
457 return lh_table_new(size, name, free_fn, lh_ptr_hash, lh_ptr_equal); in lh_kptr_table_new()
484 if(t->free_fn) { in lh_table_free()
485 t->free_fn(c); in lh_table_free()
572 if(t->free_fn) t->free_fn(e); in lh_table_delete_entry()