Searched refs:AsVoidPtr (Results 1 – 4 of 4) sorted by relevance
47 …let c_content_ptr: *const ashmem::ffi::c_void = unsafe { ashmem::ffi::AsVoidPtr(c_content.as_ptr()… in test_ashmem_ffi_write_read_002()82 …let c_content_ptr: *const ashmem::ffi::c_void = unsafe { ashmem::ffi::AsVoidPtr(c_content.as_ptr()… in test_ashmem_ffi_write_read_003()121 …let c_content_ptr: *const ashmem::ffi::c_void = unsafe { ashmem::ffi::AsVoidPtr(c_content.as_ptr()… in test_ashmem_ffi_write_read_004()156 …let c_content_ptr: *const ashmem::ffi::c_void = unsafe { ashmem::ffi::AsVoidPtr(c_content.as_ptr()… in test_ashmem_ffi_write_read_005()215 …let c_content_ptr: *const ashmem::ffi::c_void = unsafe { ashmem::ffi::AsVoidPtr(c_content.as_ptr()… in test_ashmem_ffi_invalid_003()238 …let c_content_ptr: *const ashmem::ffi::c_void = unsafe { ashmem::ffi::AsVoidPtr(c_content.as_ptr()… in test_ashmem_ffi_invalid_004()279 …let c_content_ptr: *const ashmem::ffi::c_void = unsafe { ashmem::ffi::AsVoidPtr(c_content.as_ptr()… in test_ashmem_ffi_invalid_006()
52 pub unsafe fn AsVoidPtr(inPtr: *const c_char) -> *const c_void; in AsVoidPtr() function169 let c_void_ptr = ffi::AsVoidPtr(data); in write_to_ashmem()
39 const c_void* AsVoidPtr(const char* inPtr);
55 const c_void* AsVoidPtr(const char* inPtr) in AsVoidPtr() function