Home
last modified time | relevance | path

Searched defs:BinaryIO (Results 1 – 14 of 14) sorted by relevance

/external/pigweed/pw_build_info/py/pw_build_info/
Dbuild_id.py32 def read_build_id_from_section(elf_file: BinaryIO) -> Optional[bytes]:
85 def read_build_id_from_symbol(elf_file: BinaryIO) -> Optional[bytes]:
121 def read_build_id(elf_file: BinaryIO) -> Optional[bytes]:
149 def _main(elf_file: BinaryIO) -> int:
/external/pigweed/pw_tokenizer/py/pw_tokenizer/
Delf_reader.py47 def _check_next_bytes(fd: BinaryIO, expected: bytes, what: str) -> None:
56 def files_in_archive(fd: BinaryIO) -> Iterable[int]:
98 def _elf_files_in_archive(fd: BinaryIO):
146 def read_c_string(fd: BinaryIO) -> bytes:
156 def _bytes_match(fd: BinaryIO, expected: bytes) -> bool:
167 def compatible_file(file: Union[BinaryIO, str, Path]) -> bool:
190 def __init__(self, elf: BinaryIO):
258 def __init__(self, elf: BinaryIO):
Ddetokenize.py253 output: BinaryIO,
270 output: BinaryIO,
501 file: BinaryIO,
502 output: BinaryIO,
522 input_file: BinaryIO,
523 output: BinaryIO,
Dtokens.py379 def write_csv(database: Database, fd: BinaryIO) -> None:
385 def _write_csv_line(fd: BinaryIO, entry: TokenizedStringEntry):
413 def file_is_binary_database(fd: BinaryIO) -> bool:
447 def parse_binary(fd: BinaryIO) -> Iterable[TokenizedStringEntry]:
489 def write_binary(database: Database, fd: BinaryIO) -> None:
566 def __init__(self, path: Path, fd: BinaryIO) -> None:
Dserial_detokenizer.py86 output: BinaryIO,
/external/pigweed/pw_bloat/py/pw_bloat/
Dbloaty_config.py255 def _get_segments_to_memory_region_map(elf_file: BinaryIO) -> Optional[Dict]:
357 elf_file: BinaryIO,
/external/python/rsa/rsa/
Dpkcs1.py391 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_snapshot/py/pw_snapshot/
Dprocessor.py170 in_file: BinaryIO,
/external/python/bumble/bumble/
Dsnoop.py71 def __init__(self, output: BinaryIO):
/external/perfetto/python/perfetto/trace_uri_resolver/
Dutil.py27 def read_generator(trace: BinaryIO):
/external/pigweed/pw_hdlc/py/pw_hdlc/
Drpc.py133 def write_to_file(data: bytes, output: BinaryIO = sys.stdout.buffer):
/external/python/setuptools/setuptools/_vendor/tomli/
D_parser.py57 def load(__fp: BinaryIO, *, parse_float: ParseFloat = float) -> dict[str, Any]:
/external/python/cpython3/Lib/
Dtyping.py2602 class BinaryIO(IO[bytes]): class
2657 BinaryIO = BinaryIO variable in io
/external/python/cpython3/Lib/test/
Dtest_typing.py4509 def stuff(a: BinaryIO) -> bytes: