Home
last modified time | relevance | path

Searched defs:usize (Results 1 – 25 of 43) sorted by relevance

12

/system/security/fsverity/libfsverity_rs/
Dlib.rs26 fn read_metadata(fd: i32, metadata_type: u64, offset: u64, buf: &mut [u8]) -> io::Result<usize> { in read_metadata()
40 pub fn read_merkle_tree(fd: i32, offset: u64, buf: &mut [u8]) -> io::Result<usize> { in read_merkle_tree()
45 pub fn read_signature(fd: i32, buf: &mut [u8]) -> io::Result<usize> { in read_signature()
/system/security/keystore2/src/hal_instance_names/
Dlib.rs26 major_version: usize, in get_hidl_instances()
27 minor_version: usize, in get_hidl_instances()
/system/extras/libatrace_rust/benchmark/src/
Datrace_benchmark.rs21 fn bench_tracing_off_begin(c: &mut Criterion, name_len: usize) { in bench_tracing_off_begin()
34 fn bench_tracing_on_begin(c: &mut Criterion, name_len: usize) { in bench_tracing_on_begin()
/system/libfmq/
Dlibfmq.rs98 pub fn contiguous_count(&self, idx: usize) -> usize { in contiguous_count()
104 pub fn required_elements(&self) -> usize { in required_elements()
132 pub unsafe fn assume_written(&mut self, n_newly_written: usize) { in assume_written()
157 pub fn new(elems: usize, event_word: bool) -> Self { in new()
305 fn contiguous_count(txn: &MemTransaction, idx: usize, n_elems: usize) -> usize { in contiguous_count()
357 pub fn contiguous_count(&self, idx: usize) -> usize { in contiguous_count()
363 pub fn unread_elements(&self) -> usize { in unread_elements()
389 pub fn assume_read(&mut self, n_newly_read: usize) { in assume_read()
/system/security/keystore2/apc_compat/
Dapc_compat.rs82 tbs_message_size: usize, in confirmation_result_callback()
84 confirmation_token_size: usize, in confirmation_result_callback()
/system/security/keystore2/src/
Dshared_secret_negotiation.rs95 version: (usize, usize), in filter_map_legacy_km_instances() argument
Dboot_level_keys.rs274 boot_level: usize, in expand_key()
275 out_len: usize, in expand_key()
Dutils.rs518 response_size_limit: usize, in estimate_safe_amount_to_return()
519 ) -> usize { in estimate_safe_amount_to_return()
/system/secretkeeper/dice_policy/building/src/
Dlib.rs144 fn wildcard_position(path: &[i64]) -> Result<usize, Error> { in wildcard_position()
152 fn size_of_array_in_nested_container(container: &Value, path: &[i64]) -> Result<usize, Error> { in size_of_array_in_nested_container()
174 fn replace_key(spec: &ConstraintSpec, pos: usize, new_key: i64) -> ConstraintSpec { in replace_key()
/system/security/keystore2/src/database/
Dutils.rs61 pub fn new(index: usize, row: &'a Row<'a>) -> Self { in new()
Dperboot.rs101 pub fn auth_tokens_len(&self) -> usize { in auth_tokens_len()
/system/core/trusty/libtrusty-rs/src/
Dlib.rs220 pub fn recv_no_alloc(&mut self, buf: &mut [u8]) -> Result<usize> { in recv_no_alloc()
/system/authgraph/boringssl/src/
Dec.rs167 fn ec_cose_signature_to_der(coord_len: usize, signature: &[u8]) -> Result<Vec<u8>, Error> { in ec_cose_signature_to_der()
183 fn ec_der_signature_to_cose(coord_len: usize, signature: &[u8]) -> Result<Vec<u8>, Error> { in ec_der_signature_to_cose()
213 coord_len: usize, in create_nist_key_pair()
264 coord_len: usize, in coords_from_nist_pub_key()
/system/security/mls/mls-rs-crypto-boringssl/src/
Daead.rs177 fn key_size(&self) -> usize { in key_size()
181 fn nonce_size(&self) -> usize { in nonce_size()
Dlib.rs229 len: usize, in kdf_expand()
238 fn kdf_extract_size(&self) -> usize { in kdf_extract_size()
269 fn aead_key_size(&self) -> usize { in aead_key_size()
273 fn aead_nonce_size(&self) -> usize { in aead_nonce_size()
Decdh.rs150 fn secret_key_size(&self) -> usize { in secret_key_size()
Dkdf.rs131 fn extract_size(&self) -> usize { in extract_size()
/system/keymint/common/src/
Dcrypto.rs463 size: usize, in nonce()
504 out_len: usize, in expand()
535 out_len: usize, in ckdf()
/system/authgraph/core/src/
Dlib.rs66 len: usize, in vec_try_fill_with_alloc_err()
/system/security/keystore2/test_utils/
Drun_as.rs55 fn read(&mut self, buf: &mut [u8]) -> std::io::Result<usize> { in read()
67 fn write(&mut self, buf: &[u8]) -> std::io::Result<usize> { in write()
/system/security/keystore2/src/crypto/
Dzvec.rs58 pub fn reduce_len(&mut self, len: usize) { in reduce_len()
/system/keymint/common/src/crypto/
Daes.rs219 pub fn tag_len(&self) -> usize { in tag_len()
Drsa.rs87 pub fn size(&self) -> usize { in size()
/system/keymint/boringssl/src/
Drsa.rs131 fn max_input_size(&self) -> Option<usize> { in max_input_size()
312 fn max_input_size(&self) -> Option<usize> { in max_input_size()
/system/keymint/common/src/tag/
Dlegacy.rs266 next_blob_offset: &mut usize, in consume_blob()

12