Searched refs:expr_str (Results 1 – 8 of 8) sorted by relevance
/external/selinux/libsepol/cil/src/ |
D | cil_tree.c | 278 char *expr_str; in cil_expr_to_string() local 327 expr_str = cil_malloc(len); in cil_expr_to_string() 328 snprintf(expr_str, len, "(%s %s)", op_str, stack[pos-1]); in cil_expr_to_string() 338 expr_str = cil_malloc(len); in cil_expr_to_string() 339 snprintf(expr_str, len, "(%s %s %s)", op_str, stack[pos-1], stack[pos-2]); in cil_expr_to_string() 346 stack[pos] = expr_str; in cil_expr_to_string() 419 char *expr_str; in cil_tree_print_expr() local 424 cil_expr_to_string(datum_expr, &expr_str); in cil_tree_print_expr() 426 cil_expr_to_string(str_expr, &expr_str); in cil_tree_print_expr() 429 cil_log(CIL_INFO, "%s)", expr_str); in cil_tree_print_expr() [all …]
|
D | cil_policy.c | 673 char *expr_str; in cil_expr_to_string() local 719 expr_str = cil_malloc(len); in cil_expr_to_string() 720 snprintf(expr_str, len, "(%s %s)", op_str, stack[pos-1]); in cil_expr_to_string() 730 expr_str = cil_malloc(len); in cil_expr_to_string() 731 snprintf(expr_str, len, "(%s %s %s)", stack[pos-1], op_str, stack[pos-2]); in cil_expr_to_string() 738 stack[pos] = expr_str; in cil_expr_to_string()
|
D | cil_internal.h | 595 struct cil_list *expr_str; member
|
D | cil_binary.c | 4298 char *expr_str; in __cil_print_permissionx() local 4309 __cil_expr_to_string(px->expr_str, CIL_PERMISSIONX, &expr_str); in __cil_print_permissionx() 4311 cil_log(CIL_ERR, "%s %s (%s)", kind_str, DATUM(px->obj)->fqn, expr_str); in __cil_print_permissionx() 4313 free(expr_str); in __cil_print_permissionx()
|
D | cil_copy_ast.c | 789 cil_copy_expr(db, orig->expr_str, &new->expr_str); in cil_copy_fill_permissionx()
|
D | cil.c | 2137 (*permx)->expr_str = NULL; in cil_permissionx_init()
|
D | cil_post.c | 759 …rc = __cil_expr_to_bitmap(permx->expr_str, permx->perms, 0x10000, db); // max is one more than 0xF… in __evaluate_permissionx_expression()
|
D | cil_build_ast.c | 2094 rc = cil_gen_expr(parse_current->next->next, CIL_PERMISSIONX, &permx->expr_str); in cil_fill_permissionx() 2161 cil_list_destroy(&permx->expr_str, CIL_TRUE); in cil_destroy_permissionx()
|