Home
last modified time | relevance | path

Searched refs:filter (Results 1 – 25 of 56) sorted by relevance

123

/art/runtime/
Dcompiler_filter.cc25 bool CompilerFilter::IsAotCompilationEnabled(Filter filter) { in IsAotCompilationEnabled() argument
26 switch (filter) { in IsAotCompilationEnabled()
42 bool CompilerFilter::IsJniCompilationEnabled(Filter filter) { in IsJniCompilationEnabled() argument
43 switch (filter) { in IsJniCompilationEnabled()
59 bool CompilerFilter::IsQuickeningCompilationEnabled(Filter filter) { in IsQuickeningCompilationEnabled() argument
60 switch (filter) { in IsQuickeningCompilationEnabled()
76 bool CompilerFilter::IsAnyCompilationEnabled(Filter filter) { in IsAnyCompilationEnabled() argument
77 return IsJniCompilationEnabled(filter) || in IsAnyCompilationEnabled()
78 IsQuickeningCompilationEnabled(filter) || in IsAnyCompilationEnabled()
79 IsAotCompilationEnabled(filter); in IsAnyCompilationEnabled()
[all …]
Dcompiler_filter.h49 static bool IsAotCompilationEnabled(Filter filter);
54 static bool IsAnyCompilationEnabled(Filter filter);
58 static bool IsJniCompilationEnabled(Filter filter);
62 static bool IsQuickeningCompilationEnabled(Filter filter);
65 static bool IsVerificationEnabled(Filter filter);
69 static bool DependsOnImageChecksum(Filter filter);
73 static bool DependsOnProfile(Filter filter);
76 static Filter GetNonProfileDependentFilterFrom(Filter filter);
79 static Filter GetSafeModeFilterFrom(Filter filter);
96 static std::string NameOfFilter(Filter filter);
[all …]
Dcompiler_filter_test.cc23 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
54 EXPECT_FALSE(CompilerFilter::ParseCompilerFilter("super-awesome-filter", &filter)); in TEST()
Ddexopt_test.h45 CompilerFilter::Filter filter,
53 CompilerFilter::Filter filter,
60 CompilerFilter::Filter filter,
64 void GenerateOatForTest(const char* dex_location, CompilerFilter::Filter filter);
Ddexopt_test.cc96 CompilerFilter::Filter filter, in GenerateOatForTest() argument
103 args.push_back("--compiler-filter=" + CompilerFilter::NameOfFilter(filter)); in GenerateOatForTest()
112 if (CompilerFilter::DependsOnProfile(filter)) { in GenerateOatForTest()
142 EXPECT_EQ(filter, odex_file->GetCompilerFilter()); in GenerateOatForTest()
144 if (CompilerFilter::DependsOnImageChecksum(filter)) { in GenerateOatForTest()
167 CompilerFilter::Filter filter, in GenerateOdexForTest() argument
172 filter, in GenerateOdexForTest()
179 CompilerFilter::Filter filter, in GenerateOatForTest() argument
187 filter, in GenerateOatForTest()
191 void DexoptTest::GenerateOatForTest(const char* dex_location, CompilerFilter::Filter filter) { in GenerateOatForTest() argument
[all …]
/art/
DCPPLINT.cfg26 # 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/
DAndroid.common.mk47 ifeq (,$(filter $(TARGET_ARCH),$(ART_TARGET_SUPPORTED_ARCH)))
50 ifeq (,$(filter $(HOST_ARCH),$(ART_HOST_SUPPORTED_ARCH)))
59 ifneq ($(filter %64,$(TARGET_ARCH)),)
67 ifneq ($(filter %64,$(TARGET_ARCH)),)
DAndroid.oat.mk53 core_compile_options += --compiler-filter=quicken
57 core_compile_options += --compiler-filter=extract --runtime-arg -Xverify:softfail
60 ifneq ($(filter-out interpreter interp-ac optimizing,$(1)),)
111 $$(filter-out $$(HOST_CORE_IMG_DEX_FILES),$$(HOST_CORE_DEX_FILES))) \
113 $$(filter-out $$(HOST_CORE_IMG_DEX_LOCATIONS),$$(HOST_CORE_DEX_LOCATIONS))) \
165 core_compile_options += --compiler-filter=quicken
169 core_compile_options += --compiler-filter=extract --runtime-arg -Xverify:softfail
172 ifneq ($(filter-out interpreter interp-ac optimizing,$(1)),)
227 $$(filter-out $$(TARGET_CORE_IMG_DEX_FILES),$$(TARGET_CORE_DEX_FILES))) \
229 $$(filter-out $$(TARGET_CORE_IMG_DEX_LOCATIONS),$$(TARGET_CORE_DEX_LOCATIONS))) \
/art/test/634-vdex-duplicate/
Drun17 exec ${RUN} -Xcompiler-option --compiler-filter=verify --vdex-filter speed --vdex "${@}"
/art/test/178-app-image-native-method/
Drun18 ${RUN} $@ --profile -Xcompiler-option --compiler-filter=speed-profile
22 ${RUN} ${@} --profile -Xcompiler-option --compiler-filter=verify
/art/test/172-app-image-twice/
Drun23 ${RUN} $@ --profile -Xcompiler-option --compiler-filter=speed-profile \
26 ${RUN} $@ --profile -Xcompiler-option --compiler-filter=speed-profile \
/art/tools/veridex/
Dclass_filter.h33 for (const std::string& filter : prefixes_) { in Matches() local
34 if (android::base::StartsWith(class_descriptor, filter)) { in Matches()
/art/tools/class2greylist/src/com/android/class2greylist/
DJarReader.java57 .filter(zipEntry -> zipEntry.getName().endsWith(".class")) in stream()
59 .filter(Objects::nonNull); in stream()
/art/test/common/
Druntime_state.cc85 std::string filter = in Java_Main_getCompilerFilter() local
88 mirror::String::AllocFromModifiedUtf8(soa.Self(), filter.c_str())); in Java_Main_getCompilerFilter()
144 const char* filter = strstr(cmd_line, kCompilerFilter); in Java_Main_compiledWithOptimizing() local
145 if (filter != nullptr) { in Java_Main_compiledWithOptimizing()
148 filter += strlen(kCompilerFilter); in Java_Main_compiledWithOptimizing()
154 if (strncmp(filter, kInterpretOnly, strlen(kInterpretOnly)) == 0 || in Java_Main_compiledWithOptimizing()
155 strncmp(filter, kVerifyNone, strlen(kVerifyNone)) == 0 || in Java_Main_compiledWithOptimizing()
156 strncmp(filter, kVerifyAtRuntime, strlen(kVerifyAtRuntime)) == 0 || in Java_Main_compiledWithOptimizing()
157 strncmp(filter, kExtract, strlen(kExtract)) == 0 || in Java_Main_compiledWithOptimizing()
158 strncmp(filter, kQuicken, strlen(kQuicken)) == 0) { in Java_Main_compiledWithOptimizing()
/art/test/692-vdex-inmem-loader/src/
DMain.java62 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/test/957-methodhandle-transforms/src/
DMain.java750 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/674-vdex-uncompress/
Drun17 exec ${RUN} -Xcompiler-option --compiler-filter=verify --vdex "${@}"
/art/test/628-vdex/
Drun17 exec ${RUN} -Xcompiler-option --compiler-filter=verify --vdex "${@}"
/art/test/661-oat-writer-layout/
Drun22 "${RUN}" "$@" --profile -Xcompiler-option --compiler-filter=speed
/art/test/643-checker-bogus-ic/
Drun17 exec ${RUN} $@ --profile -Xcompiler-option --compiler-filter=speed-profile
/art/test/638-checker-inline-caches/
Drun17 exec ${RUN} $@ --profile -Xcompiler-option --compiler-filter=speed-profile
/art/test/1001-app-image-regions/
Drun17 exec ${RUN} $@ --profile -Xcompiler-option --compiler-filter=speed-profile
/art/test/707-checker-invalid-profile/
Drun17 exec ${RUN} $@ --profile -Xcompiler-option --compiler-filter=speed-profile
/art/test/158-app-image-class-table/
Drun17 exec ${RUN} $@ --profile -Xcompiler-option --compiler-filter=speed-profile
/art/runtime/native/
Ddalvik_system_DexFile.cc548 CompilerFilter::Filter filter; in GetDexOptNeeded() local
549 if (!CompilerFilter::ParseCompilerFilter(compiler_filter_name, &filter)) { in GetDexOptNeeded()
580 return oat_file_assistant.GetDexOptNeeded(filter, in GetDexOptNeeded()
729 CompilerFilter::Filter filter; in DexFile_isValidCompilerFilter() local
730 return CompilerFilter::ParseCompilerFilter(compiler_filter.c_str(), &filter) in DexFile_isValidCompilerFilter()
742 CompilerFilter::Filter filter; in DexFile_isProfileGuidedCompilerFilter() local
743 if (!CompilerFilter::ParseCompilerFilter(compiler_filter.c_str(), &filter)) { in DexFile_isProfileGuidedCompilerFilter()
746 return CompilerFilter::DependsOnProfile(filter) ? JNI_TRUE : JNI_FALSE; in DexFile_isProfileGuidedCompilerFilter()
757 CompilerFilter::Filter filter; in DexFile_getNonProfileGuidedCompilerFilter() local
758 if (!CompilerFilter::ParseCompilerFilter(compiler_filter.c_str(), &filter)) { in DexFile_getNonProfileGuidedCompilerFilter()
[all …]

123