Searched refs:hashtab_ptr_t (Results 1 – 4 of 4) sorted by relevance
/external/selinux/policycoreutils/newrole/ |
D | hashtab.c | 34 p->htable = (hashtab_ptr_t *) malloc(sizeof(hashtab_ptr_t) * size); in hashtab_create() 40 p->htable[i] = (hashtab_ptr_t) NULL; in hashtab_create() 48 hashtab_ptr_t prev, cur, newnode; in hashtab_insert() 64 newnode = (hashtab_ptr_t) malloc(sizeof(hashtab_node_t)); in hashtab_insert() 87 hashtab_ptr_t cur, last; in hashtab_remove() 120 hashtab_ptr_t prev, cur, newnode; in hashtab_replace() 139 newnode = (hashtab_ptr_t) malloc(sizeof(hashtab_node_t)); in hashtab_replace() 161 hashtab_ptr_t cur; in hashtab_search() 180 hashtab_ptr_t cur, temp; in hashtab_destroy() 206 hashtab_ptr_t cur; in hashtab_map() [all …]
|
D | hashtab.h | 25 typedef struct hashtab_node *hashtab_ptr_t; typedef 30 hashtab_ptr_t next; 34 hashtab_ptr_t *htable; /* hash table */
|
/external/selinux/libsepol/src/ |
D | hashtab.c | 55 p->htable = (hashtab_ptr_t *) malloc(sizeof(hashtab_ptr_t) * size); in hashtab_create() 61 p->htable[i] = (hashtab_ptr_t) NULL; in hashtab_create() 69 hashtab_ptr_t prev, cur, newnode; in hashtab_insert() 85 newnode = (hashtab_ptr_t) malloc(sizeof(hashtab_node_t)); in hashtab_insert() 108 hashtab_ptr_t cur, last; in hashtab_remove() 141 hashtab_ptr_t prev, cur, newnode; in hashtab_replace() 160 newnode = (hashtab_ptr_t) malloc(sizeof(hashtab_node_t)); in hashtab_replace() 182 hashtab_ptr_t cur; in hashtab_search() 201 hashtab_ptr_t cur, temp; in hashtab_destroy() 227 hashtab_ptr_t cur; in hashtab_map() [all …]
|
/external/selinux/libsepol/include/sepol/policydb/ |
D | hashtab.h | 29 typedef struct hashtab_node *hashtab_ptr_t; typedef 34 hashtab_ptr_t next; 38 hashtab_ptr_t *htable; /* hash table */
|