/art/tools/dexfuzz/src/dexfuzz/rawdex/ |
D | EncodedMethod.java | 52 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
|
D | EncodedField.java | 44 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/ |
D | flags.h | 158 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 …]
|
D | flags.cc | 100 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
|
D | flags_test.cc | 46 flag_.reset(new Flag<int>(flag_name_, /*default_value=*/ 42, flag_type)); in TestFlag() 92 std::unique_ptr<Flag<int>> flag_;
|
/art/runtime/jit/ |
D | profile_saver_test.cc | 58 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()
|
D | profiling_info_test.cc | 72 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()
|
D | profile_saver.cc | 643 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()
|
D | profile_saver.h | 119 ProfileCompilationInfo::MethodHotness::Flag AnnotateSampleFlags(uint32_t flags);
|
/art/libprofile/profile/ |
D | profile_compilation_info.h | 177 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 …]
|
D | profile_test_helper.h | 49 Hotness::Flag flags, 69 Hotness::Flag flags,
|
D | profile_compilation_info.cc | 662 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 …]
|
D | profile_compilation_info_test.cc | 191 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/ |
D | boot_image_profile.cc | 234 && ((metadata.GetFlags() & Hotness::Flag::kFlagStartup) != 0)) { in GenerateBootImageProfile() 235 metadata.AddFlag(Hotness::Flag::kFlagHot); in GenerateBootImageProfile()
|
D | profman.cc | 1455 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()
|
D | profile_assistant_test.cc | 76 Hotness::Flag flags = in SetupProfile() 77 static_cast<Hotness::Flag>(Hotness::kFlagHot | Hotness::kFlagPostStartup); in SetupProfile()
|
/art/runtime/ |
D | common_runtime_test.cc | 586 static_cast<ProfileCompilationInfo::MethodHotness::Flag>(flags))); in GenerateProfile()
|
/art/dexlayout/ |
D | dexlayout_test.cc | 357 static_cast<ProfileCompilationInfo::MethodHotness::Flag>(flags)); in CreateProfile()
|
/art/dex2oat/ |
D | dex2oat_test.cc | 1173 static_cast<Hotness::Flag>(Hotness::kFlagHot | Hotness::kFlagStartup), in TEST_F()
|