Home
last modified time | relevance | path

Searched refs:substr (Results 26 – 50 of 66) sorted by relevance

123

/art/dex2oat/
Ddex2oat_image_test.cc137 std::string new_location = dir + dex_file.substr(slash_pos + 1u); in CopyDexFiles()
301 std::string mid_name = mid_location.substr(mid_slash_pos + 1u); in TEST_F()
309 std::string tail_name = tail_location.substr(tail_slash_pos + 1u); in TEST_F()
396 std::string single_name = single_location.substr(single_slash_pos + 1u); in TEST_F()
Ddex2oat.cc1165 << boot_image_filename_.substr(/*pos*/ 0u, /*length*/ profile_separator_pos); in ProcessOptions()
1844 << ", extension: " << extension_part.substr(1u); in Setup()
1847 std::string bcp_dependency = full_bcp.substr(0u, full_bcp.size() - extension_part.size()); in Setup()
2085 dex_location = dex_location.substr(last_slash + 1); in Compile()
2984 if (res.substr(penultimate_slash + 1, last_slash - penultimate_slash - 1) != in StripIsaFrom()
2989 return res.substr(0, penultimate_slash) + res.substr(last_slash); in StripIsaFrom()
/art/openjdkjvmti/
Dti_class_definition.cc129 name_ = descriptor.substr(1, descriptor.size() - 2); in InitCommon()
363 name_ = descriptor_str.substr(1, descriptor_str.size() - 2); in InitFirstLoad()
/art/tools/dexanalyze/
Ddexanalyze_strings.cc351 prefixe_trie->Add(strings[i].substr(0, len))->value_ = 1u; in Build()
389 add_str(str.substr(i)); in Build()
418 output_->AddString(prefix_idx, str.substr(best_length)); in Build()
/art/runtime/
Ddebug_print.cc117 oss << "+" << dex_file->GetLocation().substr(base_dex_file->GetLocation().length()); in DescribeLoaders()
Dvdex_file.cc379 std::string parent_path = child_path.substr(0, last_slash_pos); in CreateDirectories()
Druntime_callbacks_test.cc267 location.substr(location.rfind('/') + 1, location.size()) + ">"; in ClassPreDefine()
/art/compiler/debug/
Delf_debug_line_writer.h186 std::string package_name = class_name.substr(1, class_name_slash - 1); in WriteCompilationUnit()
/art/libartbase/base/
Dutils.cc299 stats = stats.substr(stats.find(')') + 2); in GetTaskStats()
Dfile_utils.cc386 return filename.substr(0, last_ext + 1) + new_extension; in ReplaceFileExtension()
/art/test/ti-stress/
Dstress.cc542 type = type.substr(type.find(')') + 1); in MethodExitHook()
646 return ops.substr(ops.find(',') + 1); in AdvanceOption()
654 return in.substr(0, in.find(',')); in GetOption()
/art/tools/jvmti-agents/field-null-percent/
Dfieldnull.cc54 env->NewGlobalRef(env->FindClass(class_name.substr(1, class_name.size() - 2).c_str()))); in SplitField()
/art/profman/
Dboot_image_profile.cc80 : result.substr(0, result.size() - 1); in GetPackageUseString()
/art/runtime/gc/space/
Dimage_space.cc1729 return boot_class_path_[bcp_index].substr(0u, bcp_slash_pos + 1u); in GetBcpComponentPath()
1797 ? image_location_.substr(location_start) in GetPrimaryImageLocation()
1798 : image_location_.substr(location_start, location_end - location_start); in GetPrimaryImageLocation()
1807 location.insert(0u, boot_class_path_[0].substr(0u, slash_pos + 1u)); in GetPrimaryImageLocation()
1915 profile_filename = component.substr(profile_separator_pos + 1u); in MatchNamedComponents()
1926 base_name = component.substr(slash_pos + 1u); in MatchNamedComponents()
1936 base_location = component.substr(0u, slash_pos + 1u) + base_name; in MatchNamedComponents()
2165 std::string bcp_component_name = bcp_component.substr(slash_pos + 1u); in CompileExtension()
2415 std::string base_name = primary_base_location.substr(base_slash_pos + 1u); in LoadOrValidate()
2426 base_location = bcp_component.substr(0u, slash_pos + 1u) + base_name; in LoadOrValidate()
[all …]
/art/tools/jvmti-agents/simple-force-redefine/
Dforceredefine.cc71 return descriptor.substr(1, descriptor.size() - 2); in DescriptorToFQCN()
/art/tools/jvmti-agents/field-counts/
Dfieldcount.cc56 env->NewGlobalRef(env->FindClass(class_name.substr(1, class_name.size() - 2).c_str()))); in SplitField()
/art/tools/veridex/
Dresolver.cc90 std::string klass_name = name.substr(last_array + 1); in GetVeriClass()
/art/libnativeloader/
Dlibrary_namespaces.cpp452 std::string name = location.substr(start_index, slash_index - start_index); in FindApexNamespaceName()
/art/cmdline/detail/
Dcmdline_parse_argument_detail.h153 std::string_view nblank = name.substr(0, name.find("_")); in DumpHelp()
/art/tools/jvmti-agents/wrapagentproperties/
Dwrapagentproperties.cc263 return s.substr(start, end - start); in substrOf()
/art/tools/jvmti-agents/breakpoint-logger/
Dbreakpoint_logger.cc286 return s.substr(start, end - start); in SubstrOf()
/art/tools/hiddenapi/
Dhiddenapi_test.cc150 flags.emplace(line.substr(0, comma), line.substr(comma + 1)); in ReadFlagsCsvFile()
/art/dex2oat/linker/
Dimage_test.h189 out_helper.image_dir = image_filename.substr(0, pos); in DoCompile()
/art/dexlayout/
Ddexdiag.cc474 std::string contains(option.substr(strlen("--contains="))); in DexDiagMain()
/art/libprofile/profile/
Dprofile_compilation_info.cc181 return dex_location.substr(last_sep_index + 1); in GetProfileDexFileBaseKey()
188 return (pos == std::string::npos) ? profile_key : profile_key.substr(0, pos); in GetBaseKeyFromAugmentedKey()
197 : base_key + augmented_key.substr(pos); in MigrateAnnotationInfo()
205 : ProfileSampleAnnotation(augmented_key.substr(pos + 1)); in GetAnnotationFromKey()

123