/art/compiler/ |
D | cfi_test.h | 85 static size_t FindEndOf(const std::string& str, const char* substr) { in FindEndOf() argument 86 size_t pos = str.find(substr); in FindEndOf() 88 return pos + strlen(substr); in FindEndOf() 96 line = line.substr(0, FindEndOf(line, ": ")) + in ReformatAsm() 97 line.substr(FindEndOf(line, "\t")); in ReformatAsm() 118 address = "0x" + line.substr(line.size() - 8); in ReformatCfi() 132 new_line = ".cfi_" + new_line.substr(FindEndOf(new_line, "DW_CFA_")); in ReformatCfi()
|
/art/libartbase/base/ |
D | string_view_cpp20.h | 31 return sv.substr(0u, prefix.size()) == prefix; in StartsWith() 35 return sv.size() >= suffix.size() && sv.substr(sv.size() - suffix.size()) == suffix; in EndsWith()
|
D | utils.cc | 275 stats = stats.substr(stats.find(')') + 2); in GetTaskStats()
|
/art/dexoptanalyzer/ |
D | dexoptanalyzer.cc | 183 dex_file_ = std::string(option.substr(strlen("--dex-file="))); in ParseArgs() 196 image_ = std::string(option.substr(strlen("--image="))); in ParseArgs() 211 oat_fd_ = std::stoi(std::string(option.substr(strlen("--oat-fd="))), nullptr, 0); in ParseArgs() 216 vdex_fd_ = std::stoi(std::string(option.substr(strlen("--vdex-fd="))), nullptr, 0); in ParseArgs() 221 zip_fd_ = std::stoi(std::string(option.substr(strlen("--zip-fd="))), nullptr, 0); in ParseArgs() 226 context_str_ = std::string(option.substr(strlen("--class-loader-context="))); in ParseArgs() 229 std::string(option.substr(strlen("--class-loader-context-fds="))); in ParseArgs()
|
/art/tools/veridex/ |
D | hidden_api.cc | 50 AddSignatureToApiList(signature.substr(0, pos), membership); in HiddenApi() 54 AddSignatureToApiList(signature.substr(0, pos), membership); in HiddenApi() 59 AddSignatureToApiList(signature.substr(0, pos), membership); in HiddenApi()
|
/art/libartbase/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/profman/ |
D | profman.cc | 201 std::string option_name(option_prefix.substr(option_prefix.size() - 1u)); in ParseUintOption() 205 std::string option_name(option_prefix.substr(option_prefix.size() - 1u)); in ParseUintOption() 210 std::string option_name(option_prefix.substr(option_prefix.size() - 1u)); in ParseUintOption() 268 create_profile_from_file_ = std::string(option.substr(strlen("--create-profile-from="))); in ParseArgs() 286 profile_files_.push_back(std::string(option.substr(strlen("--profile-file=")))); in ParseArgs() 290 reference_profile_file_ = std::string(option.substr(strlen("--reference-profile-file="))); in ParseArgs() 294 dex_locations_.push_back(std::string(option.substr(strlen("--dex-location=")))); in ParseArgs() 298 apk_files_.push_back(std::string(option.substr(strlen("--apk=")))); in ParseArgs() 300 test_profile_ = std::string(option.substr(strlen("--generate-test-profile="))); in ParseArgs() 941 klass = line.substr(0); in ProcessLine() [all …]
|
/art/compiler/debug/dwarf/ |
D | dwarf_test.h | 55 void Check(const char* substr, bool next, const char* at_file, int at_line) { in Check() argument 56 expected_lines_.push_back(ExpectedLine {substr, next, at_file, at_line}); in Check()
|
/art/runtime/ |
D | class_loader_context.cc | 198 std::string classpath = class_loader_spec.substr(type_str_size + 1, in ParseClassLoaderSpec() 237 class_loader_spec.substr(start_index + 1, class_loader_spec.length() - start_index - 2); in ParseClassLoaderSpec() 250 shared_libraries_spec.substr(cursor, shared_libraries_spec.length() - cursor); in ParseClassLoaderSpec() 257 shared_libraries_spec.substr(cursor, shared_library_separator - cursor); in ParseClassLoaderSpec() 268 shared_library_spec = shared_libraries_spec.substr(cursor, closing_marker + 1 - cursor); in ParseClassLoaderSpec() 351 class_loader_spec = remaining.substr(0, first_class_loader_separator); in ParseInternal() 352 remaining = remaining.substr(first_class_loader_separator + 1, in ParseInternal() 364 class_loader_spec = remaining.substr(0, shared_library_close + 1); in ParseInternal() 374 remaining = remaining.substr(shared_library_close + 2, in ParseInternal() 640 } else if (!base_dir.empty() && location.substr(0, base_dir.length()) == base_dir) { in EncodeContextInternal() [all …]
|
D | reference_table_test.cc | 197 jmethodID substr = soa.Env()->GetMethodID(WellKnownClasses::java_lang_String, in TEST_F() local 200 ASSERT_TRUE(substr != nullptr); in TEST_F() 204 substr, in TEST_F() 319 std::string haystack = base.substr(summary_pos); in TEST_F()
|
D | oat_file_assistant.cc | 149 std::string parent = dex_location_.substr(0, pos); in OatFileAssistant() 505 std::string dir = location.substr(0, pos+1); in DexLocationToOdexNames() 518 std::string file = location.substr(pos+1); in DexLocationToOdexNames() 524 std::string base = file.substr(0, pos); in DexLocationToOdexNames() 924 ? oat_file_assistant_->dex_location_.substr(0, dir_index) in ClassLoaderContextIsOkay()
|
D | debug_print.cc | 117 oss << "+" << dex_file->GetLocation().substr(base_dex_file->GetLocation().length()); in DescribeLoaders()
|
/art/cmdline/ |
D | cmdline.h | 176 output_name_ = std::string(option.substr(strlen("--output="))); in Parse() 281 std::string no_file_name = boot_image_location.substr(0, file_name_idx); in ParseCheckBootImage() 286 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()
|
/art/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 | 129 name_ = descriptor.substr(1, descriptor.size() - 2); in InitCommon() 363 name_ = descriptor_str.substr(1, descriptor_str.size() - 2); in InitFirstLoad()
|
/art/tools/hiddenapi/ |
D | hiddenapi.cc | 894 boot_dex_paths_.push_back(std::string(option.substr(strlen("--input-dex=")))); in ParseArgs() 896 output_dex_paths_.push_back(std::string(option.substr(strlen("--output-dex=")))); in ParseArgs() 898 api_flags_path_ = std::string(option.substr(strlen("--api-flags="))); in ParseArgs() 911 boot_dex_paths_.push_back(std::string(option.substr(strlen("--boot-dex=")))); in ParseArgs() 914 std::string(option.substr(strlen("--public-stub-classpath="))), in ParseArgs() 918 std::string(option.substr(strlen("--system-stub-classpath="))), in ParseArgs() 922 std::string(option.substr(strlen("--test-stub-classpath="))), in ParseArgs() 926 std::string(option.substr(strlen("--core-platform-stub-classpath="))), in ParseArgs() 929 api_flags_path_ = std::string(option.substr(strlen("--out-api-flags="))); in ParseArgs()
|
/art/dexlayout/ |
D | dexlayout_test.cc | 295 std::string tmp_dir = tmp_name.substr(0, tmp_last_slash + 1); in DexFileOutputExec() 395 std::string tmp_dir = tmp_name.substr(0, tmp_last_slash + 1); in DexFileLayoutExec() 424 std::string tmp_dir = tmp_name.substr(0, tmp_last_slash + 1); in DexFileLayoutFixedPointExec() 488 std::string tmp_dir = tmp_name.substr(0, tmp_last_slash + 1); in UnreferencedCatchHandlerExec() 724 std::string tmp_dir = tmp_name.substr(0, tmp_last_slash + 1); in TEST_F() 762 std::string tmp_dir = tmp_name.substr(0, tmp_last_slash + 1); in TEST_F()
|
/art/runtime/jdwp/ |
D | jdwp_main.cc | 78 jdwp_options->host = value.substr(0, colon); in ParseJdwpOption() 79 port_string = value.substr(colon + 1); in ParseJdwpOption() 126 bool parse_attempt = ParseJdwpOption(jdwp_option.substr(0, equals_pos), in ParseJdwpOptions() 127 jdwp_option.substr(equals_pos + 1), in ParseJdwpOptions()
|
/art/runtime/ti/ |
D | agent.cc | 44 name_ = arg.substr(0, eq); in AgentSpec() 45 args_ = arg.substr(eq + 1, arg.length()); in AgentSpec()
|
/art/test/ti-agent/ |
D | common_helper.cc | 111 type = type.substr(type.find(')') + 1); in GetJavaValue()
|
/art/tools/runtime_memusage/ |
D | symbol_trace_info.py | 33 for ind, substr in enumerate(list_substrings): 34 if big_string.find(substr) != -1:
|
/art/dexdump/ |
D | dexdump_cfg.cc | 115 os << inst_str.substr(cur_start, inst_str.size() - cur_start); in DumpMethodCFG() 118 os << inst_str.substr(cur_start, next_escape - cur_start); in DumpMethodCFG()
|
/art/libdexfile/dex/ |
D | dex_file_loader.h | 103 return (pos == std::string::npos) ? std::string() : location.substr(pos); in GetMultiDexSuffix()
|
/art/tools/dexanalyze/ |
D | dexanalyze_strings.cc | 351 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()
|