/scripts/pylib/pytest-twister-harness/src/twister_harness/device/ |
A D | qemu_adapter.py | 49 def _read_device_output(self) -> bytes: 57 def _write_to_device(self, data: bytes) -> None: argument
|
A D | fifo_handler.py | 122 def read(self, __size: int = -1) -> bytes: 125 def readline(self, __size: int | None = None) -> bytes: 128 def write(self, __buffer: bytes) -> int: argument
|
A D | hardware_adapter.py | 216 def _read_device_output(self) -> bytes: 224 def _readline_serial(self) -> bytes: 250 def _readline_from_serial_buffer(self) -> bytes | None: 255 return bytes(line) 259 def _write_to_device(self, data: bytes) -> None: argument
|
A D | binary_adapter.py | 89 def _read_device_output(self) -> bytes: 92 def _write_to_device(self, data: bytes) -> None: argument
|
A D | device_adapter.py | 214 def write(self, data: bytes) -> None: argument 311 def _read_device_output(self) -> bytes: 320 def _write_to_device(self, data: bytes) -> None: argument
|
/scripts/dts/python-devicetree/src/devicetree/ |
A D | edtlib.py | 1899 data: bytes, argument 2956 child_spec: bytes argument 2992 child_spec: bytes, argument 3015 child_spec: bytes, argument 3096 child_spec: bytes argument 3097 ) -> bytes: 3118 child_spec: bytes, argument 3120 ) -> bytes: 3183 def _and(b1: bytes, b2: bytes) -> bytes: argument 3193 def _or(b1: bytes, b2: bytes) -> bytes: argument [all …]
|
A D | dtlib.py | 466 def to_bytes(self) -> bytes: 2092 def to_num(data: bytes, length: Optional[int] = None, argument 2113 def to_nums(data: bytes, length: int = 4, signed: bool = False) -> list[int]: argument 2133 if not isinstance(data, bytes):
|
/scripts/coredump/gdbstubs/ |
A D | gdbstub.py | 206 response += b"," + bytes(str(thread_count), 'ascii') 222 response += b"," + bytes(f'{thread_count:x}', 'ascii') 256 thread_info_bytes += b', state: ' + bytes(hex(thread_state), 'ascii') 262 … thread_info_bytes += b', user_options: ' + bytes(hex(thread_user_options), 'ascii') 268 thread_info_bytes += b', prio: ' + bytes(hex(thread_prio), 'ascii')
|
/scripts/build/ |
A D | uf2conv.py | 122 return bytes(outp, "utf-8") 150 self.bytes = bytearray(256) 160 hd += self.bytes[0:256] 196 currblock.bytes[addr & 0xff] = rec[i]
|
A D | gen_offset_header.py | 43 if isinstance(sym.name, bytes):
|
A D | elf_parser.py | 168 return bytes(data[offset:offset + length])
|
/scripts/ |
A D | gen_gcov_files.py | 61 fp.write(bytes.fromhex(hexdump_val))
|
/scripts/schemas/ |
A D | patch-schema.yml | 15 # E.g. zephyr/kernel-pipe-fix-not-k-no-wait-and-ge-min-xfer-bytes.patch
|
/scripts/utils/ |
A D | tls_creds_installer.py | 151 ser.write(bytes((line + CMD_TERM_DICT[cmd_term_key]).encode('utf-8')))
|
/scripts/pylib/twister/twisterlib/ |
A D | coverage.py | 102 fp.write(bytes.fromhex(dump)) 128 hex_bytes = bytes.fromhex(hexdump_val)
|
/scripts/west_commands/ |
A D | bindesc.py | 333 if isinstance(value, int | bytes):
|
/scripts/west_commands/runners/ |
A D | jlink.py | 573 f.writelines(bytes(line + '\n', 'utf-8') for line in lines)
|
A D | core.py | 892 def check_output(self, cmd: list[str], **kwargs) -> bytes:
|
/scripts/dts/python-devicetree/tests/ |
A D | test.dts | 539 bytes = [81 82 83];
|