Home
last modified time | relevance | path

Searched refs:free_value (Results 1 – 3 of 3) sorted by relevance

/external/kmod/shared/
Dhash.c43 void (*free_value)(void *value); member
48 void (*free_value)(void *value)) in hash_new()
58 hash->free_value = free_value; in hash_new()
77 if (hash->free_value) { in hash_free()
82 hash->free_value((void *)entry->value); in hash_free()
169 if (hash->free_value) in hash_add()
170 hash->free_value((void *)entry->value); in hash_add()
270 if (hash->free_value) in hash_del()
271 hash->free_value((void *)entry->value); in hash_del()
Dhash.h13 struct hash *hash_new(unsigned int n_buckets, void (*free_value)(void *value));
/external/python/cpython2/Python/
Dsymtable.c534 PyObject *name, *v, *u, *w, *free_value = NULL; in update_symbols() local
555 free_value = PyInt_FromLong(FREE << SCOPE_OFF); in update_symbols()
556 if (!free_value) in update_symbols()
574 Py_DECREF(free_value); in update_symbols()
579 Py_DECREF(free_value); in update_symbols()
590 if (PyDict_SetItem(symbols, name, free_value) < 0) { in update_symbols()
591 Py_DECREF(free_value); in update_symbols()
595 Py_DECREF(free_value); in update_symbols()