| /OK3568_Linux_fs/kernel/scripts/ |
| H A D | bmpconvert | 5 from struct import unpack, pack 15 self.bfType = unpack("<h", self.file.read(2))[0] 16 self.bfSize = unpack("<i", self.file.read(4))[0] 17 self.bfReserved1 = unpack("<h", self.file.read(2))[0] 18 self.bfReserved2 = unpack("<h", self.file.read(2))[0] 19 self.bfOffBits = unpack("<i", self.file.read(4))[0] 21 self.biSize = unpack("<i", self.file.read(4))[0] 22 self.biWidth = unpack("<i", self.file.read(4))[0] 23 self.biHeight = unpack("<i", self.file.read(4))[0] 24 self.biPlanes = unpack("<h", self.file.read(2))[0] [all …]
|
| H A D | unpack_bootimg | 23 from struct import unpack 187 info.boot_magic = unpack('8s', boot_img.read(8))[0].decode() 189 kernel_ramdisk_second_info = unpack('9I', boot_img.read(9 * 4)) 202 os_version_patch_level = unpack('I', boot_img.read(1 * 4))[0] 214 info.product_name = cstr(unpack('16s', 216 info.cmdline = cstr(unpack('512s', boot_img.read(512))[0].decode()) 218 info.extra_cmdline = cstr(unpack('1024s', 221 info.cmdline = cstr(unpack('1536s', 225 info.recovery_dtbo_size = unpack('I', boot_img.read(1 * 4))[0] 226 info.recovery_dtbo_offset = unpack('Q', boot_img.read(8))[0] [all …]
|
| /OK3568_Linux_fs/u-boot/scripts/ |
| H A D | unpack_bootimg | 23 from struct import unpack 181 info.boot_magic = unpack('8s', args.boot_img.read(8))[0].decode() 183 kernel_ramdisk_second_info = unpack('9I', args.boot_img.read(9 * 4)) 196 os_version_patch_level = unpack('I', args.boot_img.read(1 * 4))[0] 208 info.product_name = cstr(unpack('16s', 210 info.cmdline = cstr(unpack('512s', args.boot_img.read(512))[0].decode()) 212 info.extra_cmdline = cstr(unpack('1024s', 215 info.cmdline = cstr(unpack('1536s', 219 info.recovery_dtbo_size = unpack('I', args.boot_img.read(1 * 4))[0] 220 info.recovery_dtbo_offset = unpack('Q', args.boot_img.read(8))[0] [all …]
|
| H A D | README.rockchip | 41 ./tools/resource_tool --unpack --image=resource.img out/ 45 ./tools/trust_merger --unpack trust.img 49 ./tools/boot_merger --unpack rk3399_loader_v1.17.115.bin 53 ./tools/loaderimage --unpack --uboot uboot.img uboot.bin 56 ./tools/loaderimage --unpack --trustos trust.img tee.bin
|
| H A D | pack_resource.sh | 50 …${TOOL} --unpack --verbose --image=${RSCE_OLD} ${TMP_DIR} 2>&1 | grep entry | sed "s/^.*://" | xar… 62 …${TOOL} --unpack --verbose --image=${RSCE_NEW} ${TMP_DIR} 2>&1 | grep entry | sed "s/^.*://" | xar… 80 ./scripts/fit-unpack.sh -f ${BOOT_OLD} -o ${TMP_DIR2}/
|
| H A D | unpack_resource.sh | 52 …$PACK_TOOL --unpack --verbose --image=$IMAGE_FILE $OUTPUT_DIR 2>&1|grep entry|sed "s/^.*://"|xargs…
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/tpm2/ |
| H A D | tpm2.py | 398 rc = struct.unpack('>I', rsp[6:10])[0] 400 cc = struct.unpack('>I', cmd[6:10])[0] 422 pcr_update_cnt, pcr_select_cnt = struct.unpack('>II', rsp[10:18]) 426 alg2, pcrsel_len2 = struct.unpack('>HB', rsp[:3]) 430 digest_cnt = struct.unpack('>I', rsp[:4])[0] 471 return struct.unpack('>I', self.send_cmd(cmd)[10:14])[0] 586 return struct.unpack('>I', self.send_cmd(cmd)[10:14])[0] 629 private_len = struct.unpack('>H', blob[0:2])[0] 631 public_len = struct.unpack('>H', blob[public_start:public_start + 2])[0] 647 data_handle = struct.unpack('>I', self.send_cmd(cmd)[10:14])[0] [all …]
|
| /OK3568_Linux_fs/yocto/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) 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)
|
| /OK3568_Linux_fs/tools/linux/Linux_Diff_Firmware/ |
| H A D | mk-diff-ota.sh | 139 rkImageMaker -unpack ${OLD_IMG} ${OLD_DIR} || cleanup "rkImageMaker unpack: $?" 140 afptool -unpack ${OLD_DIR}/firmware.img ${OLD_DIR} || cleanup "afptool unpack: $?" 143 rkImageMaker -unpack ${NEW_IMG} ${NEW_DIR} || cleanup "rkImageMaker unpack: $?" 144 afptool -unpack ${NEW_DIR}/firmware.img ${NEW_DIR} || cleanup "afptool unpack: $?"
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/typeof/ |
| H A D | int_encoding.hpp | 48 struct unpack struct 105 BOOST_STATIC_CONSTANT(std::size_t,n = unpack<m>::value); 107 BOOST_STATIC_CONSTANT(std::size_t,overflow = unpack<m>::overflow);
|
| /OK3568_Linux_fs/tools/linux/Linux_Pack_Firmware/rockdev/ |
| H A D | unpack.sh | 16 ./rkImageMaker -unpack update.img output || pause 17 ./afptool -unpack output/firmware.img output || pause
|
| H A D | readme.txt | 9 run unpack.sh
|
| /OK3568_Linux_fs/yocto/poky/bitbake/lib/bb/fetch2/ |
| H A D | npmsw.py | 84 unpack = True 165 unpack = False 175 "unpack": unpack, 239 def unpack(self, ud, rootdir, d): member in NpmShrinkWrap 254 ud.proxy.unpack(destdir, auto)
|
| H A D | gitannex.py | 65 def unpack(self, ud, destdir, d): member in GitANNEX 66 Git.unpack(self, ud, destdir, d)
|
| H A D | crate.py | 76 def unpack(self, ud, rootdir, d): member in Crate 83 super(Crate, self).unpack(ud, rootdir, d)
|
| H A D | gitsm.py | 201 def unpack(self, ud, destdir, d): member in GitSM 213 newfetch.unpack(root=os.path.dirname(os.path.join(repo_conf, 'modules', module))) 233 Git.unpack(self, ud, destdir, d)
|
| /OK3568_Linux_fs/buildroot/package/copas/ |
| H A D | 0001-Do-not-load-coxpcall-for-LuaJIT.patch | 39 local unpack = function(t) return (table.unpack or unpack)(t, 1, t.n or #t) end
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-graphics/mesa/files/ |
| H A D | 0001-util-format-Check-for-NEON-before-using-it.patch | 32 … const struct util_format_unpack_description *unpack = util_format_unpack_description_neon(format); 33 if (unpack) { 34 util_format_unpack_table[format] = unpack;
|
| /OK3568_Linux_fs/u-boot/tools/binman/etype/ |
| H A D | intel_descriptor.py | 23 val = struct.unpack('<L', data[pos:pos + 4])[0] 44 flvalsig, flmap0, flmap1, flmap2 = struct.unpack('<LLLL',
|
| /OK3568_Linux_fs/yocto/poky/bitbake/lib/bb/tests/ |
| H A D | fetch.py | 647 fetcher.unpack(self.unpackdir) 688 fetcher.unpack(self.unpackdir) 767 fetcher.unpack(self.unpackdir) 903 fetcher.unpack(self.unpackdir) 968 fetcher.unpack(self.unpackdir) 1060 fetcher.unpack(self.unpackdir) 1080 fetcher.unpack(self.unpackdir) 1096 fetcher.unpack(self.unpackdir) 1116 fetcher.unpack(self.unpackdir) 1130 fetcher.unpack(self.unpackdir) [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/msm/disp/mdp4/ |
| H A D | mdp4_plane.c | 313 MDP4_PIPE_SRC_UNPACK_ELEM0(format->unpack[0]) | in mdp4_plane_mode_set() 314 MDP4_PIPE_SRC_UNPACK_ELEM1(format->unpack[1]) | in mdp4_plane_mode_set() 315 MDP4_PIPE_SRC_UNPACK_ELEM2(format->unpack[2]) | in mdp4_plane_mode_set() 316 MDP4_PIPE_SRC_UNPACK_ELEM3(format->unpack[3])); in mdp4_plane_mode_set()
|
| /OK3568_Linux_fs/kernel/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/ |
| H A D | EventClass.py | 60 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)
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-python/recipes-devtools/python/python3-pydbus/ |
| H A D | 0001-Support-asynchronous-calls-58.patch | 64 - 0, timeout_to_glib(timeout), None).unpack() 67 + ret = values.unpack()
|
| /OK3568_Linux_fs/kernel/Documentation/networking/device_drivers/atm/ |
| H A D | cxacru-cf.py | 45 sys.stdout.write("{0:x}={1}".format(i, struct.unpack("<I", buf)[0]))
|
| /OK3568_Linux_fs/yocto/poky/bitbake/doc/bitbake-user-manual/ |
| H A D | bitbake-user-manual-fetching.rst | 43 fetcher.unpack(rootdir) 151 .. _bb-the-unpack: 156 The unpack process usually immediately follows the download. For all 157 URLs except Git URLs, BitBake uses the common ``unpack`` method. 160 govern the behavior of the unpack stage: 162 - *unpack:* Controls whether the URL components are unpacked. If set to 164 "0", the unpack stage leaves the file alone. This parameter is useful 176 The unpack call automatically decompresses and extracts files with ".Z", 180 As mentioned, the Git fetcher has its own unpack method that is 386 bare clone is then cloned into the work directory during the unpack [all …]
|