Searched refs:value_opt (Results 1 – 6 of 6) sorted by relevance
64 EXPECT_EQ(ftl::Optional(-1), IntExp(-1).value_opt()); in TEST()65 EXPECT_EQ(std::nullopt, IntExp(ftl::Unexpected(std::errc::broken_pipe)).value_opt()); in TEST()70 exp.value_opt().transform([](const auto& s) { return s.front(); })); in TEST()75 EXPECT_EQ(ftl::Optional(6), std::move(exp).value_opt().transform(&std::string::length)); in TEST()
122 constexpr Optional<T> value_opt() const& { in value_opt() function126 constexpr Optional<T> value_opt() && { in value_opt() function
209 if (const auto vsyncPeriodOpt = mHwComposer.getDisplayVsyncPeriod(physicalId).value_opt()) { in getVsyncPeriodFromHWC()
3434 activeModeHwcIdOpt = activeModeHwcIdExp.value_opt(); in loadDisplayModes()
156 EXPECT_EQ(mHwc.getActiveMode(info->id).value_opt(), kConfigId); in TEST_F()
439 getConnectionType().value_opt() != ui::DisplayConnectionType::External)) { in setActiveConfigWithConstraints()