Searched defs:BinaryIO (Results 1 – 8 of 8) sorted by relevance
/external/pigweed/pw_tokenizer/py/pw_tokenizer/ |
D | detokenize.py | 290 def _read_next(self, fd: BinaryIO) -> Tuple[bytes, int]: 298 binary_fd: BinaryIO) -> Iterator[Tuple[bool, bytes]]: 324 def transform(self, binary_fd: BinaryIO, 374 input_file: BinaryIO, 375 output: BinaryIO, 400 output: BinaryIO, 431 file: BinaryIO, 432 output: BinaryIO, 449 def _handle_base64(databases, input_file: BinaryIO, output: BinaryIO,
|
D | elf_reader.py | 38 def _check_next_bytes(fd: BinaryIO, expected: bytes, what: str) -> None: 46 def files_in_archive(fd: BinaryIO) -> Iterable[int]: 87 def _elf_files_in_archive(fd: BinaryIO): 135 def read_c_string(fd: BinaryIO) -> bytes: 145 def _bytes_match(fd: BinaryIO, expected: bytes) -> bool: 156 def compatible_file(file: Union[BinaryIO, str, Path]) -> bool: 178 def __init__(self, elf: BinaryIO): 243 def __init__(self, elf: BinaryIO):
|
D | tokens.py | 315 def write_csv(database: Database, fd: BinaryIO) -> None: 341 def file_is_binary_database(fd: BinaryIO) -> bool: 374 def parse_binary(fd: BinaryIO) -> Iterable[TokenizedStringEntry]: 411 def write_binary(database: Database, fd: BinaryIO) -> None:
|
D | serial_detokenizer.py | 67 baudrate: int, show_errors: bool, output: BinaryIO,
|
/external/python/rsa/rsa/ |
D | pkcs1.py | 391 def yield_fixedblocks(infile: typing.BinaryIO, blocksize: int) -> typing.Iterator[bytes]: 412 def compute_hash(message: typing.Union[bytes, typing.BinaryIO], method_name: str) -> bytes:
|
/external/pigweed/pw_hdlc/py/pw_hdlc/ |
D | rpc.py | 113 def write_to_file(data: bytes, output: BinaryIO = sys.stdout.buffer):
|
/external/python/cpython3/Lib/ |
D | typing.py | 2130 class BinaryIO(IO[bytes]): class 2185 BinaryIO = BinaryIO variable in io
|
/external/python/cpython3/Lib/test/ |
D | test_typing.py | 3967 def stuff(a: BinaryIO) -> bytes:
|