Home
last modified time | relevance | path

Searched refs:InvalidArgument (Results 1 – 25 of 93) sorted by relevance

1234

/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()
110 errors::InvalidArgument); in TYPED_TEST()
112 errors::InvalidArgument); in TYPED_TEST()
114 errors::InvalidArgument); in TYPED_TEST()
116 errors::InvalidArgument); in TYPED_TEST()
123 errors::InvalidArgument); in TYPED_TEST()
125 errors::InvalidArgument); in TYPED_TEST()
127 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/openpower-vpd-parser/vpd-manager/
H A Dreader_impl.cpp33 using InvalidArgument = typedef
34 sdbusplus::xyz::openbmc_project::Common::Error::InvalidArgument;
35 using Argument = xyz::openbmc_project::Common::InvalidArgument;
60 elog<InvalidArgument>(Argument::ARGUMENT_NAME("LOCATIONCODE"), in getExpandedLocationCode()
70 elog<InvalidArgument>(Argument::ARGUMENT_NAME("LOCATIONCODE"), in getExpandedLocationCode()
95 elog<InvalidArgument>(Argument::ARGUMENT_NAME("LOCATIONCODE"), in getFrusAtLocation()
107 elog<InvalidArgument>(Argument::ARGUMENT_NAME("LOCATIONCODE"), in getFrusAtLocation()
129 elog<InvalidArgument>(Argument::ARGUMENT_NAME("LOCATIONCODE"), in getCollapsedLocationCode()
155 elog<InvalidArgument>( in getCollapsedLocationCode()
165 elog<InvalidArgument>( in getCollapsedLocationCode()
[all …]
/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()
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
356 sdbusplus::xyz::openbmc_project::Common::Error::InvalidArgument; in getErrorDumpType()
357 using Argument = xyz::openbmc_project::Common::InvalidArgument; in getErrorDumpType()
[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;
101 InvalidArgument); in TEST_F()
103 InvalidArgument); in TEST_F()
105 InvalidArgument); in TEST_F()
107 InvalidArgument); in TEST_F()
109 InvalidArgument); in TEST_F()
111 InvalidArgument); in TEST_F()
188 EXPECT_THROW(interface.defaultGateway6("127.0.0.10"), InvalidArgument); in TEST_F()
189 EXPECT_THROW(interface.defaultGateway6("0.0.0.0"), InvalidArgument); in TEST_F()
190 EXPECT_THROW(interface.defaultGateway6("224.1.0.0"), InvalidArgument); in TEST_F()
[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/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/bios-settings-mgr/src/
H A Dmanager.cpp230 throw InvalidArgument(); in pendingAttributes()
240 throw InvalidArgument(); in pendingAttributes()
250 throw InvalidArgument(); in pendingAttributes()
260 throw InvalidArgument(); in pendingAttributes()
270 throw InvalidArgument(); in pendingAttributes()
280 throw InvalidArgument(); in pendingAttributes()
289 throw InvalidArgument(); in pendingAttributes()
/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
/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/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-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-bmc-code-mgmt/
H A Ddownload_manager.cpp34 using Argument = xyz::openbmc_project::common::InvalidArgument; in downloadViaTFTP()
47 elog<InvalidArgument>(Argument::ARGUMENT_NAME("FileName"), in downloadViaTFTP()
55 elog<InvalidArgument>(Argument::ARGUMENT_NAME("ServerAddress"), in downloadViaTFTP()
/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-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-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()
H A Dtest_snmp_conf_manager.cpp16 using InvalidArgument = typedef
17 sdbusplus::xyz::openbmc_project::Common::Error::InvalidArgument;
125 EXPECT_THROW(createSNMPClient("192.168.1.1", 24), InvalidArgument); in TEST_F()
/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/phosphor-user-manager/
H A Dusers.cpp45 using InvalidArgument = typedef
46 sdbusplus::xyz::openbmc_project::Common::Error::InvalidArgument;
50 using Argument = xyz::openbmc_project::Common::InvalidArgument;
/openbmc/phosphor-user-manager/test/
H A Duser_mgr_test.cpp526 sdbusplus::xyz::openbmc_project::Common::Error::InvalidArgument); in TEST_F()
560 sdbusplus::xyz::openbmc_project::Common::Error::InvalidArgument); in TEST_F()
570 sdbusplus::xyz::openbmc_project::Common::Error::InvalidArgument); in TEST_F()
573 sdbusplus::xyz::openbmc_project::Common::Error::InvalidArgument); in TEST_F()
646 sdbusplus::xyz::openbmc_project::Common::Error::InvalidArgument); in TEST_F()
660 sdbusplus::xyz::openbmc_project::Common::Error::InvalidArgument); in TEST_F()
663 sdbusplus::xyz::openbmc_project::Common::Error::InvalidArgument); in TEST_F()
778 sdbusplus::xyz::openbmc_project::Common::Error::InvalidArgument); in TEST_F()
1037 sdbusplus::xyz::openbmc_project::Common::Error::InvalidArgument); in TEST_F()
1046 sdbusplus::xyz::openbmc_project::Common::Error::InvalidArgument); in TEST_F()
[all …]
/openbmc/phosphor-user-manager/phosphor-ldap-config/
H A Dldap_config_mgr.cpp32 using Argument = xyz::openbmc_project::Common::InvalidArgument;
104 elog<InvalidArgument>(Argument::ARGUMENT_NAME("ldapServerURI"), in createConfig()
119 elog<InvalidArgument>(Argument::ARGUMENT_NAME("LDAPBindDN"), in createConfig()
127 elog<InvalidArgument>(Argument::ARGUMENT_NAME("LDAPBaseDN"), in createConfig()

1234