Searched refs:nametypetrans (Results 1 – 6 of 6) sorted by relevance
/external/selinux/libsepol/cil/src/ |
D | cil_tree.c | 1102 struct cil_nametypetransition *nametypetrans = node->data; in cil_tree_print_node() local 1105 if (nametypetrans->src != NULL) { in cil_tree_print_node() 1106 cil_log(CIL_INFO, " %s", ((struct cil_symtab_datum *)nametypetrans->src)->name); in cil_tree_print_node() 1108 cil_log(CIL_INFO, " %s", nametypetrans->src_str); in cil_tree_print_node() 1111 if (nametypetrans->tgt != NULL) { in cil_tree_print_node() 1112 cil_log(CIL_INFO, " %s", ((struct cil_symtab_datum *)nametypetrans->tgt)->name); in cil_tree_print_node() 1114 cil_log(CIL_INFO, " %s", nametypetrans->tgt_str); in cil_tree_print_node() 1117 if (nametypetrans->obj != NULL) { in cil_tree_print_node() 1118 cil_log(CIL_INFO, " %s", nametypetrans->obj->datum.name); in cil_tree_print_node() 1120 cil_log(CIL_INFO, " %s", nametypetrans->obj_str); in cil_tree_print_node() [all …]
|
D | cil.c | 2122 void cil_nametypetransition_init(struct cil_nametypetransition **nametypetrans) in cil_nametypetransition_init() argument 2124 *nametypetrans = cil_malloc(sizeof(**nametypetrans)); in cil_nametypetransition_init() 2126 (*nametypetrans)->src_str = NULL; in cil_nametypetransition_init() 2127 (*nametypetrans)->src = NULL; in cil_nametypetransition_init() 2128 (*nametypetrans)->tgt_str = NULL; in cil_nametypetransition_init() 2129 (*nametypetrans)->tgt = NULL; in cil_nametypetransition_init() 2130 (*nametypetrans)->obj_str = NULL; in cil_nametypetransition_init() 2131 (*nametypetrans)->obj = NULL; in cil_nametypetransition_init() 2132 (*nametypetrans)->name_str = NULL; in cil_nametypetransition_init() 2133 (*nametypetrans)->name = NULL; in cil_nametypetransition_init() [all …]
|
D | cil_resolve_ast.c | 621 struct cil_nametypetransition *nametypetrans = current->data; in cil_resolve_nametypetransition() local 630 rc = cil_resolve_name(current, nametypetrans->src_str, CIL_SYM_TYPES, extra_args, &src_datum); in cil_resolve_nametypetransition() 634 nametypetrans->src = src_datum; in cil_resolve_nametypetransition() 636 rc = cil_resolve_name(current, nametypetrans->tgt_str, CIL_SYM_TYPES, extra_args, &tgt_datum); in cil_resolve_nametypetransition() 640 nametypetrans->tgt = tgt_datum; in cil_resolve_nametypetransition() 642 rc = cil_resolve_name(current, nametypetrans->obj_str, CIL_SYM_CLASSES, extra_args, &obj_datum); in cil_resolve_nametypetransition() 646 nametypetrans->obj = (struct cil_class*)obj_datum; in cil_resolve_nametypetransition() 648 nametypetrans->name = __cil_insert_name(args->db, nametypetrans->name_str, current); in cil_resolve_nametypetransition() 649 if (nametypetrans->name == NULL) { in cil_resolve_nametypetransition() 650 rc = cil_resolve_name(current, nametypetrans->name_str, CIL_SYM_NAMES, extra_args, &name_datum); in cil_resolve_nametypetransition() [all …]
|
D | cil_build_ast.c | 3365 struct cil_nametypetransition *nametypetrans = NULL; in cil_gen_typetransition() local 3367 cil_nametypetransition_init(&nametypetrans); in cil_gen_typetransition() 3369 nametypetrans->src_str = s1; in cil_gen_typetransition() 3370 nametypetrans->tgt_str = s2; in cil_gen_typetransition() 3371 nametypetrans->obj_str = s3; in cil_gen_typetransition() 3372 nametypetrans->result_str = s5; in cil_gen_typetransition() 3373 nametypetrans->name_str = s4; in cil_gen_typetransition() 3375 ast_node->data = nametypetrans; in cil_gen_typetransition() 3409 void cil_destroy_typetransition(struct cil_nametypetransition *nametypetrans) in cil_destroy_typetransition() argument 3411 if (nametypetrans == NULL) { in cil_destroy_typetransition() [all …]
|
D | cil_build_ast.h | 148 void cil_destroy_typetransition(struct cil_nametypetransition *nametypetrans);
|
D | cil_internal.h | 1017 void cil_nametypetransition_init(struct cil_nametypetransition **nametypetrans);
|