/external/pigweed/pw_tokenizer/py/pw_tokenizer/ |
D | detokenize.py | 47 from typing import (BinaryIO, Callable, Dict, List, Iterable, Iterator, Match, 290 def _read_next(self, fd: BinaryIO) -> Tuple[bytes, int]: argument 298 binary_fd: BinaryIO) -> Iterator[Tuple[bool, bytes]]: argument 324 def transform(self, binary_fd: BinaryIO, argument 374 input_file: BinaryIO, argument 375 output: BinaryIO, argument 400 output: BinaryIO, argument 431 file: BinaryIO, argument 432 output: BinaryIO, argument 449 def _handle_base64(databases, input_file: BinaryIO, output: BinaryIO, argument
|
D | elf_reader.py | 31 from typing import BinaryIO, Dict, Iterable, NamedTuple, Optional 38 def _check_next_bytes(fd: BinaryIO, expected: bytes, what: str) -> None: argument 46 def files_in_archive(fd: BinaryIO) -> Iterable[int]: argument 87 def _elf_files_in_archive(fd: BinaryIO): argument 135 def read_c_string(fd: BinaryIO) -> bytes: argument 145 def _bytes_match(fd: BinaryIO, expected: bytes) -> bool: argument 156 def compatible_file(file: Union[BinaryIO, str, Path]) -> bool: argument 178 def __init__(self, elf: BinaryIO): argument 243 def __init__(self, elf: BinaryIO): argument
|
D | serial_detokenizer.py | 22 from typing import BinaryIO, Iterable 67 baudrate: int, show_errors: bool, output: BinaryIO, argument
|
D | tokens.py | 25 from typing import (BinaryIO, Callable, Dict, Iterable, Iterator, List, 315 def write_csv(database: Database, fd: BinaryIO) -> None: argument 341 def file_is_binary_database(fd: BinaryIO) -> bool: argument 374 def parse_binary(fd: BinaryIO) -> Iterable[TokenizedStringEntry]: argument 411 def write_binary(database: Database, fd: BinaryIO) -> None: argument
|
/external/pigweed/pw_hdlc/py/pw_hdlc/ |
D | rpc.py | 21 from typing import (Any, BinaryIO, Callable, Dict, Iterable, List, NoReturn, 113 def write_to_file(data: bytes, output: BinaryIO = sys.stdout.buffer): argument
|
/external/python/cpython3/Lib/importlib/ |
D | resources.py | 14 from typing.io import BinaryIO, TextIO 85 def open_binary(package: Package, resource: Resource) -> BinaryIO:
|
/external/python/rsa/rsa/ |
D | pkcs1.py | 391 def yield_fixedblocks(infile: typing.BinaryIO, blocksize: int) -> typing.Iterator[bytes]: argument 412 def compute_hash(message: typing.Union[bytes, typing.BinaryIO], method_name: str) -> bytes: argument
|
/external/python/cpython3/Lib/ |
D | typing.py | 2130 class BinaryIO(IO[bytes]): class 2151 def buffer(self) -> BinaryIO: 2185 BinaryIO = BinaryIO variable in io
|
/external/python/cpython3/Lib/test/ |
D | test_typing.py | 23 from typing import IO, TextIO, BinaryIO 3967 def stuff(a: BinaryIO) -> bytes: argument 3974 from typing.io import IO, TextIO, BinaryIO, __all__, __name__ 3977 self.assertIs(BinaryIO, typing.BinaryIO)
|
/external/python/cpython3/Doc/library/ |
D | typing.rst | 1177 BinaryIO 1180 and ``BinaryIO(IO[bytes])``
|
D | importlib.rst | 899 ``typing.BinaryIO`` instance, a binary I/O stream open for reading.
|