Home
last modified time | relevance | path

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

/third_party/selinux/libsepol/cil/src/
Dcil_internal.h572 char *tgt_str; member
614 char *tgt_str; member
643 char *tgt_str; member
654 char *tgt_str; member
665 char *tgt_str; member
Dcil_copy_ast.c586 new->tgt_str = orig->tgt_str; in cil_copy_roleallow()
709 new->tgt_str = orig->tgt_str; in cil_copy_roletransition()
726 new->tgt_str = orig->tgt_str; in cil_copy_nametypetransition()
817 new->tgt_str = orig->tgt_str; in cil_copy_avrule()
866 new->tgt_str = orig->tgt_str; in cil_copy_type_rule()
Dcil_write_ast.c1092 fprintf(out, "%s", datum_or_str(DATUM(roleallow->tgt), roleallow->tgt_str)); in cil_write_ast_node()
1100 fprintf(out, "%s ", datum_or_str(DATUM(roletrans->tgt), roletrans->tgt_str)); in cil_write_ast_node()
1120 fprintf(out, "%s ", datum_or_str(DATUM(rule->tgt), rule->tgt_str)); in cil_write_ast_node()
1138 fprintf(out, "%s ", datum_or_str(DATUM(rule->tgt), rule->tgt_str)); in cil_write_ast_node()
1158 fprintf(out, "%s ", datum_or_str(DATUM(rule->tgt), rule->tgt_str)); in cil_write_ast_node()
1168 fprintf(out, "%s ", datum_or_str(DATUM(rule->tgt), rule->tgt_str)); in cil_write_ast_node()
Dcil.c2375 (*nametypetrans)->tgt_str = NULL; in cil_nametypetransition_init()
2447 (*avrule)->tgt_str = NULL; in cil_avrule_init()
2471 (*type_rule)->tgt_str = NULL; in cil_type_rule_init()
2485 (*role_trans)->tgt_str = NULL; in cil_roletransition_init()
2499 (*roleallow)->tgt_str = NULL; in cil_roleallow_init()
Dcil_resolve_ast.c333 if (rule->tgt_str == CIL_KEY_SELF) { in cil_resolve_avrule()
336 rc = cil_resolve_name(current, rule->tgt_str, CIL_SYM_TYPES, args, &tgt_datum); in cil_resolve_avrule()
389 rc = cil_resolve_name(current, rule->tgt_str, CIL_SYM_TYPES, extra_args, &tgt_datum); in cil_resolve_type_rule()
640 rc = cil_resolve_name(current, nametypetrans->tgt_str, CIL_SYM_TYPES, extra_args, &tgt_datum); in cil_resolve_nametypetransition()
1076 rc = cil_resolve_name(current, roletrans->tgt_str, CIL_SYM_TYPES, extra_args, &tgt_datum); in cil_resolve_roletransition()
1119 rc = cil_resolve_name(current, roleallow->tgt_str, CIL_SYM_ROLES, extra_args, &tgt_datum); in cil_resolve_roleallow()
Dcil_build_ast.c1895 roletrans->tgt_str = parse_current->next->next->data; in cil_gen_roletransition()
1943 roleallow->tgt_str = parse_current->next->next->data; in cil_gen_roleallow()
2109 rule->tgt_str = parse_current->next->next->data; in cil_gen_avrule()
2268 rule->tgt_str = parse_current->next->next->data; in cil_gen_avrulex()
2319 rule->tgt_str = parse_current->next->next->data; in cil_gen_type_rule()
3371 nametypetrans->tgt_str = s2; in cil_gen_typetransition()
3385 rule->tgt_str = s2; in cil_gen_typetransition()
Dcil_binary.c1015 cil_rule->src_str, cil_rule->tgt_str, cil_rule->obj_str, cil_rule->result_str); in __cil_insert_type_rule()
1048 cil_rule->src_str, cil_rule->tgt_str, cil_rule->obj_str, cil_rule->result_str); in __cil_insert_type_rule()
1146 trans.tgt_str = typetrans->tgt_str; in __cil_typetransition_to_avtab()
4835 target.tgt_str = NULL; in cil_check_type_bounds()
/third_party/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()