Lines Matching +full:0 +full:b
18 MANIFEST_ENTRY_SIZE = 0x80
19 HEADER_SIZE = 0x1000
20 PAGE_SIZE = 0x1000
42 struct.pack_into('<4s', m, 0, ext_id)
54 return int(size / PAGE_SIZE) + (size % PAGE_SIZE > 0)
69 f.write(gen_manifest(b'ISHM', b'ISH_KERN', HEADER_SIZE, kern_rdup_pg_size))
75 f.write(gen_manifest(b'ISHM', b'AON_TASK',
80 f.write(gen_manifest(b'ISHE', b'', 0, 0))
82 # Pad the remaining HEADER with 0s
84 f.write(b'\x00' * (HEADER_SIZE - (MANIFEST_ENTRY_SIZE * 3)))
86 f.write(b'\x00' * (HEADER_SIZE - (MANIFEST_ENTRY_SIZE * 2)))
92 f.write(b'\x00' * (kern_rdup_pg_size * PAGE_SIZE - kernel_size))
99 f.write(b'\x00' * (aon_rdup_pg_size * PAGE_SIZE - aon_size))