Home
last modified time | relevance | path

Searched refs:nullopt (Results 1 – 25 of 233) sorted by relevance

12345678910

/openbmc/bmcweb/test/redfish-core/include/utils/
H A Dtime_utils_test.cpp37 EXPECT_EQ(fromDurationString("PTS"), std::nullopt); in TEST()
38 EXPECT_EQ(fromDurationString("P1T"), std::nullopt); in TEST()
39 EXPECT_EQ(fromDurationString("PT100M1000S100"), std::nullopt); in TEST()
40 EXPECT_EQ(fromDurationString("PDTHMS"), std::nullopt); in TEST()
41 EXPECT_EQ(fromDurationString("P9999999999999999999999999DT"), std::nullopt); in TEST()
42 EXPECT_EQ(fromDurationString("PD222T222H222M222.222S"), std::nullopt); in TEST()
44 std::nullopt); in TEST()
45 EXPECT_EQ(fromDurationString("PT-9H"), std::nullopt); in TEST()
71 EXPECT_NE(toDurationStringFromUint(maxAcceptedTimeMs), std::nullopt); in TEST()
82 EXPECT_EQ(toDurationStringFromUint(minNotAcceptedTimeMs), std::nullopt); in TEST()
[all …]
/openbmc/phosphor-led-manager/test/
H A Dutest-group-priority.cpp38 {"led1", Layout::Action::On, 0, 0, std::nullopt},
39 {"led2", Layout::Action::On, 0, 0, std::nullopt},
44 {"led3", Layout::Action::On, 0, 0, std::nullopt},
45 {"led4", Layout::Action::On, 0, 0, std::nullopt},
74 {"led1", Layout::Action::On, 0, 0, std::nullopt},
75 {"led2", Layout::Action::On, 0, 0, std::nullopt},
80 {"led2", Layout::Action::Off, 0, 0, std::nullopt},
81 {"led3", Layout::Action::On, 0, 0, std::nullopt},
86 {"led3", Layout::Action::Blink, 0, 0, std::nullopt},
87 {"led4", Layout::Action::Blink, 0, 0, std::nullopt},
[all …]
H A Dutest-config-validator.cpp38 {"led1", Layout::Action::On, 0, 0, std::nullopt}, in TEST()
39 {"led2", Layout::Action::On, 0, 0, std::nullopt}, in TEST()
42 {"led1", Layout::Action::On, 0, 0, std::nullopt}, in TEST()
43 {"led2", Layout::Action::On, 0, 0, std::nullopt}, in TEST()
79 {"led1", Layout::Action::On, 0, 0, std::nullopt}, in TEST()
112 {"led1", Layout::Action::On, 0, 0, std::nullopt}, in TEST()
115 {"led1", Layout::Action::On, 0, 0, std::nullopt}, in TEST()
130 {"led1", Layout::Action::On, 0, 0, std::nullopt}, in TEST()
133 {"led1", Layout::Action::On, 0, 0, std::nullopt}, in TEST()
/openbmc/openpower-vpd-parser/vpd-manager/src/
H A Dsingle_fab.cpp156 std::nullopt, std::nullopt, std::nullopt, std::nullopt); in updateSystemImValueInVpdToP11Series()
188 std::nullopt, std::nullopt, std::nullopt, std::nullopt); in singleFabImOverride()
210 std::nullopt, std::nullopt, std::nullopt, std::nullopt); in singleFabImOverride()
228 std::nullopt, std::nullopt, std::nullopt, std::nullopt); in singleFabImOverride()
247 std::nullopt, std::nullopt, std::nullopt, std::nullopt); in singleFabImOverride()
272 std::nullopt, std::nullopt, std::nullopt, std::nullopt); in singleFabImOverride()
289 std::nullopt, std::nullopt, std::nullopt, std::nullopt); in singleFabImOverride()
H A Dparser.cpp111 std::nullopt, std::nullopt, std::nullopt, std::nullopt); in updateVpdKeyword()
271 std::nullopt, std::nullopt, std::nullopt, std::nullopt); in updateVpdKeyword()
304 std::nullopt, std::nullopt, std::nullopt, std::nullopt); in updateVpdKeywordOnRedundantPath()
343 std::nullopt, std::nullopt, std::nullopt, std::nullopt); in updateVpdKeywordOnHardware()
371 std::nullopt, std::nullopt, std::nullopt, std::nullopt); in updateVpdKeywordOnHardware()
382 std::nullopt, std::nullopt, std::nullopt, std::nullopt); in updateVpdKeywordOnHardware()
H A Dlistener.cpp40 std::nullopt, std::nullopt, std::nullopt, std::nullopt); in registerHostStateChangeCallback()
100 std::nullopt, std::nullopt, std::nullopt, std::nullopt); in hostStateChangeCallBack()
124 std::nullopt, std::nullopt, std::nullopt, std::nullopt); in registerAssetTagChangeCallback()
174 std::nullopt, std::nullopt, std::nullopt, std::nullopt); in assetTagChangeCallback()
217 std::nullopt, std::nullopt, std::nullopt, std::nullopt); in registerPresenceChangeCallback()
263 std::nullopt, std::nullopt, std::nullopt, std::nullopt); in presentPropertyChangeCallback()
315 std::nullopt, std::nullopt, std::nullopt, std::nullopt); in registerCorrPropCallBack()
421 std::nullopt, std::nullopt, std::nullopt, std::nullopt); in correlatedPropChangedCallBack()
H A Dmanager_main.cpp64 vpd::EventLogger::getErrorMsg(l_ex), std::nullopt, std::nullopt, in main()
65 std::nullopt, std::nullopt); in main()
H A Dmanager.cpp162 std::nullopt, std::nullopt, std::nullopt, std::nullopt); in Manager()
340 std::nullopt, std::nullopt, std::nullopt, std::nullopt); in updateKeywordOnHardware()
709 __FUNCTION__, 0, "Collect all FRUs VPD is requested.", std::nullopt, in collectAllFruVpd()
710 std::nullopt, std::nullopt, std::nullopt); in collectAllFruVpd()
730 __FILE__, __FUNCTION__, 0, std::string(l_ex.what()), std::nullopt, in collectAllFruVpd()
731 std::nullopt, std::nullopt, std::nullopt); in collectAllFruVpd()
/openbmc/openpower-vpd-parser/vpd-manager/include/
H A Dsingle_fab.hpp87 std::nullopt, std::nullopt, std::nullopt, std::nullopt); in isP10System()
114 std::nullopt, std::nullopt, std::nullopt, std::nullopt); in isP11System()
H A Dgpio_monitor.hpp123 std::nullopt, std::nullopt, std::nullopt, std::nullopt); in GpioMonitor()
H A Dbios_handler.hpp258 __FILE__, __FUNCTION__, 0, l_errMsg, std::nullopt, std::nullopt, in BiosHandler()
259 std::nullopt, std::nullopt); in BiosHandler()
/openbmc/phosphor-led-sysfs/test/
H A Dtest_led_description.cpp53 ASSERT_EQ(std::nullopt, d.devicename); in TEST()
63 ASSERT_EQ(std::nullopt, d.color); in TEST()
71 ASSERT_EQ(std::nullopt, d.devicename); in TEST()
73 ASSERT_EQ(std::nullopt, d.function); in TEST()
80 ASSERT_EQ(std::nullopt, d.devicename); in TEST()
81 ASSERT_EQ(std::nullopt, d.color); in TEST()
90 ASSERT_EQ(std::nullopt, d.color); in TEST()
91 ASSERT_EQ(std::nullopt, d.function); in TEST()
H A Dtest_dbus_name.cpp36 LedDescr d = {"enclosure-identify", std::nullopt, std::nullopt}; in TEST()
45 LedDescr d = {"enclosure-identify-fault", std::nullopt, std::nullopt}; in TEST()
54 LedDescr d = {"enclosure_identify", std::nullopt, std::nullopt}; in TEST()
/openbmc/openpower-vpd-parser/wait-vpd-parser/src/
H A Dinventory_backup_handler.cpp59 std::nullopt, in restoreInventoryBackupData()
60 std::nullopt, in restoreInventoryBackupData()
61 std::nullopt, in restoreInventoryBackupData()
62 std::nullopt}; in restoreInventoryBackupData()
92 std::nullopt, in clearInventoryBackupData()
93 std::nullopt, in clearInventoryBackupData()
94 std::nullopt, in clearInventoryBackupData()
95 std::nullopt}; in clearInventoryBackupData()
/openbmc/phosphor-networkd/src/
H A Dtypes.hpp32 std::optional<std::string> name = std::nullopt;
33 std::optional<stdplus::EtherAddr> mac = std::nullopt;
34 std::optional<unsigned> mtu = std::nullopt;
35 std::optional<unsigned> parent_idx = std::nullopt;
36 std::optional<std::string> kind = std::nullopt;
37 std::optional<uint16_t> vlan_id = std::nullopt;
101 std::optional<stdplus::In4Addr> defgw4 = std::nullopt;
102 std::optional<stdplus::In6Addr> defgw6 = std::nullopt;
/openbmc/smbios-mdr/include/
H A Dcpu.hpp296 std::nullopt,
297 std::nullopt,
304 std::nullopt,
305 std::nullopt,
306 std::nullopt,
307 std::nullopt,
308 std::nullopt,
309 std::nullopt,
310 std::nullopt,
311 std::nullopt};
/openbmc/phosphor-logging/test/openpower-pels/
H A Dseverity_test.cpp51 {LogSeverity::Informational, SeverityType::nonError, std::nullopt}, in TEST()
52 {LogSeverity::Debug, SeverityType::recovered, std::nullopt}, in TEST()
53 {LogSeverity::Notice, SeverityType::nonError, std::nullopt}, in TEST()
54 {LogSeverity::Error, SeverityType::unrecoverable, std::nullopt}, in TEST()
55 {LogSeverity::Critical, SeverityType::unrecoverable, std::nullopt}}; in TEST()
/openbmc/openpower-vpd-parser/vpd-manager/oem-handler/
H A Dibm_handler.cpp59 EventLogger::getErrorMsg(l_ex), std::nullopt, std::nullopt, in IbmHandler()
60 std::nullopt, std::nullopt); in IbmHandler()
134 0, std::nullopt, std::nullopt, std::nullopt, std::nullopt); in isSymlinkPresent()
174 std::nullopt, std::nullopt, st in initWorker()
[all...]
/openbmc/phosphor-networkd/test/
H A Dtest_util.cpp41 EXPECT_EQ(std::nullopt, interfaceToUbootEthAddr("et")); in TEST()
42 EXPECT_EQ(std::nullopt, interfaceToUbootEthAddr("eth")); in TEST()
43 EXPECT_EQ(std::nullopt, interfaceToUbootEthAddr("sit0")); in TEST()
44 EXPECT_EQ(std::nullopt, interfaceToUbootEthAddr("ethh0")); in TEST()
45 EXPECT_EQ(std::nullopt, interfaceToUbootEthAddr("eth0h")); in TEST()
/openbmc/pldm/platform-mc/test/
H A Dterminus_manager_test.cpp55 pldm::MctpInfo mctpInfo1(8, "", "", 0, std::nullopt); in TEST_F()
58 EXPECT_NE(mappedTid1, std::nullopt); in TEST_F()
61 EXPECT_NE(tid1, std::nullopt); in TEST_F()
70 EXPECT_EQ(tid1, std::nullopt); in TEST_F()
76 pldm::MctpInfo m0(0, "", "", 0, std::nullopt); in TEST_F()
78 EXPECT_EQ(mappedTid, std::nullopt); in TEST_F()
81 pldm::MctpInfo m1(0xff, "", "", 0, std::nullopt); in TEST_F()
83 EXPECT_EQ(mappedTid, std::nullopt); in TEST_F()
86 pldm::MctpInfo m2(9, "", "", 1, std::nullopt); in TEST_F()
87 pldm::MctpInfo m3(10, "", "", 1, std::nullopt); in TEST_F()
[all …]
/openbmc/libbej/test/include/
H A Dbej_common_test.hpp65 return std::nullopt; in loadInputs()
76 return std::nullopt; in loadInputs()
85 return std::nullopt; in loadInputs()
93 return std::nullopt; in loadInputs()
104 return std::nullopt; in loadInputs()
/openbmc/bmcweb/test/redfish-core/lib/
H A Dupdate_service_test.cpp24 parseSimpleUpdateUrl("https://1.1.1.1/path", std::nullopt, res); in TEST()
68 parseSimpleUpdateUrl("https://1.1.1.1/path", std::nullopt, res); in TEST()
136 ASSERT_EQ(parseSimpleUpdateUrl("1.1.1.1/path", std::nullopt, res), in TEST()
137 std::nullopt); in TEST()
139 ASSERT_EQ(parseSimpleUpdateUrl("/path", "HTTPS", res), std::nullopt); in TEST()
/openbmc/bmcweb/redfish-core/src/utils/
H A Dtime_utils.cpp58 return std::nullopt; in fromDurationString()
78 return std::nullopt; in fromDurationString()
84 return std::nullopt; in fromDurationString()
90 return std::nullopt; in fromDurationString()
98 return std::nullopt; in fromDurationString()
106 return std::nullopt; in fromDurationString()
114 return std::nullopt; in fromDurationString()
131 return std::nullopt; in fromDurationString()
153 return std::nullopt; in fromDurationString()
215 return std::nullopt; in toDurationStringFromUint()
[all …]
/openbmc/phosphor-host-ipmid/
H A Ddcmihandler.cpp155 static std::optional<ipmi::DbusObjectInfo> pcapObject = std::nullopt; in getPCapObject()
157 if (pcapObject != std::nullopt) in getPCapObject()
168 return std::nullopt; in getPCapObject()
180 if (pcapObject == std::nullopt) in getPcap()
182 return std::nullopt; in getPcap()
194 return std::nullopt; in getPcap()
204 if (pcapObject == std::nullopt) in getPcapEnabled()
206 return std::nullopt; in getPcapEnabled()
220 return std::nullopt; in getPcapEnabled()
230 if (pcapObject == std::nullopt) in getPcapExceptAction()
[all …]
/openbmc/pldm/requester/test/
H A Dmctp_endpoint_discovery_test.cpp73 pldm::MctpInfo(11, pldm::emptyUUID, "", 1, std::nullopt), in TEST()
74 pldm::MctpInfo(12, pldm::emptyUUID, "abc", 1, std::nullopt)}; in TEST()
91 pldm::MctpInfo(11, pldm::emptyUUID, "", 1, std::nullopt)}; in TEST()
104 pldm::MctpInfo(11, pldm::emptyUUID, "def", 2, std::nullopt), in TEST()
105 pldm::MctpInfo(12, pldm::emptyUUID, "abc", 1, std::nullopt)}; in TEST()
118 pldm::MctpInfo(12, pldm::emptyUUID, "abc", 1, std::nullopt)); in TEST()
139 pldm::MctpInfo(11, pldm::emptyUUID, "def", 2, std::nullopt), in TEST()
140 pldm::MctpInfo(12, pldm::emptyUUID, "abc", 1, std::nullopt)}; in TEST()
164 pldm::MctpInfo(10, pldm::emptyUUID, "abc", 1, std::nullopt)}; in TEST()
211 pldm::MctpInfo(10, pldm::emptyUUID, "abc", 1, std::nullopt)}; in TEST()

12345678910