Home
last modified time | relevance | path

Searched full:optional (Results 1 – 25 of 2006) sorted by relevance

12345678910>>...81

/openbmc/qemu/tests/qapi-schema/
H A Dqapi-schema-test.out13 member integer: int optional=False
14 member boolean: bool optional=False
15 member string: str optional=False
17 member enum1: EnumOne optional=False
18 member enum2: EnumOne optional=True
19 member enum3: EnumOne optional=False
20 member enum4: EnumOne optional=True
26 member type: EnumOne optional=False
42 member string: str optional=False
43 member enum1: EnumOne optional=True
[all …]
/openbmc/qemu/tests/qtest/libqos/
H A Dvirtio-9p-client.h90 /* user supplied tag number being returned with response (optional) */
92 /* file ID of directory from where walk should start (optional) */
94 /* file ID for target directory being walked to (optional) */
96 /* low level variant of path to walk to (optional) */
99 /* high level variant of path to walk to (optional) */
101 /* data being received from 9p server as 'Rwalk' response (optional) */
106 /* only send Twalk request but not wait for a reply? (optional) */
108 /* do we expect an Rlerror response, if yes which error code? (optional) */
124 /* user supplied tag number being returned with response (optional) */
126 /* maximum message size that can be handled by client (optional) */
[all …]
/openbmc/phosphor-power/phosphor-power-sequencer/test/
H A Drail_tests.cpp23 #include <optional>
54 // Test where succeeds: No optional parameters have values in TEST()
57 std::optional<std::string> presence{}; in TEST()
58 std::optional<uint8_t> page{}; in TEST()
62 std::optional<GPIO> gpio{}; in TEST()
80 // Test where succeeds: All optional parameters have values in TEST()
83 std::optional<std::string> presence{ in TEST()
85 std::optional<uint8_t> page{11}; in TEST()
89 std::optional<GPIO> gpio{GPIO(60, true)}; in TEST()
116 std::optional<std::string> presence{}; in TEST()
[all …]
/openbmc/phosphor-networkd/src/
H A Dtypes.hpp8 #include <optional>
32 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;
72 std::optional<stdplus::InAnyAddr> addr;
73 std::optional<stdplus::EtherAddr> mac;
88 std::optional<std::string> gateway;
[all …]
/openbmc/qemu/scripts/qapi/
H A Dschema.py29 Optional,
52 ifcond: Optional[Union[str, Dict[str, object]]] = None,
79 def __init__(self, info: Optional[QAPISourceInfo]):
80 self._module: Optional[QAPISchemaModule] = None
96 def connect_doc(self, doc: Optional[QAPIDoc] = None) -> None:
100 self, schema: QAPISchema, info: Optional[QAPISourceInfo]
121 info: Optional[QAPISourceInfo],
122 doc: Optional[QAPIDoc],
123 ifcond: Optional[QAPISchemaIfCond] = None,
124 features: Optional[List[QAPISchemaFeature]] = None,
[all …]
/openbmc/bmcweb/redfish-core/include/
H A Dsubscription.hpp21 #include <optional>
34 std::optional<int64_t> eventGroupId;
35 std::optional<std::string> eventTimestamp;
36 std::optional<std::string> message;
37 std::optional<std::vector<std::string>> messageArgs;
38 std::optional<std::string> messageId;
39 std::optional<std::string> originOfCondition;
40 std::optional<std::string> resolution;
41 std::optional<std::string> severity;
96 std::optional<crow::HttpClient> client;
[all …]
/openbmc/phosphor-logging/extensions/openpower-pels/
H A Dregistry.hpp7 #include <optional>
43 * If a field is wrapped by std::optional, it means the field is
44 * optional in the JSON and higher level code knows how to handle it.
59 * @brief An optional vector of SRC word 6-9 to use as the source of the
63 std::optional<std::vector<std::string>> messageArgSources;
71 * If a field is wrapped by std::optional, it means the field is
72 * optional in the JSON and higher level code knows how to handle it.
87 * @brief An optional vector of SRC hexword numbers that should be used
92 std::optional<std::vector<WordNum>> symptomID;
106 std::optional<std::map<WordNum, AdditionalDataField>> hexwordADFields;
[all …]
/openbmc/u-boot/doc/device-tree-bindings/gpio/
H A Dintel,x86-pinctrl.txt15 - mode-gpio - (optional) standalone property to force the pin into GPIO mode
16 - mode-func - (optional) function number to assign to the pin. If
19 - output-value - (optional) this set the default output value of the GPIO
20 - direction - (optional) this set the direction of the gpio
21 - pull-strength - (optional) this set the pull strength of the pin
22 - pull-assign - (optional) this set the pull assignement (up/down) of the pin
23 - invert - (optional) this input pin is inverted
/openbmc/u-boot/doc/device-tree-bindings/clock/
H A Drockchip,rk3288-cru.txt15 Optional Properties:
32 - "xin32k" - rtc clock - optional,
33 - "ext_i2s" - external I2S clock - optional,
34 - "ext_hsadc" - external HSADC clock - optional,
35 - "ext_edp_24m" - external display port clock - optional,
36 - "ext_vip" - external VIP clock - optional,
37 - "ext_isp" - external ISP clock - optional,
38 - "ext_jtag" - external JTAG clock - optional
H A Drockchip,rk3188-cru.txt16 Optional Properties:
33 - "xin32k" - rtc clock - optional,
34 - "xin27m" - 27mhz crystal input on rk3066 - optional,
35 - "ext_hsadc" - external HSADC clock - optional,
36 - "ext_cif0" - external camera clock - optional,
37 - "ext_rmii" - external RMII clock - optional,
38 - "ext_jtag" - externalJTAG clock - optional
/openbmc/qemu/python/qemu/machine/
H A Dmachine.py36 Optional,
76 def __init__(self, exitcode: Optional[int],
77 command: str, output: Optional[str]):
127 name: Optional[str] = None,
129 monitor_address: Optional[SocketAddrT] = None,
131 console_log: Optional[str] = None,
132 log_dir: Optional[str] = None,
133 qmp_timer: Optional[float] = 30):
143 @param drain_console: (optional) True to drain console socket to buffer
144 @param console_log: (optional) path to console log file
[all …]
/openbmc/bmcweb/test/redfish-core/include/
H A Dsubmit_test_event_test.cpp12 using ::testing::Optional;
60 EXPECT_THAT(testEvent.eventGroupId, Optional(1)); in TEST()
61 EXPECT_THAT(testEvent.eventTimestamp, Optional(StrEq("2021-01"))); in TEST()
62 EXPECT_THAT(testEvent.message, Optional(StrEq("Test Message"))); in TEST()
63 EXPECT_THAT(testEvent.messageId, Optional(StrEq("Dummy message ID"))); in TEST()
65 Optional(StrEq("/redfish/v1/Chassis/GPU_SXM_1"))); in TEST()
66 EXPECT_THAT(testEvent.resolution, Optional(StrEq("custom resolution"))); in TEST()
67 EXPECT_THAT(testEvent.severity, Optional(StrEq("whatever"))); in TEST()
/openbmc/phosphor-bmc-code-mgmt/test/create_package/
H A Dfirmware_device_id_area.hpp6 #include <optional>
10 uint8_t* b, ssize_t i, const std::optional<uint32_t>& optVendorIANA,
11 const std::optional<std::string>& optCompatible,
15 uint8_t* b, ssize_t i, const std::optional<uint32_t>& optVendorIANA,
16 const std::optional<std::string>& optCompatible,
H A Dcreate_pldm_fw_package.hpp6 #include <optional>
11 std::optional<std::string> create_pldm_package(uint8_t* component_image,
16 const std::optional<uint32_t>& optVendorIANA,
17 const std::optional<std::string>& optCompatible, size_t& size_out);
/openbmc/phosphor-power/phosphor-regulators/src/actions/
H A Dpmbus_write_vout_command_action.hpp24 #include <optional>
82 * @param volts Optional volts value to write to VOUT_COMMAND.
85 * @param exponent Optional exponent to use to convert the volts value to
91 std::optional<double> volts, pmbus_utils::VoutDataFormat format, in PMBusWriteVoutCommandAction()
92 std::optional<int8_t> exponent, bool isVerified) : in PMBusWriteVoutCommandAction()
132 * Returns the optional exponent value used to convert the volts value to
135 * @return optional exponent value
137 std::optional<int8_t> getExponent() const in getExponent()
153 * Returns the optional volts value to write to VOUT_COMMAND.
155 * @return optional volts value
[all …]
/openbmc/openpower-vpd-parser/vpd-manager/include/utility/
H A Devent_logger_utility.hpp16 #include <optional>
252 * inventory path and priority as input [optional].
257 * @param[in] i_userData1 - Additional user data [optional].
258 * @param[in] i_userData2 - Additional user data [optional].
259 * @param[in] i_symFru - Symblolic FRU callout data [optional].
260 * @param[in] i_procedure - Procedure callout data [optional].
269 const std::optional<std::string> i_userData1, in createAsyncPelWithInventoryCallout()
270 const std::optional<std::string> i_userData2, in createAsyncPelWithInventoryCallout()
271 const std::optional<std::string> i_symFru, in createAsyncPelWithInventoryCallout()
272 const std::optional<std::string> i_procedure) in createAsyncPelWithInventoryCallout()
[all …]
/openbmc/openbmc/poky/meta/classes/
H A Dsign_rpm.bbclass15 # Optional variable for specifying the backend to use for signing.
19 # Optional variable for specifying the algorithm for generating file
22 # Optional variable for the file signing key.
24 # Optional variable for the file signing key password.
26 # Optional variable for specifying the gpg binary/wrapper to use for
29 # Optional variable indicating the number of packages used per gpg
32 # Optional variable for specifying the gnupg "home" directory:
/openbmc/openbmc/poky/meta/lib/oe/
H A Dmaketype.py71 optional = set()
73 optional |= set(flaglist[-len(defaults):])
74 return flaglist, optional
78 args, optional = get_callable_args(obj)
81 obj.flags, optional = extra_args, optional
82 obj.optflags = set(optional)
92 Determines the required and optional flags from the factory's
/openbmc/u-boot/doc/device-tree-bindings/spi/
H A Dspi-bus.txt15 - cs-gpios - (optional) gpios chip select.
25 Optional property:
50 - spi-cpol - (optional) Empty property indicating device requires
52 - spi-cpha - (optional) Empty property indicating device requires
54 - spi-cs-high - (optional) Empty property indicating device requires
56 - spi-3wire - (optional) Empty property indicating device requires
58 - spi-tx-bus-width - (optional) The bus width(number of data wires) that
60 - spi-rx-bus-width - (optional) The bus width(number of data wires) that
62 - spi-half-duplex - (optional) Indicates that the SPI bus should wait for
/openbmc/phosphor-power/phosphor-regulators/test/actions/
H A Dpmbus_write_vout_command_action_tests.cpp30 #include <optional>
51 std::optional<double> volts{1.3}; in TEST()
53 std::optional<int8_t> exponent{-8}; in TEST()
71 std::optional<double> volts{}; in TEST()
73 std::optional<int8_t> exponent{}; in TEST()
89 std::optional<double> volts{}; in TEST()
91 std::optional<int8_t> exponent{}; in TEST()
139 std::optional<double> volts{1.3}; in TEST()
141 std::optional<int8_t> exponent{-8}; in TEST()
184 std::optional<double> volts{}; in TEST()
[all …]
/openbmc/u-boot/scripts/kconfig/tests/choice/
H A DKconfig19 prompt "optional boolean choice"
20 optional
44 prompt "optional tristate choice"
45 optional
/openbmc/qemu/include/qapi/
H A Dvisitor-impl.h54 /* Optional; intended for input visitors */
68 /* Optional; intended for input visitors */
79 /* Optional */
90 /* Optional; fallback is type_uint64() */
112 /* Must be set for input visitors to visit structs, optional otherwise.
114 void (*optional)(Visitor *v, const char *name, bool *present); member
116 /* Optional */
120 /* Optional */
127 /* Optional */
130 /* Must be set for output visitors, optional otherwise. */
/openbmc/phosphor-power/phosphor-power-sequencer/src/
H A Dconfig_file_parser.cpp23 #include <optional>
101 // Optional active_low property in parseGPIO()
126 // Optional presence property in parseRail()
127 std::optional<std::string> presence{}; in parseRail()
135 // Optional page property in parseRail()
136 std::optional<uint8_t> page{}; in parseRail()
144 // Optional is_power_supply_rail property in parseRail()
153 // Optional check_status_vout property in parseRail()
162 // Optional compare_voltage_to_limit property in parseRail()
171 // Optional gpio property in parseRail()
[all …]
/openbmc/openbmc/meta-arm/meta-arm-bsp/dynamic-layers/meta-arm-systemready/recipes-test/arm-systemready-acs/files/fvp-base/
H A D0001-check-sr-results-Change-the-expected-SR-result-confi.patch41 optional, so errors if a directory is empty.
44 optional and the change to make map.log optional.
50 a. Make optional because it isn't populated for IR.
52 a. Make optional because capsule updates are not supported.
54 a. Make optional because distro installation isn't done as part of ACS.
149 + optional:
156 optional:
177 + optional:
183 optional:
186 + optional:
[all …]
/openbmc/phosphor-fan-presence/docs/monitor/
H A Dsensors.md26 - `target_interface` - string (Optional)
30 - `target_path` - string (Optional)
33 - `factor` - double (Optional)
35 sensor due to how the hardware works. This sensor attribute is optional and
37 - `offset` - integer (Optional)
39 sensor due to how the hardware works. This sensors attribute is optional and

12345678910>>...81