Home
last modified time | relevance | path

Searched refs:unpack (Results 1 – 25 of 169) sorted by relevance

1234567

/openbmc/phosphor-host-ipmid/test/message/
H A Dunpack.cpp27 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 Dpayload.cpp235 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 Dmessage.hpp242 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/linux/tools/testing/selftests/tpm2/
H A Dtpm2.py399 rc = struct.unpack('>I', rsp[6:10])[0]
401 cc = struct.unpack('>I', cmd[6:10])[0]
423 pcr_update_cnt, pcr_select_cnt = struct.unpack('>II', rsp[10:18])
427 alg2, pcrsel_len2 = struct.unpack('>HB', rsp[:3])
431 digest_cnt = struct.unpack('>I', rsp[:4])[0]
472 return struct.unpack('>I', self.send_cmd(cmd)[10:14])[0]
587 return struct.unpack('>I', self.send_cmd(cmd)[10:14])[0]
630 private_len = struct.unpack('>H', blob[0:2])[0]
632 public_len = struct.unpack('>H', blob[public_start:public_start + 2])[0]
648 data_handle = struct.unpack('>I', self.send_cmd(cmd)[10:14])[0]
[all …]
/openbmc/qemu/tests/functional/acpi-bits/bits-tests/
H A Dsmbios.py239 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/phosphor-host-ipmid/include/ipmid/
H A Dmessage.hpp418 int unpack() in unpack() function
435 int unpack(Arg&& arg, Args&&... args) in unpack() function
444 return unpack(std::forward<Args>(args)...); in unpack()
460 int unpack(std::tuple<Types...>& t) in unpack() function
468 std::apply([this](Types&... args) { return unpack(args...); }, t); in unpack()
609 int unpack(Args&&... args) in unpack() function
611 int unpackRet = payload.unpack(std::forward<Args>(args)...); in unpack()
641 int unpack(std::tuple<Types...>& t) in unpack() function
643 return std::apply([this](Types&... args) { return unpack(args...); }, in unpack()
/openbmc/openbmc/poky/scripts/
H A Drelocate_sdk.py36 ei_mag0,ei_mag1_3,ei_class,ei_data,ei_version = struct.unpack("<B3sBBB9x", e_ident)
70 struct.unpack(hdr_fmt, elf_header[16:hdr_size])
85 p_memsz, p_flags, p_align = struct.unpack(ph_fmt, ph_hdr)
89 p_filesz, p_memsz, p_align = struct.unpack(ph_fmt, ph_hdr)
124 sh_offset, sh_size = struct.unpack(endian_prefix + "16xII16x", sh_hdr)
126 sh_offset, sh_size = struct.unpack(endian_prefix + "24xQQ24x", sh_hdr)
139 sh_info, sh_addralign, sh_entsize = struct.unpack(sh_fmt, sh_hdr)
/openbmc/boost-dbus/test/
H A Davahi.cpp36 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 DdbusPropertiesServer.cpp145 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/openbmc/poky/bitbake/lib/bb/fetch2/
H A Dcrate.py80 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 Dnpmsw.py84 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 Dgomod.py130 def unpack(self, ud, rootdir, d): member in GoMod
134 super().unpack(ud, rootdir, d)
216 def unpack(self, ud, rootdir, d): member in GoModGit
220 super().unpack(ud, rootdir, d)
H A Dgitannex.py65 def unpack(self, ud, destdir, d): member in GitANNEX
66 Git.unpack(self, ud, destdir, d)
/openbmc/phosphor-virtual-sensor/
H A DdbusSensor.cpp82 newOwner] = msg.unpack<std::string, std::string, std::string>(); in handleDbusSignalNameOwnerChanged()
109 msg.unpack<std::string, in handleDbusSignalPropChange()
136 auto objPath = msg.unpack<sdbusplus::message::object_path>(); in handleDbusSignalRemove()
/openbmc/openbmc/poky/bitbake/lib/bb/tests/
H A Dfetch.py702 fetcher.unpack(self.unpackdir)
745 fetcher.unpack(self.unpackdir)
829 fetcher.unpack(self.unpackdir)
965 fetcher.unpack(self.unpackdir)
1031 fetcher.unpack(self.unpackdir)
1123 fetcher.unpack(self.unpackdir)
1162 fetcher.unpack(self.unpackdir)
1178 fetcher.unpack(self.unpackdir)
1198 fetcher.unpack(self.unpackdir)
1212 fetcher.unpack(self.unpackdir)
[all …]
/openbmc/openbmc/poky/documentation/migration-guides/
H A Dmigration-5.1.rst46 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/u-boot/tools/binman/etype/
H A Dintel_descriptor.py23 val = struct.unpack('<L', data[pos:pos + 4])[0]
55 flvalsig, flmap0, flmap1, flmap2 = struct.unpack('<LLLL',
/openbmc/qemu/scripts/
H A Dsimpletrace.py46 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)
H A Dreplay-dump.py66 return struct.unpack('>B', fin.read(1))[0]
78 return struct.unpack('>H', fin.read(2))[0]
82 return struct.unpack('>I', fin.read(4))[0]
86 return struct.unpack('>Q', fin.read(8))[0]
/openbmc/u-boot/tools/binman/
H A Dfmap_util.py81 fields = list(struct.unpack(FMAP_HEADER_FORMAT, data[:FMAP_HEADER_LEN]))
87 fields = list(struct.unpack(FMAP_AREA_FORMAT, data[:FMAP_AREA_LEN]))
/openbmc/phosphor-host-ipmid/
H A Dtransporthandler.cpp627 if (req.unpack(bytes) != 0) in unpackT()
742 if (req.unpack(flag, rsvd) != 0) in setLanInt()
803 if (req.unpack(flag, rsvd) != 0) in setLanInt()
873 if (req.unpack(vlanData, rsvd, vlanEnable) != 0) in setLanInt()
909 if (req.unpack(enables) != 0) in setLanInt()
936 if (req.unpack(set, rsvd, enabled) != 0) in setLanInt()
941 if (req.unpack(prefix, status) != 0) in setLanInt()
974 if (req.unpack(control) != 0) in setLanInt()
1008 if (req.unpack(prefix) != 0) in setLanInt()
1031 if (req.unpack(rsv in setLanInt()
[all...]
/openbmc/linux/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/
H A DEventClass.py60 flags, ip, ax, bx, cx, dx, si, di, bp, sp = struct.unpack('QQQQQQQQQQ', tmp_buf)
89 status, dla, dse, lat = struct.unpack('QQQQ', tmp_buf)
/openbmc/dbus-sensors/src/mctp/
H A DMCTPReactorMain.cpp102 exposed] = msg.unpack<sdbusplus::message::object_path, SensorData>(); in addInventory()
125 msg.unpack<sdbusplus::message::object_path, std::set<std::string>>(); in removeInventory()
175 auto name = msg.unpack<std::string>(); in exitReactor()
/openbmc/linux/drivers/gpu/drm/msm/disp/mdp4/
H A Dmdp4_plane.c331 MDP4_PIPE_SRC_UNPACK_ELEM0(format->unpack[0]) | in mdp4_plane_mode_set()
332 MDP4_PIPE_SRC_UNPACK_ELEM1(format->unpack[1]) | in mdp4_plane_mode_set()
333 MDP4_PIPE_SRC_UNPACK_ELEM2(format->unpack[2]) | in mdp4_plane_mode_set()
334 MDP4_PIPE_SRC_UNPACK_ELEM3(format->unpack[3])); in mdp4_plane_mode_set()
/openbmc/intel-ipmi-oem/src/
H A Dsensorcommands.cpp134 p.unpack(sysgeneratorID, evmRev, sensorType, sensorNum, eventType, in ipmiSenPlatformEvent()
149 p.unpack(evmRev, sensorType, sensorNum, eventType, eventData1, in ipmiSenPlatformEvent()

1234567