Searched refs:queue_t (Results 1 – 5 of 5) sorted by relevance
/external/checkpolicy/ |
D | queue.h | 29 typedef queue_info_t *queue_t; typedef 31 queue_t queue_create(void); 32 int queue_insert(queue_t, queue_element_t); 33 int queue_push(queue_t, queue_element_t); 34 queue_element_t queue_remove(queue_t); 35 queue_element_t queue_head(queue_t); 36 void queue_destroy(queue_t); 49 int queue_map(queue_t, int (*f) (queue_element_t, void *), void *); 56 void queue_map_remove_on_error(queue_t,
|
D | queue.c | 13 queue_t queue_create(void) in queue_create() 15 queue_t q; in queue_create() 17 q = (queue_t) malloc(sizeof(struct queue_info)); in queue_create() 26 int queue_insert(queue_t q, queue_element_t e) in queue_insert() 50 int queue_push(queue_t q, queue_element_t e) in queue_push() 74 queue_element_t queue_remove(queue_t q) in queue_remove() 96 queue_element_t queue_head(queue_t q) in queue_head() 107 void queue_destroy(queue_t q) in queue_destroy() 124 int queue_map(queue_t q, int (*f) (queue_element_t, void *), void *vp) in queue_map() 142 void queue_map_remove_on_error(queue_t q, in queue_map_remove_on_error()
|
D | parse_util.c | 29 extern queue_t id_queue;
|
D | module_compiler.c | 41 extern queue_t id_queue;
|
D | policy_define.c | 55 queue_t id_queue = 0;
|