| /openbmc/sdbusplus/include/sdbusplus/server/ |
| H A D | object.hpp | 14 namespace object namespace 39 struct object : struct 51 object() = delete; 52 object(const object&) = delete; 53 object& operator=(const object&) = delete; 54 object(object&&) = delete; 55 object& operator=(object&&) = delete; 76 object(bus_t& bus, const char* path, in object() argument 87 ~object() override in ~object() argument 153 using object_t = object::object<Args...>; [all …]
|
| /openbmc/skeleton/libopenbmc_intf/ |
| H A D | openbmc_intf.h | 33 gint (*get_poll_interval) (Hwmon *object); 35 gint (*get_scale) (Hwmon *object); 37 const gchar * (*get_sysfs_path) (Hwmon *object); 48 gint hwmon_get_poll_interval (Hwmon *object); 49 void hwmon_set_poll_interval (Hwmon *object, gint value); 51 const gchar *hwmon_get_sysfs_path (Hwmon *object); 52 gchar *hwmon_dup_sysfs_path (Hwmon *object); 53 void hwmon_set_sysfs_path (Hwmon *object, const gchar *value); 55 gint hwmon_get_scale (Hwmon *object); 56 void hwmon_set_scale (Hwmon *object, gint value); [all …]
|
| H A D | openbmc_intf.c | 858 hwmon_get_poll_interval (Hwmon *object) in hwmon_get_poll_interval() argument 860 g_return_val_if_fail (IS_HWMON (object), 0); in hwmon_get_poll_interval() 862 return HWMON_GET_IFACE (object)->get_poll_interval (object); in hwmon_get_poll_interval() 875 hwmon_set_poll_interval (Hwmon *object, gint value) in hwmon_set_poll_interval() argument 877 g_object_set (G_OBJECT (object), "poll-interval", value, NULL); in hwmon_set_poll_interval() 893 hwmon_get_sysfs_path (Hwmon *object) in hwmon_get_sysfs_path() argument 895 g_return_val_if_fail (IS_HWMON (object), NULL); in hwmon_get_sysfs_path() 897 return HWMON_GET_IFACE (object)->get_sysfs_path (object); in hwmon_get_sysfs_path() 911 hwmon_dup_sysfs_path (Hwmon *object) in hwmon_dup_sysfs_path() argument 914 g_object_get (G_OBJECT (object), "sysfs-path", &value, NULL); in hwmon_dup_sysfs_path() [all …]
|
| /openbmc/qemu/tests/qemu-iotests/ |
| H A D | 198 | 54 _make_test_img --object $SECRET0 -o "encrypt.format=luks,encrypt.key-secret=sec0,encrypt.iter-time=… 64 $QEMU_IO --object $SECRET0 -c "write -P 0xa 0 $size" --image-opts $IMGSPECBASE | _filter_qemu_io | … 67 _make_test_img --object $SECRET1 -o "encrypt.format=luks,encrypt.key-secret=sec1,encrypt.iter-time=… 71 $QEMU_IO --object $SECRET0 --object $SECRET1 -c "write -P 0x9 0 $size" --image-opts $IMGSPEC | _fil… 75 $QEMU_IO --object $SECRET0 -c "read -P 0xa 0 $size" --image-opts $IMGSPECBASE | _filter_qemu_io | _… 79 $QEMU_IO --object $SECRET0 --object $SECRET1 -c "read -P 0x9 0 $size" --image-opts $IMGSPEC | _filt… 83 $QEMU_IMG commit --object $SECRET0 --object $SECRET1 --image-opts $IMGSPEC | _filter_testdir 87 $QEMU_IO --object $SECRET0 -c "read -P 0x9 0 $size" --image-opts $IMGSPECBASE | _filter_qemu_io | _… 91 $QEMU_IO --object $SECRET0 --object $SECRET1 -c "read -P 0x9 0 $size" --image-opts $IMGSPEC | _filt…
|
| H A D | 189 | 54 _make_test_img --object $SECRET0 -o "encrypt.format=luks,encrypt.key-secret=sec0,encrypt.iter-time=… 63 $QEMU_IO --object $SECRET0 -c "write -P 0xa 0 $size" --image-opts $IMGSPECBASE | _filter_qemu_io | … 67 $QEMU_IO --object $SECRET0 -c "read -P 0xa 0 $size" --image-opts $IMGSPECBASE | _filter_qemu_io | _… 70 _make_test_img --object $SECRET1 -o "encrypt.format=luks,encrypt.key-secret=sec1,encrypt.iter-time=… 74 $QEMU_IO --object $SECRET0 --object $SECRET1 -c "write -P 0xe 0 1024" --image-opts $IMGSPEC | _filt… 78 $QEMU_IO --object $SECRET0 --object $SECRET1 -c "read -P 0xe 0 1024" --image-opts $IMGSPEC | _filte… 81 $QEMU_IO --object $SECRET0 --object $SECRET1 -c "read -P 0xa 1024 64512" --image-opts $IMGSPEC | _f…
|
| H A D | 233 | 77 $QEMU_IMG info --image-opts --object $obj \ 80 $QEMU_NBD_PROG -L -b $nbd_tcp_addr -p $nbd_tcp_port --object $obj \ 89 --object tls-creds-x509,dir=${tls_dir}/server1,endpoint=server,id=tls0,verify-peer=on \ 102 $QEMU_IMG info --image-opts --object $obj1 \ 105 $QEMU_IMG info --image-opts --object $obj2 \ 108 $QEMU_NBD_PROG -L -b $nbd_tcp_addr -p $nbd_tcp_port --object $obj1 \ 114 $QEMU_IMG info --image-opts --object $obj1 \ 117 $QEMU_NBD_PROG -L -b localhost -p $nbd_tcp_port --object $obj1 \ 123 $QEMU_IMG info --image-opts --object $obj1 \ 126 $QEMU_NBD_PROG -L -b localhost -p $nbd_tcp_port --object $obj1 \ [all …]
|
| H A D | 134 | 49 _make_test_img --object $SECRET -o "encryption=on,encrypt.key-secret=sec0" $size 57 $QEMU_IO --object $SECRET -c "read 0 $size" --image-opts $IMGSPEC | _filter_qemu_io | _filter_testd… 61 $QEMU_IO --object $SECRET -c "write -P 0xb 512 512" --image-opts $IMGSPEC | _filter_qemu_io | _filt… 65 $QEMU_IO --object $SECRET -c "read -P 0 0 512" --image-opts $IMGSPEC | _filter_qemu_io | _filter_t… 66 $QEMU_IO --object $SECRET -c "read -P 0xb 512 512" --image-opts $IMGSPEC | _filter_qemu_io | _filt… 70 $QEMU_IO --object $SECRET -c "write -P 0xa 0 $size" --image-opts $IMGSPEC | _filter_qemu_io | _filt… 74 $QEMU_IO --object $SECRET -c "read -P 0xa 0 $size" --image-opts $IMGSPEC | _filter_qemu_io | _filt… 78 $QEMU_IO --object $SECRETALT -c "read -P 0xa 0 $size" --image-opts $IMGSPEC | _filter_qemu_io | _fi…
|
| H A D | 263 | 58 …$QEMU_IO --object $SECRET -c "read -P 0 0 $size" --image-opts "$1" | _filter_qemu_io | _filter_tes… 62 …$QEMU_IO --object $SECRET -c "write -P 0xAA 0xFE00 0x400" --image-opts "$1" | _filter_qemu_io | _f… 66 …$QEMU_IO --object $SECRET -c "read -P 0x00 0x00000 0xFE00" --image-opts "$1" | _filter_qemu_io | _… 67 …$QEMU_IO --object $SECRET -c "read -P 0xAA 0x0FE00 0x400" --image-opts "$1" | _filter_qemu_io | _f… 68 …$QEMU_IO --object $SECRET -c "read -P 0x00 0x10200 0xEFE00" --image-opts "$1" | _filter_qemu_io | … 77 _make_test_img --object $SECRET -o "encrypt.format=luks,encrypt.key-secret=sec0,encrypt.iter-time=1… 86 _make_test_img --object $SECRET -o "encrypt.format=aes,encrypt.key-secret=sec0,cluster_size=64K" $s…
|
| H A D | 188 | 51 _make_test_img --object $SECRET -o "encrypt.format=luks,encrypt.key-secret=sec0,encrypt.iter-time=1… 59 $QEMU_IO --object $SECRET -c "read -P 0 0 $size" --image-opts $IMGSPEC | _filter_qemu_io | _filter_… 63 $QEMU_IO --object $SECRET -c "write -P 0xa 0 $size" --image-opts $IMGSPEC | _filter_qemu_io | _filt… 67 $QEMU_IO --object $SECRET -c "read -P 0xa 0 $size" --image-opts $IMGSPEC | _filter_qemu_io | _filt… 71 $QEMU_IO --object $SECRETALT -c "read -P 0xa 0 $size" --image-opts $IMGSPEC | _filter_qemu_io | _fi… 85 $QEMU_IMG convert -O "$IMGFMT" --object $SECRET \ 89 $QEMU_IMG compare --object $SECRET --image-opts "${IMGSPEC}.orig" "$IMGSPEC"
|
| H A D | 158 | 51 _make_test_img --object $SECRET -o "encryption=on,encrypt.key-secret=sec0" $size 60 $QEMU_IO --object $SECRET -c "write -P 0xa 0 $size" --image-opts $IMGSPECBASE | _filter_qemu_io | _… 64 $QEMU_IO --object $SECRET -c "read -P 0xa 0 $size" --image-opts $IMGSPECBASE | _filter_qemu_io | _f… 67 _make_test_img -u --object $SECRET -o "encryption=on,encrypt.key-secret=sec0" -b "$TEST_IMG_BASE" -… 71 $QEMU_IO --object $SECRET -c "write -P 0xe 0 1024" --image-opts $IMGSPEC | _filter_qemu_io | _filte… 75 $QEMU_IO --object $SECRET -c "read -P 0xe 0 1024" --image-opts $IMGSPEC | _filter_qemu_io | _filter… 78 $QEMU_IO --object $SECRET -c "read -P 0xa 1024 64512" --image-opts $IMGSPEC | _filter_qemu_io | _fi…
|
| /openbmc/phosphor-fan-presence/control/json/ |
| H A D | config_base.hpp | 118 static const PropertyVariantType getJsonValue(const json& object) in getJsonValue() argument 120 if (object.is_boolean()) in getJsonValue() 122 return object.get<bool>(); in getJsonValue() 124 if (object.is_number_integer()) in getJsonValue() 126 return object.get<int64_t>(); in getJsonValue() 128 if (object.is_number_float()) in getJsonValue() 130 return object.get<double>(); in getJsonValue() 132 if (object.is_string()) in getJsonValue() 134 return object.get<std::string>(); in getJsonValue() 139 "JSON_ENTRY", object.dump()); in getJsonValue()
|
| /openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/lxdm/lxdm/ |
| H A D | 0006-themes-Industrial-add-info-label-in-ui.patch | 27 - <object class="GtkHBox" id="hbox3"> 28 + <object class="GtkVBox" id="vbox3"> 33 + <object class="GtkHBox" id="hbox3"> 40 </object> 43 + <object class="GtkHBox" id="hbox4"> 47 + <object class="GtkLabel" id="info"> 51 + </object> 58 + </object> 60 + </object> 62 </object> [all …]
|
| /openbmc/qemu/tests/qapi-schema/ |
| H A D | qapi-schema-test.out | 2 object q_empty 12 object TestStruct 16 object NestedEnumsOne 22 object Empty1 23 object Empty2 25 object q_obj_Union-base 27 object Union 40 object UserDefOne 49 object UserDefZero 51 object UserDefTwoDictDict [all …]
|
| /openbmc/qemu/ |
| H A D | qemu-img-cmds.hx | 15 …"amend [--object objectdef] [--image-opts] [-p] [-q] [-f fmt] [-t cache] [--force] -o options file… 17 .. option:: amend [--object OBJECTDEF] [--image-opts] [-p] [-q] [-f FMT] [-t CACHE] [--force] -o OP… 27 …ble | --disable)... [-b source_file [-F source_fmt]] [-g granularity] [--object objectdef] [--imag… 29 …ble | --disable)... [-b SOURCE_FILE [-F SOURCE_FMT]] [-g GRANULARITY] [--object OBJECTDEF] [--imag… 33 …"check [--object objectdef] [--image-opts] [-q] [-f fmt] [--output=ofmt] [-r [leaks | all]] [-T sr… 35 .. option:: check [--object OBJECTDEF] [--image-opts] [-q] [-f FMT] [--output=OFMT] [-r [leaks | al… 39 …"commit [--object objectdef] [--image-opts] [-q] [-f fmt] [-t cache] [-b base] [-r rate_limit] [-d… 41 .. option:: commit [--object OBJECTDEF] [--image-opts] [-q] [-f FMT] [-t CACHE] [-b BASE] [-r RATE_… 45 …"compare [--object objectdef] [--image-opts] [-f fmt] [-F fmt] [-T src_cache] [-p] [-q] [-s] [-U] … 47 .. option:: compare [--object OBJECTDEF] [--image-opts] [-f FMT] [-F FMT] [-T SRC_CACHE] [-p] [-q] … [all …]
|
| /openbmc/phosphor-objmgr/src/test/ |
| H A D | handler.cpp | 201 auto object = connection.find("test_object_connection_0"); in TEST_F() local 202 ASSERT_NE(object, connection.end()); in TEST_F() 203 ASSERT_THAT(object->second, ElementsAre("test_interface_0")); in TEST_F() 207 object = connection.find("test_object_connection_1"); in TEST_F() 208 ASSERT_NE(object, connection.end()); in TEST_F() 209 ASSERT_THAT(object->second, ElementsAre("test_interface_1")); in TEST_F() 230 auto object = connection.find("test_object_connection_1"); in verifySubtree() local 231 ASSERT_NE(object, connection.end()); in verifySubtree() 232 ASSERT_THAT(object->second, ElementsAre("test_interface_1")); in verifySubtree() 235 object = connection.find("test_object_connection_3"); in verifySubtree() [all …]
|
| /openbmc/qemu/python/qemu/qmp/ |
| H A D | message.py | 22 class Message(MutableMapping[str, object]): 63 value: Union[bytes, Mapping[str, object]] = b'{}', *, argument 66 self._obj: Optional[Dict[str, object]] = None 83 def __getitem__(self, key: str) -> object: 86 def __setitem__(self, key: str, value: object) -> None: argument 120 def _object(self) -> Dict[str, object]: 133 def _serialize(cls, value: object) -> bytes: argument 145 def _deserialize(cls, data: bytes) -> Dict[str, object]: 199 def __init__(self, error_message: str, value: object): argument 202 self.value: object = value
|
| /openbmc/ibm-logging/ |
| H A D | manager.cpp | 59 for (const auto& object : objects) in createAll() local 61 const auto& interfaces = object.second; in createAll() 67 createWithRestore(object.first, interfaces); in createAll() 111 std::any& object) in addInterface() argument 119 interfaces.emplace(type, object); in addInterface() 124 entry->second.emplace(type, object); in addInterface() 129 InterfaceType type, std::any& object) in addChildInterface() argument 141 ObjectList objects{object}; in addChildInterface() 151 ObjectList objects{object}; in addChildInterface() 156 i->second.emplace_back(object); in addChildInterface() [all …]
|
| /openbmc/openbmc/meta-ibm/recipes-phosphor/gpio/id-button/ |
| H A D | toggle_identify_led.sh | 9 object=$(busctl tree $SERVICE --list | grep identify) 12 busctl set-property $SERVICE "$object" $INTERFACE $PROPERTY b false 14 busctl set-property $SERVICE "$object" $INTERFACE $PROPERTY b true 17 state=$(busctl get-property $SERVICE "$object" $INTERFACE $PROPERTY \ 27 busctl set-property $SERVICE "$object" $INTERFACE $PROPERTY b $target
|
| /openbmc/telemetry/src/ |
| H A D | state.hpp | 26 explicit State(Object& object) : object(object) {} in State() argument 41 object.activate(); in set() 46 object.deactivate(); in set() 79 Object& object; member in State
|
| /openbmc/qemu/qapi/ |
| H A D | ebpf.json | 12 # eBPF object is an ELF binary that contains the eBPF program and eBPF 13 # map description(BTF). Overall, eBPF object should contain the 24 # An eBPF ELF object. 26 # @object: the eBPF object encoded in base64 31 'data': {'object': 'str'}, 53 # Retrieve an eBPF object that can be loaded with libbpf. Management 59 # Returns: eBPF object encoded in base64.
|
| /openbmc/skeleton/bmcctl/ |
| H A D | control_bmc_obj.c | 60 ObjectSkeleton *object; in on_bus_acquired() local 66 object = object_skeleton_new(s); in on_bus_acquired() 70 object_skeleton_set_control_bmc(object, control_bmc); in on_bus_acquired() 74 object_skeleton_set_control(object, control); in on_bus_acquired() 88 G_DBUS_OBJECT_SKELETON(object)); in on_bus_acquired() 89 g_object_unref(object); in on_bus_acquired() 94 cmd->user_data = object; in on_bus_acquired()
|
| /openbmc/phosphor-power/phosphor-regulators/tools/ |
| H A D | validate-regulators-config.py | 78 for object in i2c_write_bytes: 79 if "masks" in object: 80 if len(object.get("masks", [])) != len(object.get("values", [])): 85 + str(object.get("masks", [])) 87 + str(object.get("values", [])) 92 for object in i2c_compare_bytes: 93 if "masks" in object: 94 if len(object.get("masks", [])) != len(object.get("values", [])): 99 + str(object.get("masks", [])) 101 + str(object.get("values", []))
|
| /openbmc/skeleton/flashbios/ |
| H A D | flash_bios_obj.c | 239 ObjectSkeleton *object; in on_bus_acquired() local 251 object = object_skeleton_new(s); in on_bus_acquired() 255 object_skeleton_set_flash(object, flash); in on_bus_acquired() 259 object_skeleton_set_shared_resource(object, lock); in on_bus_acquired() 287 object); /* user_data */ in on_bus_acquired() 292 object); /* user_data */ in on_bus_acquired() 297 object); /* user_data */ in on_bus_acquired() 302 object); /* user_data */ in on_bus_acquired() 307 object); /* user_data */ in on_bus_acquired() 318 object, in on_bus_acquired() [all …]
|
| /openbmc/phosphor-fan-presence/control/ |
| H A D | zone.hpp | 147 inline void setObjectData(const std::string& object, in setObjectData() argument 151 _objects[object][interface][property] = data; in setObjectData() 163 void setPropertyValue(const char* object, const char* interface, in setPropertyValue() argument 166 _properties[object][interface][property] = value; in setPropertyValue() 178 void setPropertyValue(const std::string& object, in setPropertyValue() argument 182 _properties[object][interface][property] = value; in setPropertyValue() 195 inline auto getPropertyValue(const std::string& object, in getPropertyValue() argument 199 return std::get<T>(_properties.at(object).at(interface).at(property)); in getPropertyValue() 211 inline auto getPropValueVariant(const std::string& object, in getPropValueVariant() argument 215 return _properties.at(object).at(interface).at(property); in getPropValueVariant() [all …]
|
| /openbmc/openbmc/meta-ibm/meta-romulus/recipes-phosphor/gpio/id-button/ |
| H A D | toggle_identify_led.sh | 9 object=$(busctl tree $SERVICE --list | grep identify) 10 state=$(busctl get-property $SERVICE "$object" $INTERFACE $PROPERTY \ 20 busctl set-property $SERVICE "$object" $INTERFACE $PROPERTY b $target
|