Home
last modified time | relevance | path

Searched refs:u64 (Results 1 – 25 of 44) sorted by relevance

12

/system/security/fsverity/libfsverity_rs/
Dsys.rs26 pub const FS_VERITY_METADATA_TYPE_MERKLE_TREE: u64 = 1;
27 pub const FS_VERITY_METADATA_TYPE_SIGNATURE: u64 = 3;
31 pub metadata_type: u64,
32 pub offset: u64,
33 pub length: u64,
34 pub buf_ptr: u64,
35 pub __reserved: u64,
51 pub salt_ptr: u64,
54 pub sig_ptr: u64,
55 pub __reserved2: [u64; 11],
Dlib.rs26 fn read_metadata(fd: i32, metadata_type: u64, offset: u64, buf: &mut [u8]) -> io::Result<usize> { in read_metadata() argument
30 length: buf.len() as u64, in read_metadata()
31 buf_ptr: buf.as_mut_ptr() as u64, in read_metadata()
40 pub fn read_merkle_tree(fd: i32, offset: u64, buf: &mut [u8]) -> io::Result<usize> { in read_merkle_tree() argument
/system/extras/ext4_utils/include/ext4_utils/
Dext4_utils.h58 typedef unsigned long u64; typedef
63 typedef unsigned long long u64; typedef
76 u64 bg_block_bitmap;
77 u64 bg_inode_bitmap;
78 u64 bg_inode_table;
94 u64 len_blocks;
99 u64 blocks_per_ind;
100 u64 blocks_per_dind;
101 u64 blocks_per_tind;
110 u64 get_block_device_size(int fd); // recovery
[all …]
/system/extras/tests/storage/
Dwipe_blkdev.c28 typedef unsigned long long u64; typedef
38 static u64 get_block_device_size(int fd) in get_block_device_size()
40 u64 size = 0; in get_block_device_size()
51 static int wipe_block_device(int fd, u64 len, int secure) in wipe_block_device()
53 u64 range[2]; in wipe_block_device()
85 u64 len; in main()
/system/core/libsparse/
Dsparse_defs.h23 #define __le64 u64
27 #define __be64 u64
31 #define __u64 u64
36 typedef unsigned long long u64; typedef
/system/extras/ext4_utils/
Dext4_utils.cpp181 u64 get_block_device_size(int fd) { in get_block_device_size()
182 u64 size = 0; in get_block_device_size()
211 u64 get_file_size(int fd) { in get_file_size()
214 u64 reserve_len = 0; in get_file_size()
257 (extended ? (u64)gdp->bg_block_bitmap_hi << 32 : 0) | gdp->bg_block_bitmap_lo; in read_block_group_descriptors()
259 (extended ? (u64)gdp->bg_inode_bitmap_hi << 32 : 0) | gdp->bg_inode_bitmap_lo; in read_block_group_descriptors()
261 (extended ? (u64)gdp->bg_inode_table_hi << 32 : 0) | gdp->bg_inode_table_lo; in read_block_group_descriptors()
Dwipe.cpp41 u64 range[2]; in wipe_block_device()
/system/security/keystore2/selinux/src/
Dconcurrency_test.rs129 const MAX_SLEEPS: u64 = 500; in test_concurrent_check_access()
130 const SLEEP_MILLISECONDS: u64 = 5; in test_concurrent_check_access()
131 let mut sleep_count: u64 = 0; in test_concurrent_check_access()
/system/keymint/ta/src/
Dkeys.rs608 if (secure_id & (HardwareAuthenticatorType::Password as u64) in import_wrapped_key()
609 == (HardwareAuthenticatorType::Password as u64)) in import_wrapped_key()
610 && (secure_id & (HardwareAuthenticatorType::Fingerprint as u64) in import_wrapped_key()
611 == (HardwareAuthenticatorType::Fingerprint as u64)) in import_wrapped_key()
615 imported_key_params.try_push(KeyParam::UserSecureId(password_sid as u64))?; in import_wrapped_key()
616 } else if secure_id & (HardwareAuthenticatorType::Password as u64) in import_wrapped_key()
617 == (HardwareAuthenticatorType::Password as u64) in import_wrapped_key()
621 imported_key_params.try_push(KeyParam::UserSecureId(password_sid as u64))?; in import_wrapped_key()
622 } else if secure_id & (HardwareAuthenticatorType::Fingerprint as u64) in import_wrapped_key()
623 == (HardwareAuthenticatorType::Fingerprint as u64) in import_wrapped_key()
[all …]
/system/tools/aidl/scripts/redundancy_check/srcs/
Dmain.rs54 size: u64,
67 size: u64,
145 let wasted_bytes: u64 = in main()
/system/extras/profcollectd/libprofcollectd/
Dconfig.rs34 pub const REPORT_RETENTION_SECS: u64 = 14 * 24 * 60 * 60; // 14 days.
62 pub max_trace_limit: u64,
Dscheduler.rs184 let dir_size = |path| -> Result<u64> { in check_space_limit()
/system/security/keystore2/src/
Dutils.rs388 pub fn watch_millis(id: &'static str, millis: u64) -> Option<WatchPoint> { in watch_millis()
396 millis: u64, in watch_millis_with() argument
438 fn watch_millis(_: &'static str, _: u64) -> Option<WatchPoint> { in watch_millis()
444 _: u64, in watch_millis_with() argument
Dentropy.rs22 static MIN_FEED_INTERVAL_SECS: u64 = 30;
Doperation.rs620 let mut owners: HashMap<u32, u64> = HashMap::new(); in prune()
647 malus: u64, in prune()
683 ) + ((age.as_secs() + 1) as f64).log(6.0).floor() as u64 in prune()
Dasync_task.rs306 let i = shelf.get_mut::<u64>(); in test_shelf()
310 let i2 = shelf.get_downcast_ref::<u64>().unwrap(); in test_shelf()
/system/libbase/
Dparseint_test.cpp194 uint64_t u64; in TEST() local
195 ASSERT_FALSE(android::base::ParseByteCount("4294967295E", &u64)); in TEST()
/system/security/diced/open_dice/src/
Dretry.rs88 version: Option<u64>, in retry_bcc_format_config_descriptor() argument
Dbcc.rs29 version: Option<u64>, in bcc_format_config_descriptor() argument
/system/librustutils/
Dsystem_properties_fuzzer.rs28 static COUNTER: RefCell<u64> = RefCell::new(0);
/system/security/diced/sample_inputs/src/
Dsample_inputs.rs85 Value::from(iana::EllipticCurve::Ed25519 as u64), in ed25519_public_key_to_cbor_value()
/system/keymint/common/src/crypto/
Drsa.rs217 let pub_exponent = u64::from_be_bytes(pub_exponent_arr); in import_pkcs1_key()
Dec.rs204 coset::cbor::value::Value::from(coset::iana::EllipticCurve::Ed25519 as u64), in public_cose_key()
214 coset::cbor::value::Value::from(coset::iana::EllipticCurve::X25519 as u64), in public_cose_key()
/system/core/debuggerd/proto/
Dtombstone.proto126 uint64 u64 = 2; field
/system/keymint/wire/src/
Dkeymint.rs84 const TAG: u64 = 40001;
345 UserSecureId(u64),
517 Tag::UserSecureId => KeyParam::UserSecureId(<u64>::from_cbor_value(raw)?), in from_cbor_value()
813 u64::cddl_ref(), in cddl_schema()

12