Home
last modified time | relevance | path

Searched refs:src_str (Results 1 – 14 of 14) sorted by relevance

/external/mesa3d/src/gallium/drivers/r300/compiler/tests/
Drc_test_helpers.c91 const char * src_str) in init_rc_normal_src() argument
100 if (!regex_helper(regex_str, src_str, matches, REGEX_SRC_MATCHES)) { in init_rc_normal_src()
106 tokens.Negate.String = src_str + matches[1].rm_so; in init_rc_normal_src()
108 tokens.Abs.String = src_str + matches[2].rm_so; in init_rc_normal_src()
110 tokens.File.String = src_str + matches[3].rm_so; in init_rc_normal_src()
112 tokens.Index.String = src_str + matches[4].rm_so; in init_rc_normal_src()
114 tokens.Swizzle.String = src_str + matches[5].rm_so; in init_rc_normal_src()
364 char * src_str; in init_rc_normal_instruction() local
370 src_str = malloc(sizeof(char) * in init_rc_normal_instruction()
372 strncpy(src_str, tokens.Srcs[j].String, in init_rc_normal_instruction()
[all …]
Drc_test_helpers.h5 const char * src_str);
/external/selinux/libsepol/cil/src/
Dcil_policy.c578 const char *src_str = DATUM(rule->src)->name; in cil_avrule_to_policy() local
597 rule->rule_kind, src_str, tgt_str); in cil_avrule_to_policy()
601 …cil_avrule_to_policy_helper(file_arr, file_index, kind_str, src_str, tgt_str, rule->perms.classper… in cil_avrule_to_policy()
608 char *src_str = ((struct cil_symtab_datum*)rule->src)->name; in cil_typerule_to_policy() local
615 …fprintf(file_arr[ALLOWS], "type_transition %s %s : %s %s;\n", src_str, tgt_str, obj_str, result_st… in cil_typerule_to_policy()
618 fprintf(file_arr[ALLOWS], "type_change %s %s : %s %s\n;", src_str, tgt_str, obj_str, result_str); in cil_typerule_to_policy()
621 fprintf(file_arr[ALLOWS], "type_member %s %s : %s %s;\n", src_str, tgt_str, obj_str, result_str); in cil_typerule_to_policy()
633 char *src_str = ((struct cil_symtab_datum*)nametypetrans->src)->name; in cil_nametypetransition_to_policy() local
638 …fprintf(file_arr[file_index], "type_transition %s %s : %s %s %s;\n", src_str, tgt_str, obj_str, re… in cil_nametypetransition_to_policy()
1033 char *src_str = ((struct cil_symtab_datum*)roletrans->src)->name; in cil_name_to_policy() local
[all …]
Dcil_internal.h534 char *src_str; member
548 char *src_str; member
576 char *src_str; member
605 char *src_str; member
616 char *src_str; member
627 char *src_str; member
Dcil_copy_ast.c576 new->src_str = orig->src_str; in cil_copy_roleallow()
693 new->src_str = orig->src_str; in cil_copy_roletransition()
710 new->src_str = orig->src_str; in cil_copy_nametypetransition()
729 new->src_str = orig->src_str; in cil_copy_rangetransition()
801 new->src_str = orig->src_str; in cil_copy_avrule()
850 new->src_str = orig->src_str; in cil_copy_type_rule()
Dcil_tree.c734 cil_log(CIL_INFO, " %s", roletrans->src_str); in cil_tree_print_node()
764 cil_log(CIL_INFO, " %s", roleallow->src_str); in cil_tree_print_node()
1007 cil_log(CIL_INFO, " %s", nametypetrans->src_str); in cil_tree_print_node()
1039 cil_log(CIL_INFO, " %s", rangetrans->src_str); in cil_tree_print_node()
1085 cil_log(CIL_INFO, " %s", rule->src_str); in cil_tree_print_node()
1117 cil_log(CIL_INFO, " %s", rule->src_str); in cil_tree_print_node()
Dcil.c2050 (*nametypetrans)->src_str = NULL; in cil_nametypetransition_init()
2066 (*rangetrans)->src_str = NULL; in cil_rangetransition_init()
2122 (*avrule)->src_str = NULL; in cil_avrule_init()
2146 (*type_rule)->src_str = NULL; in cil_type_rule_init()
2160 (*role_trans)->src_str = NULL; in cil_roletransition_init()
2174 (*roleallow)->src_str = NULL; in cil_roleallow_init()
Dcil_resolve_ast.c308 rc = cil_resolve_name(current, rule->src_str, CIL_SYM_TYPES, args, &src_datum); in cil_resolve_avrule()
366 rc = cil_resolve_name(current, rule->src_str, CIL_SYM_TYPES, extra_args, &src_datum); in cil_resolve_type_rule()
574 rc = cil_resolve_name(current, nametypetrans->src_str, CIL_SYM_TYPES, extra_args, &src_datum); in cil_resolve_nametypetransition()
632 rc = cil_resolve_name(current, rangetrans->src_str, CIL_SYM_TYPES, extra_args, &src_datum); in cil_resolve_rangetransition()
1010 rc = cil_resolve_name(current, roletrans->src_str, CIL_SYM_ROLES, extra_args, &src_datum); in cil_resolve_roletransition()
1055 rc = cil_resolve_name(current, roleallow->src_str, CIL_SYM_ROLES, extra_args, &src_datum); in cil_resolve_roleallow()
Dcil_build_ast.c1807 roletrans->src_str = parse_current->next->data; in cil_gen_roletransition()
1856 roleallow->src_str = parse_current->next->data; in cil_gen_roleallow()
2031 rule->src_str = parse_current->next->data; in cil_gen_avrule()
2193 rule->src_str = parse_current->next->data; in cil_gen_avrulex()
2245 rule->src_str = parse_current->next->data; in cil_gen_type_rule()
3296 nametypetrans->src_str = s1; in cil_gen_typetransition()
3310 rule->src_str = s1; in cil_gen_typetransition()
3371 rangetrans->src_str = parse_current->next->data; in cil_gen_rangetransition()
Dcil_binary.c4580 target.src_str = NULL; in cil_check_type_bounds()
/external/selinux/libsepol/cil/test/unit/
Dtest_cil_copy_ast.c579 CuAssertStrEquals(tc, ((struct cil_type_rule *)test_ast_node->data)->src_str, test_copy->src_str); in test_cil_copy_type_rule()
613 CuAssertStrEquals(tc, ((struct cil_avrule *)test_ast_node->data)->src_str, test_copy->src_str); in test_cil_copy_avrule()
Dtest_cil_build_ast.c75 test_avrule->src_str = cil_strdup(test_current->next->data); in test_cil_parse_to_list()
106 test_avrule->src_str = cil_strdup(test_current->next->data); in test_cil_parse_to_list_currnull_neg()
137 test_avrule->src_str = cil_strdup(test_current->next->data); in test_cil_parse_to_list_listnull_neg()
7873 …CuAssertStrEquals(tc, ((struct cil_roleallow*)test_ast_node->data)->src_str, test_current->next->d… in test_cil_gen_roleallow()
8156 …CuAssertStrEquals(tc, ((struct cil_avrule*)test_ast_node->data)->src_str, test_current->next->data… in test_cil_gen_avrule()
8491 …CuAssertStrEquals(tc, ((struct cil_type_rule*)test_ast_node->data)->src_str, test_tree->root->cl_h… in test_cil_gen_type_rule_transition()
8639 …CuAssertStrEquals(tc, ((struct cil_type_rule*)test_ast_node->data)->src_str, test_tree->root->cl_h… in test_cil_gen_type_rule_change()
8787 …CuAssertStrEquals(tc, ((struct cil_type_rule*)test_ast_node->data)->src_str, test_tree->root->cl_h… in test_cil_gen_type_rule_member()
/external/chromium-trace/catapult/third_party/gsutil/gslib/tests/
Dtest_cp.py742 def _run_cp_minus_v_test(self, opt, src_str, dst_str): argument
744 stderr = self.RunGsUtil(['cp', opt, src_str, dst_str], return_stderr=True)
/external/v8/src/
Dobjects-inl.h5829 String* src_str = String::cast(src); in BOOL_ACCESSORS() local
5830 if (!StringShape(src_str).IsExternal()) return true; in BOOL_ACCESSORS()
5831 if (src_str->IsOneByteRepresentation()) { in BOOL_ACCESSORS()
5833 } else if (src_str->IsTwoByteRepresentation()) { in BOOL_ACCESSORS()