Home
last modified time | relevance | path

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

12

/external/pigweed/pw_build_info/py/pw_build_info/
Dbuild_id.py20 from typing import BinaryIO, Optional
32 def read_build_id_from_section(elf_file: BinaryIO) -> Optional[bytes]: argument
85 def read_build_id_from_symbol(elf_file: BinaryIO) -> Optional[bytes]: argument
121 def read_build_id(elf_file: BinaryIO) -> Optional[bytes]: argument
149 def _main(elf_file: BinaryIO) -> int: argument
/external/pigweed/pw_tokenizer/py/pw_tokenizer/
Delf_reader.py33 BinaryIO,
47 def _check_next_bytes(fd: BinaryIO, expected: bytes, what: str) -> None: argument
56 def files_in_archive(fd: BinaryIO) -> Iterable[int]: argument
98 def _elf_files_in_archive(fd: BinaryIO): argument
146 def read_c_string(fd: BinaryIO) -> bytes: argument
156 def _bytes_match(fd: BinaryIO, expected: bytes) -> bool: argument
167 def compatible_file(file: Union[BinaryIO, str, Path]) -> bool: argument
190 def __init__(self, elf: BinaryIO): argument
258 def __init__(self, elf: BinaryIO): argument
Ddetokenize.py48 BinaryIO,
76 _RawIO = Union[io.RawIOBase, BinaryIO]
253 output: BinaryIO, argument
270 output: BinaryIO, argument
501 file: BinaryIO, argument
502 output: BinaryIO, argument
522 input_file: BinaryIO, argument
523 output: BinaryIO, argument
Dserial_detokenizer.py22 from typing import BinaryIO, Iterable
86 output: BinaryIO, argument
Dtokens.py28 BinaryIO,
379 def write_csv(database: Database, fd: BinaryIO) -> None: argument
385 def _write_csv_line(fd: BinaryIO, entry: TokenizedStringEntry): argument
413 def file_is_binary_database(fd: BinaryIO) -> bool: argument
447 def parse_binary(fd: BinaryIO) -> Iterable[TokenizedStringEntry]: argument
489 def write_binary(database: Database, fd: BinaryIO) -> None: argument
566 def __init__(self, path: Path, fd: BinaryIO) -> None: argument
/external/perfetto/python/perfetto/trace_uri_resolver/
Dutil.py16 from typing import Any, BinaryIO, Callable, Dict, List, Optional, Tuple
27 def read_generator(trace: BinaryIO): argument
Dresolver.py17 from typing import BinaryIO, Dict, Generator, List, Type, Union
24 TraceContent = Union[BinaryIO, TraceGenerator]
/external/python/setuptools/pkg_resources/_vendor/importlib_resources/
Dabc.py2 from typing import BinaryIO, Iterable, Text
11 def open_resource(self, resource: Text) -> BinaryIO:
D_legacy.py7 from typing import Union, Iterable, ContextManager, BinaryIO, TextIO, Any
44 def open_binary(package: Package, resource: Resource) -> BinaryIO:
Dsimple.py8 from typing import BinaryIO, List
/external/python/setuptools/setuptools/_vendor/importlib_resources/
Dabc.py2 from typing import BinaryIO, Iterable, Text
11 def open_resource(self, resource: Text) -> BinaryIO:
D_legacy.py7 from typing import Union, Iterable, ContextManager, BinaryIO, TextIO, Any
44 def open_binary(package: Package, resource: Resource) -> BinaryIO:
Dsimple.py8 from typing import BinaryIO, List
/external/python/bumble/bumble/
Dsnoop.py23 from typing import BinaryIO, Generator
71 def __init__(self, output: BinaryIO): argument
/external/pigweed/pw_bloat/py/pw_bloat/
Dbloaty_config.py20 from typing import BinaryIO, Dict, List, NamedTuple, Optional, TextIO
255 def _get_segments_to_memory_region_map(elf_file: BinaryIO) -> Optional[Dict]: argument
357 elf_file: BinaryIO, argument
/external/python/cpython3/Lib/importlib/
Dresources.py15 from typing.io import BinaryIO, TextIO
40 def open_binary(package: Package, resource: Resource) -> BinaryIO:
Dabc.py17 from typing import BinaryIO, Iterable, Text
316 def open_resource(self, resource: Text) -> BinaryIO:
/external/pigweed/pw_snapshot/py/pw_snapshot/
Dprocessor.py21 from typing import Optional, BinaryIO, TextIO, Callable
170 in_file: BinaryIO, argument
/external/pigweed/pw_build_info/
Ddocs.rst120 .. py:function:: read_build_id_from_section(elf_file: BinaryIO) -> \
126 .. py:function:: read_build_id_from_symbol(elf_file: BinaryIO) -> \
132 .. py:function:: read_build_id(elf_file: BinaryIO) -> Optional[bytes]
/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/pigweed/pw_hdlc/py/pw_hdlc/
Drpc.py27 BinaryIO,
133 def write_to_file(data: bytes, output: BinaryIO = sys.stdout.buffer): argument
/external/pigweed/pw_transfer/integration_test/
Dtest_fixture.py25 from typing import BinaryIO, Iterable, List, NamedTuple, Optional
503 server_file: BinaryIO
504 client_file: BinaryIO
/external/python/setuptools/setuptools/_vendor/tomli/
D_parser.py10 from typing import Any, BinaryIO, NamedTuple
57 def load(__fp: BinaryIO, *, parse_float: ParseFloat = float) -> dict[str, Any]: argument
/external/python/cpython3/Lib/
Dtyping.py2602 class BinaryIO(IO[bytes]): class
2623 def buffer(self) -> BinaryIO:
2657 BinaryIO = BinaryIO variable in io
/external/python/cpython3/Misc/NEWS.d/
D3.10.0b2.rst291 Add ``IO``, ``BinaryIO``, ``TextIO``, ``Match``, and ``Pattern`` to

12