/packages/modules/Virtualization/libs/idsig/src/ |
D | hashtree.rs | 35 input_size: usize, in from() 37 block_size: usize, in from() 69 input_size: usize, in generate_hash_tree() 71 block_size: usize, in generate_hash_tree() 119 block_size: usize, in hash_one_block() 133 fn calc_hash_levels(input_size: usize, block_size: usize, digest_size: usize) -> Vec<Range> { in calc_hash_levels() 172 fn round_to_multiple(n: usize, unit: usize) -> usize { in round_to_multiple()
|
D | apksigv4.rs | 167 block_size: usize, in create()
|
/packages/modules/Virtualization/authfs/src/fsverity/ |
D | editor.rs | 92 pub fn get_fsverity_digest_size(&self) -> usize { in get_fsverity_digest_size() 106 ) -> io::Result<usize> { in read_backing_chunk_unverified() 115 ) -> io::Result<usize> { in read_backing_chunk_verified() 135 offset_from_alignment: usize, in new_hash_for_incomplete_write() 136 output_chunk_index: usize, in new_hash_for_incomplete_write() 166 offset_from_alignment: usize, in new_chunk_hash() 167 current_size: usize, in new_chunk_hash() 168 output_chunk_index: usize, in new_chunk_hash() 193 fn write_at(&self, buf: &[u8], offset: u64) -> io::Result<usize> { in write_at() 292 fn read_chunk(&self, chunk_index: u64, buf: &mut ChunkBuffer) -> io::Result<usize> { in read_chunk() [all …]
|
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()
|
D | verifier.rs | 76 ) -> Result<impl Iterator<Item = Result<([u8; 4096], usize), FsverityError>> + '_, FsverityError> { in fsverity_walk() argument 149 fn read_chunk(&self, chunk_index: u64, buf: &mut ChunkBuffer) -> io::Result<usize> { in read_chunk() 188 fn read_chunk(&self, chunk_index: u64, buf: &mut ChunkBuffer) -> io::Result<usize> { in read_chunk() 208 fn read_chunk(&self, chunk_index: u64, buf: &mut ChunkBuffer) -> io::Result<usize> { in read_chunk()
|
/packages/modules/Virtualization/authfs/src/ |
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
|
D | file.rs | 50 fn read_chunk(&self, chunk_index: u64, buf: &mut ChunkBuffer) -> io::Result<usize>; in read_chunk() 61 fn write_at(&self, buf: &[u8], offset: u64) -> io::Result<usize>; in write_at() 114 fn read_chunk(&self, chunk_index: u64, buf: &mut ChunkBuffer) -> io::Result<usize> { in read_chunk()
|
D | fusefs.rs | 468 ) -> io::Result<usize> { in read_chunks() 712 ) -> io::Result<usize> { in read() 745 ) -> io::Result<usize> { in write()
|
/packages/modules/Virtualization/authfs/fd_server/src/ |
D | fsverity.rs | 42 fn read_metadata(fd: i32, metadata_type: u64, offset: u64, buf: &mut [u8]) -> io::Result<usize> { in read_metadata() 55 pub fn read_merkle_tree(fd: i32, offset: u64, buf: &mut [u8]) -> io::Result<usize> { in read_merkle_tree() 60 pub fn read_signature(fd: i32, buf: &mut [u8]) -> io::Result<usize> { in read_signature()
|
D | aidl.rs | 389 fn read_into_buf(file: &File, max_size: usize, offset: u64) -> io::Result<Vec<u8>> { in read_into_buf() 412 fn validate_and_cast_size(size: i32) -> Result<usize, Status> { in validate_and_cast_size()
|
/packages/modules/Virtualization/authfs/src/file/ |
D | remote_file.rs | 30 ) -> io::Result<usize> { in remote_read_chunk() 77 fn read_chunk(&self, chunk_index: u64, buf: &mut ChunkBuffer) -> io::Result<usize> { in read_chunk() 94 fn read_chunk(&self, chunk_index: u64, buf: &mut ChunkBuffer) -> io::Result<usize> { in read_chunk() 120 fn write_at(&self, buf: &[u8], offset: u64) -> io::Result<usize> { in write_at() 141 fn read_chunk(&self, chunk_index: u64, buf: &mut ChunkBuffer) -> io::Result<usize> { in read_chunk()
|
/packages/modules/Bluetooth/system/gd/rust/stack/src/link/acl/ |
D | fragment.rs | 80 fn get_l2cap_pdu_size(first_packet: &Bytes) -> usize { in get_l2cap_pdu_size() 92 mtu: usize, in fragmenting_stream()
|
/packages/modules/Bluetooth/tools/pdl/src/ |
D | lint.rs | 134 fn bit_width(val: usize) -> usize { in bit_width() 627 fn lint_enum(tags: &[Tag], width: usize, result: &mut LintDiagnostics) { in lint_enum() 728 _width: usize, in lint_size() 846 _width: usize, in lint_count() 907 width: &Option<usize>, in lint_fixed() 908 value: &Option<usize>, in lint_fixed() 972 _width: &Option<usize>, in lint_array() 975 _size: &Option<usize>, in lint_array()
|
D | parser.rs | 148 fn as_usize(&self) -> Result<usize, String>; in as_usize() 169 fn as_usize(&self) -> Result<usize, String> { in as_usize() 206 fn parse_integer(iter: &mut NodeIterator<'_>) -> Result<usize, String> { in parse_integer() 214 fn parse_integer_opt(iter: &mut NodeIterator<'_>) -> Result<Option<usize>, String> { in parse_integer_opt() 220 ) -> Result<(Option<String>, Option<usize>), String> { in parse_identifier_or_integer()
|
D | ast.rs | 177 pub fn new(offset: usize, line_starts: &[usize]) -> SourceLocation { in new()
|
/packages/modules/Bluetooth/system/gd/rust/linux/client/src/ |
D | editor.rs | 32 pos: usize, in complete() 34 ) -> Result<(usize, Vec<String>), ReadlineError> { in complete()
|
D | command_handler.rs | 51 fn enforce_arg_len<F>(args: &Vec<String>, min_len: usize, msg: &str, mut action: F) in enforce_arg_len() 62 fn wrap_help_text(text: &str, max: usize, indent: usize) -> String { in wrap_help_text()
|
/packages/modules/Bluetooth/tools/rootcanal/lmp/src/ |
D | ffi.rs | 121 len: usize, in link_manager_ingest_hci() 150 len: usize,
|
D | ec.rs | 68 pub fn size(&self) -> usize { in size()
|
/packages/modules/Virtualization/authfs/src/fsverity/metadata/ |
D | metadata.rs | 55 pub fn read_merkle_tree(&self, offset: u64, buf: &mut [u8]) -> io::Result<usize> { in read_merkle_tree()
|
/packages/modules/Virtualization/authfs/src/fusefs/ |
D | file.rs | 124 fn read_chunk(&self, chunk_index: u64, buf: &mut ChunkBuffer) -> io::Result<usize> { in read_chunk()
|
/packages/modules/DnsResolver/tests/doh/src/ |
D | client.rs | 305 pub fn len(&mut self) -> usize { in len()
|
/packages/modules/Bluetooth/tools/rootcanal/lmp/src/procedure/ |
D | secure_simple_pairing.rs | 731 fn assert_max_size<T>(_value: T, limit: usize) { in initiate_size()
|
/packages/modules/Virtualization/zipfuse/src/ |
D | main.rs | 292 ) -> io::Result<usize> { in read()
|
/packages/modules/Bluetooth/system/gd/rust/topshim/src/profiles/ |
D | gatt.rs | 228 adv_data_len: usize, in gdscan_on_scan_result() 237 data_len: usize, in gdscan_on_batch_scan_reports() 273 len: usize, in gdscan_sync_report_callback()
|