/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()
|
/art/tools/veridex/ |
D | hidden_api.cc | 45 AddSignatureToApiList(signature.substr(0, pos), membership); in HiddenApi() 49 AddSignatureToApiList(signature.substr(0, pos), membership); in HiddenApi() 54 AddSignatureToApiList(signature.substr(0, pos), membership); in HiddenApi()
|
D | hidden_api.h | 100 return signature.substr(0, pos); in GetApiClassName()
|
/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/profman/ |
D | profman.cc | 246 std::string option_name(option_prefix.substr(option_prefix.size() - 1u)); in ParseUintOption() 260 std::string option_name(option_prefix.substr(option_prefix.size() - 1u)); in ParseBoolOption() 317 create_profile_from_file_ = std::string(option.substr(strlen("--create-profile-from="))); in ParseArgs() 350 std::string(option.substr(strlen("--preloaded-classes-blacklist="))); in ParseArgs() 363 Split(std::string(option.substr(strlen("--special-package="))), ':', &values); in ParseArgs() 375 boot_profile_out_path_ = std::string(option.substr(strlen("--out-profile-path="))); in ParseArgs() 378 option.substr(strlen("--out-preloaded-classes-path="))); in ParseArgs() 380 profile_files_.push_back(std::string(option.substr(strlen("--profile-file=")))); in ParseArgs() 384 reference_profile_file_ = std::string(option.substr(strlen("--reference-profile-file="))); in ParseArgs() 388 dex_locations_.push_back(std::string(option.substr(strlen("--dex-location=")))); in ParseArgs() [all …]
|
/art/cmdline/ |
D | cmdline.h | 176 output_name_ = std::string(option.substr(strlen("--output="))); in Parse() 274 boot_image_location = boot_image_location.substr(/*pos*/ 0u, /*size*/ separator_pos); in ParseCheckBootImage() 285 std::string no_file_name = boot_image_location.substr(0, file_name_idx); in ParseCheckBootImage() 290 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/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/tools/jvmti-agents/chain-agents/ |
D | chainagents.cc | 57 std::string first(source.substr(0, source.find(delim))); in Split() 61 return std::pair(first, source.substr(source.find(delim) + 1)); in Split()
|
/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/tools/jvmti-agents/ti-alloc-sample/ |
D | ti_alloc_sample.cc | 393 sampling_rate = std::stoi(options.substr(0, comma_pos)); in ProcessOptions() 394 options = options.substr(comma_pos + 1); in ProcessOptions() 399 stack_depth_limit = std::stoi(options.substr(0, comma_pos)); in ProcessOptions() 400 output_file_path = options.substr(comma_pos + 1); in ProcessOptions()
|
/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()
|
/art/dexlayout/ |
D | dexlayout_test.cc | 294 std::string tmp_dir = tmp_name.substr(0, tmp_last_slash + 1); in DexFileOutputExec() 387 std::string tmp_dir = tmp_name.substr(0, tmp_last_slash + 1); in DexFileLayoutExec() 416 std::string tmp_dir = tmp_name.substr(0, tmp_last_slash + 1); in DexFileLayoutFixedPointExec() 485 std::string tmp_dir = tmp_name.substr(0, tmp_last_slash + 1); in UnreferencedCatchHandlerExec() 721 std::string tmp_dir = tmp_name.substr(0, tmp_last_slash + 1); in TEST_F() 759 std::string tmp_dir = tmp_name.substr(0, tmp_last_slash + 1); in TEST_F()
|
/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/runtime/ |
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 | class_loader_context.cc | 202 std::string classpath = class_loader_spec.substr(type_str_size + 1, in ParseClassLoaderSpec() 241 class_loader_spec.substr(start_index + 1, class_loader_spec.length() - start_index - 2); in ParseClassLoaderSpec() 254 shared_libraries_spec.substr(cursor, shared_libraries_spec.length() - cursor); in ParseClassLoaderSpec() 261 shared_libraries_spec.substr(cursor, shared_library_separator - cursor); in ParseClassLoaderSpec() 272 shared_library_spec = shared_libraries_spec.substr(cursor, closing_marker + 1 - cursor); in ParseClassLoaderSpec() 355 class_loader_spec = remaining.substr(0, first_class_loader_separator); in ParseInternal() 356 remaining = remaining.substr(first_class_loader_separator + 1, in ParseInternal() 368 class_loader_spec = remaining.substr(0, shared_library_close + 1); in ParseInternal() 378 remaining = remaining.substr(shared_library_close + 2, in ParseInternal() 664 && location.substr(0, base_dir.length()) == base_dir) { in EncodeClassPath() [all …]
|
D | oat_file_assistant.cc | 150 std::string parent = dex_location_.substr(0, pos); in OatFileAssistant() 509 std::string dir = location.substr(0, pos+1); in DexLocationToOdexNames() 522 std::string file = location.substr(pos+1); in DexLocationToOdexNames() 528 std::string base = file.substr(0, pos); in DexLocationToOdexNames() 918 ? oat_file_assistant_->dex_location_.substr(0, dir_index) in ClassLoaderContextIsOkay()
|
/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/compiler/driver/ |
D | compiler_options.cc | 191 filename = filename.substr(0u, colon_pos); in IsCoreImageFilename()
|
/art/dex2oat/ |
D | dex2oat_image_test.cc | 137 std::string new_location = dir + dex_file.substr(slash_pos + 1u); in CopyDexFiles() 305 std::string mid_name = mid_location.substr(mid_slash_pos + 1u); in TEST_F() 313 std::string tail_name = tail_location.substr(tail_slash_pos + 1u); in TEST_F() 400 std::string single_name = single_location.substr(single_slash_pos + 1u); in TEST_F()
|