Searched refs:senscat (Results 1 – 9 of 9) sorted by relevance
/external/selinux/libsepol/cil/src/ |
D | cil_reset_ast.c | 231 static void cil_reset_senscat(struct cil_senscat *senscat) in cil_reset_senscat() argument 233 cil_reset_cats(senscat->cats); in cil_reset_senscat()
|
D | cil_tree.c | 1294 struct cil_senscat *senscat = node->data; in cil_tree_print_node() local 1298 if (senscat->sens_str != NULL) { in cil_tree_print_node() 1299 cil_log(CIL_INFO, " %s ", senscat->sens_str); in cil_tree_print_node() 1304 cil_tree_print_cats(senscat->cats); in cil_tree_print_node()
|
D | cil.c | 2263 void cil_senscat_init(struct cil_senscat **senscat) in cil_senscat_init() argument 2265 *senscat = cil_malloc(sizeof(**senscat)); in cil_senscat_init() 2267 (*senscat)->sens_str = NULL; in cil_senscat_init() 2268 (*senscat)->cats = NULL; in cil_senscat_init()
|
D | cil_write_ast.c | 884 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()
|
D | cil_build_ast.c | 3772 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()
|
D | cil_build_ast.h | 162 void cil_destroy_senscat(struct cil_senscat *senscat);
|
D | cil_internal.h | 1029 void cil_senscat_init(struct cil_senscat **senscat);
|
D | cil_resolve_ast.c | 1668 struct cil_senscat *senscat = current->data; in cil_resolve_senscat() local 1672 rc = cil_resolve_name(current, (char*)senscat->sens_str, CIL_SYM_SENS, extra_args, &sens_datum); in cil_resolve_senscat() 1678 rc = cil_resolve_cats(current, senscat->cats, extra_args); in cil_resolve_senscat() 1689 cil_list_append(sens->cats_list, CIL_CAT, senscat->cats); in cil_resolve_senscat()
|
D | cil_post.c | 1843 struct cil_senscat *senscat = node->data; in __cil_post_db_cat_helper() local 1844 rc = __evaluate_cat_expression(senscat->cats, db); in __cil_post_db_cat_helper()
|