Home
last modified time | relevance | path

Searched refs:bytes (Results 1 – 19 of 19) sorted by relevance

/scripts/pylib/pytest-twister-harness/src/twister_harness/device/
A Dqemu_adapter.py49 def _read_device_output(self) -> bytes:
57 def _write_to_device(self, data: bytes) -> None: argument
A Dfifo_handler.py122 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 Dhardware_adapter.py216 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 Dbinary_adapter.py89 def _read_device_output(self) -> bytes:
92 def _write_to_device(self, data: bytes) -> None: argument
A Ddevice_adapter.py214 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 Dedtlib.py1899 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 Ddtlib.py466 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 Dgdbstub.py206 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 Duf2conv.py122 return bytes(outp, "utf-8")
150 self.bytes = bytearray(256)
160 hd += self.bytes[0:256]
196 currblock.bytes[addr & 0xff] = rec[i]
A Dgen_offset_header.py43 if isinstance(sym.name, bytes):
A Delf_parser.py168 return bytes(data[offset:offset + length])
/scripts/
A Dgen_gcov_files.py61 fp.write(bytes.fromhex(hexdump_val))
/scripts/schemas/
A Dpatch-schema.yml15 # E.g. zephyr/kernel-pipe-fix-not-k-no-wait-and-ge-min-xfer-bytes.patch
/scripts/utils/
A Dtls_creds_installer.py151 ser.write(bytes((line + CMD_TERM_DICT[cmd_term_key]).encode('utf-8')))
/scripts/pylib/twister/twisterlib/
A Dcoverage.py102 fp.write(bytes.fromhex(dump))
128 hex_bytes = bytes.fromhex(hexdump_val)
/scripts/west_commands/
A Dbindesc.py333 if isinstance(value, int | bytes):
/scripts/west_commands/runners/
A Djlink.py573 f.writelines(bytes(line + '\n', 'utf-8') for line in lines)
A Dcore.py892 def check_output(self, cmd: list[str], **kwargs) -> bytes:
/scripts/dts/python-devicetree/tests/
A Dtest.dts539 bytes = [81 82 83];

Completed in 27 milliseconds