Home
last modified time | relevance | path

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

/external/selinux/libsepol/cil/src/
Dcil_reset_ast.c231 static void cil_reset_senscat(struct cil_senscat *senscat) in cil_reset_senscat() argument
233 cil_reset_cats(senscat->cats); in cil_reset_senscat()
Dcil_tree.c1298 struct cil_senscat *senscat = node->data; in cil_tree_print_node() local
1302 if (senscat->sens_str != NULL) { in cil_tree_print_node()
1303 cil_log(CIL_INFO, " %s ", senscat->sens_str); in cil_tree_print_node()
1308 cil_tree_print_cats(senscat->cats); in cil_tree_print_node()
Dcil.c2427 void cil_senscat_init(struct cil_senscat **senscat) in cil_senscat_init() argument
2429 *senscat = cil_malloc(sizeof(**senscat)); in cil_senscat_init()
2431 (*senscat)->sens_str = NULL; in cil_senscat_init()
2432 (*senscat)->cats = NULL; in cil_senscat_init()
Dcil_write_ast.c884 struct cil_senscat *senscat = (struct cil_senscat *)node->data; in cil_write_senscat() local
886 sens = senscat->sens_str; in cil_write_senscat()
887 rc = cil_unfill_cats(senscat->cats, &cats); in cil_write_senscat()
Dcil_build_ast.c3772 struct cil_senscat *senscat = NULL; in cil_gen_senscat() local
3784 cil_senscat_init(&senscat); in cil_gen_senscat()
3786 senscat->sens_str = parse_current->next->data; in cil_gen_senscat()
3788 rc = cil_fill_cats(parse_current->next->next, &senscat->cats); in cil_gen_senscat()
3793 ast_node->data = senscat; in cil_gen_senscat()
3800 cil_destroy_senscat(senscat); in cil_gen_senscat()
3804 void cil_destroy_senscat(struct cil_senscat *senscat) in cil_destroy_senscat() argument
3806 if (senscat == NULL) { in cil_destroy_senscat()
3810 cil_destroy_cats(senscat->cats); in cil_destroy_senscat()
3812 free(senscat); in cil_destroy_senscat()
Dcil_build_ast.h162 void cil_destroy_senscat(struct cil_senscat *senscat);
Dcil_internal.h1033 void cil_senscat_init(struct cil_senscat **senscat);
Dcil_resolve_ast.c1667 struct cil_senscat *senscat = current->data; in cil_resolve_senscat() local
1671 rc = cil_resolve_name(current, (char*)senscat->sens_str, CIL_SYM_SENS, extra_args, &sens_datum); in cil_resolve_senscat()
1677 rc = cil_resolve_cats(current, senscat->cats, extra_args); in cil_resolve_senscat()
1688 cil_list_append(sens->cats_list, CIL_CAT, senscat->cats); in cil_resolve_senscat()
Dcil_post.c1835 struct cil_senscat *senscat = node->data; in __cil_post_db_cat_helper() local
1836 rc = __evaluate_cat_expression(senscat->cats, db); in __cil_post_db_cat_helper()