Home
last modified time | relevance | path

Searched refs:StartsWith (Results 1 – 25 of 31) sorted by relevance

12

/art/dexoptanalyzer/
Ddexoptanalyzer.cc182 } else if (StartsWith(option, "--dex-file=")) { in ParseArgs()
184 } else if (StartsWith(option, "--compiler-filter=")) { in ParseArgs()
189 } else if (StartsWith(option, "--isa=")) { in ParseArgs()
195 } else if (StartsWith(option, "--image=")) { in ParseArgs()
203 } else if (StartsWith(option, "--android-data=")) { in ParseArgs()
210 } else if (StartsWith(option, "--oat-fd=")) { in ParseArgs()
215 } else if (StartsWith(option, "--vdex-fd=")) { in ParseArgs()
220 } else if (StartsWith(option, "--zip-fd=")) { in ParseArgs()
225 } else if (StartsWith(option, "--class-loader-context=")) { in ParseArgs()
227 } else if (StartsWith(option, "--class-loader-context-fds=")) { in ParseArgs()
/art/libdexfile/dex/
Dsignature.cc65 if (!StartsWith(tail, "(")) { in operator ==()
73 if (!StartsWith(tail, param)) { in operator ==()
79 if (!StartsWith(tail, ")")) { in operator ==()
/art/profman/
Dprofman.cc245 DCHECK(StartsWith(raw_option, option_prefix)) << raw_option << " " << option_prefix; in ParseUintOption()
256 DCHECK(StartsWith(raw_option, option_prefix)) << raw_option << " " << option_prefix; in ParseBoolOption()
316 } else if (StartsWith(option, "--create-profile-from=")) { in ParseArgs()
318 } else if (StartsWith(option, "--dump-output-to-fd=")) { in ParseArgs()
324 } else if (StartsWith(option, "--method-threshold=")) { in ParseArgs()
330 } else if (StartsWith(option, "--class-threshold=")) { in ParseArgs()
336 } else if (StartsWith(option, "--clean-class-threshold=")) { in ParseArgs()
342 } else if (StartsWith(option, "--preloaded-class-threshold=")) { in ParseArgs()
348 } else if (StartsWith(option, "--preloaded-classes-blacklist=")) { in ParseArgs()
357 } else if (StartsWith(option, "--upgrade-startup-to-hot=")) { in ParseArgs()
[all …]
/art/tools/veridex/
Dveridex.cc91 static bool StartsWith(const char* str, const char* val) { in StartsWith() function
101 if (StartsWith(argv[i], kDexFileOption)) { in ParseArgs()
103 } else if (StartsWith(argv[i], kStubsOption)) { in ParseArgs()
105 } else if (StartsWith(argv[i], kFlagsOption)) { in ParseArgs()
109 } else if (StartsWith(argv[i], kTargetSdkVersion)) { in ParseArgs()
111 } else if (StartsWith(argv[i], kAppClassFilter)) { in ParseArgs()
114 } else if (StartsWith(argv[i], kExcludeApiListsOption)) { in ParseArgs()
Dclass_filter.h34 if (android::base::StartsWith(class_descriptor, filter)) { in Matches()
/art/libartbase/base/
Dstring_view_cpp20.h30 inline bool StartsWith(std::string_view sv, std::string_view prefix) { in StartsWith() function
Dfile_utils.cc395 return android::base::StartsWith(full_path, module_path); in LocationIsOnArtModule()
443 return android::base::StartsWith(full_path, path_prefix); in IsLocationOnModule()
459 return android::base::StartsWith(full_path, kApexDefaultPath); in LocationIsOnApex()
470 android::base::StartsWith(full_path.get(), GetAndroidRoot().c_str()); in LocationIsOnSystem()
/art/tools/art_verifier/
Dart_verifier.cc107 if (StartsWith(option, "--dex-file=")) { in ParseCustom()
115 } else if (StartsWith(option, "--repetitions=")) { in ParseCustom()
118 } else if (StartsWith(option, "--api-level=")) { in ParseCustom()
/art/cmdline/
Dcmdline_types.h706 if (android::base::StartsWith(option, "min-save-period-ms:")) {
712 if (android::base::StartsWith(option, "save-resolved-classes-delay-ms:")) {
718 if (android::base::StartsWith(option, "hot-startup-method-samples:")) {
724 if (android::base::StartsWith(option, "min-methods-to-save:")) {
730 if (android::base::StartsWith(option, "min-classes-to-save:")) {
736 if (android::base::StartsWith(option, "min-notification-before-wake:")) {
742 if (android::base::StartsWith(option, "max-notification-before-wake:")) {
748 if (android::base::StartsWith(option, "profile-path:")) {
Dcmdline.h157 if (StartsWith(option, "--boot-image=")) { in Parse()
159 } else if (StartsWith(option, "--instruction-set=")) { in Parse()
175 } else if (StartsWith(option, "--output=")) { in Parse()
Dtoken_range.h193 bool StartsWith(const TokenRange& other) const { in StartsWith() function
361 if (!StartsWith(*token_it, name_prefix)) { in MaybeMatches()
384 static bool StartsWith(const std::string& larger, const std::string& smaller) { in StartsWith() function
/art/runtime/verifier/
Dmethod_verifier_test.cc48 if (android::base::StartsWith(descriptor, "Ljava/lang/invoke")) { in VerifyClass()
/art/compiler/jit/
Djit_compiler.cc77 if (StartsWith(option, "--instruction-set-variant=")) { in ParseCompilerOptions()
85 } else if (StartsWith(option, "--instruction-set-features=")) { in ParseCompilerOptions()
/art/tools/hiddenapi/
Dhiddenapi.cc893 if (StartsWith(option, "--input-dex=")) { in ParseArgs()
895 } else if (StartsWith(option, "--output-dex=")) { in ParseArgs()
897 } else if (StartsWith(option, "--api-flags=")) { in ParseArgs()
910 if (StartsWith(option, "--boot-dex=")) { in ParseArgs()
912 } else if (StartsWith(option, "--public-stub-classpath=")) { in ParseArgs()
916 } else if (StartsWith(option, "--system-stub-classpath=")) { in ParseArgs()
920 } else if (StartsWith(option, "--test-stub-classpath=")) { in ParseArgs()
924 } else if (StartsWith(option, "--core-platform-stub-classpath=")) { in ParseArgs()
928 } else if (StartsWith(option, "--out-api-flags=")) { in ParseArgs()
/art/runtime/
Daot_class_linker.cc223 if (!last_prefix.empty() && StartsWith(s, last_prefix)) { in SetUpdatableBootClassPackages()
239 if (StartsWith(descriptor_sv, prefix)) { in IsUpdatableBootClassPathDescriptor()
Doat_file_assistant.cc475 !android::base::StartsWith(basename.c_str(), kAnonymousDexPrefix) || in IsAnonymousVdexBasename()
/art/perfetto_hprof/
Dperfetto_hprof.cc123 bool StartsWith(const std::string& str, const std::string& prefix) { in StartsWith() function
133 if (StartsWith(e.pathname, "/system/") || StartsWith(e.pathname, "/vendor/") || in ShouldSampleSmapsEntry()
134 StartsWith(e.pathname, "/data/app/")) { in ShouldSampleSmapsEntry()
137 if (StartsWith(e.pathname, "[anon:")) { in ShouldSampleSmapsEntry()
/art/compiler/driver/
Dcompiler_options.cc202 return StartsWith(filename, "core-"); in IsCoreImageFilename()
/art/oatdump/
Doatdump.cc3310 if (android::base::StartsWith(p_name, method.c_str())) { in DumpIMTForMethod()
3323 if (android::base::StartsWith(p_name, method.c_str())) { in DumpIMTForMethod()
3336 if (android::base::StartsWith(i_name, method.c_str())) { in DumpIMTForMethod()
3355 if (android::base::StartsWith(dot, "#") || dot.empty()) { in ReadCommentedInputStream()
3420 if (StartsWith(option, "--oat-file=")) { in ParseCustom()
3422 } else if (StartsWith(option, "--dex-file=")) { in ParseCustom()
3424 } else if (StartsWith(option, "--image=")) { in ParseCustom()
3434 } else if (StartsWith(option, "--symbolize=")) { in ParseCustom()
3437 } else if (StartsWith(option, "--only-keep-debug")) { in ParseCustom()
3439 } else if (StartsWith(option, "--class-filter=")) { in ParseCustom()
[all …]
/art/dex2oat/
Ddex2oat.cc141 if (android::base::StartsWith(original_argv[i], "--zip-fd=")) { in StrippedCommandLine()
144 if (android::base::StartsWith(original_argv[i], "--compiler-filter=")) { in StrippedCommandLine()
158 if (android::base::StartsWith(original_argv[i], "--instruction-set")) { in StrippedCommandLine()
163 if (android::base::StartsWith(original_argv[i], "--boot-image=")) { in StrippedCommandLine()
168 if (android::base::StartsWith(original_argv[i], "--image-format=")) { in StrippedCommandLine()
177 if (android::base::StartsWith(original_argv[i], "--zip-") || in StrippedCommandLine()
178 android::base::StartsWith(original_argv[i], "--dex-") || in StrippedCommandLine()
179 android::base::StartsWith(original_argv[i], "--oat-") || in StrippedCommandLine()
180 android::base::StartsWith(original_argv[i], "--swap-") || in StrippedCommandLine()
181 android::base::StartsWith(original_argv[i], "--app-image-")) { in StrippedCommandLine()
[all …]
Ddex2oat_image_test.cc363 CHECK(StartsWith(extra_args.back(), "--boot-image=")); in TEST_F()
/art/libnativeloader/
Dnative_loader.cpp59 if (android::base::StartsWith(location, kApexPath)) { in FindExportedNamespace()
Dpublic_libraries.cpp148 if (android::base::StartsWith(entry.soname, "lib") && in ReadExtensionLibraries()
/art/dexlayout/
Ddexdiag.cc473 } else if (StartsWith(option, "--contains=")) { in DexDiagMain()
/art/openjdkjvmti/
Dti_thread.cc133 !android::base::StartsWith(name, "Jit thread pool") && in ThreadStart()
134 !android::base::StartsWith(name, "Runtime worker thread")) { in ThreadStart()

12