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]:
81 def read_build_id_from_symbol(elf_file: BinaryIO) -> Optional[bytes]:
116 def read_build_id(elf_file: BinaryIO) -> Optional[bytes]:
144 def _main(elf_file: BinaryIO) -> int:
/external/pigweed/pw_tokenizer/py/pw_tokenizer/
Ddetokenize.py221 output: BinaryIO,
233 input_file: BinaryIO,
234 output: BinaryIO,
363 def _read_next(self, fd: BinaryIO) -> Tuple[bytes, int]:
371 binary_fd: BinaryIO) -> Iterator[Tuple[bool, bytes]]:
397 def transform(self, binary_fd: BinaryIO,
425 file: BinaryIO,
426 output: BinaryIO,
443 def _handle_base64(databases, input_file: BinaryIO, output: BinaryIO,
Delf_reader.py38 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):
Dtokens.py315 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:
Dserial_detokenizer.py67 baudrate: int, show_errors: bool, output: BinaryIO,
/external/pigweed/pw_bloat/py/pw_bloat/
Dbloaty_config.py218 def _get_segments_to_memory_region_map(elf_file: BinaryIO) -> Optional[Dict]:
307 def generate_bloaty_config(elf_file: BinaryIO, enable_memoryregions: bool,
/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/perfetto/python/perfetto/trace_uri_resolver/
Dutil.py27 def read_generator(trace: BinaryIO):
/external/pigweed/pw_snapshot/py/pw_snapshot/
Dprocessor.py147 def _load_and_dump_snapshots(in_file: BinaryIO, out_file: TextIO,
/external/pigweed/pw_hdlc/py/pw_hdlc/
Drpc_console.py291 unused_output: BinaryIO = sys.stdout.buffer,
Drpc.py120 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: