/external/mesa3d/src/gallium/drivers/r300/compiler/tests/ |
D | rc_test_helpers.c | 137 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 …]
|
D | rc_test_helpers.h | 42 const char * src_str);
|
/external/libchrome/base/strings/ |
D | utf_string_conversions.cc | 176 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/ |
D | cil_internal.h | 562 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
|
D | android.c | 493 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()
|
D | cil_copy_ast.c | 576 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()
|
D | cil_tree.c | 835 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()
|
D | cil_write_ast.c | 733 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()
|
D | cil.c | 2289 (*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()
|
D | cil_resolve_ast.c | 318 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()
|
D | cil_build_ast.c | 1830 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()
|
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() 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/ |
D | clspv_helper.cc | 256 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/ |
D | structurally_valid.cc | 586 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/ |
D | test_cil_copy_ast.c | 579 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()
|
D | test_cil_build_ast.c | 75 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()
|