Home
last modified time | relevance | path

Searched refs:pack (Results 1 – 13 of 13) sorted by relevance

/system/tools/mkbootimg/
Dmkbootimg.py23 from struct import pack
80 sha.update(pack('I', filesize(f)))
82 sha.update(pack('I', 0))
87 f.write(pack(str(pad) + 'x'))
113 args.output.write(pack(f'{BOOT_MAGIC_SIZE}s', BOOT_MAGIC.encode()))
115 args.output.write(pack('I', filesize(args.kernel)))
117 args.output.write(pack('I', filesize(args.ramdisk)))
119 args.output.write(pack('I', (args.os_version << 11) | args.os_patch_level))
120 args.output.write(pack('I', boot_header_size))
122 args.output.write(pack('4I', 0, 0, 0, 0))
[all …]
/system/bt/tools/scripts/
Dbtsnooz.py111 sys.stdout.write(struct.pack('>II', length, length))
112 sys.stdout.write(struct.pack('>II', type_to_direction(type), 0))
113 …sys.stdout.write(struct.pack('>II', (first_timestamp_ms >> 32), (first_timestamp_ms & 0xFFFFFFFF)))
138 sys.stdout.write(struct.pack('>II', packet_length, length))
139 sys.stdout.write(struct.pack('>II', type_to_direction(snooz_type), 0))
140 …sys.stdout.write(struct.pack('>II', (first_timestamp_ms >> 32), (first_timestamp_ms & 0xFFFFFFFF)))
/system/extras/simpleperf/scripts/
Dreport.py198 frame.pack(fill=BOTH, expand=1)
205 label.pack(anchor=W, padx=PAD_X, pady=PAD_Y)
209 label.pack(anchor=W, padx=PAD_X, pady=PAD_Y)
213 label.pack(anchor=W, padx=PAD_X, pady=PAD_Y)
217 report_frame.pack(fill=BOTH, expand=1)
220 yscrollbar.pack(side=RIGHT, fill=Y)
222 xscrollbar.pack(side=BOTTOM, fill=X)
225 tree.pack(side=LEFT, fill=BOTH, expand=1)
/system/extras/ioshark/
Dioshark.h26 #pragma pack(push, 1)
131 #pragma pack(pop)
/system/chre/chpp/include/chpp/
Dmacros.h152 #define CHPP_PACKED_START __pragma(pack(push, 1))
153 #define CHPP_PACKED_END __pragma(pack(pop))
/system/memory/lmkd/include/
Dlmkd.h58 static inline enum lmk_cmd lmkd_pack_get_cmd(LMKD_CTRL_PACKET pack) { in lmkd_pack_get_cmd() argument
59 return (enum lmk_cmd)ntohl(pack[0]); in lmkd_pack_get_cmd()
/system/teeui/tools/framebufferizer/src/com/android/framebufferizer/
DMain.java45 theFrame.pack(); in createAndShowUI()
/system/extras/verity/
Dbuild_verity_metadata.py44 block = struct.pack("II256sI", magic, VERSION, signature, table_len)
/system/extras/memory_replay/traces/
DTRACES78 for a male character, Spec Requirement set to High, resource pack
/system/update_engine/scripts/update_payload/
Dtest_utils.py73 file_obj.write(struct.pack(common.IntPackingFmtStr(size, is_unsigned), val))
/system/libufdt/utils/
DREADME.md11 You can use `mkdtimg` to pack one or more DTB/DTBO files into an image.
/system/chre/build/sys_support/qcom/
Dchre.scons376 # Clean / pack rules
/system/chre/external/flatbuffers/include/flatbuffers/
Dflatbuffers.h2735 __pragma(pack(1)) \
2738 __pragma(pack()) \