Home
last modified time | relevance | path

Searched refs:c_void (Results 1 – 10 of 10) sorted by relevance

/frameworks/native/libs/binder/rust/tests/parcel_fuzzer/random_parcel/src/
Dlib.rs21 use std::os::raw::c_void;
27 let ptr = aparcel_ptr as *mut c_void; in create_random_parcel()
46 let ptr = binder.as_native_mut() as *mut c_void; in fuzz_multiple_services()
/frameworks/native/libs/binder/rust/src/
Dproxy.rs32 use std::ffi::{c_void, CString};
548 cookie: *mut c_void,
553 cookie_incr_refcount: unsafe extern "C" fn(*mut c_void),
554 cookie_decr_refcount: unsafe extern "C" fn(*mut c_void),
593 cookie: callback as *mut c_void, in new()
606 unsafe fn new_cookie(&self) -> *mut c_void { in new_cookie() argument
623 fn get_cookie(&self) -> *mut c_void { in get_cookie() argument
633 unsafe extern "C" fn binder_died<F>(cookie: *mut c_void) in binder_died()
649 unsafe extern "C" fn cookie_decr_refcount<F>(cookie: *mut c_void) in cookie_decr_refcount()
663 unsafe extern "C" fn cookie_incr_refcount<F>(cookie: *mut c_void) in cookie_incr_refcount()
Dnative.rs26 use std::ffi::{c_void, CStr};
95 let ibinder = unsafe { sys::AIBinder_new(class.into(), rust_object as *mut c_void) }; in new_with_stability()
301 unsafe extern "C" fn on_destroy(object: *mut c_void) { in on_destroy() argument
316 unsafe extern "C" fn on_create(args: *mut c_void) -> *mut c_void { in on_create() argument
Dservice.rs22 use std::ffi::{c_void, CStr, CString};
209 unsafe extern "C" fn callback(instance: *const c_char, opaque: *mut c_void) { in get_declared_instances() argument
234 &mut instances as *mut _ as *mut c_void, in get_declared_instances()
Dbinder.rs28 use std::ffi::{c_void, CStr, CString};
578 unsafe extern "C" fn on_create(args: *mut c_void) -> *mut c_void; in on_create() argument
604 unsafe extern "C" fn on_destroy(object: *mut c_void); in on_destroy() argument
/frameworks/native/libs/binder/rust/rpcbinder/src/server/
Dtrusty.rs19 use std::ffi::{c_char, c_void};
71 uuid_ptr: *const c_void, in per_session_callback_wrapper() argument
106 ctx: *mut c_void,
/frameworks/native/libs/binder/rust/rpcbinder/src/
Dsession.rs21 use std::os::raw::{c_int, c_void};
202 let param = &mut request_fd_ref as *mut RequestFd as *mut c_void; in setup_preconnected_client()
230 unsafe extern "C" fn request_fd_wrapper(param: *mut c_void) -> c_int { in request_fd_wrapper()
/frameworks/native/libs/binder/rust/src/parcel/
Dparcelable.rs24 use std::ffi::c_void;
138 slice.as_ptr() as *const c_void, in serialize_array() constant
156 array: *const c_void, in serialize_element() argument
186 &mut vec as *mut _ as *mut c_void, in deserialize_array()
212 array: *mut c_void, in deserialize_element() argument
300 data: *mut c_void, in allocate_vec_with_buffer() argument
323 unsafe extern "C" fn allocate_vec<T: Deserialize>(data: *mut c_void, len: i32) -> bool { in allocate_vec() argument
433 &mut vec as *mut _ as *mut c_void,
657 &mut vec as *mut _ as *mut c_void, in deserialize()
/frameworks/native/libs/binder/rust/tests/
Dserialization.rs28 use std::ffi::{c_void, CStr, CString};
79 pub extern "C" fn rust_service() -> *mut c_void { in rust_service()
/frameworks/native/cmds/evemu-record/
Devdev.rs293 &mut event as *mut _ as *mut std::ffi::c_void, in read_event()