/art/libartbase/base/ |
D | compiler_filter.cc | 25 bool CompilerFilter::IsAotCompilationEnabled(Filter filter) { in IsAotCompilationEnabled() argument 26 switch (filter) { in IsAotCompilationEnabled() 41 bool CompilerFilter::IsJniCompilationEnabled(Filter filter) { in IsJniCompilationEnabled() argument 42 switch (filter) { in IsJniCompilationEnabled() 57 bool CompilerFilter::IsAnyCompilationEnabled(Filter filter) { in IsAnyCompilationEnabled() argument 58 return IsJniCompilationEnabled(filter) || IsAotCompilationEnabled(filter); in IsAnyCompilationEnabled() 61 bool CompilerFilter::IsVerificationEnabled(Filter filter) { in IsVerificationEnabled() argument 62 switch (filter) { in IsVerificationEnabled() 77 bool CompilerFilter::DependsOnImageChecksum(Filter filter) { in DependsOnImageChecksum() argument 80 return IsVerificationEnabled(filter); in DependsOnImageChecksum() [all …]
|
D | compiler_filter.h | 48 static bool IsAotCompilationEnabled(Filter filter); 53 static bool IsAnyCompilationEnabled(Filter filter); 57 static bool IsJniCompilationEnabled(Filter filter); 60 static bool IsVerificationEnabled(Filter filter); 64 static bool DependsOnImageChecksum(Filter filter); 68 static bool DependsOnProfile(Filter filter); 71 static Filter GetNonProfileDependentFilterFrom(Filter filter); 74 static Filter GetSafeModeFilterFrom(Filter filter); 91 static std::string NameOfFilter(Filter filter); 97 static bool ParseCompilerFilter(const char* name, /*out*/Filter* filter);
|
D | compiler_filter_test.cc | 23 static void TestCompilerFilterName(CompilerFilter::Filter filter, const std::string& name) { in TestCompilerFilterName() argument 26 EXPECT_EQ(filter, parsed); in TestCompilerFilterName() 28 EXPECT_EQ(name, CompilerFilter::NameOfFilter(filter)); in TestCompilerFilterName() 41 CompilerFilter::Filter filter; in TEST() local 53 EXPECT_FALSE(CompilerFilter::ParseCompilerFilter("super-awesome-filter", &filter)); in TEST()
|
/art/runtime/ |
D | app_info_test.cc | 34 std::string filter; in TEST() local 36 app_info.GetPrimaryApkOptimizationStatus(&filter, &reason); in TEST() 39 ASSERT_EQ(filter, "unknown"); in TEST() 57 std::string filter; in TEST() local 59 app_info.GetPrimaryApkOptimizationStatus(&filter, &reason); in TEST() 61 ASSERT_EQ(filter, "filter"); in TEST() 84 std::string filter; in TEST() local 86 app_info.GetPrimaryApkOptimizationStatus(&filter, &reason); in TEST() 89 ASSERT_EQ(filter, "filter"); in TEST() 97 std::string filter; in TEST() local [all …]
|
D | dexopt_test.h | 45 CompilerFilter::Filter filter, 53 CompilerFilter::Filter filter, 60 CompilerFilter::Filter filter, 64 void GenerateOatForTest(const char* dex_location, CompilerFilter::Filter filter);
|
D | dexopt_test.cc | 99 CompilerFilter::Filter filter, in GenerateOatForTest() argument 106 args.push_back("--compiler-filter=" + CompilerFilter::NameOfFilter(filter)); in GenerateOatForTest() 115 if (CompilerFilter::DependsOnProfile(filter)) { in GenerateOatForTest() 163 EXPECT_EQ(filter, odex_file->GetCompilerFilter()); in GenerateOatForTest() 165 if (CompilerFilter::DependsOnImageChecksum(filter)) { in GenerateOatForTest() 187 CompilerFilter::Filter filter, in GenerateOdexForTest() argument 192 filter, in GenerateOdexForTest() 199 CompilerFilter::Filter filter, in GenerateOatForTest() argument 207 filter, in GenerateOatForTest() 211 void DexoptTest::GenerateOatForTest(const char* dex_location, CompilerFilter::Filter filter) { in GenerateOatForTest() argument [all …]
|
/art/ |
D | CPPLINT.cfg | 26 # Ignore the following categories of errors, as specified by the filter: 27 # (the filter settings are concatenated together) 28 filter=-build/c++11 29 filter=-build/include 30 filter=-readability/function,-readability/streams,-readability/todo 31 filter=-runtime/printf,-runtime/references,-runtime/sizeof,-runtime/threadsafe_fn 33 filter=-whitespace/line_length
|
/art/build/ |
D | Android.common.mk | 48 ifeq (,$(filter $(TARGET_ARCH),$(ART_TARGET_SUPPORTED_ARCH))) 51 ifeq (,$(filter $(HOST_ARCH),$(ART_HOST_SUPPORTED_ARCH))) 60 ifneq ($(filter %64,$(TARGET_ARCH)),) 68 ifneq ($(filter %64,$(TARGET_ARCH)),)
|
/art/test/634-vdex-duplicate/ |
D | run | 17 exec ${RUN} -Xcompiler-option --compiler-filter=verify --vdex-filter speed --vdex "${@}"
|
/art/test/178-app-image-native-method/ |
D | run | 19 ${RUN} $@ --profile -Xcompiler-option --compiler-filter=speed-profile \ 24 ${RUN} ${@} --profile -Xcompiler-option --compiler-filter=verify
|
/art/tools/veridex/ |
D | class_filter.h | 33 for (const std::string& filter : prefixes_) { in Matches() local 34 if (android::base::StartsWith(class_descriptor, filter)) { in Matches()
|
/art/test/692-vdex-secondary-loader/src/ |
D | Main.java | 56 String filter = getCompilerFilter(loader.loadClass("art.ClassB")); in test() local 57 if (!("verify".equals(filter))) { in test() 58 throw new Error("Expected verify, got " + filter); in test()
|
/art/test/957-methodhandle-transforms/src/ |
D | Main.java | 750 final MethodHandle filter = MethodHandles.lookup().findStatic(Main.class, in testFilterReturnValue() local 753 MethodHandle adapter = MethodHandles.filterReturnValue(target, filter); in testFilterReturnValue() 769 final MethodHandle filter = MethodHandles.lookup().findStatic(Main.class, in testFilterReturnValue() local 772 MethodHandle adapter = MethodHandles.filterReturnValue(target, filter); in testFilterReturnValue() 784 final MethodHandle filter = MethodHandles.lookup().findStatic(Main.class, in testFilterReturnValue() local 787 MethodHandle adapter = MethodHandles.filterReturnValue(target, filter); in testFilterReturnValue() 1464 static String filter(char a, char b) { in filter() method in Main 1479 MethodHandle filter = MethodHandles.lookup().findStatic( in testCollectArguments() local 1488 MethodHandle adapter = MethodHandles.collectArguments(target, 0, filter); in testCollectArguments() 1492 adapter = MethodHandles.collectArguments(target, 1, filter); in testCollectArguments() [all …]
|
/art/test/692-vdex-inmem-loader/src/ |
D | Main.java | 62 String filter = getCompilerFilter(loader.loadClass("art.ClassB")); in test() local 63 if (!("verify".equals(filter))) { in test() 64 throw new Error("Expected verify, got " + filter); in test()
|
/art/runtime/native/ |
D | dalvik_system_DexFile.cc | 526 CompilerFilter::Filter filter; in GetDexOptNeeded() local 527 if (!CompilerFilter::ParseCompilerFilter(compiler_filter_name, &filter)) { in GetDexOptNeeded() 564 return oat_file_assistant.GetDexOptNeeded(filter, in GetDexOptNeeded() 716 CompilerFilter::Filter filter; in DexFile_isValidCompilerFilter() local 717 return CompilerFilter::ParseCompilerFilter(compiler_filter.c_str(), &filter) in DexFile_isValidCompilerFilter() 729 CompilerFilter::Filter filter; in DexFile_isProfileGuidedCompilerFilter() local 730 if (!CompilerFilter::ParseCompilerFilter(compiler_filter.c_str(), &filter)) { in DexFile_isProfileGuidedCompilerFilter() 733 return CompilerFilter::DependsOnProfile(filter) ? JNI_TRUE : JNI_FALSE; in DexFile_isProfileGuidedCompilerFilter() 744 CompilerFilter::Filter filter; in DexFile_getNonProfileGuidedCompilerFilter() local 745 if (!CompilerFilter::ParseCompilerFilter(compiler_filter.c_str(), &filter)) { in DexFile_getNonProfileGuidedCompilerFilter() [all …]
|
/art/test/common/ |
D | runtime_state.cc | 85 std::string filter = in Java_Main_getCompilerFilter() local 88 mirror::String::AllocFromModifiedUtf8(soa.Self(), filter.c_str())); in Java_Main_getCompilerFilter() 147 const char* filter = strstr(cmd_line, kCompilerFilter); in Java_Main_compiledWithOptimizing() local 148 if (filter != nullptr) { in Java_Main_compiledWithOptimizing() 149 filter += strlen(kCompilerFilter); in Java_Main_compiledWithOptimizing() 150 const char* end = strchr(filter, ' '); in Java_Main_compiledWithOptimizing() 151 std::string string_filter(filter, (end == nullptr) ? strlen(filter) : end - filter); in Java_Main_compiledWithOptimizing()
|
/art/test/629-vdex-speed/ |
D | run | 17 exec ${RUN} --vdex --vdex-filter speed "${@}"
|
/art/test/628-vdex/ |
D | run | 17 exec ${RUN} -Xcompiler-option --compiler-filter=verify --vdex "${@}"
|
/art/test/820-vdex-multidex/ |
D | run | 17 exec ${RUN} -Xcompiler-option --compiler-filter=verify --vdex "${@}"
|
/art/test/674-vdex-uncompress/ |
D | run | 17 exec ${RUN} -Xcompiler-option --compiler-filter=verify --vdex "${@}"
|
/art/test/661-oat-writer-layout/ |
D | run | 22 "${RUN}" "$@" --profile -Xcompiler-option --compiler-filter=speed
|
/art/test/172-app-image-twice/ |
D | run | 19 ${RUN} $@ --profile -Xcompiler-option --compiler-filter=speed-profile
|
/art/test/1001-app-image-regions/ |
D | run | 17 exec ${RUN} $@ --profile -Xcompiler-option --compiler-filter=speed-profile
|
/art/test/729-checker-polymorphic-intrinsic/ |
D | run | 17 exec ${RUN} $@ --profile -Xcompiler-option --compiler-filter=speed-profile
|
/art/test/158-app-image-class-table/ |
D | run | 17 exec ${RUN} $@ --profile -Xcompiler-option --compiler-filter=speed-profile
|