Home
last modified time | relevance | path

Searched refs:nametypetrans (Results 1 – 5 of 5) sorted by relevance

/third_party/selinux/libsepol/cil/src/
Dcil.c2369 void cil_nametypetransition_init(struct cil_nametypetransition **nametypetrans) in cil_nametypetransition_init() argument
2371 *nametypetrans = cil_malloc(sizeof(**nametypetrans)); in cil_nametypetransition_init()
2373 (*nametypetrans)->src_str = NULL; in cil_nametypetransition_init()
2374 (*nametypetrans)->src = NULL; in cil_nametypetransition_init()
2375 (*nametypetrans)->tgt_str = NULL; in cil_nametypetransition_init()
2376 (*nametypetrans)->tgt = NULL; in cil_nametypetransition_init()
2377 (*nametypetrans)->obj_str = NULL; in cil_nametypetransition_init()
2378 (*nametypetrans)->obj = NULL; in cil_nametypetransition_init()
2379 (*nametypetrans)->name_str = NULL; in cil_nametypetransition_init()
2380 (*nametypetrans)->name = NULL; in cil_nametypetransition_init()
[all …]
Dcil_resolve_ast.c625 struct cil_nametypetransition *nametypetrans = current->data; in cil_resolve_nametypetransition() local
634 rc = cil_resolve_name(current, nametypetrans->src_str, CIL_SYM_TYPES, extra_args, &src_datum); in cil_resolve_nametypetransition()
638 nametypetrans->src = src_datum; in cil_resolve_nametypetransition()
640 rc = cil_resolve_name(current, nametypetrans->tgt_str, CIL_SYM_TYPES, extra_args, &tgt_datum); in cil_resolve_nametypetransition()
644 nametypetrans->tgt = tgt_datum; in cil_resolve_nametypetransition()
646 rc = cil_resolve_name(current, nametypetrans->obj_str, CIL_SYM_CLASSES, extra_args, &obj_datum); in cil_resolve_nametypetransition()
650 nametypetrans->obj = (struct cil_class*)obj_datum; in cil_resolve_nametypetransition()
652 nametypetrans->name = __cil_insert_name(args->db, nametypetrans->name_str, current); in cil_resolve_nametypetransition()
653 if (nametypetrans->name == NULL) { in cil_resolve_nametypetransition()
654 rc = cil_resolve_name(current, nametypetrans->name_str, CIL_SYM_NAMES, extra_args, &name_datum); in cil_resolve_nametypetransition()
[all …]
Dcil_build_ast.c3366 struct cil_nametypetransition *nametypetrans = NULL; in cil_gen_typetransition() local
3368 cil_nametypetransition_init(&nametypetrans); in cil_gen_typetransition()
3370 nametypetrans->src_str = s1; in cil_gen_typetransition()
3371 nametypetrans->tgt_str = s2; in cil_gen_typetransition()
3372 nametypetrans->obj_str = s3; in cil_gen_typetransition()
3373 nametypetrans->result_str = s5; in cil_gen_typetransition()
3374 nametypetrans->name_str = s4; in cil_gen_typetransition()
3376 ast_node->data = nametypetrans; in cil_gen_typetransition()
3410 void cil_destroy_typetransition(struct cil_nametypetransition *nametypetrans) in cil_destroy_typetransition() argument
3412 if (nametypetrans == NULL) { in cil_destroy_typetransition()
[all …]
Dcil_build_ast.h150 void cil_destroy_typetransition(struct cil_nametypetransition *nametypetrans);
Dcil_internal.h1030 void cil_nametypetransition_init(struct cil_nametypetransition **nametypetrans);