| /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-bmc-code-mgmt/eeprom-device/ |
| H A D | eeprom_device_software_manager.cpp | 56 if (!bus.has_value() || !address.has_value() || !type.has_value() || in initDevice() 57 !fwDevice.has_value()) in initDevice() 118 if (bus.has_value() && address.has_value() && type.has_value()) in initDevice() 126 if (!bus.has_value() || !address.has_value() || !type.has_value()) in initDevice() 151 if (!name.has_value() || !polarity.has_value()) in initDevice()
|
| /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/phosphor-bmc-code-mgmt/cpld/ |
| H A D | cpld_software_manager.cpp | 28 if (!busNo.has_value() || !address.has_value() || !chipType.has_value() || in initDevice() 29 !chipName.has_value()) in initDevice() 57 if (!name.has_value() || !polarity.has_value()) in initDevice()
|
| /openbmc/phosphor-networkd/src/ |
| H A D | ncsi_cmd.cpp | 260 if (!interface.has_value()) in parseGlobalOptions() 268 if (!package.has_value()) in parseGlobalOptions() 276 if (!mctp.has_value()) in parseGlobalOptions() 284 if (!chan.has_value()) in parseGlobalOptions() 300 if (interface.has_value() && mctp.has_value()) in parseGlobalOptions() 305 else if (interface.has_value()) in parseGlobalOptions() 309 else if (mctp.has_value()) in parseGlobalOptions() 323 if (!package.has_value()) in parseGlobalOptions() 414 if (!type.has_value() || *type > 0x80) in ncsiCommandRaw() 423 if (!tmp.has_value()) in ncsiCommandRaw() [all …]
|
| /openbmc/phosphor-bmc-code-mgmt/bios/ |
| H A D | bios_software_manager.cpp | 32 if (!spiControllerIndex.has_value()) in initDevice() 42 if (!spiDeviceIndex.has_value()) in initDevice() 76 if (!name.has_value() || !polarity.has_value()) in initDevice()
|
| /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/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-user-manager/test/ |
| H A D | json_serializer_test.cpp | 94 EXPECT_TRUE(leaf.has_value()); in TEST_F() 95 if (leaf.has_value()) in TEST_F() 101 EXPECT_FALSE(leaf.has_value()); in TEST_F()
|
| /openbmc/phosphor-power/tools/power-utils/ |
| H A D | utils.cpp | 102 if (i2cbus.has_value() && i2caddr.has_value()) in getPsuI2c() 109 if (!i2cbus.has_value() || !i2caddr.has_value()) in getPsuI2c()
|
| /openbmc/phosphor-bmc-code-mgmt/i2c-vr/ |
| H A D | i2cvr_software_manager.cpp | 61 if (!busNum.has_value() || !address.has_value() || !vrChipType.has_value()) in initDevice()
|
| /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/entity-manager/src/fru_device/ |
| H A D | fru_reader.cpp | 15 if (eof.has_value() && cursor >= eof.value()) in read() 56 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/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-bmc-code-mgmt/tpm/ |
| H A D | tpm_software_manager.cpp | 31 if (!tpmIndex.has_value()) in initDevice() 40 if (!type.has_value()) in initDevice()
|
| /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()
|
| /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/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/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()
|