Home
last modified time | relevance | path

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

123

/aosp_15_r20/external/pigweed/pw_tokenizer/py/pw_tokenizer/
H A Ddetokenize.py337 output: BinaryIO,
347 output: BinaryIO,
355 input_file: io.RawIOBase | BinaryIO,
356 output: BinaryIO,
376 input_file: io.RawIOBase | BinaryIO,
377 output: BinaryIO,
594 self, binary_io: io.RawIOBase | BinaryIO
666 binary_io: io.RawIOBase | BinaryIO,
705 file: BinaryIO,
706 output: BinaryIO,
[all …]
H A 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):
H A Dtokens.py558 def file_is_binary_database(fd: BinaryIO) -> bool:
592 def parse_binary(fd: BinaryIO) -> Iterable[TokenizedStringEntry]:
634 def write_binary(database: Database, fd: BinaryIO) -> None:
711 def __init__(self, path: Path, fd: BinaryIO) -> None:
H A Dserial_detokenizer.py86 output: BinaryIO,
/aosp_15_r20/external/tink/python/examples/streaming_aead/
H A 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,
/aosp_15_r20/external/pigweed/pw_build_info/py/pw_build_info/
H A 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:
/aosp_15_r20/external/tink/python/tink/streaming_aead/
H A 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,
H A D_streaming_aead.py33 def new_encrypting_stream(self, ciphertext_destination: BinaryIO,
70 def new_decrypting_stream(self, ciphertext_source: BinaryIO,
H A D_raw_streaming_aead.py36 def new_raw_encrypting_stream(self, ciphertext_destination: BinaryIO,
75 ciphertext_source: BinaryIO,
H A D_streaming_aead_key_manager.py33 def new_raw_encrypting_stream(self, ciphertext_destination: BinaryIO,
41 ciphertext_source: BinaryIO,
H A D_file_object_adapter.py29 def __init__(self, file_object: BinaryIO):
H A D_rewindable_input_stream.py26 def __init__(self, input_stream: BinaryIO):
H A D_decrypting_stream_test.py42 ciphertext_source: BinaryIO,
H A D_encrypting_stream.py46 ciphertext_destination: BinaryIO, associated_data: bytes):
H A D_decrypting_stream.py34 ciphertext_source: BinaryIO, associated_data: bytes, *,
/aosp_15_r20/build/make/tools/releasetools/
H A Dmerge_ota.py41 def WriteDataBlob(payload: Payload, outfp: BinaryIO, read_size=1024*64):
48 def ConcatBlobs(payloads: List[Payload], outfp: BinaryIO):
160 def WriteHeaderAndManifest(manifest: DeltaArchiveManifest, fp: BinaryIO):
/aosp_15_r20/external/pigweed/pw_bloat/py/pw_bloat/
H A Dbloaty_config.py255 def _get_segments_to_memory_region_map(elf_file: BinaryIO) -> dict | None:
361 elf_file: BinaryIO,
/aosp_15_r20/external/pytorch/tools/linter/adapters/
H A Dblack_linter.py48 stdin: BinaryIO,
70 stdin: BinaryIO,
/aosp_15_r20/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:
/aosp_15_r20/external/tink/testing/cross_language/util/
H A D_primitives.py237 def new_encrypting_stream(self, plaintext: BinaryIO,
249 def new_decrypting_stream(self, ciphertext: BinaryIO,
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/Analysis/models/
H A Dlog_reader.py69 def read_tensor(fs: typing.BinaryIO, ts: TensorSpec) -> TensorValue:
/aosp_15_r20/external/trusty/arm-trusted-firmware/tools/memory/memory/
Delfparser.py31 def __init__(self, elf_file: BinaryIO):
/aosp_15_r20/external/tink/python/tink/
H A D_keyset_writer.py69 def __init__(self, binary_io_stream: BinaryIO):
/aosp_15_r20/external/python/bumble/bumble/
Dsnoop.py72 def __init__(self, output: BinaryIO):
/aosp_15_r20/external/perfetto/python/perfetto/trace_uri_resolver/
H A Dutil.py27 def read_generator(trace: BinaryIO):

123