| /openbmc/phosphor-host-ipmid/test/message/ |
| H A D | unpack.cpp | 27 ASSERT_EQ(p.unpack(v), 0); in TEST() 41 ASSERT_EQ(p.unpack(v), 0); in TEST() 55 ASSERT_NE(p.unpack(v), 0); in TEST() 68 ASSERT_EQ(p.unpack(v), 0); in TEST() 82 ASSERT_EQ(p.unpack(v), 0); in TEST() 96 ASSERT_NE(p.unpack(v), 0); in TEST() 109 ASSERT_EQ(p.unpack(v), 0); in TEST() 123 ASSERT_EQ(p.unpack(v), 0); in TEST() 137 ASSERT_NE(p.unpack(v), 0); in TEST() 150 ASSERT_EQ(p.unpack(v), 0); in TEST() [all …]
|
| H A D | payload.cpp | 235 p.unpack(v1); in TEST() 273 ASSERT_EQ(p.unpack(v1), 0); in TEST() 284 ASSERT_EQ(p.unpack(v2), 0); in TEST() 299 ASSERT_EQ(p.unpack(v1, localPayload), 0); in TEST() 310 ASSERT_EQ(localPayload.unpack(v2), 0); in TEST() 359 p.unpack(out, out); in TEST_F() 370 p.unpack(out); in TEST_F() 391 p.unpack(out, out); in TEST_F() 404 q.unpack(p); in TEST_F()
|
| /openbmc/boost-dbus/include/dbus/ |
| H A D | message.hpp | 242 bool unpack(Element& e, Args&... args) { in unpack() function 243 if (unpack(e) == false) { in unpack() 246 return unpack(args...); in unpack() 251 typename std::enable_if<is_fixed_type<Element>::value, bool>::type unpack( in unpack() function 265 bool unpack(bool& s) { in unpack() function 277 bool unpack(string& s) { in unpack() function 289 bool unpack(object_path& s) { in unpack() function 301 bool unpack(signature& s) { in unpack() function 313 bool unpack(dbus_variant& v) { in unpack() function 325 sub.unpack(val_to_fill); in unpack() [all …]
|
| /openbmc/phosphor-host-ipmid/include/ipmid/ |
| H A D | message.hpp | 420 int unpack() in unpack() function 437 int unpack(Arg&& arg, Args&&... args) in unpack() function 446 return unpack(std::forward<Args>(args)...); in unpack() 462 int unpack(std::tuple<Types...>& t) in unpack() function 470 std::apply([this](Types&... args) { return unpack(args...); }, t); in unpack() 611 int unpack(Args&&... args) in unpack() function 613 int unpackRet = payload.unpack(std::forward<Args>(args)...); in unpack() 643 int unpack(std::tuple<Types...>& t) in unpack() function 645 return std::apply([this](Types&... args) { return unpack(args...); }, in unpack()
|
| /openbmc/openbmc/poky/scripts/ |
| H A D | relocate_sdk.py | 36 ei_mag0,ei_mag1_3,ei_class,ei_data,ei_version = struct.unpack("<B3sBBB9x", e_ident) 66 ei_mag0,ei_mag1_3,ei_class,ei_data,ei_version = struct.unpack("<B3sBBB9x", e_ident) 98 struct.unpack(hdr_fmt, elf_header[16:hdr_size]) 113 p_memsz, p_flags, p_align = struct.unpack(ph_fmt, ph_hdr) 117 p_filesz, p_memsz, p_align = struct.unpack(ph_fmt, ph_hdr) 152 sh_offset, sh_size = struct.unpack(endian_prefix + "16xII16x", sh_hdr) 154 sh_offset, sh_size = struct.unpack(endian_prefix + "24xQQ24x", sh_hdr) 167 sh_info, sh_addralign, sh_entsize = struct.unpack(sh_fmt, sh_hdr)
|
| /openbmc/qemu/tests/functional/acpi-bits/bits-tests/ |
| H A D | smbios.py2 | 39 import unpack 43 class SMBIOS(unpack.Struct): 71 u = unpack.Unpackable(self._header_memory) 74 u = unpack.Unpackable(self._structure_memory) 75 …self.add_field('structures', unpack.unpack_all(u, _smbios_structures, self), unpack.format_each("\… 94 class Header(unpack.Struct): 101 u = unpack.Unpackable(self.raw_data) 119 class SmbiosBaseStructure(unpack.Struct): 131 self.u = unpack.Unpackable(self.raw_data) 224 … self.add_field('wakeup_type', u.unpack_one("B"), unpack.format_table("{}", wakeup_types)) [all …]
|
| /openbmc/openbmc/poky/bitbake/lib/bb/fetch2/ |
| H A D | crate.py | 80 def unpack(self, ud, rootdir, d): member in Crate 87 super(Crate, self).unpack(ud, rootdir, d) 105 ud.unpack_tracer.unpack("crate-extract", rootdir) 108 ud.unpack_tracer.unpack("cargo-extract", cargo_bitbake)
|
| H A D | npmsw.py | 84 unpack = True 94 unpack = False 179 "unpack": unpack, 247 def unpack(self, ud, rootdir, d): member in NpmShrinkWrap 253 ud.unpack_tracer.unpack("npm-shrinkwrap", destdir) 263 ud.proxy.unpack(destdir, auto)
|
| H A D | gitsm.py | 154 unpack = extra_check or not os.path.exists(ud.clonedir) 155 if ud.shallow and os.path.exists(ud.fullshallow) and unpack: 207 def unpack(self, ud, destdir, d): member in GitSM 223 newfetch.unpack(root=os.path.dirname(os.path.join(repo_conf, 'modules', module))) 243 Git.unpack(self, ud, destdir, d)
|
| H A D | gomod.py | 130 def unpack(self, ud, rootdir, d): member in GoMod 137 ud.unpack_tracer.unpack("file-copy", unpackdir) 224 def unpack(self, ud, rootdir, d): member in GoModGit 228 super().unpack(ud, rootdir, d)
|
| H A D | gitannex.py | 65 def unpack(self, ud, destdir, d): member in GitANNEX 66 Git.unpack(self, ud, destdir, d)
|
| /openbmc/boost-dbus/test/ |
| H A D | avahi.cpp | 36 r.unpack(avahi_hostname); in TEST() 64 EXPECT_TRUE(r.unpack(browser_path)); in TEST() 78 s.unpack(dude); in TEST() 110 r.unpack(services); in TEST() 140 s.unpack(object_name, values); in TEST() 190 s.unpack(object_name, values); in TEST() 202 s.unpack(object_name, values); in TEST() 254 s.unpack(intf_name, prop_name); in TEST() 309 s.unpack(intf_name, prop_name); in TEST()
|
| H A D | dbusPropertiesServer.cpp | 145 r.unpack(error); in TEST() 149 r.unpack(xml); in TEST() 194 r.unpack(error); in TEST() 199 r.unpack(xml); in TEST() 295 r.unpack(error); in TEST() 300 r.unpack(xml); in TEST()
|
| /openbmc/u-boot/tools/binman/etype/ |
| H A D | intel_descriptor.py | 23 val = struct.unpack('<L', data[pos:pos + 4])[0] 55 flvalsig, flmap0, flmap1, flmap2 = struct.unpack('<LLLL',
|
| /openbmc/openpower-proc-control/ |
| H A D | ext_interface.cpp | 44 .unpack<std::map<std::string, std::vector<std::string>>>(); in getService() 68 auto rebootCount = reply.unpack<std::variant<uint32_t>>(); in getBootCount()
|
| /openbmc/phosphor-logging/lib/ |
| H A D | elog.cpp | 38 auto entryID = reply.unpack<uint32_t>(); in commit() 50 auto entryID = reply.unpack<uint32_t>(); in commit()
|
| /openbmc/phosphor-virtual-sensor/src/ |
| H A D | dbusSensor.cpp | 82 newOwner] = msg.unpack<std::string, std::string, std::string>(); in handleDbusSignalNameOwnerChanged() 109 msg.unpack<std::string, in handleDbusSignalPropChange() 143 auto objPath = msg.unpack<sdbusplus::message::object_path>(); in handleDbusSignalRemove()
|
| /openbmc/u-boot/tools/binman/ |
| H A D | fmap_util.py | 81 fields = list(struct.unpack(FMAP_HEADER_FORMAT, data[:FMAP_HEADER_LEN])) 87 fields = list(struct.unpack(FMAP_AREA_FORMAT, data[:FMAP_AREA_LEN]))
|
| /openbmc/sdbusplus/include/sdbusplus/asio/ |
| H A D | connection.hpp | 110 static void unpack(const boost::system::error_code& ec, message_t& r, in unpack() function in sdbusplus::asio::connection 124 auto unpack = utility::make_dbus_args_tuple(responseData); in unpack() local 125 std::apply([&r](auto&&... x) { (r.read(x), ...); }, unpack); in unpack() 166 unpack(ec, r, std::move(handler)); in async_method_call_timed() 273 return r.unpack<RetTypes...>(); in yield_method_call()
|
| /openbmc/openbmc/poky/documentation/migration-guides/ |
| H A D | migration-5.1.rst | 46 Files from :ref:`ref-tasks-unpack` now unpack to ``WORKDIR/sources-unpack/`` 50 subdirectory exists in ``sources-unpack`` after :ref:`ref-tasks-unpack` runs, 54 based recipes. Keeping all sources under ``sources-unpack`` wasn't considered 56 :ref:`ref-tasks-unpack` task output from :term:`WORKDIR`. 107 - After dropping the custom :ref:`ref-tasks-unpack` from the
|
| /openbmc/openbmc/poky/bitbake/lib/bb/tests/ |
| H A D | fetch.py | 736 fetcher.unpack(self.unpackdir) 780 fetcher.unpack(self.unpackdir) 868 fetcher.unpack(self.unpackdir) 1004 fetcher.unpack(self.unpackdir) 1070 fetcher.unpack(self.unpackdir) 1156 fetcher.unpack(self.unpackdir) 1195 fetcher.unpack(self.unpackdir) 1211 fetcher.unpack(self.unpackdir) 1231 fetcher.unpack(self.unpackdir) 1245 fetcher.unpack(self.unpackdir) [all …]
|
| /openbmc/qemu/scripts/ |
| H A D | simpletrace.py | 46 return struct.unpack(hfmt, hdr) 49 (event_id, ) = struct.unpack('=Q', fobj.read(8)) 50 (len, ) = struct.unpack('=L', fobj.read(4)) 101 (rectype, ) = struct.unpack('=Q', t)
|
| /openbmc/phosphor-buttons/src/ |
| H A D | button_handler.cpp | 228 result.unpack<std::map<std::string, std::vector<std::string>>>(); in getService() 254 auto HSPositionVariant = result.unpack<std::variant<size_t>>(); in getHostSelectorValue() 274 auto state = result.unpack<std::variant<std::string>>(); in poweredOn() 415 auto time = msg.unpack<uint64_t>(); in powerReleased() 463 auto state = result.unpack<std::variant<bool>>(); in idReleased() 501 auto properties = result.unpack< in increaseHostSelectorPosition()
|
| /openbmc/phosphor-host-ipmid/ |
| H A D | transporthandler.cpp | 563 auto newPath = reply.unpack<sdbusplus::message::object_path>(); in createVLAN() 665 if (req.unpack(bytes) != 0) in unpackT() 780 if (req.unpack(flag, rsvd) != 0) in setLanInt() 841 if (req.unpack(flag, rsvd) != 0) in setLanInt() 911 if (req.unpack(vlanData, rsvd, vlanEnable) != 0) in setLanInt() 947 if (req.unpack(enables) != 0) in setLanInt() 974 if (req.unpack(set, rsvd, enabled) != 0) in setLanInt() 979 if (req.unpack(prefix, status) != 0) in setLanInt() 1012 if (req.unpack(control) != 0) in setLanInt() 1046 if (req.unpack(prefix) != 0) in setLanInt() [all …]
|
| /openbmc/sdbusplus/example/ |
| H A D | list-users.cpp | 23 auto users = reply.unpack<return_type>(); in main()
|