/art/compiler/ |
D | cfi_test.h | 74 static size_t FindEndOf(const std::string& str, const char* substr) { in FindEndOf() argument 75 size_t pos = str.find(substr); in FindEndOf() 77 return pos + strlen(substr); in FindEndOf() 85 line = line.substr(0, FindEndOf(line, ": ")) + in ReformatAsm() 86 line.substr(FindEndOf(line, "\t")); in ReformatAsm() 107 address = "0x" + line.substr(line.size() - 8); in ReformatCfi() 121 new_line = ".cfi_" + new_line.substr(FindEndOf(new_line, "DW_CFA_")); in ReformatCfi()
|
D | elf_writer_debug.cc | 371 std::string package_name = class_name.substr(1, class_name_slash - 1); in WriteDebugSections()
|
D | elf_builder.h | 899 soname = soname.substr(directory_separator_pos + 1); in BuildDynamicSection()
|
/art/dex2oat/ |
D | dex2oat.cc | 454 *parsed_value = s.substr(colon + 1); in ParseStringAfterChar() 594 dex_filenames_.push_back(option.substr(strlen("--dex-file=")).data()); in ParseArgs() 596 dex_locations_.push_back(option.substr(strlen("--dex-location=")).data()); in ParseArgs() 598 const char* zip_fd_str = option.substr(strlen("--zip-fd=")).data(); in ParseArgs() 606 zip_location_ = option.substr(strlen("--zip-location=")).data(); in ParseArgs() 608 oat_filename_ = option.substr(strlen("--oat-file=")).data(); in ParseArgs() 610 oat_symbols = option.substr(strlen("--oat-symbols=")).data(); in ParseArgs() 612 const char* oat_fd_str = option.substr(strlen("--oat-fd=")).data(); in ParseArgs() 624 const char* thread_count_str = option.substr(strlen("-j")).data(); in ParseArgs() 629 oat_location_ = option.substr(strlen("--oat-location=")).data(); in ParseArgs() [all …]
|
/art/cmdline/ |
D | cmdline.h | 142 boot_image_location_ = option.substr(strlen("--boot-image=")).data(); in Parse() 144 StringPiece instruction_set_str = option.substr(strlen("--instruction-set=")).data(); in Parse() 152 output_name_ = option.substr(strlen("--output=")).ToString(); in Parse() 244 std::string no_file_name = boot_image_location.substr(0, file_name_idx); in ParseCheckBootImage() 249 parent_dir_name = no_file_name.substr(ancestor_dirs_idx + 1); in ParseCheckBootImage()
|
D | cmdline_types.h | 100 Result parse_attempt = ParseJdwpOption(jdwp_option.substr(0, equals_pos), 101 jdwp_option.substr(equals_pos + 1), 151 jdwp_options->host = value.substr(0, colon); 152 port_string = value.substr(colon + 1); 740 parsed_value = s.substr(colon + 1); 751 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/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/patchoat/ |
D | patchoat.cc | 987 const char* isa_str = option.substr(strlen("--instruction-set=")).data(); in patchoat() 997 input_oat_location = option.substr(strlen("--input-oat-location=")).data(); in patchoat() 1003 input_oat_filename = option.substr(strlen("--input-oat-file=")).data(); in patchoat() 1009 const char* oat_fd_str = option.substr(strlen("--input-oat-fd=")).data(); in patchoat() 1017 input_image_location = option.substr(strlen("--input-image-location=")).data(); in patchoat() 1023 output_oat_filename = option.substr(strlen("--output-oat-file=")).data(); in patchoat() 1029 const char* oat_fd_str = option.substr(strlen("--output-oat-fd=")).data(); in patchoat() 1041 output_image_filename = option.substr(strlen("--output-image-file=")).data(); in patchoat() 1047 const char* image_fd_str = option.substr(strlen("--output-image-fd=")).data(); in patchoat() 1055 const char* orig_base_offset_str = option.substr(strlen("--orig-base-offset=")).data(); in patchoat() [all …]
|
/art/compiler/dwarf/ |
D | dwarf_test.h | 53 void Check(const char* substr, bool next, const char* at_file, int at_line) { in Check() argument 54 expected_lines_.push_back(ExpectedLine {substr, next, at_file, at_line}); in Check()
|
/art/compiler/dex/ |
D | pass_driver_me.h | 291 settings.substr(setting_pos, next_configuration_separator - setting_pos); in FillOverriddenPassSettings() 294 settings.substr(setting_name_pos, setting_pos - setting_name_pos - 1); in FillOverriddenPassSettings()
|
D | mir_graph.cc | 946 name = name.substr(0, static_cast<size_t>(max_name_length) - suffix_str.size()) + suffix_str; in CreateDumpFile()
|
/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 | 761 std::string dir = location.substr(0, pos+1); in CopyProfileFile() 769 file = location.substr(pos+1); in CopyProfileFile() 778 std::string base = file.substr(0, pos); in CopyProfileFile()
|
D | utils.cc | 916 return s.substr(start_index, end_index - start_index + 1); in Trim() 990 stats = stats.substr(stats.find(')') + 2); in GetTaskStats() 1018 return cgroup_fields[2].substr(1); // Skip the leading slash. in GetSchedulerGroupName()
|
D | profiler.cc | 771 std::string context_counts_str = info[3].substr(1, info[3].size() - 2); in ReadPrevious()
|
D | dex_file.h | 440 return location.substr(pos); in GetMultiDexSuffix()
|
/art/oatdump/ |
D | oatdump.cc | 667 dex_orig_name = dex_file_location.substr(dex_orig_pos + 1); in ExportDexFile() 674 dex_orig_name = dex_file_location.substr(++apk_orig_pos); in ExportDexFile() 2311 oat_filename_ = option.substr(strlen("--oat-file=")).data(); in ParseCustom() 2313 image_location_ = option.substr(strlen("--image=")).data(); in ParseCustom() 2323 oat_filename_ = option.substr(strlen("--symbolize=")).data(); in ParseCustom() 2326 class_filter_ = option.substr(strlen("--class-filter=")).data(); in ParseCustom() 2328 method_filter_ = option.substr(strlen("--method-filter=")).data(); in ParseCustom() 2334 export_dex_location_ = option.substr(strlen("--export-dex-to=")).data(); in ParseCustom() 2336 if (!ParseUint(option.substr(strlen("--addr2instr=")).data(), &addr2instr_)) { in ParseCustom()
|
/art/imgdiag/ |
D | imgdiag.cc | 92 return str.substr(idx + 1); in BaseName() 877 const char* image_diff_pid = option.substr(strlen("--image-diff-pid=")).data(); in ParseCustom()
|
/art/compiler/utils/ |
D | assembler_test_base.h | 446 std::string copy = file.substr(0, space_index - 1); in FileExists()
|
/art/runtime/verifier/ |
D | reg_type_cache.cc | 557 const std::string component(descriptor.substr(1, descriptor.size() - 1)); in GetComponentType()
|