Home
last modified time | relevance | path

Searched refs:senscat (Results 1 – 8 of 8) sorted by relevance

/third_party/selinux/libsepol/cil/src/
Dcil_reset_ast.c252 static void cil_reset_senscat(struct cil_senscat *senscat) in cil_reset_senscat() argument
254 cil_reset_cats(senscat->cats); in cil_reset_senscat()
Dcil.c2511 void cil_senscat_init(struct cil_senscat **senscat) in cil_senscat_init() argument
2513 *senscat = cil_malloc(sizeof(**senscat)); in cil_senscat_init()
2515 (*senscat)->sens_str = NULL; in cil_senscat_init()
2516 (*senscat)->cats = NULL; in cil_senscat_init()
Dcil_write_ast.c898 struct cil_senscat *senscat = node->data; in cil_write_ast_node() local
900 fprintf(out, "%s ", senscat->sens_str); in cil_write_ast_node()
901 write_cats(out, senscat->cats); in cil_write_ast_node()
Dcil_build_ast.c3773 struct cil_senscat *senscat = NULL; in cil_gen_senscat() local
3785 cil_senscat_init(&senscat); in cil_gen_senscat()
3787 senscat->sens_str = parse_current->next->data; in cil_gen_senscat()
3789 rc = cil_fill_cats(parse_current->next->next, &senscat->cats); in cil_gen_senscat()
3794 ast_node->data = senscat; in cil_gen_senscat()
3801 cil_destroy_senscat(senscat); in cil_gen_senscat()
3805 void cil_destroy_senscat(struct cil_senscat *senscat) in cil_destroy_senscat() argument
3807 if (senscat == NULL) { in cil_destroy_senscat()
3811 cil_destroy_cats(senscat->cats); in cil_destroy_senscat()
3813 free(senscat); in cil_destroy_senscat()
Dcil_build_ast.h164 void cil_destroy_senscat(struct cil_senscat *senscat);
Dcil_internal.h1044 void cil_senscat_init(struct cil_senscat **senscat);
Dcil_resolve_ast.c1673 struct cil_senscat *senscat = current->data; in cil_resolve_senscat() local
1677 rc = cil_resolve_name(current, (char*)senscat->sens_str, CIL_SYM_SENS, extra_args, &sens_datum); in cil_resolve_senscat()
1683 rc = cil_resolve_cats(current, senscat->cats, extra_args); in cil_resolve_senscat()
1694 cil_list_append(sens->cats_list, CIL_CAT, senscat->cats); in cil_resolve_senscat()
Dcil_post.c1853 struct cil_senscat *senscat = node->data; in __cil_post_db_cat_helper() local
1854 rc = __evaluate_cat_expression(senscat->cats, db); in __cil_post_db_cat_helper()