Searched refs:senscat (Results 1 – 8 of 8) sorted by relevance
/external/selinux/libsepol/cil/src/ |
D | cil_reset_ast.c | 230 static void cil_reset_senscat(struct cil_senscat *senscat) in cil_reset_senscat() argument 232 cil_reset_cats(senscat->cats); in cil_reset_senscat()
|
D | cil_tree.c | 1197 struct cil_senscat *senscat = node->data; in cil_tree_print_node() local 1201 if (senscat->sens_str != NULL) { in cil_tree_print_node() 1202 cil_log(CIL_INFO, " %s ", senscat->sens_str); in cil_tree_print_node() 1207 cil_tree_print_cats(senscat->cats); in cil_tree_print_node()
|
D | cil.c | 2188 void cil_senscat_init(struct cil_senscat **senscat) in cil_senscat_init() argument 2190 *senscat = cil_malloc(sizeof(**senscat)); in cil_senscat_init() 2192 (*senscat)->sens_str = NULL; in cil_senscat_init() 2193 (*senscat)->cats = NULL; in cil_senscat_init()
|
D | cil_build_ast.c | 3706 struct cil_senscat *senscat = NULL; in cil_gen_senscat() local 3718 cil_senscat_init(&senscat); in cil_gen_senscat() 3720 senscat->sens_str = parse_current->next->data; in cil_gen_senscat() 3722 rc = cil_fill_cats(parse_current->next->next, &senscat->cats); in cil_gen_senscat() 3727 ast_node->data = senscat; in cil_gen_senscat() 3735 cil_destroy_senscat(senscat); in cil_gen_senscat() 3739 void cil_destroy_senscat(struct cil_senscat *senscat) in cil_destroy_senscat() argument 3741 if (senscat == NULL) { in cil_destroy_senscat() 3745 cil_destroy_cats(senscat->cats); in cil_destroy_senscat() 3747 free(senscat); in cil_destroy_senscat()
|
D | cil_build_ast.h | 160 void cil_destroy_senscat(struct cil_senscat *senscat);
|
D | cil_internal.h | 981 void cil_senscat_init(struct cil_senscat **senscat);
|
D | cil_resolve_ast.c | 1613 struct cil_senscat *senscat = current->data; in cil_resolve_senscat() local 1617 rc = cil_resolve_name(current, (char*)senscat->sens_str, CIL_SYM_SENS, extra_args, &sens_datum); in cil_resolve_senscat() 1623 rc = cil_resolve_cats(current, senscat->cats, extra_args); in cil_resolve_senscat() 1634 cil_list_append(sens->cats_list, CIL_CAT, senscat->cats); in cil_resolve_senscat()
|
D | cil_post.c | 1503 struct cil_senscat *senscat = node->data; in __cil_post_db_cat_helper() local 1504 rc = __evaluate_cat_expression(senscat->cats, db); in __cil_post_db_cat_helper()
|