Home
last modified time | relevance | path

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

/external/selinux/libsepol/cil/src/
Dcil_tree.c278 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 …]
Dcil_policy.c673 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()
Dcil_internal.h595 struct cil_list *expr_str; member
Dcil_binary.c4298 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()
Dcil_copy_ast.c789 cil_copy_expr(db, orig->expr_str, &new->expr_str); in cil_copy_fill_permissionx()
Dcil.c2137 (*permx)->expr_str = NULL; in cil_permissionx_init()
Dcil_post.c759 …rc = __cil_expr_to_bitmap(permx->expr_str, permx->perms, 0x10000, db); // max is one more than 0xF… in __evaluate_permissionx_expression()
Dcil_build_ast.c2094 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()