/art/compiler/ |
D | cfi_test.h | 76 static size_t FindEndOf(const std::string& str, const char* substr) { in FindEndOf() argument 77 size_t pos = str.find(substr); in FindEndOf() 79 return pos + strlen(substr); in FindEndOf() 87 line = line.substr(0, FindEndOf(line, ": ")) + in ReformatAsm() 88 line.substr(FindEndOf(line, "\t")); in ReformatAsm() 109 address = "0x" + line.substr(line.size() - 8); in ReformatCfi() 123 new_line = ".cfi_" + new_line.substr(FindEndOf(new_line, "DW_CFA_")); in ReformatCfi()
|
/art/dex2oat/ |
D | dex2oat.cc | 599 const char* image_base_str = option.substr(strlen("--base=")).data(); in ParseBase() 609 StringPiece instruction_set_str = option.substr(strlen("--instruction-set=")).data(); in ParseInstructionSet() 623 StringPiece str = option.substr(strlen("--instruction-set-variant=")).data(); in ParseInstructionSetVariant() 634 StringPiece str = option.substr(strlen("--instruction-set-features=")).data(); in ParseInstructionSetFeatures() 655 StringPiece backend_str = option.substr(strlen("--compiler-backend=")).data(); in ParseCompilerBackend() 666 const StringPiece substr("--image-format="); in ParseImageFormat() local 667 DCHECK(option.starts_with(substr)); in ParseImageFormat() 668 const StringPiece format_str = option.substr(substr.length()); in ParseImageFormat() 923 base_oat = base_oat.substr(0, last_oat_slash + 1); in ExpandOatAndImageFilenames() 938 std::string prefix = base_img.substr(last_img_slash + 1); in ExpandOatAndImageFilenames() [all …]
|
/art/cmdline/ |
D | cmdline.h | 143 boot_image_location_ = option.substr(strlen("--boot-image=")).data(); in Parse() 145 StringPiece instruction_set_str = option.substr(strlen("--instruction-set=")).data(); in Parse() 153 output_name_ = option.substr(strlen("--output=")).ToString(); in Parse() 246 std::string no_file_name = boot_image_location.substr(0, file_name_idx); in ParseCheckBootImage() 251 parent_dir_name = no_file_name.substr(ancestor_dirs_idx + 1); in ParseCheckBootImage()
|
D | cmdline_types.h | 101 Result parse_attempt = ParseJdwpOption(jdwp_option.substr(0, equals_pos), 102 jdwp_option.substr(equals_pos + 1), 152 jdwp_options->host = value.substr(0, colon); 153 port_string = value.substr(colon + 1); 751 parsed_value = s.substr(colon + 1); 762 return source.substr(prefix_idx + 1);
|
D | token_range.h | 282 std::string wildcard_substr = string.substr(wildcard_idx, wildcard_length); in MatchSubstrings() 308 new_token_list.push_back(string.substr(next_token_idx, tok.size())); in MatchSubstrings() 356 std::string name_prefix = name.substr(0, wildcard_idx); in MaybeMatches()
|
/art/compiler/driver/ |
D | compiler_options.cc | 136 std::string file_name = option.substr(strlen("--dump-init-failures=")).data(); in ParseDumpInitFailures() 149 const char* compiler_filter_string = option.substr(strlen("--compiler-filter=")).data(); in ParseCompilerOption() 190 dump_cfg_file_name_ = option.substr(strlen("--dump-cfg=")).data(); in ParseCompilerOption()
|
/art/runtime/base/unix_file/ |
D | random_access_file_test.h | 98 content.substr(0, short_request)); in TestReadContent() 106 content.substr(non_zero_offset, short_request)); in TestReadContent() 128 ASSERT_EQ(content.substr(0, 2), new_content); in TestSetLength()
|
/art/runtime/gc/space/ |
D | image_space_fs.h | 125 DeleteEmptyDirectoriesUpTo(dir.substr(0, last_slash), stop_at); in DeleteEmptyDirectoriesUpTo() 278 std::string ota_source_dir = ota_filename.substr(0, last_slash); in TryMoveOTAArtifacts() 284 std::string dalvik_cache_target_dir = cache_filename.substr(0, last_cache_slash); in TryMoveOTAArtifacts()
|
D | image_space.cc | 1548 const std::string new_prefix = input_image_file_name.substr( in CreateMultiImageLocations() 1556 std::string suffix = image.substr(old_prefix_length); in CreateMultiImageLocations()
|
/art/compiler/debug/dwarf/ |
D | dwarf_test.h | 54 void Check(const char* substr, bool next, const char* at_file, int at_line) { in Check() argument 55 expected_lines_.push_back(ExpectedLine {substr, next, at_file, at_line}); in Check()
|
/art/profman/ |
D | profman.cc | 151 profile_files_.push_back(option.substr(strlen("--profile-file=")).ToString()); in ParseArgs() 155 reference_profile_file_ = option.substr(strlen("--reference-profile-file=")).ToString(); in ParseArgs() 159 dex_locations_.push_back(option.substr(strlen("--dex-location=")).ToString()); in ParseArgs()
|
/art/patchoat/ |
D | patchoat.cc | 1004 output_image_filename.substr(0, output_image_filename.find_last_of("/")); in patchoat_image() 1264 const char* isa_str = option.substr(strlen("--instruction-set=")).data(); in patchoat() 1274 input_oat_location = option.substr(strlen("--input-oat-location=")).data(); in patchoat() 1280 input_oat_filename = option.substr(strlen("--input-oat-file=")).data(); in patchoat() 1286 const char* oat_fd_str = option.substr(strlen("--input-oat-fd=")).data(); in patchoat() 1294 input_image_location = option.substr(strlen("--input-image-location=")).data(); in patchoat() 1300 output_oat_filename = option.substr(strlen("--output-oat-file=")).data(); in patchoat() 1306 const char* oat_fd_str = option.substr(strlen("--output-oat-fd=")).data(); in patchoat() 1314 output_image_filename = option.substr(strlen("--output-image-file=")).data(); in patchoat() 1316 const char* base_delta_str = option.substr(strlen("--base-offset-delta=")).data(); in patchoat() [all …]
|
/art/compiler/jit/ |
D | jit_compiler.cc | 122 StringPiece str = option.substr(strlen("--instruction-set-variant=")).data(); in JitCompiler() 130 StringPiece str = option.substr(strlen("--instruction-set-features=")).data(); in JitCompiler()
|
/art/runtime/base/ |
D | stringpiece.cc | 90 StringPiece StringPiece::substr(size_type pos, size_type n) const { in substr() function in art::StringPiece
|
D | stringpiece.h | 149 StringPiece substr(size_type pos, size_type n = npos) const;
|
/art/runtime/ |
D | oat_file_assistant.cc | 390 return oat_file_location.substr(0, last_ext) + ".art"; in ArtFileName() 806 std::string dir = location.substr(0, pos+1); in DexFilenameToOdexFilename() 814 file = location.substr(pos+1); in DexFilenameToOdexFilename() 823 std::string base = file.substr(0, pos); in DexFilenameToOdexFilename()
|
D | utils.cc | 920 return s.substr(start_index, end_index - start_index + 1); in Trim() 994 stats = stats.substr(stats.find(')') + 2); in GetTaskStats() 1022 return cgroup_fields[2].substr(1); // Skip the leading slash. in GetSchedulerGroupName() 1558 os << inst_str.substr(cur_start, inst_str.size() - cur_start); in DumpMethodCFGImpl() 1561 os << inst_str.substr(cur_start, next_escape - cur_start); in DumpMethodCFGImpl() 1854 *parsed_value = s.substr(colon + 1); in ParseStringAfterChar()
|
D | utils.h | 354 const char* value_string = option.substr(option_prefix.size()).data();
|
/art/oatdump/ |
D | oatdump.cc | 673 dex_orig_name = dex_file_location.substr(dex_orig_pos + 1); in ExportDexFile() 680 dex_orig_name = dex_file_location.substr(++apk_orig_pos); in ExportDexFile() 2385 oat_filename_ = option.substr(strlen("--oat-file=")).data(); in ParseCustom() 2387 image_location_ = option.substr(strlen("--image=")).data(); in ParseCustom() 2397 oat_filename_ = option.substr(strlen("--symbolize=")).data(); in ParseCustom() 2402 class_filter_ = option.substr(strlen("--class-filter=")).data(); in ParseCustom() 2404 method_filter_ = option.substr(strlen("--method-filter=")).data(); in ParseCustom() 2410 export_dex_location_ = option.substr(strlen("--export-dex-to=")).data(); in ParseCustom() 2412 if (!ParseUint(option.substr(strlen("--addr2instr=")).data(), &addr2instr_)) { in ParseCustom() 2417 app_image_ = option.substr(strlen("--app-image=")).data(); in ParseCustom() [all …]
|
/art/compiler/debug/ |
D | elf_debug_line_writer.h | 189 std::string package_name = class_name.substr(1, class_name_slash - 1); in WriteCompilationUnit()
|
D | elf_debug_info_writer.h | 531 size_t element_type = WriteTypeDeclaration(desc.substr(1)); in WriteTypeDeclaration()
|
/art/imgdiag/ |
D | imgdiag.cc | 97 return str.substr(idx + 1); in BaseName() 1057 const char* image_diff_pid = option.substr(strlen("--image-diff-pid=")).data(); in ParseCustom() 1064 const char* zygote_diff_pid = option.substr(strlen("--zygote-diff-pid=")).data(); in ParseCustom()
|
/art/compiler/utils/arm/ |
D | assembler_arm32_test.cc | 321 std::string lhs = filter.substr(0, equal_sign_index); in EvalFilterString() 322 std::string rhs = filter.substr(equal_sign_index + 1, std::string::npos); in EvalFilterString()
|
/art/compiler/utils/ |
D | assembler_test_base.h | 458 std::string copy = file.substr(0, space_index - 1); in FileExists()
|
/art/runtime/jit/ |
D | offline_profiling_info.cc | 54 return dex_location.substr(last_sep_index + 1); in GetProfileDexFileKey()
|