/art/compiler/ |
D | cfi_test.h | 84 static size_t FindEndOf(const std::string& str, const char* substr) { in FindEndOf() argument 85 size_t pos = str.find(substr); in FindEndOf() 87 return pos + strlen(substr); in FindEndOf() 95 line = line.substr(0, FindEndOf(line, ": ")) + in ReformatAsm() 96 line.substr(FindEndOf(line, "\t")); in ReformatAsm() 117 address = "0x" + line.substr(line.size() - 8); in ReformatCfi() 131 new_line = ".cfi_" + new_line.substr(FindEndOf(new_line, "DW_CFA_")); in ReformatCfi()
|
/art/dexoptanalyzer/ |
D | dexoptanalyzer.cc | 144 dex_file_ = option.substr(strlen("--dex-file=")).ToString(); in ParseArgs() 146 std::string filter_str = option.substr(strlen("--compiler-filter=")).ToString(); in ParseArgs() 151 std::string isa_str = option.substr(strlen("--isa=")).ToString(); in ParseArgs() 157 image_ = option.substr(strlen("--image=")).ToString(); in ParseArgs() 161 std::string new_android_data = option.substr(strlen("--android-data=")).ToString(); in ParseArgs()
|
/art/dex2oat/ |
D | dex2oat.cc | 634 const char* image_base_str = option.substr(strlen("--base=")).data(); in ParseBase() 644 StringPiece instruction_set_str = option.substr(strlen("--instruction-set=")).data(); in ParseInstructionSet() 658 StringPiece str = option.substr(strlen("--instruction-set-variant=")).data(); in ParseInstructionSetVariant() 668 StringPiece str = option.substr(strlen("--instruction-set-features=")).data(); in ParseInstructionSetFeatures() 688 StringPiece backend_str = option.substr(strlen("--compiler-backend=")).data(); in ParseCompilerBackend() 699 const StringPiece substr("--image-format="); in ParseImageFormat() local 700 DCHECK(option.starts_with(substr)); in ParseImageFormat() 701 const StringPiece format_str = option.substr(substr.length()); in ParseImageFormat() 966 base_oat = base_oat.substr(0, last_oat_slash + 1); in ExpandOatAndImageFilenames() 981 std::string prefix = base_img.substr(last_img_slash + 1); in ExpandOatAndImageFilenames() [all …]
|
/art/cmdline/ |
D | cmdline.h | 145 boot_image_location_ = option.substr(strlen("--boot-image=")).data(); in Parse() 147 StringPiece instruction_set_str = option.substr(strlen("--instruction-set=")).data(); in Parse() 155 output_name_ = option.substr(strlen("--output=")).ToString(); in Parse() 248 std::string no_file_name = boot_image_location.substr(0, file_name_idx); in ParseCheckBootImage() 253 parent_dir_name = no_file_name.substr(ancestor_dirs_idx + 1); in ParseCheckBootImage()
|
D | token_range.h | 284 std::string wildcard_substr = string.substr(wildcard_idx, wildcard_length); in MatchSubstrings() 310 new_token_list.push_back(string.substr(next_token_idx, tok.size())); in MatchSubstrings() 358 std::string name_prefix = name.substr(0, wildcard_idx); in MaybeMatches()
|
D | cmdline_types.h | 105 Result parse_attempt = ParseJdwpOption(jdwp_option.substr(0, equals_pos), 106 jdwp_option.substr(equals_pos + 1), 156 jdwp_options->host = value.substr(0, colon); 157 port_string = value.substr(colon + 1); 701 return source.substr(prefix_idx + 1);
|
/art/compiler/driver/ |
D | compiler_options.cc | 137 std::string file_name = option.substr(strlen("--dump-init-failures=")).data(); in ParseDumpInitFailures() 151 StringPiece choice = option.substr(strlen("--register-allocation-strategy=")).data(); in ParseRegisterAllocationStrategy() 163 const char* compiler_filter_string = option.substr(strlen("--compiler-filter=")).data(); in ParseCompilerOption() 202 dump_cfg_file_name_ = option.substr(strlen("--dump-cfg=")).data(); in ParseCompilerOption()
|
/art/test/ti-stress/ |
D | stress.cc | 169 data->dexter_cmd = ops.substr(0, ops.find(',')); in ReadOptions() 170 ops = ops.substr(ops.find(',') + 1); in ReadOptions() 171 data->in_temp_dex = ops.substr(0, ops.find(',')); in ReadOptions() 172 ops = ops.substr(ops.find(',') + 1); in ReadOptions()
|
/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/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 | 197 create_profile_from_file_ = option.substr(strlen("--create-profile-from=")).ToString(); in ParseArgs() 201 profile_files_.push_back(option.substr(strlen("--profile-file=")).ToString()); in ParseArgs() 205 reference_profile_file_ = option.substr(strlen("--reference-profile-file=")).ToString(); in ParseArgs() 209 dex_locations_.push_back(option.substr(strlen("--dex-location=")).ToString()); in ParseArgs() 213 apk_files_.push_back(option.substr(strlen("--apk=")).ToString()); in ParseArgs() 215 test_profile_ = option.substr(strlen("--generate-test-profile=")).ToString(); in ParseArgs() 700 klass = line.substr(0, method_sep_index); in ProcessLine() 701 method_str = line.substr(method_sep_index + kMethodSep.size()); in ProcessLine()
|
/art/dexlayout/ |
D | dexlayout_test.cc | 286 std::string tmp_dir = tmp_name.substr(0, tmp_last_slash + 1); in DexFileOutputExec() 297 std::string dex_file_name = dex_file.substr(dex_file_last_slash + 1); in DexFileOutputExec() 325 std::string tmp_dir = tmp_name.substr(0, tmp_last_slash + 1); in DexFileLayoutExec() 358 std::string tmp_dir = tmp_name.substr(0, tmp_last_slash + 1); in UnreferencedCatchHandlerExec()
|
/art/compiler/jit/ |
D | jit_compiler.cc | 125 StringPiece str = option.substr(strlen("--instruction-set-variant=")).data(); in JitCompiler() 133 StringPiece str = option.substr(strlen("--instruction-set-features=")).data(); in JitCompiler()
|
/art/runtime/openjdkjvmti/ |
D | ti_properties.cc | 166 if (prop_assignment.substr(0, assign_pos) == kPropertyLibraryPath) { in GetLibraryPath() 167 return Copy(env, prop_assignment.substr(assign_pos + 1).c_str(), value_ptr); in GetLibraryPath()
|
D | ti_class_definition.cc | 76 name_ = descriptor.substr(1, descriptor.size() - 2); in InitCommon()
|
/art/runtime/ti/ |
D | agent.cc | 134 name_ = arg.substr(0, eq); in Agent() 135 args_ = arg.substr(eq + 1, arg.length()); in Agent()
|
/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/patchoat/ |
D | patchoat.cc | 763 output_image_filename.substr(0, output_image_filename.find_last_of('/')); in patchoat_image() 807 const char* isa_str = option.substr(strlen("--instruction-set=")).data(); in patchoat() 813 input_image_location = option.substr(strlen("--input-image-location=")).data(); in patchoat() 815 output_image_filename = option.substr(strlen("--output-image-file=")).data(); in patchoat() 817 const char* base_delta_str = option.substr(strlen("--base-offset-delta=")).data(); in patchoat()
|
/art/dexdump/ |
D | dexdump_cfg.cc | 115 os << inst_str.substr(cur_start, inst_str.size() - cur_start); in dumpMethodCFGImpl() 118 os << inst_str.substr(cur_start, next_escape - cur_start); in dumpMethodCFGImpl()
|
/art/runtime/ |
D | oat_file_assistant.cc | 132 std::string parent = dex_location_.substr(0, pos); in OatFileAssistant() 208 const char* compiler_filter_string = option.substr(strlen("--compiler-filter=")).data(); in GetRuntimeCompilerFilterOption() 535 std::string dir = location.substr(0, pos+1); in DexLocationToOdexNames() 548 std::string file = location.substr(pos+1); in DexLocationToOdexNames() 554 std::string base = file.substr(0, pos); in DexLocationToOdexNames()
|
D | utils.cc | 726 stats = stats.substr(stats.find(')') + 2); in GetTaskStats() 883 return filename.substr(0, last_ext + 1) + new_extension; in ReplaceFileExtension() 900 *parsed_value = s.substr(colon + 1); in ParseStringAfterChar()
|
D | utils.h | 231 const char* value_string = option.substr(option_prefix.size()).data();
|
/art/oatdump/ |
D | oatdump.cc | 1018 dex_orig_name = dex_file_location.substr(dex_orig_pos + 1); in ExportDexFile() 1027 dex_orig_name = dex_file_location.substr(++apk_orig_pos); in ExportDexFile() 2940 line.substr(0, first_space), in DumpImt() 2941 line.substr(first_space + 1, std::string::npos), in DumpImt() 3331 oat_filename_ = option.substr(strlen("--oat-file=")).data(); in ParseCustom() 3333 image_location_ = option.substr(strlen("--image=")).data(); in ParseCustom() 3343 oat_filename_ = option.substr(strlen("--symbolize=")).data(); in ParseCustom() 3348 class_filter_ = option.substr(strlen("--class-filter=")).data(); in ParseCustom() 3350 method_filter_ = option.substr(strlen("--method-filter=")).data(); in ParseCustom() 3356 export_dex_location_ = option.substr(strlen("--export-dex-to=")).data(); in ParseCustom() [all …]
|
/art/compiler/debug/ |
D | elf_debug_line_writer.h | 190 std::string package_name = class_name.substr(1, class_name_slash - 1); in WriteCompilationUnit()
|