Home
last modified time | relevance | path

Searched refs:tgt_str (Results 1 – 11 of 11) sorted by relevance

/external/selinux/libsepol/cil/src/
Dandroid.c498 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()
Dcil_internal.h564 char *tgt_str; member
606 char *tgt_str; member
635 char *tgt_str; member
646 char *tgt_str; member
657 char *tgt_str; member
Dcil_copy_ast.c577 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()
Dcil_tree.c841 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()
Dcil_write_ast.c734 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()
Dcil.c2291 (*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()
Dcil_resolve_ast.c324 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()
Dcil_build_ast.c1831 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()
Dcil_binary.c1019 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/
Dtest_cil_copy_ast.c580 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()
Dtest_cil_build_ast.c76 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()