/art/libartbase/base/ |
D | flags_test.cc | 49 void AssertCmdlineValue(bool has_value, int expected) { in AssertCmdlineValue() argument 50 ASSERT_EQ(flag_->from_command_line_.has_value(), has_value); in AssertCmdlineValue() 51 if (has_value) { in AssertCmdlineValue() 56 void AssertSysPropValue(bool has_value, int expected) { in AssertSysPropValue() argument 57 ASSERT_EQ(flag_->from_system_property_.has_value(), has_value); in AssertSysPropValue() 58 if (has_value) { in AssertSysPropValue() 63 void AssertServerSettingValue(bool has_value, int expected) { in AssertServerSettingValue() argument 64 ASSERT_EQ(flag_->from_server_setting_.has_value(), has_value); in AssertServerSettingValue() 65 if (has_value) { in AssertServerSettingValue()
|
D | flags.h | 199 if (from_server_setting_.has_value()) { in GetValueAndOrigin() 202 if (from_system_property_.has_value()) { in GetValueAndOrigin() 205 if (from_command_line_.has_value()) { in GetValueAndOrigin()
|
D | flags.cc | 146 if (val.has_value()) { in DumpValue()
|
D | leb128.h | 42 if (end.has_value() && ptr >= end.value()) { in DecodeLeb128Helper()
|
/art/runtime/metrics/ |
D | reporter.cc | 52 DCHECK(!thread_.has_value()) << "The config cannot be reloaded after the background " in ReloadConfig() 62 CHECK(!thread_.has_value()); in MaybeStartBackgroundThread() 76 if (thread_.has_value()) { in MaybeStopBackgroundThread() 84 if (ShouldReportAtStartup() && thread_.has_value()) { in NotifyStartupCompleted() 102 if (thread_.has_value()) { in RequestMetricsReport() 112 if (thread_.has_value()) { in SetCompilationInfo() 132 if (config_.dump_to_file.has_value()) { in BackgroundThreadRun() 225 config_.period_spec.has_value() && in ShouldReportAtStartup() 234 config_.period_spec.has_value() && in ShouldContinueReporting() 270 if (spec_str.has_value()) { in FromFlags() [all …]
|
D | reporter_test.cc | 116 ASSERT_TRUE(config.period_spec.has_value()); in SetupReporter() 424 ASSERT_EQ(valid, spec.has_value()) << spec_str; in Verify()
|
/art/compiler/optimizing/ |
D | constructor_fence_redundancy_elimination.cc | 51 if (!candidate_fence_targets_.has_value()) { in VisitConstructorFence() 165 DCHECK_IMPLIES(candidate_fence_targets_.has_value(), in VisitSetLocation() 182 DCHECK_IMPLIES(candidate_fence_targets_.has_value(), in HasInterestingPublishTargetAsInput() 224 DCHECK(candidate_fence_targets_.has_value()); in MergeCandidateFences() 231 DCHECK(candidate_fence_targets_.has_value()); in IsInterestingPublishTarget()
|
/art/runtime/oat/ |
D | oat_file_assistant_context.cc | 47 runtime_options_->boot_class_path_files.has_value(), in OatFileAssistantContext() 161 File* file = bcp_files.has_value() ? &(*bcp_files)[bcp_index] : &noFile; in GetBcpChecksums() 169 DCHECK(checksum.has_value()); in GetBcpChecksums() 171 if (checksum.has_value()) { in GetBcpChecksums() 178 if (apex_versions_.has_value()) { in GetApexVersions()
|
D | oat_file_assistant.cc | 246 if (context_str.has_value()) { in Create() 452 return checksum.has_value(); in HasDexFiles() 470 if (!dex_checksum.has_value()) { in DexChecksumUpToDate() 488 CHECK(dex_checksum.has_value()); in DexChecksumUpToDate() 727 if (cached_required_dex_checksums_error_.has_value()) { in GetRequiredDexChecksum() 733 if (!cached_required_dex_checksums_.has_value()) { in GetRequiredDexChecksum() 1026 if (has_dex_files.has_value()) { in GetDexOptNeeded() 1323 if (!has_dex_files.has_value()) { in GetOptimizationStatus()
|
/art/runtime/base/ |
D | message_queue.h | 127 if (deadline_milliseconds_.has_value() && deadline_milliseconds_.value() < current_time) { in ReceiveMessage() 140 if (deadline_milliseconds_.has_value()) { in ReceiveMessage()
|
/art/cmdline/ |
D | cmdline.h | 314 if (bcp_str.has_value() && bcp_location_str.has_value()) { in ParseBootclasspath() 317 } else if (bcp_str.has_value()) { in ParseBootclasspath()
|
/art/libdexfile/dex/ |
D | art_dex_file_loader_test.cc | 104 ASSERT_TRUE(checksum.has_value()); in TEST_F() 120 ASSERT_TRUE(checksum.has_value()); in TEST_F() 134 EXPECT_FALSE(checksum.has_value()); in TEST_F() 143 EXPECT_TRUE(checksum.has_value()); in TEST_F()
|
D | dex_file_loader.h | 98 if (!checksum.has_value()) { // First dex file. in GetMultiDexChecksum() 110 CHECK(checksum.has_value()); in GetMultiDexChecksum()
|
/art/libelffile/elf/ |
D | elf_debug_reader.h | 114 addr = addr.has_value() ? std::min(addr.value(), phdr.p_vaddr) : phdr.p_vaddr; in GetLoadAddress() 117 CHECK(addr.has_value()); in GetLoadAddress()
|
/art/runtime/ |
D | quick_exception_handler.h | 108 DCHECK(handler_dex_pc_list_.has_value()); in GetHandlerDexPcList()
|
D | app_info.cc | 99 return package_name_.has_value(); in HasRegisteredAppInfo()
|
/art/artd/ |
D | artd.cc | 178 if (!size.has_value()) { in GetSizeAndDeleteFile() 535 if (se_context.has_value()) { in Restorecon() 869 if (in_referenceProfile.has_value()) { in mergeProfiles() 976 if (!has_dex_files.has_value()) { in getDexoptNeeded() 1005 in_profile.has_value() ? in dexopt() 1012 if (in_classLoaderContext.has_value()) { in dexopt() 1119 if (in_inputVdex.has_value()) { in dexopt() 1128 if (in_dmFile.has_value()) { in dexopt() 1136 if (profile_path.has_value()) { in dexopt() 1525 if (!cached_boot_image_locations_.has_value()) { in GetBootImageLocations() [all …]
|
/art/odrefresh/ |
D | odr_metrics.cc | 160 if (result.has_value()) { in ConvertExecResult()
|
D | odrefresh.cc | 347 checksum.has_value() ? StringPrintf("%08x", checksum.value()) : std::string(); in GenerateComponents() 758 if (!info_list.has_value()) { in GetApexInfoList() 790 if (!cache_info.has_value()) { in ReadCacheInfo() 822 if (!apex_info_list.has_value()) { in WriteCacheInfo() 827 if (!art_apex_info.has_value()) { in WriteCacheInfo() 1184 if (!art_apex_info.has_value()) { in CheckPreconditionForSystem() 1272 if (!current_art_info.has_value()) { in CheckPreconditionForData() 1632 if (!apex_info_list.has_value()) { in CheckArtifactsAreUpToDate() 1640 if (!art_apex_info.has_value()) { in CheckArtifactsAreUpToDate() 2219 if (first_failure.has_value()) { in Compile()
|
D | odr_config.h | 215 return partial_compilation_.has_value(); in HasPartialCompilation()
|
/art/libartbase/base/metrics/ |
D | metrics_common.cc | 144 if (session_data.has_value()) { in FormatBeginReport() 202 if (session_data.has_value()) { in FormatBeginReport()
|
/art/cmdline/detail/ |
D | cmdline_parse_argument_detail.h | 166 } else if (metavar_.has_value()) { in DumpHelp() 181 if (help_.has_value()) { in DumpHelp()
|
/art/libarttools/ |
D | art_exec.cc | 207 if (options.priority.has_value()) { in main()
|
/art/libnativeloader/ |
D | native_loader.cpp | 82 if (name.has_value()) { in FindApexNamespace() 291 if (ns.has_value()) { in OpenNativeLibrary()
|
/art/dexopt_chroot_setup/ |
D | dexopt_chroot_setup.cc | 89 bool IsOtaUpdate(const std::optional<std::string>& ota_slot) { return ota_slot.has_value(); } in IsOtaUpdate() 347 if (in_otaSlot.has_value() && (in_otaSlot.value() != "_a" && in_otaSlot.value() != "_b")) { in setUp()
|