Home
last modified time | relevance | path

Searched refs:cil_stack (Results 1 – 4 of 4) sorted by relevance

/external/selinux/libsepol/cil/src/
Dcil_stack.h33 struct cil_stack { struct
50 void cil_stack_init(struct cil_stack **stack); argument
51 void cil_stack_destroy(struct cil_stack **stack);
53 void cil_stack_empty(struct cil_stack *stack);
54 int cil_stack_is_empty(struct cil_stack *stack);
56 void cil_stack_push(struct cil_stack *stack, enum cil_flavor flavor, void *data);
57 struct cil_stack_item *cil_stack_pop(struct cil_stack *stack);
58 struct cil_stack_item *cil_stack_peek(struct cil_stack *stack);
59 struct cil_stack_item *cil_stack_peek_at(struct cil_stack *stack, int pos);
Dcil_stack.c40 void cil_stack_init(struct cil_stack **stack) in cil_stack_init()
42 struct cil_stack *new_stack = cil_malloc(sizeof(*new_stack)); in cil_stack_init()
49 void cil_stack_destroy(struct cil_stack **stack) in cil_stack_destroy()
60 void cil_stack_empty(struct cil_stack *stack) in cil_stack_empty()
65 int cil_stack_is_empty(struct cil_stack *stack) in cil_stack_is_empty()
70 void cil_stack_push(struct cil_stack *stack, enum cil_flavor flavor, void *data) in cil_stack_push()
83 struct cil_stack_item *cil_stack_pop(struct cil_stack *stack) in cil_stack_pop()
93 struct cil_stack_item *cil_stack_peek(struct cil_stack *stack) in cil_stack_peek()
102 struct cil_stack_item *cil_stack_peek_at(struct cil_stack *stack, int pos) in cil_stack_peek_at()
Dcil_parser.c53 static void push_hll_info(struct cil_stack *stack, int hll_lineno, int hll_expand) in push_hll_info()
63 static void pop_hll_info(struct cil_stack *stack, int *hll_lineno, int *hll_expand) in pop_hll_info()
101 …truct cil_tree_node **current, int *hll_lineno, int *hll_expand, struct cil_stack *stack, char *pa… in add_hll_linemark()
208 struct cil_stack *stack; in cil_parser()
/external/selinux/libsepol/
DAndroid.bp74 "cil/src/cil_stack.c",