/aosp12/packages/modules/Virtualization/authfs/fd_server/src/ |
H A D | fsverity.rs | 42 fn read_metadata(fd: i32, metadata_type: u64, offset: u64, buf: &mut [u8]) -> io::Result<usize> { in read_metadata() 64 pub fn read_merkle_tree(fd: i32, offset: u64, buf: &mut [u8]) -> io::Result<usize> { in read_merkle_tree() 69 pub fn read_signature(fd: i32, buf: &mut [u8]) -> io::Result<usize> { in read_signature()
|
H A D | main.rs | 62 fn validate_and_cast_size(size: i32) -> Result<usize, Status> { in validate_and_cast_size() 229 fn read_into_buf(file: &File, max_size: usize, offset: u64) -> io::Result<Vec<u8>> { in read_into_buf()
|
/aosp12/packages/modules/Virtualization/authfs/src/fsverity/ |
H A D | editor.rs | 101 offset_from_alignment: usize, in new_hash_for_incomplete_write() 102 output_chunk_index: usize, in new_hash_for_incomplete_write() 132 offset_from_alignment: usize, in new_chunk_hash() 133 current_size: usize, in new_chunk_hash() 134 output_chunk_index: usize, in new_chunk_hash() 159 fn write_at(&self, buf: &[u8], offset: u64) -> io::Result<usize> { in write_at() 258 fn read_chunk(&self, chunk_index: u64, buf: &mut ChunkBuffer) -> io::Result<usize> { in read_chunk() 286 fn write_at(&self, buf: &[u8], offset: u64) -> io::Result<usize> { in write_at() 306 fn read_chunk(&self, chunk_index: u64, buf: &mut ChunkBuffer) -> io::Result<usize> { in read_chunk()
|
H A D | builder.rs | 64 pub fn resize(&mut self, new_file_size: usize) { in resize() 73 pub fn update_hash(&mut self, index: usize, hash: &Sha256Hash, size_at_least: u64) { in update_hash() 93 pub fn is_consistent(&self, index: usize, hash: &Sha256Hash) -> bool { in is_consistent()
|
H A D | verifier.rs | 160 fn read_chunk(&self, chunk_index: u64, buf: &mut ChunkBuffer) -> io::Result<usize> { in read_chunk()
|
/aosp12/packages/modules/Virtualization/authfs/src/ |
H A D | common.rs | 33 pub fn new(remaining: usize, offset: u64, alignment: usize) -> Self { in new() 60 fn collect_chunk_read_iter(remaining: usize, offset: u64) -> Vec<(u64, usize)> { in collect_chunk_read_iter() argument
|
H A D | file.rs | 28 fn read_chunk(&self, chunk_index: u64, buf: &mut ChunkBuffer) -> io::Result<usize>; in read_chunk() 39 fn write_at(&self, buf: &[u8], offset: u64) -> io::Result<usize>; in write_at()
|
H A D | fusefs.rs | 148 ) -> io::Result<usize> { in read_chunks() 286 ) -> io::Result<usize> { in read() 319 ) -> io::Result<usize> { in write()
|
/aosp12/packages/modules/Virtualization/authfs/src/file/ |
H A D | remote_file.rs | 35 ) -> io::Result<usize> { in remote_read_chunk() 62 fn read_chunk(&self, chunk_index: u64, buf: &mut ChunkBuffer) -> io::Result<usize> { in read_chunk() 81 fn read_chunk(&self, chunk_index: u64, buf: &mut ChunkBuffer) -> io::Result<usize> { in read_chunk() 110 fn write_at(&self, buf: &[u8], offset: u64) -> io::Result<usize> { in write_at() 135 fn read_chunk(&self, chunk_index: u64, buf: &mut ChunkBuffer) -> io::Result<usize> { in read_chunk()
|
H A D | local_file.rs | 44 fn read_chunk(&self, chunk_index: u64, buf: &mut ChunkBuffer) -> io::Result<usize> { in read_chunk()
|
/aosp12/system/security/keystore2/src/vintf/ |
H A D | lib.rs | 72 major_version: usize, in get_hidl_instances() 73 minor_version: usize, in get_hidl_instances() 96 pub fn get_aidl_instances(package: &str, version: usize, interface_name: &str) -> HalNames { in get_aidl_instances()
|
/aosp12/system/bt/gd/rust/link/src/acl/ |
H A D | fragment.rs | 80 fn get_l2cap_pdu_size(first_packet: &Bytes) -> usize { in get_l2cap_pdu_size() 92 mtu: usize, in fragmenting_stream()
|
/aosp12/system/security/keystore2/src/ |
H A D | shared_secret_negotiation.rs | 90 version: (usize, usize), in filter_map_legacy_km_instances() argument
|
H A D | boot_level_keys.rs | 220 boot_level: usize, in expand_key() 221 out_len: usize, in expand_key()
|
H A D | operation.rs | 216 index: usize, in new()
|
H A D | database.rs | 1131 max_blobs: usize, in handle_next_superseded_blobs() 1220 pub fn cleanup_leftovers(&mut self) -> Result<usize> { in cleanup_leftovers()
|
/aosp12/system/security/keystore2/src/database/ |
H A D | utils.rs | 61 pub fn new(index: usize, row: &'a Row<'a>) -> Self { in new()
|
H A D | perboot.rs | 114 pub fn auth_tokens_len(&self) -> usize { in auth_tokens_len()
|
/aosp12/system/security/keystore2/src/crypto/ |
H A D | zvec.rs | 46 pub fn reduce_len(&mut self, len: usize) { in reduce_len()
|
H A D | lib.rs | 253 pub fn hkdf_expand(out_len: usize, prk: &[u8], info: &[u8]) -> Result<ZVec, Error> { in hkdf_expand()
|
/aosp12/packages/modules/Virtualization/zipfuse/src/ |
H A D | main.rs | 254 ) -> io::Result<usize> { in read()
|