/system/librustutils/ |
D | system_properties.rs | 22 ffi::{c_uint, c_void, CStr, CString}, 98 fn read_raw(prop_info: *const PropInfo, mut f: impl FnMut(Option<&CStr>, Option<&CStr>)) { in read_raw() argument 111 Some(CStr::from_ptr(name)) in read_raw() 116 Some(CStr::from_ptr(value)) in read_raw() 118 let f = &mut *res_p.cast::<&mut dyn FnMut(Option<&CStr>, Option<&CStr>)>(); in read_raw() 122 let mut f: &mut dyn FnMut(Option<&CStr>, Option<&CStr>) = &mut f; in read_raw() 281 let name = unsafe { CStr::from_ptr(name) }.to_str().unwrap(); in foreach() 282 let value = unsafe { CStr::from_ptr(value) }.to_str().unwrap(); in foreach()
|
/system/security/diced/sample_inputs/src/ |
D | sample_inputs.rs | 26 use std::ffi::CStr; 110 Some(CStr::from_bytes_with_nul(b"ABL\0").unwrap()), in make_sample_bcc_and_cdis() 132 Some(CStr::from_bytes_with_nul(b"AVB\0").unwrap()), in make_sample_bcc_and_cdis() 149 Some(CStr::from_bytes_with_nul(b"Android\0").unwrap()), in make_sample_bcc_and_cdis()
|
/system/security/keystore2/selinux/src/ |
D | lib.rs | 30 use std::ffi::{CStr, CString}; 128 type Target = CStr; 132 Self::Raw(p) => unsafe { CStr::from_ptr(*p) }, in deref() 283 pub fn check_access(source: &CStr, target: &CStr, tclass: &str, perm: &str) -> Result<()> { in check_access() argument 325 pub fn setcon(target: &CStr) -> std::io::Result<()> { in setcon() 637 pub fn check_permission<T: ClassPermission>(source: &CStr, target: &CStr, perm: T) -> Result<()> { in check_permission() argument
|
/system/security/diced/open_dice/src/ |
D | retry.rs | 26 use std::ffi::CStr; 87 name: Option<&CStr>, in retry_bcc_format_config_descriptor() argument
|
D | bcc.rs | 23 use std::{ffi::CStr, ptr}; 28 name: Option<&CStr>, in bcc_format_config_descriptor() argument
|
/system/tools/aidl/tests/golden_output/aidl-test-interface-rust-source/gen/android/aidl/tests/ |
D | IDeprecated.rs | 47 …fn dump(&self, _file: &std::fs::File, _args: &[&std::ffi::CStr]) -> std::result::Result<(), binder… in new_async_binder()
|
D | IOldName.rs | 47 …fn dump(&self, _file: &std::fs::File, _args: &[&std::ffi::CStr]) -> std::result::Result<(), binder… in new_async_binder()
|
D | INamedCallback.rs | 47 …fn dump(&self, _file: &std::fs::File, _args: &[&std::ffi::CStr]) -> std::result::Result<(), binder… in new_async_binder()
|
D | INewName.rs | 47 …fn dump(&self, _file: &std::fs::File, _args: &[&std::ffi::CStr]) -> std::result::Result<(), binder… in new_async_binder()
|
D | ICircular.rs | 47 …fn dump(&self, _file: &std::fs::File, _args: &[&std::ffi::CStr]) -> std::result::Result<(), binder… in new_async_binder()
|
D | ListOfInterfaces.rs | 71 …fn dump(&self, _file: &std::fs::File, _args: &[&std::ffi::CStr]) -> std::result::Result<(), binder… in new_async_binder() 151 …fn dump(&self, _file: &std::fs::File, _args: &[&std::ffi::CStr]) -> std::result::Result<(), binder… in new_async_binder()
|
D | ArrayOfInterfaces.rs | 71 …fn dump(&self, _file: &std::fs::File, _args: &[&std::ffi::CStr]) -> std::result::Result<(), binder… in new_async_binder() 151 …fn dump(&self, _file: &std::fs::File, _args: &[&std::ffi::CStr]) -> std::result::Result<(), binder… in new_async_binder()
|
D | ITestService.rs | 251 …fn dump(&self, _file: &std::fs::File, _args: &[&std::ffi::CStr]) -> std::result::Result<(), binder… in new_async_binder() 4450 …fn dump(&self, _file: &std::fs::File, _args: &[&std::ffi::CStr]) -> std::result::Result<(), binder… in new_async_binder()
|
/system/security/keystore2/src/ |
D | permission.rs | 33 use std::ffi::CStr; 268 pub fn check_keystore_permission(caller_ctx: &CStr, perm: KeystorePerm) -> anyhow::Result<()> { in check_keystore_permission() argument 287 caller_ctx: &CStr, in check_grant_permission() argument 336 caller_ctx: &CStr, in check_key_permission() argument
|
/system/tools/aidl/tests/golden_output/aidl-test-interface-rust-source/gen/android/aidl/tests/nested/ |
D | INestedService.rs | 50 …fn dump(&self, _file: &std::fs::File, _args: &[&std::ffi::CStr]) -> std::result::Result<(), binder… in new_async_binder() 273 …fn dump(&self, _file: &std::fs::File, _args: &[&std::ffi::CStr]) -> std::result::Result<(), binder… in new_async_binder()
|
/system/tools/aidl/tests/golden_output/aidl-test-versioned-interface-V1-rust-source/gen/android/aidl/versioned/tests/ |
D | IFooInterface.rs | 70 …fn dump(&self, _file: &std::fs::File, _args: &[&std::ffi::CStr]) -> std::result::Result<(), binder… in new_async_binder()
|
/system/tools/aidl/tests/golden_output/aidl-test-fixedsizearray-rust-source/gen/android/aidl/fixedsizearray/ |
D | FixedSizeArrayExample.rs | 425 …fn dump(&self, _file: &std::fs::File, _args: &[&std::ffi::CStr]) -> std::result::Result<(), binder… in new_async_binder() 1027 …fn dump(&self, _file: &std::fs::File, _args: &[&std::ffi::CStr]) -> std::result::Result<(), binder… in new_async_binder()
|
/system/libvintf/ |
D | parse_xml.cpp | 75 return std::string{p.CStr()}; in printDocument()
|