/openbmc/phosphor-power/phosphor-regulators/test/ |
H A D | presence_detection_tests.cpp | 103 EXPECT_FALSE(detection.getCachedPresence().has_value()); in TEST() 122 EXPECT_FALSE(detection->getCachedPresence().has_value()); in TEST() 129 EXPECT_TRUE(detection->getCachedPresence().has_value()); in TEST() 136 EXPECT_FALSE(detection->getCachedPresence().has_value()); in TEST() 158 EXPECT_FALSE(detection->getCachedPresence().has_value()); in TEST() 174 EXPECT_TRUE(detection->getCachedPresence().has_value()); in TEST() 180 EXPECT_TRUE(detection->getCachedPresence().has_value()); in TEST() 197 EXPECT_FALSE(detection->getCachedPresence().has_value()); in TEST() 213 EXPECT_TRUE(detection->getCachedPresence().has_value()); in TEST() 219 EXPECT_TRUE(detection->getCachedPresence().has_value()); in TEST() [all …]
|
/openbmc/phosphor-networkd/src/ |
H A D | ncsi_cmd.cpp | 251 if (!interface.has_value()) in toHexStr() 259 if (!package.has_value()) in toHexStr() 267 if (!mctp.has_value()) in ncsiCommand() 275 if (!chan.has_value()) in ncsiCommand() 289 if (interface.has_value() && mctp.has_value()) in ncsiCommandRaw() 294 else if (interface.has_value()) in ncsiCommandRaw() 298 else if (mctp.has_value()) in ncsiCommandRaw() 310 if (!package.has_value()) in ncsiCommandRaw() 384 if (!type.has_value() || *typ in main() [all...] |
/openbmc/phosphor-power/phosphor-regulators/src/actions/ |
H A D | pmbus_write_vout_command_action.cpp | 79 if (volts.has_value()) in toString() 86 if (exponent.has_value()) in toString() 99 if (exponent.has_value()) in getExponentValue() 130 if (volts.has_value()) in getVoltsValue() 135 else if (environment.getVolts().has_value()) in getVoltsValue()
|
H A D | pmbus_read_sensor_action.cpp | 87 if (exponent.has_value()) in toString() 101 if (exponent.has_value()) in getExponentValue()
|
/openbmc/google-ipmi-sys/test/ |
H A D | google_accel_oob_unittest.cpp | 53 ASSERT_EQ(payload.has_value(), true); in TEST() 95 ASSERT_EQ(payload.has_value(), true); in TEST() 156 ASSERT_EQ(payload.has_value(), true); in TEST() 222 ASSERT_EQ(payload.has_value(), true); in TEST() 257 ASSERT_EQ(payload.has_value(), true); in TEST() 281 ASSERT_EQ(payload.has_value(), false); in TEST() 301 ASSERT_EQ(payload.has_value(), true); in TEST() 328 ASSERT_EQ(payload.has_value(), false); in TEST()
|
/openbmc/phosphor-ipmi-blobs/test/ |
H A D | helper.cpp | 23 EXPECT_TRUE(actualReply.has_value()); in validateReply() 24 if (!actualReply.has_value()) in validateReply()
|
/openbmc/phosphor-power/tools/power-utils/ |
H A D | utils.cpp | 106 if (i2cbus.has_value() && i2caddr.has_value()) in getPsuI2c() 113 if (!i2cbus.has_value() || !i2caddr.has_value()) in getPsuI2c()
|
/openbmc/phosphor-power/phosphor-regulators/test/actions/ |
H A D | action_environment_tests.cpp | 62 EXPECT_EQ(env.getVolts().has_value(), false); in TEST() 286 EXPECT_EQ(env.getVolts().has_value(), false); in TEST() 288 EXPECT_EQ(env.getVolts().has_value(), true); in TEST() 346 EXPECT_EQ(env.getVolts().has_value(), false); in TEST() 348 EXPECT_EQ(env.getVolts().has_value(), true); in TEST()
|
H A D | pmbus_write_vout_command_action_tests.cpp | 56 EXPECT_EQ(action.getVolts().has_value(), true); in TEST() 59 EXPECT_EQ(action.getExponent().has_value(), true); in TEST() 76 EXPECT_EQ(action.getVolts().has_value(), false); in TEST() 78 EXPECT_EQ(action.getExponent().has_value(), false); in TEST() 582 EXPECT_EQ(action.getExponent().has_value(), true); in TEST() 590 EXPECT_EQ(action.getExponent().has_value(), false); in TEST() 614 EXPECT_EQ(action.getVolts().has_value(), true); in TEST() 622 EXPECT_EQ(action.getVolts().has_value(), false); in TEST()
|
/openbmc/phosphor-led-sysfs/interfaces/ |
H A D | internal_interface.cpp | 41 if (ledDescr.devicename.has_value()) in getDbusName() 45 if (ledDescr.function.has_value()) in getDbusName() 50 if (ledDescr.color.has_value()) in getDbusName()
|
/openbmc/phosphor-power/phosphor-regulators/src/ |
H A D | configuration.cpp | 53 if (volts.has_value()) in execute() 62 if (volts.has_value()) in execute()
|
/openbmc/pldm/libpldmresponder/ |
H A D | bios_string_attribute.cpp | 68 if (!dBusMap.has_value()) in setAttrValueOnDbus() 80 if (!dBusMap.has_value()) in getAttrValue() 117 if (optAttributeValue.has_value()) in constructEntry()
|
H A D | bios_enum_attribute.cpp | 42 if (dBusMap.has_value()) in BIOSEnumAttribute() 134 if (!dBusMap.has_value()) in getAttrValueIndex() 175 if (!dBusMap.has_value()) in setAttrValueOnDbus() 228 if (optAttributeValue.has_value()) in constructEntry()
|
H A D | bios_integer_attribute.cpp | 53 if (!dBusMap.has_value()) in setAttrValueOnDbus() 122 if (optAttributeValue.has_value()) in constructEntry() 189 if (!dBusMap.has_value()) in getAttrValue()
|
H A D | platform_config.cpp | 46 if (sysType.has_value()) in systemCompatibleCallback() 113 if (sysType.has_value()) in getPlatformName()
|
/openbmc/entity-manager/src/ |
H A D | fru_reader.cpp | 28 if (eof.has_value() && cursor >= eof.value()) in read() 69 if (eof.has_value() && (eof.value() / cacheBlockSize == blk)) in read()
|
/openbmc/openpower-debug-collector/dump/ |
H A D | dump_collect_main.cpp | 56 !failingUnit.has_value()) in main() 73 if (failingUnit.has_value()) in main()
|
/openbmc/estoraged/src/test/ |
H A D | util_test.cpp | 137 EXPECT_TRUE(result.has_value()); in TEST() 195 EXPECT_TRUE(result.has_value()); in TEST() 242 EXPECT_FALSE(result.has_value()); in TEST() 281 EXPECT_FALSE(result.has_value()); in TEST() 313 EXPECT_FALSE(result.has_value()); in TEST()
|
/openbmc/phosphor-networkd/test/ |
H A D | test_config_parser.cpp | 37 EXPECT_FALSE(parseBool("tru").has_value()); in TEST() 40 EXPECT_FALSE(parseBool("ye").has_value()); in TEST() 45 EXPECT_FALSE(parseBool("fal").has_value()); in TEST()
|
/openbmc/sdeventplus/src/sdeventplus/utility/ |
H A D | timer.cpp | 32 setEnabled(interval.has_value()); in Timer() 146 setEnabled(userdata->interval.has_value()); in restart() 193 initialized(interval.has_value()), callback(std::move(callback)), in TimerData()
|
/openbmc/phosphor-power/phosphor-power-sequencer/test/ |
H A D | rail_tests.cpp | 72 EXPECT_FALSE(rail.getPresence().has_value()); in TEST() 73 EXPECT_FALSE(rail.getPage().has_value()); in TEST() 77 EXPECT_FALSE(rail.getGPIO().has_value()); in TEST() 99 EXPECT_TRUE(rail.getPresence().has_value()); in TEST() 103 EXPECT_TRUE(rail.getPage().has_value()); in TEST() 108 EXPECT_TRUE(rail.getGPIO().has_value()); in TEST() 181 EXPECT_FALSE(rail.getPresence().has_value()); in TEST() 195 EXPECT_TRUE(rail.getPresence().has_value()); in TEST() 221 EXPECT_FALSE(rail.getPage().has_value()); in TEST() 234 EXPECT_TRUE(rail.getPage().has_value()); in TEST() [all …]
|
H A D | config_file_parser_tests.cpp | 494 EXPECT_FALSE(rail->getPresence().has_value()); in TEST() 495 EXPECT_FALSE(rail->getPage().has_value()); in TEST() 499 EXPECT_FALSE(rail->getGPIO().has_value()); in TEST() 517 EXPECT_TRUE(rail->getPresence().has_value()); in TEST() 520 EXPECT_TRUE(rail->getPage().has_value()); in TEST() 525 EXPECT_TRUE(rail->getGPIO().has_value()); in TEST()
|
/openbmc/phosphor-dbus-monitor/src/test/ |
H A D | propertywatchtest.cpp | 119 ASSERT_EQ(value.has_value(), true); in nonFilteredCheck() 237 ASSERT_EQ(value.has_value(), FilteredValues<T>::expected(ndx).has_value()); in filteredCheck() 238 if (value.has_value()) in filteredCheck()
|
/openbmc/phosphor-bmc-code-mgmt/test/create_package/ |
H A D | firmware_device_id_area.cpp | 70 if (optVendorIANA.has_value()) in create_pldm_firmware_device_descriptors_v1_0_0() 84 if (optCompatible.has_value()) in create_pldm_firmware_device_descriptors_v1_0_0()
|
/openbmc/openbmc/meta-openembedded/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/ |
H A D | stub-out-fastdeploy.patch | 30 - if (metadata.has_value()) { 45 - if (metadata.has_value()) {
|