/third_party/gn/src/base/strings/ |
H A D | utf_string_conversions.cc | 130 bool UTFConversion(const InputString& src_str, DestString* dest_str) { in UTFConversion() argument 131 if (IsStringASCII(src_str)) { in UTFConversion() 132 dest_str->assign(src_str.begin(), src_str.end()); in UTFConversion() 136 dest_str->resize(src_str.length() * in UTFConversion() 144 int32_t src_len32 = static_cast<int32_t>(src_str.length()); in UTFConversion() 147 bool res = DoUTFConversion(src_str.data(), src_len32, dest, &dest_len32); in UTFConversion()
|
/third_party/mesa3d/src/gallium/drivers/r300/compiler/tests/ |
H A D | rc_test_helpers.c | 126 * on src_str. 131 * @param src_str A string that represents the source register. The format for 138 const char * src_str) in init_rc_normal_src() 147 if (!regex_helper(regex_str, src_str, matches, REGEX_SRC_MATCHES)) { in init_rc_normal_src() 153 tokens.Negate.String = src_str + matches[1].rm_so; in init_rc_normal_src() 155 tokens.Abs.String = src_str + matches[2].rm_so; in init_rc_normal_src() 157 tokens.File.String = src_str + matches[3].rm_so; in init_rc_normal_src() 159 tokens.Index.String = src_str + matches[4].rm_so; in init_rc_normal_src() 161 tokens.Swizzle.String = src_str + matches[5].rm_so; in init_rc_normal_src() 418 char * src_str; in parse_rc_normal_instruction() local 135 init_rc_normal_src( struct rc_instruction * inst, unsigned int src_index, const char * src_str) init_rc_normal_src() argument [all...] |
H A D | rc_test_helpers.h | 42 const char * src_str);
|
/third_party/node/deps/v8/src/objects/ |
H A D | script-inl.h | 168 String src_str = String::cast(src); in HasValidSource() 169 if (!StringShape(src_str).IsExternal()) return true; in HasValidSource() 170 if (src_str.IsOneByteRepresentation()) { in HasValidSource() 172 } else if (src_str.IsTwoByteRepresentation()) { in HasValidSource()
|
/third_party/spirv-tools/test/diff/ |
H A D | lcs_test.cpp | 224 const std::string src_str = in TEST() local 314 src.reserve(src_str.length()); in TEST() 317 for (char c : src_str) { in TEST()
|
/third_party/selinux/libsepol/cil/src/ |
H A D | cil_internal.h | 570 char *src_str; member 584 char *src_str; member 612 char *src_str; member 641 char *src_str; member 652 char *src_str; member 663 char *src_str; member
|
H A D | cil_copy_ast.c | 585 new->src_str = orig->src_str; in cil_copy_roleallow() 708 new->src_str = orig->src_str; in cil_copy_roletransition() 725 new->src_str = orig->src_str; in cil_copy_nametypetransition() 744 new->src_str = orig->src_str; in cil_copy_rangetransition() 816 new->src_str = orig->src_str; in cil_copy_avrule() [all...] |
H A D | cil_write_ast.c | 1091 fprintf(out, "%s ", datum_or_str(DATUM(roleallow->src), roleallow->src_str)); in cil_write_ast_node() 1099 fprintf(out, "%s ", datum_or_str(DATUM(roletrans->src), roletrans->src_str)); in cil_write_ast_node() 1119 fprintf(out, "%s ", datum_or_str(DATUM(rule->src), rule->src_str)); in cil_write_ast_node() 1137 fprintf(out, "%s ", datum_or_str(DATUM(rule->src), rule->src_str)); in cil_write_ast_node() 1157 fprintf(out, "%s ", datum_or_str(DATUM(rule->src), rule->src_str)); in cil_write_ast_node() 1167 fprintf(out, "%s ", datum_or_str(DATUM(rule->src), rule->src_str)); in cil_write_ast_node() 1178 fprintf(out, "%s ", datum_or_str(DATUM(rule->src), rule->src_str)); in cil_write_ast_node()
|
H A D | cil.c | 2382 (*nametypetrans)->src_str = NULL; in cil_nametypetransition_init() 2398 (*rangetrans)->src_str = NULL; in cil_rangetransition_init() 2454 (*avrule)->src_str = NULL; in cil_avrule_init() 2478 (*type_rule)->src_str = NULL; in cil_type_rule_init() 2492 (*role_trans)->src_str = NULL; in cil_roletransition_init() 2506 (*roleallow)->src_str = NULL; in cil_roleallow_init()
|
H A D | cil_resolve_ast.c | 328 rc = cil_resolve_name(current, rule->src_str, CIL_SYM_TYPES, args, &src_datum); in cil_resolve_avrule() 385 rc = cil_resolve_name(current, rule->src_str, CIL_SYM_TYPES, extra_args, &src_datum); in cil_resolve_type_rule() 640 rc = cil_resolve_name(current, nametypetrans->src_str, CIL_SYM_TYPES, extra_args, &src_datum); in cil_resolve_nametypetransition() 700 rc = cil_resolve_name(current, rangetrans->src_str, CIL_SYM_TYPES, extra_args, &src_datum); in cil_resolve_rangetransition() 1085 rc = cil_resolve_name(current, roletrans->src_str, CIL_SYM_ROLES, extra_args, &src_datum); in cil_resolve_roletransition() 1128 rc = cil_resolve_name(current, roleallow->src_str, CIL_SYM_ROLES, extra_args, &src_datum); in cil_resolve_roleallow()
|
H A D | cil_build_ast.c | 1894 roletrans->src_str = parse_current->next->data; in cil_gen_roletransition() 1942 roleallow->src_str = parse_current->next->data; in cil_gen_roleallow() 2108 rule->src_str = parse_current->next->data; in cil_gen_avrule() 2267 rule->src_str = parse_current->next->data; in cil_gen_avrulex() 2318 rule->src_str = parse_current->next->data; in cil_gen_type_rule() 3370 nametypetrans->src_str = s1; in cil_gen_typetransition() 3384 rule->src_str = s1; in cil_gen_typetransition() 3444 rangetrans->src_str = parse_current->next->data; in cil_gen_rangetransition()
|
H A D | cil_binary.c | 1015 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() 1227 trans.src_str = typetrans->src_str; in __cil_typetransition_to_avtab() 4980 target.src_str = NULL; in cil_check_type_bounds()
|
/third_party/python/Lib/test/support/ |
H A D | interpreters.py | 92 def run(self, src_str, /, *, channels=None): 97 _interpreters.run_string(self._id, src_str, channels)
|
/third_party/vk-gl-cts/external/amber/src/src/ |
H A D | clspv_helper.cc | 256 const auto& src_str = shader_info->GetShader()->GetData(); in Compile() local 262 if (clspv::CompileFromSourceString(src_str, /* sampler map */ "", options, in Compile()
|
/third_party/protobuf/src/google/protobuf/stubs/ |
H A D | structurally_valid.cc | 573 // Coerce UTF-8 byte string in src_str to be 577 // src_str is read-only. If any overwriting is needed, a modified byte string 585 char* UTF8CoerceToStructurallyValid(StringPiece src_str, char* idst, 587 const char* isrc = src_str.data(); 588 const int len = src_str.length(); 589 int n = UTF8SpnStructurallyValid(src_str);
|
/third_party/selinux/libsepol/cil/test/unit/ |
H A 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()
|
H A 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->data); 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_head->cl_head->next->data); in test_cil_gen_type_rule_transition() 8639 CuAssertStrEquals(tc, ((struct cil_type_rule*)test_ast_node->data)->src_str, test_tree->root->cl_head->cl_head->next->data); in test_cil_gen_type_rule_change() 8787 CuAssertStrEquals(tc, ((struct cil_type_rule*)test_ast_node->data)->src_str, test_tree->root->cl_head->cl_head->next->data); in test_cil_gen_type_rule_member()
|