/external/selinux/libsepol/cil/src/ |
D | android.c | 498 key = namettrans->tgt_str; in cil_attrib_nametypetransition() 500 namettrans->tgt_str = __cil_attrib_get_versname(key, args->num); in cil_attrib_nametypetransition() 528 key = type_rule->tgt_str; in cil_attrib_type_rule() 530 type_rule->tgt_str = __cil_attrib_get_versname(key, args->num); in cil_attrib_type_rule() 556 key = avrule->tgt_str; in cil_attrib_avrule() 559 avrule->tgt_str = __cil_attrib_get_versname(key, args->num); in cil_attrib_avrule()
|
D | cil_internal.h | 564 char *tgt_str; member 606 char *tgt_str; member 635 char *tgt_str; member 646 char *tgt_str; member 657 char *tgt_str; member
|
D | cil_copy_ast.c | 577 new->tgt_str = orig->tgt_str; in cil_copy_roleallow() 717 new->tgt_str = orig->tgt_str; in cil_copy_roletransition() 734 new->tgt_str = orig->tgt_str; in cil_copy_nametypetransition() 825 new->tgt_str = orig->tgt_str; in cil_copy_avrule() 874 new->tgt_str = orig->tgt_str; in cil_copy_type_rule()
|
D | cil_tree.c | 841 cil_log(CIL_INFO, " %s", roletrans->tgt_str); in cil_tree_print_node() 871 cil_log(CIL_INFO, " %s", roleallow->tgt_str); in cil_tree_print_node() 1114 cil_log(CIL_INFO, " %s", nametypetrans->tgt_str); in cil_tree_print_node() 1192 cil_log(CIL_INFO, " %s", rule->tgt_str); in cil_tree_print_node() 1224 cil_log(CIL_INFO, " %s", rule->tgt_str); in cil_tree_print_node()
|
D | cil_write_ast.c | 734 tgt = ntrans->tgt_str; in cil_write_nametypetransition() 768 tgt = avrule->tgt_str; in cil_write_avrule_x() 814 tgt = avrule->tgt_str; in cil_write_avrule_orig() 859 tgt = typerule->tgt_str; in cil_write_type_rule()
|
D | cil.c | 2291 (*nametypetrans)->tgt_str = NULL; in cil_nametypetransition_init() 2363 (*avrule)->tgt_str = NULL; in cil_avrule_init() 2387 (*type_rule)->tgt_str = NULL; in cil_type_rule_init() 2401 (*role_trans)->tgt_str = NULL; in cil_roletransition_init() 2415 (*roleallow)->tgt_str = NULL; in cil_roleallow_init()
|
D | cil_resolve_ast.c | 324 if (rule->tgt_str == CIL_KEY_SELF) { in cil_resolve_avrule() 327 rc = cil_resolve_name(current, rule->tgt_str, CIL_SYM_TYPES, args, &tgt_datum); in cil_resolve_avrule() 380 rc = cil_resolve_name(current, rule->tgt_str, CIL_SYM_TYPES, extra_args, &tgt_datum); in cil_resolve_type_rule() 632 rc = cil_resolve_name(current, nametypetrans->tgt_str, CIL_SYM_TYPES, extra_args, &tgt_datum); in cil_resolve_nametypetransition() 1067 rc = cil_resolve_name(current, roletrans->tgt_str, CIL_SYM_TYPES, extra_args, &tgt_datum); in cil_resolve_roletransition() 1111 rc = cil_resolve_name(current, roleallow->tgt_str, CIL_SYM_ROLES, extra_args, &tgt_datum); in cil_resolve_roleallow()
|
D | cil_build_ast.c | 1831 roletrans->tgt_str = parse_current->next->next->data; in cil_gen_roletransition() 1879 roleallow->tgt_str = parse_current->next->next->data; in cil_gen_roleallow() 2051 rule->tgt_str = parse_current->next->next->data; in cil_gen_avrule() 2210 rule->tgt_str = parse_current->next->next->data; in cil_gen_avrulex() 2261 rule->tgt_str = parse_current->next->next->data; in cil_gen_type_rule() 3370 nametypetrans->tgt_str = s2; in cil_gen_typetransition() 3384 rule->tgt_str = s2; in cil_gen_typetransition()
|
D | cil_binary.c | 1019 cil_rule->src_str, cil_rule->tgt_str, cil_rule->obj_str, cil_rule->result_str); in __cil_insert_type_rule() 1052 cil_rule->src_str, cil_rule->tgt_str, cil_rule->obj_str, cil_rule->result_str); in __cil_insert_type_rule() 1151 trans.tgt_str = typetrans->tgt_str; in __cil_typetransition_to_avtab() 4750 target.tgt_str = NULL; in cil_check_type_bounds()
|
/external/selinux/libsepol/cil/test/unit/ |
D | test_cil_copy_ast.c | 580 CuAssertStrEquals(tc, ((struct cil_type_rule *)test_ast_node->data)->tgt_str, test_copy->tgt_str); in test_cil_copy_type_rule() 614 CuAssertStrEquals(tc, ((struct cil_avrule *)test_ast_node->data)->tgt_str, test_copy->tgt_str); in test_cil_copy_avrule()
|
D | test_cil_build_ast.c | 76 test_avrule->tgt_str = cil_strdup(test_current->next->next->data); in test_cil_parse_to_list() 107 test_avrule->tgt_str = cil_strdup(test_current->next->next->data); in test_cil_parse_to_list_currnull_neg() 138 test_avrule->tgt_str = cil_strdup(test_current->next->next->data); in test_cil_parse_to_list_listnull_neg() 7874 …CuAssertStrEquals(tc, ((struct cil_roleallow*)test_ast_node->data)->tgt_str, test_current->next->n… in test_cil_gen_roleallow() 8157 …CuAssertStrEquals(tc, ((struct cil_avrule*)test_ast_node->data)->tgt_str, test_current->next->next… in test_cil_gen_avrule() 8492 …CuAssertStrEquals(tc, ((struct cil_type_rule*)test_ast_node->data)->tgt_str, test_tree->root->cl_h… in test_cil_gen_type_rule_transition() 8640 …CuAssertStrEquals(tc, ((struct cil_type_rule*)test_ast_node->data)->tgt_str, test_tree->root->cl_h… in test_cil_gen_type_rule_change() 8788 …CuAssertStrEquals(tc, ((struct cil_type_rule*)test_ast_node->data)->tgt_str, test_tree->root->cl_h… in test_cil_gen_type_rule_member()
|