Searched refs:validtrans (Results 1 – 5 of 5) sorted by relevance
/external/selinux/libsepol/cil/src/ |
D | cil.c | 2398 void cil_validatetrans_init(struct cil_validatetrans **validtrans) in cil_validatetrans_init() argument 2400 *validtrans = cil_malloc(sizeof(**validtrans)); in cil_validatetrans_init() 2402 (*validtrans)->class_str = NULL; in cil_validatetrans_init() 2403 (*validtrans)->class = NULL; in cil_validatetrans_init() 2404 (*validtrans)->str_expr = NULL; in cil_validatetrans_init() 2405 (*validtrans)->datum_expr = NULL; in cil_validatetrans_init()
|
D | cil_build_ast.c | 4051 struct cil_validatetrans *validtrans = NULL; in cil_gen_validatetrans() local 4063 cil_validatetrans_init(&validtrans); in cil_gen_validatetrans() 4065 validtrans->class_str = parse_current->next->data; in cil_gen_validatetrans() 4067 rc = cil_gen_constraint_expr(parse_current->next->next, flavor, &validtrans->str_expr); in cil_gen_validatetrans() 4072 ast_node->data = validtrans; in cil_gen_validatetrans() 4079 cil_destroy_validatetrans(validtrans); in cil_gen_validatetrans() 4085 void cil_destroy_validatetrans(struct cil_validatetrans *validtrans) in cil_destroy_validatetrans() argument 4087 if (validtrans == NULL) { in cil_destroy_validatetrans() 4091 cil_list_destroy(&validtrans->str_expr, CIL_TRUE); in cil_destroy_validatetrans() 4092 cil_list_destroy(&validtrans->datum_expr, CIL_FALSE); in cil_destroy_validatetrans() [all …]
|
D | cil_build_ast.h | 172 void cil_destroy_validatetrans(struct cil_validatetrans *validtrans);
|
D | cil_internal.h | 1044 void cil_validatetrans_init(struct cil_validatetrans **validtrans);
|
D | cil_resolve_ast.c | 1803 struct cil_validatetrans *validtrans = current->data; in cil_resolve_validatetrans() local 1808 rc = cil_resolve_name(current, validtrans->class_str, CIL_SYM_CLASSES, args, &class_datum); in cil_resolve_validatetrans() 1812 validtrans->class = (struct cil_class*)class_datum; in cil_resolve_validatetrans() 1814 …rc = cil_resolve_expr(CIL_VALIDATETRANS, validtrans->str_expr, &validtrans->datum_expr, current, e… in cil_resolve_validatetrans()
|