Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/r300/compiler/tests/
Drc_test_helpers.c137 const char * src_str) in init_rc_normal_src() argument
146 if (!regex_helper(regex_str, src_str, matches, REGEX_SRC_MATCHES)) { in init_rc_normal_src()
152 tokens.Negate.String = src_str + matches[1].rm_so; in init_rc_normal_src()
154 tokens.Abs.String = src_str + matches[2].rm_so; in init_rc_normal_src()
156 tokens.File.String = src_str + matches[3].rm_so; in init_rc_normal_src()
158 tokens.Index.String = src_str + matches[4].rm_so; in init_rc_normal_src()
160 tokens.Swizzle.String = src_str + matches[5].rm_so; in init_rc_normal_src()
417 char * src_str; in parse_rc_normal_instruction() local
423 src_str = malloc(sizeof(char) * in parse_rc_normal_instruction()
425 strncpy(src_str, tokens.Srcs[j].String, in parse_rc_normal_instruction()
[all …]
Drc_test_helpers.h42 const char * src_str);
/external/libchrome/base/strings/
Dutf_string_conversions.cc176 bool UTFConversion(const InputString& src_str, DestString* dest_str) { in UTFConversion() argument
177 if (IsStringASCII(src_str)) { in UTFConversion()
178 dest_str->assign(src_str.begin(), src_str.end()); in UTFConversion()
182 dest_str->resize(src_str.length() * in UTFConversion()
190 int32_t src_len32 = static_cast<int32_t>(src_str.length()); in UTFConversion()
193 bool res = DoUTFConversion(src_str.data(), src_len32, dest, &dest_len32); in UTFConversion()
/external/selinux/libsepol/cil/src/
Dcil_internal.h562 char *src_str; member
576 char *src_str; member
604 char *src_str; member
633 char *src_str; member
644 char *src_str; member
655 char *src_str; member
Dandroid.c493 key = namettrans->src_str; in cil_attrib_nametypetransition()
495 namettrans->src_str = __cil_attrib_get_versname(key, args->num); in cil_attrib_nametypetransition()
523 key = type_rule->src_str; in cil_attrib_type_rule()
525 type_rule->src_str = __cil_attrib_get_versname(key, args->num); in cil_attrib_type_rule()
550 key = avrule->src_str; in cil_attrib_avrule()
553 avrule->src_str = __cil_attrib_get_versname(key, args->num); in cil_attrib_avrule()
Dcil_copy_ast.c576 new->src_str = orig->src_str; in cil_copy_roleallow()
716 new->src_str = orig->src_str; in cil_copy_roletransition()
733 new->src_str = orig->src_str; in cil_copy_nametypetransition()
752 new->src_str = orig->src_str; in cil_copy_rangetransition()
824 new->src_str = orig->src_str; in cil_copy_avrule()
873 new->src_str = orig->src_str; in cil_copy_type_rule()
Dcil_tree.c835 cil_log(CIL_INFO, " %s", roletrans->src_str); in cil_tree_print_node()
865 cil_log(CIL_INFO, " %s", roleallow->src_str); in cil_tree_print_node()
1108 cil_log(CIL_INFO, " %s", nametypetrans->src_str); in cil_tree_print_node()
1140 cil_log(CIL_INFO, " %s", rangetrans->src_str); in cil_tree_print_node()
1186 cil_log(CIL_INFO, " %s", rule->src_str); in cil_tree_print_node()
1218 cil_log(CIL_INFO, " %s", rule->src_str); in cil_tree_print_node()
Dcil_write_ast.c733 src = ntrans->src_str; in cil_write_nametypetransition()
767 src = avrule->src_str; in cil_write_avrule_x()
813 src = avrule->src_str; in cil_write_avrule_orig()
858 src = typerule->src_str; in cil_write_type_rule()
Dcil.c2289 (*nametypetrans)->src_str = NULL; in cil_nametypetransition_init()
2305 (*rangetrans)->src_str = NULL; in cil_rangetransition_init()
2361 (*avrule)->src_str = NULL; in cil_avrule_init()
2385 (*type_rule)->src_str = NULL; in cil_type_rule_init()
2399 (*role_trans)->src_str = NULL; in cil_roletransition_init()
2413 (*roleallow)->src_str = NULL; in cil_roleallow_init()
Dcil_resolve_ast.c318 rc = cil_resolve_name(current, rule->src_str, CIL_SYM_TYPES, args, &src_datum); in cil_resolve_avrule()
374 rc = cil_resolve_name(current, rule->src_str, CIL_SYM_TYPES, extra_args, &src_datum); in cil_resolve_type_rule()
626 rc = cil_resolve_name(current, nametypetrans->src_str, CIL_SYM_TYPES, extra_args, &src_datum); in cil_resolve_nametypetransition()
682 rc = cil_resolve_name(current, rangetrans->src_str, CIL_SYM_TYPES, extra_args, &src_datum); in cil_resolve_rangetransition()
1061 rc = cil_resolve_name(current, roletrans->src_str, CIL_SYM_ROLES, extra_args, &src_datum); in cil_resolve_roletransition()
1105 rc = cil_resolve_name(current, roleallow->src_str, CIL_SYM_ROLES, extra_args, &src_datum); in cil_resolve_roleallow()
Dcil_build_ast.c1830 roletrans->src_str = parse_current->next->data; in cil_gen_roletransition()
1878 roleallow->src_str = parse_current->next->data; in cil_gen_roleallow()
2050 rule->src_str = parse_current->next->data; in cil_gen_avrule()
2209 rule->src_str = parse_current->next->data; in cil_gen_avrulex()
2260 rule->src_str = parse_current->next->data; in cil_gen_type_rule()
3369 nametypetrans->src_str = s1; in cil_gen_typetransition()
3383 rule->src_str = s1; in cil_gen_typetransition()
3443 rangetrans->src_str = parse_current->next->data; in cil_gen_rangetransition()
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()
1150 trans.src_str = typetrans->src_str; in __cil_typetransition_to_avtab()
4749 target.src_str = NULL; in cil_check_type_bounds()
/external/deqp-deps/amber/src/
Dclspv_helper.cc256 const auto& src_str = shader_info->GetShader()->GetData(); in Compile() local
261 if (clspv::CompileFromSourceString(src_str, /* sampler map */ "", options, in Compile()
/external/protobuf/src/google/protobuf/stubs/
Dstructurally_valid.cc586 char* UTF8CoerceToStructurallyValid(const StringPiece& src_str, in UTF8CoerceToStructurallyValid() argument
589 const char* isrc = src_str.data(); in UTF8CoerceToStructurallyValid()
590 const int len = src_str.length(); in UTF8CoerceToStructurallyValid()
591 int n = UTF8SpnStructurallyValid(src_str); in UTF8CoerceToStructurallyValid()
/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()