Home
last modified time | relevance | path

Searched refs:BinaryIO (Results 1 – 11 of 11) sorted by relevance

/external/pigweed/pw_tokenizer/py/pw_tokenizer/
Ddetokenize.py47 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
Delf_reader.py31 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
Dserial_detokenizer.py22 from typing import BinaryIO, Iterable
67 baudrate: int, show_errors: bool, output: BinaryIO, argument
Dtokens.py25 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/
Drpc.py21 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/
Dresources.py14 from typing.io import BinaryIO, TextIO
85 def open_binary(package: Package, resource: Resource) -> BinaryIO:
/external/python/rsa/rsa/
Dpkcs1.py391 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/
Dtyping.py2130 class BinaryIO(IO[bytes]): class
2151 def buffer(self) -> BinaryIO:
2185 BinaryIO = BinaryIO variable in io
/external/python/cpython3/Lib/test/
Dtest_typing.py23 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/
Dtyping.rst1177 BinaryIO
1180 and ``BinaryIO(IO[bytes])``
Dimportlib.rst899 ``typing.BinaryIO`` instance, a binary I/O stream open for reading.