Home
last modified time | relevance | path

Searched full:invalidargument (Results 1 – 25 of 108) sorted by relevance

12345

/openbmc/telemetry/tests/src/
H A Dtest_make_id_name.cpp33 errors::InvalidArgument); in TEST_F()
98 errors::InvalidArgument); in TYPED_TEST()
100 errors::InvalidArgument); in TYPED_TEST()
101 EXPECT_THROW(this->makeIdName("/123", "trigger"), errors::InvalidArgument); in TYPED_TEST()
102 EXPECT_THROW(this->makeIdName("/123/", "trigger"), errors::InvalidArgument); in TYPED_TEST()
110 errors::InvalidArgument); in TYPED_TEST()
112 errors::InvalidArgument); in TYPED_TEST()
114 errors::InvalidArgument); in TYPED_TEST()
116 errors::InvalidArgument); in TYPED_TEST()
117 EXPECT_THROW(this->makeIdName(longSuffix, "name"), errors::InvalidArgument); in TYPED_TEST()
[all …]
H A Dtest_conversion.cpp60 EXPECT_THROW(toEnum(-1), errors::InvalidArgument); in TEST_F()
61 EXPECT_THROW(toEnum(3), errors::InvalidArgument); in TEST_F()
87 EXPECT_THROW(enumToString(static_cast<Enum>(77)), errors::InvalidArgument); in TEST_F()
92 EXPECT_THROW(toEnum("four"), errors::InvalidArgument); in TEST_F()
/openbmc/telemetry/src/
H A Derrors.cpp10 InvalidArgument::InvalidArgument(std::string_view propertyNameArg) : in InvalidArgument() function in errors::InvalidArgument
16 InvalidArgument::InvalidArgument(std::string_view propertyNameArg, in InvalidArgument() function in errors::InvalidArgument
24 const char* InvalidArgument::name() const noexcept in name()
29 const char* InvalidArgument::description() const noexcept in description()
34 const char* InvalidArgument::what() const noexcept in what()
39 int InvalidArgument::get_errno() const noexcept in get_errno()
H A Derrors.hpp11 class InvalidArgument final : public sdbusplus::exception::internal_exception class
14 explicit InvalidArgument(std::string_view propertyName);
15 InvalidArgument(std::string_view propertyName, std::string_view info);
/openbmc/phosphor-dbus-interfaces/yaml/com/ibm/VPD/
H A DManager.interface.yaml25 - xyz.openbmc_project.Common.Error.InvalidArgument
51 - xyz.openbmc_project.Common.Error.InvalidArgument
71 - xyz.openbmc_project.Common.Error.InvalidArgument
96 - xyz.openbmc_project.Common.Error.InvalidArgument
105 - xyz.openbmc_project.Common.Error.InvalidArgument
118 - xyz.openbmc_project.Common.Error.InvalidArgument
138 - xyz.openbmc_project.Common.Error.InvalidArgument
/openbmc/phosphor-dbus-interfaces/yaml/org/open_power/Logging/
H A DPEL.interface.yaml19 - xyz.openbmc_project.Common.Error.InvalidArgument
35 - xyz.openbmc_project.Common.Error.InvalidArgument
46 - xyz.openbmc_project.Common.Error.InvalidArgument
61 - xyz.openbmc_project.Common.Error.InvalidArgument
134 - xyz.openbmc_project.Common.Error.InvalidArgument
151 - xyz.openbmc_project.Common.Error.InvalidArgument
167 - xyz.openbmc_project.Common.Error.InvalidArgument
/openbmc/phosphor-debug-collector/
H A Ddump_utils.hpp235 using InvalidArgument = in extractOriginatorProperties() typedef
236 sdbusplus::xyz::openbmc_project::Common::Error::InvalidArgument; in extractOriginatorProperties()
237 using Argument = xyz::openbmc_project::Common::InvalidArgument; in extractOriginatorProperties()
260 elog<InvalidArgument>(Argument::ARGUMENT_NAME("ORIGINATOR_ID"), in extractOriginatorProperties()
287 elog<InvalidArgument>(Argument::ARGUMENT_NAME("ORIGINATOR_TYPE"), in extractOriginatorProperties()
317 using InvalidArgument = in extractParameter() typedef
318 sdbusplus::xyz::openbmc_project::Common::Error::InvalidArgument; in extractParameter()
319 using Argument = xyz::openbmc_project::Common::InvalidArgument; in extractParameter()
332 elog<InvalidArgument>(Argument::ARGUMENT_NAME(key.c_str()), in extractParameter()
355 using InvalidArgument = in getErrorDumpType() typedef
[all …]
H A Ddump_types.mako.cpp81 using InvalidArgument = in validateDumpType() typedef
82 sdbusplus::xyz::openbmc_project::Common::Error::InvalidArgument; in validateDumpType()
83 using Argument = xyz::openbmc_project::Common::InvalidArgument; in validateDumpType()
104 elog<InvalidArgument>(Argument::ARGUMENT_NAME("BMC_DUMP_TYPE"), in validateDumpType()
/openbmc/phosphor-networkd/test/
H A Dtest_ethernet_interface.cpp22 using sdbusplus::xyz::openbmc_project::Common::Error::InvalidArgument;
107 InvalidArgument); in TEST_F()
109 InvalidArgument); in TEST_F()
111 InvalidArgument); in TEST_F()
113 InvalidArgument); in TEST_F()
115 InvalidArgument); in TEST_F()
117 InvalidArgument); in TEST_F()
194 EXPECT_THROW(interface.defaultGateway6("127.0.0.10"), InvalidArgument); in TEST_F()
195 EXPECT_THROW(interface.defaultGateway6("0.0.0.0"), InvalidArgument); in TEST_F()
196 EXPECT_THROW(interface.defaultGateway6("224.1.0.0"), InvalidArgument); in TEST_F()
[all …]
/openbmc/pldm/platform-mc/
H A Dnumeric_sensor.cpp150 InvalidArgument(); in setSensorUnit()
162 throw sdbusplus::xyz::openbmc_project::Common::Error::InvalidArgument(); in NumericSensor()
204 throw sdbusplus::xyz::openbmc_project::Common::Error::InvalidArgument(); in NumericSensor()
278 InvalidArgument(); in NumericSensor()
296 InvalidArgument(); in NumericSensor()
308 throw sdbusplus::xyz::openbmc_project::Common::Error::InvalidArgument(); in NumericSensor()
321 throw sdbusplus::xyz::openbmc_project::Common::Error::InvalidArgument(); in NumericSensor()
335 throw sdbusplus::xyz::openbmc_project::Common::Error::InvalidArgument(); in NumericSensor()
352 InvalidArgument(); in NumericSensor()
371 InvalidArgument(); in NumericSensor()
[all …]
/openbmc/phosphor-certificate-manager/bmc-vmi-ca/
H A Dca_certs_manager.cpp18 using ::sdbusplus::xyz::openbmc_project::Common::Error::InvalidArgument;
20 ::phosphor::logging::xyz::openbmc_project::Common::InvalidArgument;
32 elog<InvalidArgument>(Argument::ARGUMENT_NAME("CSR"), in signCSR()
49 elog<InvalidArgument>(Argument::ARGUMENT_NAME("csr"), in signCSR()
/openbmc/telemetry/src/utils/
H A Ddbus_path_utils.cpp54 throw errors::InvalidArgument("Id", "Invalid prefixes in id."); in verifyIdPrefixes()
59 throw errors::InvalidArgument("Id", "Too many prefixes."); in verifyIdPrefixes()
64 throw errors::InvalidArgument("Id", "Prefix too long."); in verifyIdPrefixes()
72 throw errors::InvalidArgument("Id", "Too long."); in verifyIdPrefixes()
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/User/
H A DPrivilegeMapperEntry.interface.yaml12 - xyz.openbmc_project.Common.Error.InvalidArgument
19 xyz.openbmc_project.Common.Error.InvalidArgument exception will be
26 - xyz.openbmc_project.Common.Error.InvalidArgument
H A DManager.interface.yaml31 - xyz.openbmc_project.Common.Error.InvalidArgument
53 - xyz.openbmc_project.Common.Error.InvalidArgument
97 - xyz.openbmc_project.Common.Error.InvalidArgument
111 - xyz.openbmc_project.Common.Error.InvalidArgument
125 - xyz.openbmc_project.Common.Error.InvalidArgument
/openbmc/openpower-vpd-parser/vpd-manager/src/
H A Dmanager.cpp594 types::InvalidArgument::ARGUMENT_NAME("LOCATIONCODE"), in getExpandedLocationCode()
595 types::InvalidArgument::ARGUMENT_VALUE( in getExpandedLocationCode()
624 types::InvalidArgument::ARGUMENT_NAME("LOCATIONCODE"), in getExpandedLocationCode()
625 types::InvalidArgument::ARGUMENT_VALUE( in getExpandedLocationCode()
638 types::InvalidArgument::ARGUMENT_NAME("LOCATIONCODE"), in getFrusByUnexpandedLocationCode()
639 types::InvalidArgument::ARGUMENT_VALUE( in getFrusByUnexpandedLocationCode()
671 types::InvalidArgument::ARGUMENT_NAME("LOCATIONCODE"), in getFrusByUnexpandedLocationCode()
672 types::InvalidArgument::ARGUMENT_VALUE( in getFrusByUnexpandedLocationCode()
700 types::InvalidArgument::ARGUMENT_NAME("LOCATIONCODE"), in getUnexpandedLocationCode()
701 types::InvalidArgument::ARGUMENT_VALUE( in getUnexpandedLocationCode()
[all …]
/openbmc/openpower-proc-control/procedures/common/
H A Dcfam_overrides.cpp64 phosphor::logging::elog<error::InvalidArgument>( in CFAMOverride()
65 metadata::InvalidArgument::ARGUMENT_NAME("line"), in CFAMOverride()
66 metadata::InvalidArgument::ARGUMENT_VALUE( in CFAMOverride()
/openbmc/phosphor-dbus-monitor/src/test/yaml/callbackgroupgentest/
H A Dtest.yaml66 error: xyz::openbmc_project::Common::Error::InvalidArgument
68 - name: xyz::openbmc_project::Common::InvalidArgument::ARGUMENT_NAME
71 - name: xyz::openbmc_project::Common::InvalidArgument::ARGUMENT_VALUE
/openbmc/phosphor-snmp/
H A Dsnmp_conf_manager.cpp25 using Argument = xyz::openbmc_project::Common::InvalidArgument;
47 elog<InvalidArgument>(Argument::ARGUMENT_NAME("Address"), in client()
73 elog<InvalidArgument>(Argument::ARGUMENT_NAME("ADDRESS"), in checkClientConfigured()
85 elog<InvalidArgument>( in checkClientConfigured()
/openbmc/phosphor-net-ipmid/command/
H A Dguid.cpp29 using Argument = xyz::openbmc_project::Common::InvalidArgument; in rfcToGuid()
44 elog<InvalidArgument>(Argument::ARGUMENT_NAME("rfc4122"), in rfcToGuid()
56 elog<InvalidArgument>(Argument::ARGUMENT_NAME("rfc4122"), in rfcToGuid()
102 catch (const InvalidArgument& e) in getSystemGUID()
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/User/Ldap/
H A DConfig.interface.yaml13 - xyz.openbmc_project.Common.Error.InvalidArgument
22 - xyz.openbmc_project.Common.Error.InvalidArgument
41 - xyz.openbmc_project.Common.Error.InvalidArgument
/openbmc/phosphor-snmp/test/
H A Dtest_snmp_client.cpp15 using InvalidArgument = typedef
16 sdbusplus::xyz::openbmc_project::Common::Error::InvalidArgument;
63 EXPECT_THROW(client.address(""), InvalidArgument); in TEST_F()
/openbmc/phosphor-user-manager/test/
H A Duser_mgr_test.cpp530 sdbusplus::xyz::openbmc_project::Common::Error::InvalidArgument); in TEST_F()
564 sdbusplus::xyz::openbmc_project::Common::Error::InvalidArgument); in TEST_F()
574 sdbusplus::xyz::openbmc_project::Common::Error::InvalidArgument); in TEST_F()
577 sdbusplus::xyz::openbmc_project::Common::Error::InvalidArgument); in TEST_F()
650 sdbusplus::xyz::openbmc_project::Common::Error::InvalidArgument); in TEST_F()
664 sdbusplus::xyz::openbmc_project::Common::Error::InvalidArgument); in TEST_F()
667 sdbusplus::xyz::openbmc_project::Common::Error::InvalidArgument); in TEST_F()
782 sdbusplus::xyz::openbmc_project::Common::Error::InvalidArgument); in TEST_F()
1041 sdbusplus::xyz::openbmc_project::Common::Error::InvalidArgument); in TEST_F()
1050 sdbusplus::xyz::openbmc_project::Common::Error::InvalidArgument); in TEST_F()
[all …]
/openbmc/phosphor-debug-collector/dump-extensions/openpower-dumps/
H A Ddump_manager_resource.cpp124 using InvalidArgument = in createDump() typedef
125 sdbusplus::xyz::openbmc_project::Common::Error::InvalidArgument; in createDump()
126 using Argument = xyz::openbmc_project::Common::InvalidArgument; in createDump()
161 elog<InvalidArgument>(Argument::ARGUMENT_NAME("VSP_STRING"), in createDump()
186 elog<InvalidArgument>(Argument::ARGUMENT_NAME("PASSWORD"), in createDump()
/openbmc/phosphor-certificate-manager/test/
H A Dca_certs_manager_test.cpp17 using InvalidArgument = typedef
18 sdbusplus::xyz::openbmc_project::Common::Error::InvalidArgument;
79 EXPECT_THROW(objPath = manager.createCSRObject(csrString), InvalidArgument); in TEST_F()
/openbmc/bios-settings-mgr/src/
H A Dmanager.cpp231 throw InvalidArgument(); in pendingAttributes()
241 throw InvalidArgument(); in pendingAttributes()
251 throw InvalidArgument(); in pendingAttributes()
261 throw InvalidArgument(); in pendingAttributes()
271 throw InvalidArgument(); in pendingAttributes()
281 throw InvalidArgument(); in pendingAttributes()
290 throw InvalidArgument(); in pendingAttributes()

12345