Searched refs:pack_into (Results 1 – 6 of 6) sorted by relevance
/AliOS-Things-master/components/py_engine/tests/basics/ |
A D | struct1.py | 67 struct.pack_into('<bbb', buf, 3, 0x41, 0x42, 0x43) 69 struct.pack_into('<bbb', buf, -6, 0x44, 0x45, 0x46) 74 struct.pack_into('I', bytearray(1), 0, 0) 79 struct.pack_into('<bbb', buf, 7, 0x41, 0x42, 0x43) 83 struct.pack_into('<bbb', buf, -10, 0x41, 0x42, 0x43)
|
A D | struct_endian.py | 21 struct.pack_into('i', buf, 1, 0x30313233) 23 struct.pack_into('@ii', buf, 3, 0x34353637, 0x41424344)
|
A D | struct2.py | 34 struct.pack_into('2I', bytearray(4), 0, 0) 67 struct.pack_into('1', bytearray(4), 0, 'xx')
|
/AliOS-Things-master/components/amp-utility/python/ |
A D | ustruct.py | 28 def pack_into(fmt, buffer, offset, v1, v2): function
|
/AliOS-Things-master/components/py_engine/engine/drivers/display/ |
A D | lcd160cr.py | 6 from ustruct import calcsize, pack_into 95 pack_into(fmt, buf, 0, 2, a0, a1, a2) 100 pack_into(fmt, buf, 0, 2, a0, a1, a2, a3, a4) 433 pack_into( 451 pack_into("<BBBHHHHHHHH", self.buf19, 0, 2, 0x55, win, x, y, w, h, vec, pat, fill, color)
|
/AliOS-Things-master/components/py_engine/engine/tools/ |
A D | mpy_ld.py | 585 struct.pack_into("<I", env.full_text, r_offset, (existing + reloc) & 0xFFFFFFFF) 594 struct.pack_into("<HH", env.full_text, r_offset, b_h, b_l) 654 struct.pack_into(struct_type, data, r_offset, existing + addr)
|
Completed in 9 milliseconds