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 | 2285 void cil_nametypetransition_init(struct cil_nametypetransition **nametypetrans) in cil_nametypetransition_init() argument 2287 *nametypetrans = cil_malloc(sizeof(**nametypetrans)); in cil_nametypetransition_init() 2289 (*nametypetrans)->src_str = NULL; in cil_nametypetransition_init() 2290 (*nametypetrans)->src = NULL; in cil_nametypetransition_init() 2291 (*nametypetrans)->tgt_str = NULL; in cil_nametypetransition_init() 2292 (*nametypetrans)->tgt = NULL; in cil_nametypetransition_init() 2293 (*nametypetrans)->obj_str = NULL; in cil_nametypetransition_init() 2294 (*nametypetrans)->obj = NULL; in cil_nametypetransition_init() 2295 (*nametypetrans)->name_str = NULL; in cil_nametypetransition_init() 2296 (*nametypetrans)->name = NULL; in cil_nametypetransition_init() [all …]
|
D | cil_resolve_ast.c | 617 struct cil_nametypetransition *nametypetrans = current->data; in cil_resolve_nametypetransition() local 626 rc = cil_resolve_name(current, nametypetrans->src_str, CIL_SYM_TYPES, extra_args, &src_datum); in cil_resolve_nametypetransition() 630 nametypetrans->src = src_datum; in cil_resolve_nametypetransition() 632 rc = cil_resolve_name(current, nametypetrans->tgt_str, CIL_SYM_TYPES, extra_args, &tgt_datum); in cil_resolve_nametypetransition() 636 nametypetrans->tgt = tgt_datum; in cil_resolve_nametypetransition() 638 rc = cil_resolve_name(current, nametypetrans->obj_str, CIL_SYM_CLASSES, extra_args, &obj_datum); in cil_resolve_nametypetransition() 642 nametypetrans->obj = (struct cil_class*)obj_datum; in cil_resolve_nametypetransition() 644 nametypetrans->name = __cil_insert_name(args->db, nametypetrans->name_str, current); in cil_resolve_nametypetransition() 645 if (nametypetrans->name == NULL) { in cil_resolve_nametypetransition() 646 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 | 1019 void cil_nametypetransition_init(struct cil_nametypetransition **nametypetrans);
|