Home
last modified time | relevance | path

Searched refs:hashtab_ptr_t (Results 1 – 5 of 5) sorted by relevance

/external/selinux/policycoreutils/newrole/
Dhashtab.c34 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 …]
Dhashtab.h24 typedef struct hashtab_node *hashtab_ptr_t; typedef
29 hashtab_ptr_t next;
33 hashtab_ptr_t *htable; /* hash table */
/external/selinux/libsepol/src/
Dhashtab.c55 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/
Dhashtab.h27 typedef struct hashtab_node *hashtab_ptr_t; typedef
32 hashtab_ptr_t next;
36 hashtab_ptr_t *htable; /* hash table */
/external/selinux/policycoreutils/semodule_deps/
Dsemodule_deps.c227 hashtab_ptr_t cur; in free_requires()
245 hashtab_ptr_t cur, cur2; in output_graphviz()
279 hashtab_ptr_t cur, cur2; in output_requirements()