Home | History | Annotate | Download | only in libctf

Lines Matching refs:key_free

49 /* Equally, the key_free and value_free may not exist.  */
54 ctf_hash_free_fun key_free;
149 if (helem->owner->key_free && helem->key)
150 helem->owner->key_free (helem->key);
158 ctf_hash_eq_fun eq_fun, ctf_hash_free_fun key_free,
164 if (key_free || value_free)
168 void *p = malloc (offsetof (ctf_dynhash_t, key_free));
174 if (key_free == NULL && value_free == NULL)
184 if (key_free || value_free)
186 dynhash->key_free = key_free;
195 ctf_hash_free_fun key_free, ctf_hash_free_fun value_free)
199 return ctf_dynhash_create_sized (7, hash_fun, eq_fun, key_free, value_free);
211 ctf_hash_free_fun key_free,
228 if (key_free || value_free)
241 if (key_free)
242 key_free (key);
254 ctf_hash_free_fun key_free = NULL, value_free = NULL;
258 key_free = hp->key_free;
262 key_free, value_free);
267 /* Keep track of the owner, so that the del function can get at the key_free
271 if (key_free || value_free)
611 ctf_hash_free_fun key_free)
615 key_free, xcalloc, free);