Home
last modified time | relevance | path

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

12

/external/tink/python/examples/streaming_aead/
Dstreaming_aead.py53 def read_as_blocks(file: BinaryIO):
72 def encrypt_file(input_file: BinaryIO, output_file: BinaryIO,
89 def decrypt_file(input_file: BinaryIO, output_file: BinaryIO,
/external/pigweed/pw_build_info/py/pw_build_info/
Dbuild_id.py32 def read_build_id_from_section(elf_file: BinaryIO) -> bytes | None:
85 def read_build_id_from_symbol(elf_file: BinaryIO) -> bytes | None:
121 def read_build_id(elf_file: BinaryIO) -> bytes | None:
149 def _main(elf_file: BinaryIO) -> int:
/external/pigweed/pw_tokenizer/py/pw_tokenizer/
Delf_reader.py46 def _check_next_bytes(fd: BinaryIO, expected: bytes, what: str) -> None:
55 def files_in_archive(fd: BinaryIO) -> Iterable[int]:
97 def _elf_files_in_archive(fd: BinaryIO):
145 def read_c_string(fd: BinaryIO) -> bytes:
155 def _bytes_match(fd: BinaryIO, expected: bytes) -> bool:
189 def __init__(self, elf: BinaryIO):
257 def __init__(self, elf: BinaryIO):
Ddetokenize.py322 output: BinaryIO,
333 output: BinaryIO,
342 input_file: io.RawIOBase | BinaryIO,
343 output: BinaryIO,
364 input_file: io.RawIOBase | BinaryIO,
365 output: BinaryIO,
602 self, binary_io: io.RawIOBase | BinaryIO
674 binary_io: io.RawIOBase | BinaryIO,
714 file: BinaryIO,
715 output: BinaryIO,
[all …]
Dtokens.py376 def write_csv(database: Database, fd: BinaryIO) -> None:
382 def _write_csv_line(fd: BinaryIO, entry: TokenizedStringEntry):
410 def file_is_binary_database(fd: BinaryIO) -> bool:
444 def parse_binary(fd: BinaryIO) -> Iterable[TokenizedStringEntry]:
486 def write_binary(database: Database, fd: BinaryIO) -> None:
563 def __init__(self, path: Path, fd: BinaryIO) -> None:
Dserial_detokenizer.py86 output: BinaryIO,
/external/tink/python/tink/streaming_aead/
D_streaming_aead.py33 def new_encrypting_stream(self, ciphertext_destination: BinaryIO,
70 def new_decrypting_stream(self, ciphertext_source: BinaryIO,
D_raw_streaming_aead.py36 def new_raw_encrypting_stream(self, ciphertext_destination: BinaryIO,
75 ciphertext_source: BinaryIO,
D_streaming_aead_wrapper.py34 ciphertext_source: BinaryIO, associated_data: bytes):
144 def new_encrypting_stream(self, ciphertext_destination: BinaryIO,
150 def new_decrypting_stream(self, ciphertext_source: BinaryIO,
D_streaming_aead_key_manager.py33 def new_raw_encrypting_stream(self, ciphertext_destination: BinaryIO,
41 ciphertext_source: BinaryIO,
D_file_object_adapter.py29 def __init__(self, file_object: BinaryIO):
D_rewindable_input_stream.py26 def __init__(self, input_stream: BinaryIO):
D_decrypting_stream_test.py42 ciphertext_source: BinaryIO,
D_encrypting_stream.py46 ciphertext_destination: BinaryIO, associated_data: bytes):
D_decrypting_stream.py34 ciphertext_source: BinaryIO, associated_data: bytes, *,
/external/pigweed/pw_bloat/py/pw_bloat/
Dbloaty_config.py255 def _get_segments_to_memory_region_map(elf_file: BinaryIO) -> dict | None:
361 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/swiftshader/third_party/llvm-16.0/llvm/lib/Analysis/models/
Dlog_reader.py69 def read_tensor(fs: typing.BinaryIO, ts: TensorSpec) -> TensorValue:
/external/pigweed/pw_snapshot/py/pw_snapshot/
Dprocessor.py192 in_file: BinaryIO,
/external/tink/python/tink/
D_keyset_writer.py69 def __init__(self, binary_io_stream: BinaryIO):
/external/trusty/arm-trusted-firmware/tools/memory/memory/
Delfparser.py31 def __init__(self, elf_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/tink/testing/cross_language/util/
D_primitives.py237 def new_encrypting_stream(self, plaintext: BinaryIO,
249 def new_decrypting_stream(self, ciphertext: BinaryIO,
/external/python/cpython3/Lib/tomllib/
D_parser.py57 def load(fp: BinaryIO, /, *, parse_float: ParseFloat = float) -> dict[str, Any]:

12