Home
last modified time | relevance | path

Searched refs:Flag (Results 1 – 19 of 19) sorted by relevance

/art/tools/dexfuzz/src/dexfuzz/rawdex/
DEncodedMethod.java52 return ((accessFlags & Flag.ACC_STATIC.getValue()) != 0); in isStatic()
56 return ((accessFlags & Flag.ACC_NATIVE.getValue()) != 0); in isNative()
64 accessFlags |= Flag.ACC_STATIC.getValue(); in setStatic()
66 accessFlags &= ~(Flag.ACC_STATIC.getValue()); in setStatic()
70 private static enum Flag { enum in EncodedMethod
87 private Flag(int value) { in Flag() method in EncodedMethod.Flag
DEncodedField.java44 return ((accessFlags & Flag.ACC_VOLATILE.getValue()) != 0); in isVolatile()
52 accessFlags |= Flag.ACC_VOLATILE.getValue(); in setVolatile()
54 accessFlags &= ~(Flag.ACC_VOLATILE.getValue()); in setVolatile()
58 private static enum Flag { enum in EncodedField
71 private Flag(int value) { in Flag() method in EncodedField.Flag
/art/libartbase/base/
Dflags.h158 class Flag : public FlagBase {
162 Flag(const std::string& name, Value default_value, FlagType type);
163 virtual ~Flag();
259 Flag<int32_t> MyFeatureTestFlag{"my-feature-test.flag", 42, FlagType::kDeviceConfig};
266 Flag<std::string> MetricsReportingSpec{"metrics.reporting-spec", "", FlagType::kDeviceConfig};
269 Flag<std::string> MetricsReportingSpecSystemServer{"metrics.reporting-spec-server", "",
278 Flag<uint32_t> MetricsReportingMods{"metrics.reporting-mods", 0,
280 Flag<uint32_t> MetricsReportingModsServer{"metrics.reporting-mods-server", 0,
288 Flag<uint32_t> MetricsReportingNumMods{"metrics.reporting-num-mods", 100,
290 Flag<uint32_t> MetricsReportingNumModsServer{"metrics.reporting-num-mods-server", 100,
[all …]
Dflags.cc100 Flag<Value>::Flag(const std::string& name, Value default_value, FlagType type) : in Flag() function in art::Flag
111 Flag<Value>::~Flag() { in ~Flag()
116 void Flag<Value>::Reload() { in Reload()
154 void Flag<Value>::Dump(std::ostream& oss) const { in Dump()
175 template class Flag<bool>; variable
176 template class Flag<int>; variable
177 template class Flag<std::string>; variable
Dflags_test.cc46 flag_.reset(new Flag<int>(flag_name_, /*default_value=*/ 42, flag_type)); in TestFlag()
92 std::unique_ptr<Flag<int>> flag_;
/art/runtime/jit/
Dprofile_saver_test.cc58 Hotness::Flag AnnotateSampleFlags(uint32_t flags) { in AnnotateSampleFlags()
92 Hotness::Flag expected_flag = Is64BitInstructionSet(Runtime::Current()->GetInstructionSet()) in TEST_F()
95 Hotness::Flag actual = AnnotateSampleFlags(Hotness::kFlagHot); in TEST_F()
97 ASSERT_EQ(static_cast<Hotness::Flag>(expected_flag | Hotness::kFlagHot), actual); in TEST_F()
101 Hotness::Flag actual = AnnotateSampleFlags(Hotness::kFlagHot); in TEST_F()
Dprofiling_info_test.cc72 Hotness::Flag flags) { in SaveProfilingInfo()
103 Hotness::Flag flags, in SaveProfilingInfoWithFakeInlineCaches()
187 static_cast<Hotness::Flag>(Hotness::kFlagHot | Hotness::kFlagPostStartup))); in TEST_F()
207 static_cast<Hotness::Flag>(Hotness::kFlagHot | Hotness::kFlagStartup))); in TEST_F()
246 static_cast<Hotness::Flag>(Hotness::kFlagHot | Hotness::kFlagStartup), in TEST_F()
Dprofile_saver.cc643 return enum_cast<ProfileCompilationInfo::MethodHotness::Flag>(base_flags | Hotness::kFlagHot); in UpdateProfile()
646 return enum_cast<ProfileCompilationInfo::MethodHotness::Flag>(base_flags); in UpdateProfile()
648 return enum_cast<ProfileCompilationInfo::MethodHotness::Flag>(0u); in UpdateProfile()
699 ProfileCompilationInfo::MethodHotness::Flag flags = get_method_flags(method); in UpdateProfile()
712 ProfileCompilationInfo::MethodHotness::Flag flags = get_method_flags(*method); in UpdateProfile()
1312 Hotness::Flag ProfileSaver::AnnotateSampleFlags(uint32_t flags) { in AnnotateSampleFlags()
1314 return static_cast<Hotness::Flag>(flags | extra_flags); in AnnotateSampleFlags()
Dprofile_saver.h119 ProfileCompilationInfo::MethodHotness::Flag AnnotateSampleFlags(uint32_t flags);
/art/libprofile/profile/
Dprofile_compilation_info.h177 enum Flag { enum
227 void AddFlag(Flag flag) { in AddFlag()
235 bool HasFlagSet(MethodHotness::Flag flag) { in HasFlagSet()
317 MethodHotness::Flag flags,
393 void AddMethod(ProfileIndexType profile_index, uint32_t method_index, MethodHotness::Flag flags) { in AddMethod()
404 MethodHotness::Flag flags,
413 MethodHotness::Flag flags,
773 bool AddMethod(MethodHotness::Flag flags, size_t index);
782 void SetMethodHotness(size_t index, MethodHotness::Flag flags);
833 size_t MethodFlagBitmapIndex(MethodHotness::Flag flag, size_t method_index) const;
[all …]
Dprofile_test_helper.h49 Hotness::Flag flags,
69 Hotness::Flag flags,
Dprofile_compilation_info.cc662 MethodHotness::Flag flags, in AddMethods()
1231 MethodHotness::Flag flags, in AddMethod()
2165 data->AddMethod(static_cast<MethodHotness::Flag>(flags), method_idx); in GenerateTestProfile()
2224 data->AddMethod(static_cast<MethodHotness::Flag>(flags), method_index); in GenerateTestProfile()
2250 bool ProfileCompilationInfo::DexFileData::AddMethod(MethodHotness::Flag flags, size_t index) { in AddMethod()
2277 fn(enum_cast<MethodHotness::Flag>(flag)); in ForMethodBitmapHotnessFlags()
2282 MethodHotness::Flag flags) { in SetMethodHotness()
2284 ForMethodBitmapHotnessFlags([&](MethodHotness::Flag flag) { in SetMethodHotness()
2287 static_cast<MethodHotness::Flag>(flag), index), /*value=*/ true); in SetMethodHotness()
2295 ForMethodBitmapHotnessFlags([&](MethodHotness::Flag flag) { in GetHotnessInfo()
[all …]
Dprofile_compilation_info_test.cc191 static_cast<Hotness::Flag>(1 << flag_index))); in SizeStressTest()
200 static_cast<Hotness::Flag>(1 << flag_index))); in SizeStressTest()
847 info.AddMethodsForDex(static_cast<Hotness::Flag>(Hotness::kFlagHot | Hotness::kFlagStartup), in TEST_F()
1267 AddMethod(&info, dex1, index, static_cast<Hotness::Flag>(1 << index)); in TEST_F()
1274 .HasFlagSet(static_cast<Hotness::Flag>(1 << index))) << index << " " in TEST_F()
1296 AddMethod(&info, dex1, 0, static_cast<Hotness::Flag>(1 << index)); in TEST_F()
1303 .HasFlagSet(static_cast<Hotness::Flag>(1 << index))); in TEST_F()
1326 AddMethod(&info1, dex1, 0, static_cast<Hotness::Flag>(1 << index)); in TEST_F()
1327 AddMethod(&info2, dex1, 1, static_cast<Hotness::Flag>(1 << index)); in TEST_F()
1334 AddMethod(&info2, dex1, 1, static_cast<Hotness::Flag>(1 << index)); in TEST_F()
[all …]
/art/profman/
Dboot_image_profile.cc234 && ((metadata.GetFlags() & Hotness::Flag::kFlagStartup) != 0)) { in GenerateBootImageProfile()
235 metadata.AddFlag(Hotness::Flag::kFlagHot); in GenerateBootImageProfile()
Dprofman.cc1455 methods, static_cast<ProfileCompilationInfo::MethodHotness::Flag>(flags), annotation); in ProcessLine()
1580 static_cast<ProfileCompilationInfo::MethodHotness::Flag>(flags), in ProcessLine()
1584 static_cast<ProfileCompilationInfo::MethodHotness::Flag>(flags), in ProcessLine()
1589 static_cast<ProfileCompilationInfo::MethodHotness::Flag>(flags), in ProcessLine()
1595 static_cast<ProfileCompilationInfo::MethodHotness::Flag>(flags), in ProcessLine()
Dprofile_assistant_test.cc76 Hotness::Flag flags = in SetupProfile()
77 static_cast<Hotness::Flag>(Hotness::kFlagHot | Hotness::kFlagPostStartup); in SetupProfile()
/art/runtime/
Dcommon_runtime_test.cc586 static_cast<ProfileCompilationInfo::MethodHotness::Flag>(flags))); in GenerateProfile()
/art/dexlayout/
Ddexlayout_test.cc357 static_cast<ProfileCompilationInfo::MethodHotness::Flag>(flags)); in CreateProfile()
/art/dex2oat/
Ddex2oat_test.cc1173 static_cast<Hotness::Flag>(Hotness::kFlagHot | Hotness::kFlagStartup), in TEST_F()