| /external/rust/crates/rustix/src/backend/linux_raw/mm/ |
| D | syscalls.rs | 22 pub(crate) fn madvise(addr: *mut c::c_void, len: usize, advice: Advice) -> io::Result<()> { in madvise() 34 pub(crate) unsafe fn msync(addr: *mut c::c_void, len: usize, flags: MsyncFlags) -> io::Result<()> { in msync() 44 addr: *mut c::c_void, in mmap() 50 ) -> io::Result<*mut c::c_void> { in mmap() 86 addr: *mut c::c_void, in mmap_anonymous() 90 ) -> io::Result<*mut c::c_void> { in mmap_anonymous() 119 ptr: *mut c::c_void, in mprotect() 131 pub(crate) unsafe fn munmap(addr: *mut c::c_void, length: usize) -> io::Result<()> { in munmap() 141 old_address: *mut c::c_void, in mremap() 145 ) -> io::Result<*mut c::c_void> { in mremap() [all …]
|
| /external/rust/crates/rustix/src/backend/libc/mm/ |
| D | syscalls.rs | 22 pub(crate) fn madvise(addr: *mut c::c_void, len: usize, advice: Advice) -> io::Result<()> { in madvise() 55 pub(crate) unsafe fn msync(addr: *mut c::c_void, len: usize, flags: MsyncFlags) -> io::Result<()> { in msync() 71 ptr: *mut c::c_void, in mmap() 77 ) -> io::Result<*mut c::c_void> { in mmap() 98 ptr: *mut c::c_void, in mmap_anonymous() 102 ) -> io::Result<*mut c::c_void> { in mmap_anonymous() 119 ptr: *mut c::c_void, in mprotect() 126 pub(crate) unsafe fn munmap(ptr: *mut c::c_void, len: usize) -> io::Result<()> { in munmap() 136 old_address: *mut c::c_void, in mremap() 140 ) -> io::Result<*mut c::c_void> { in mremap() [all …]
|
| /external/rust/crates/rustix/src/mm/ |
| D | mmap.rs | 79 ptr: *mut c_void, in mmap() 85 ) -> io::Result<*mut c_void> { in mmap() 121 ptr: *mut c_void, in mmap_anonymous() 125 ) -> io::Result<*mut c_void> { in mmap_anonymous() 156 pub unsafe fn munmap(ptr: *mut c_void, len: usize) -> io::Result<()> { in munmap() 177 old_address: *mut c_void, in mremap() 181 ) -> io::Result<*mut c_void> { in mremap() 203 old_address: *mut c_void, in mremap_fixed() 207 new_address: *mut c_void, in mremap_fixed() 208 ) -> io::Result<*mut c_void> { in mremap_fixed() [all …]
|
| /external/rust/crates/nix/src/sys/ |
| D | mman.rs | 349 pub unsafe fn mlock(addr: NonNull<c_void>, length: size_t) -> Result<()> { in mlock() 362 pub unsafe fn munlock(addr: NonNull<c_void>, length: size_t) -> Result<()> { in munlock() 402 ) -> Result<NonNull<c_void>> { in mmap() 434 ) -> Result<NonNull<c_void>> { in mmap_anonymous() 460 addr: NonNull<c_void>, in mremap() 464 new_address: Option<NonNull<c_void>>, in mremap() 465 ) -> Result<NonNull<c_void>> { in mremap() 508 pub unsafe fn munmap(addr: NonNull<c_void>, len: size_t) -> Result<()> { in munmap() 522 addr: NonNull<c_void>, in madvise() 560 addr: NonNull<c_void>, in mprotect() [all …]
|
| /external/rust/crates/tikv-jemalloc-sys/src/ |
| D | lib.rs | 148 pub fn malloc(size: size_t) -> *mut c_void; in malloc() 159 pub fn calloc(number: size_t, size: size_t) -> *mut c_void; in calloc() 183 pub fn posix_memalign(ptr: *mut *mut c_void, alignment: size_t, size: size_t) -> c_int; in posix_memalign() 203 pub fn aligned_alloc(alignment: size_t, size: size_t) -> *mut c_void; in aligned_alloc() 242 pub fn realloc(ptr: *mut c_void, size: size_t) -> *mut c_void; in realloc() 258 pub fn free(ptr: *mut c_void); in free() 278 pub fn mallocx(size: size_t, flags: c_int) -> *mut c_void; in mallocx() 311 pub fn rallocx(ptr: *mut c_void, size: size_t, flags: c_int) -> *mut c_void; in rallocx() 352 pub fn xallocx(ptr: *mut c_void, size: size_t, extra: size_t, flags: c_int) -> size_t; in xallocx() 367 pub fn sallocx(ptr: *const c_void, flags: c_int) -> size_t; in sallocx() [all …]
|
| /external/crosvm/media/libvda/src/decode/ |
| D | mod.rs | 25 extern "C" fn initialize(_impl_type: vda_impl_type_t) -> *mut ::std::os::raw::c_void { in initialize() 30 extern "C" fn deinitialize(_impl_: *mut ::std::os::raw::c_void) { in deinitialize() 36 _impl_: *mut ::std::os::raw::c_void, in get_vda_capabilities() 43 _impl_: *mut ::std::os::raw::c_void, in init_decode_session() 51 _impl_: *mut ::std::os::raw::c_void, in close_decode_session() 59 _ctx: *mut ::std::os::raw::c_void, in vda_decode() 70 _ctx: *mut ::std::os::raw::c_void, in vda_set_output_buffer_count() 78 _ctx: *mut ::std::os::raw::c_void, in vda_use_output_buffer() 91 _ctx: *mut ::std::os::raw::c_void, in vda_reuse_output_buffer()
|
| /external/crosvm/media/libvda/src/encode/ |
| D | mod.rs | 25 extern "C" fn initialize_encode(_type_: vea_impl_type_t) -> *mut ::std::os::raw::c_void { in initialize_encode() 30 extern "C" fn deinitialize_encode(_impl_: *mut ::std::os::raw::c_void) { in deinitialize_encode() 36 _impl_: *mut ::std::os::raw::c_void, in get_vea_capabilities() 43 _impl_: *mut ::std::os::raw::c_void, in init_encode_session() 51 _impl_: *mut ::std::os::raw::c_void, in close_encode_session() 59 _ctx: *mut ::std::os::raw::c_void, in vea_encode() 72 _ctx: *mut ::std::os::raw::c_void, in vea_use_output_buffer() 83 _ctx: *mut ::std::os::raw::c_void, in vea_request_encoding_params_change()
|
| /external/rust/cxx/src/ |
| D | weak_ptr.rs | 47 let this = self as *const Self as *const c_void; in upgrade() constant 103 unsafe fn __null(new: *mut c_void); in __null() 105 unsafe fn __clone(this: *const c_void, new: *mut c_void); in __clone() 107 unsafe fn __downgrade(shared: *const c_void, new: *mut c_void); in __downgrade() 109 unsafe fn __upgrade(weak: *const c_void, shared: *mut c_void); in __upgrade() 111 unsafe fn __drop(this: *mut c_void); in __drop()
|
| D | unique_ptr.rs | 225 unsafe fn __raw(raw: *mut Self) -> MaybeUninit<*mut c_void>; in __raw() 231 unsafe fn __drop(repr: MaybeUninit<*mut c_void>); in __drop() 236 fn unique_ptr_std_string_null(this: *mut MaybeUninit<*mut c_void>); in unique_ptr_std_string_null() 238 fn unique_ptr_std_string_raw(this: *mut MaybeUninit<*mut c_void>, raw: *mut CxxString); in unique_ptr_std_string_raw() 244 fn unique_ptr_std_string_drop(this: *mut MaybeUninit<*mut c_void>); in unique_ptr_std_string_drop() 258 unsafe fn __raw(raw: *mut Self) -> MaybeUninit<*mut c_void> { in __raw() 269 unsafe fn __drop(mut repr: MaybeUninit<*mut c_void>) { in __drop() 284 unsafe fn __raw(raw: *mut Self) -> MaybeUninit<*mut c_void> { in __raw() 293 unsafe fn __drop(repr: MaybeUninit<*mut c_void>) { in __drop()
|
| D | shared_ptr.rs | 55 let this = self as *const Self as *const c_void; in is_null() constant 63 let this = self as *const Self as *const c_void; in as_ref() constant 76 let this = self as *const Self as *const c_void; in downgrade() constant 188 unsafe fn __null(new: *mut c_void); in __null() 201 unsafe fn __clone(this: *const c_void, new: *mut c_void); in __clone() 205 unsafe fn __drop(this: *mut c_void); in __drop()
|
| /external/rust/crates/rustix/src/backend/linux_raw/prctl/ |
| D | syscalls.rs | 15 arg2: *mut c::c_void, in prctl() 16 arg3: *mut c::c_void, in prctl() 17 arg4: *mut c::c_void, in prctl() 18 arg5: *mut c::c_void, in prctl()
|
| /external/rust/crates/rustix/src/backend/libc/prctl/ |
| D | syscalls.rs | 8 arg2: *mut c::c_void, in prctl() 9 arg3: *mut c::c_void, in prctl() 10 arg4: *mut c::c_void, in prctl() 11 arg5: *mut c::c_void, in prctl()
|
| /external/rust/crates/unsafe-libyaml/src/ |
| D | lib.rs | 81 pub unsafe fn malloc(size: libc::c_ulong) -> *mut libc::c_void { in malloc() 94 pub unsafe fn realloc(ptr: *mut libc::c_void, new_size: libc::c_ulong) -> *mut libc::c_void { in realloc() 110 pub unsafe fn free(ptr: *mut libc::c_void) { in free() 118 lhs: *const libc::c_void, in memcmp() 119 rhs: *const libc::c_void, in memcmp() 128 dest: *mut libc::c_void, in memcpy() 129 src: *const libc::c_void, in memcpy() 131 ) -> *mut libc::c_void { in memcpy() 141 dest: *mut libc::c_void, in memmove() 142 src: *const libc::c_void, in memmove() [all …]
|
| /external/rust/crates/libc/src/ |
| D | trusty.rs | 69 pub fn calloc(nobj: size_t, size: size_t) -> *mut c_void; in calloc() 70 pub fn malloc(size: size_t) -> *mut c_void; in malloc() 71 pub fn realloc(p: *mut c_void, size: size_t) -> *mut c_void; in realloc() 72 pub fn free(p: *mut c_void); in free() 73 pub fn memalign(align: ::size_t, size: ::size_t) -> *mut ::c_void; in memalign() 74 pub fn posix_memalign(memptr: *mut *mut ::c_void, align: ::size_t, size: ::size_t) -> ::c_int; in posix_memalign() 75 pub fn write(fd: ::c_int, buf: *const ::c_void, count: ::size_t) -> ::ssize_t; in write() 81 addr: *mut ::c_void, in mmap() 87 ) -> *mut ::c_void; in mmap() 88 pub fn munmap(addr: *mut ::c_void, len: ::size_t) -> ::c_int; in munmap()
|
| /external/rust/crates/ash/src/vk/ |
| D | platform_types.rs | 6 pub type Display = *const c_void; constant 11 pub type MirConnection = *const c_void; constant 12 pub type MirSurface = *const c_void; constant 13 pub type HINSTANCE = *const c_void; constant 14 pub type HWND = *const c_void; constant
|
| /external/rust/crates/shared_library/src/ |
| D | dynamic_library.rs | 282 handle: *mut libc::c_void, in symbol() 296 ) -> *mut libc::c_void; in dlopen() 299 handle: *mut libc::c_void, in dlsym() 301 ) -> *mut libc::c_void; in dlsym() 303 handle: *mut libc::c_void, in dlclose() 387 pub unsafe fn symbol(handle: *mut libc::c_void, symbol: *const libc::c_char) -> *mut u8 { in symbol() 397 fn LoadLibraryW(name: *const libc::c_void) -> *mut libc::c_void; in LoadLibraryW() 401 handle: *mut *mut libc::c_void, in GetModuleHandleExW() 404 handle: *mut libc::c_void, in GetProcAddress() 406 ) -> *mut libc::c_void; in GetProcAddress() [all …]
|
| /external/crosvm/third_party/libslirp-rs/src/ |
| D | context.rs | 158 extern "C" fn write_handler_callback(buf: *const c_void, len: usize, opaque: *mut c_void) -> isize { in write_handler_callback() 170 extern "C" fn read_handler_callback(buf: *mut c_void, len: usize, opaque: *mut c_void) -> isize { in read_handler_callback() 299 extern "C" fn send_packet_handler<H: CallbackHandler>( in send_packet_handler() 302 opaque: *mut c_void, in send_packet_handler() 325 extern "C" fn guest_error_handler<H: CallbackHandler>(msg: *const c_char, opaque: *mut c_void) { in guest_error_handler() 351 cb_opaque: *mut c_void, in timer_new_handler() 352 opaque: *mut c_void, in timer_new_handler() 353 ) -> *mut c_void { in timer_new_handler() 375 extern "C" fn timer_free_handler<H: CallbackHandler>(timer: *mut c_void, opaque: *mut c_void) { in timer_free_handler() 387 extern "C" fn timer_mod_handler<H: CallbackHandler>( in timer_mod_handler() [all …]
|
| /external/rust/crates/nix/src/sys/socket/ |
| D | sockopt.rs | 1295 fn ffi_ptr(&mut self) -> *mut c_void; in ffi_ptr() 1309 fn ffi_ptr(&self) -> *const c_void; in ffi_ptr() 1329 fn ffi_ptr(&mut self) -> *mut c_void { in ffi_ptr() 1357 fn ffi_ptr(&self) -> *const c_void { in ffi_ptr() 1358 self.ptr as *const T as *const c_void in ffi_ptr() constant 1380 fn ffi_ptr(&mut self) -> *mut c_void { in ffi_ptr() 1410 fn ffi_ptr(&self) -> *const c_void { in ffi_ptr() 1411 &self.val as *const c_int as *const c_void in ffi_ptr() constant 1433 fn ffi_ptr(&mut self) -> *mut c_void { in ffi_ptr() 1461 fn ffi_ptr(&self) -> *const c_void { in ffi_ptr() [all …]
|
| /external/mesa3d/src/gallium/frontends/rusticl/api/ |
| D | memory.rs | 169 fn validate_host_ptr(host_ptr: *mut ::std::os::raw::c_void, flags: cl_mem_flags) -> CLResult<()> { in validate_host_ptr() 265 host_ptr: *mut ::std::os::raw::c_void, in create_buffer_with_properties() 301 host_ptr: *mut ::std::os::raw::c_void, in create_buffer() 311 buffer_create_info: *const ::std::os::raw::c_void, in create_sub_buffer() 362 user_data: *mut ::std::os::raw::c_void, in set_mem_object_destructor_callback() 400 host_ptr: *mut ::std::os::raw::c_void, in validate_image_desc() 591 host_ptr: *mut ::std::os::raw::c_void, in validate_buffer() 738 host_ptr: *mut ::std::os::raw::c_void, in create_image_with_properties() 803 host_ptr: *mut ::std::os::raw::c_void, in create_image() 823 host_ptr: *mut ::std::os::raw::c_void, in create_image_2d() [all …]
|
| D | icd.rs | 454 param_value: *mut ::std::ffi::c_void, in clGetPlatformInfo() 469 ) -> *mut ::std::ffi::c_void { in clGetExtensionFunctionAddress() 484 ) -> *mut ::std::ffi::c_void { in cl_get_extension_function_address() 541 user_data: *mut ::std::os::raw::c_void, in cl_link_program() 565 ) -> *mut ::std::os::raw::c_void { in cl_get_extension_function_address_for_platform() 574 ) -> *mut ::std::os::raw::c_void { in cl_svm_alloc() 578 extern "C" fn cl_svm_free(context: cl_context, svm_pointer: *mut ::std::os::raw::c_void) { in cl_svm_free() 587 input_value: *const ::std::os::raw::c_void, in cl_get_kernel_sub_group_info() 589 param_value: *mut ::std::os::raw::c_void, in cl_get_kernel_sub_group_info()
|
| /external/rust/crates/libc/src/windows/msvc/ |
| D | mod.rs | 15 dest: *mut ::c_void, in memccpy() 16 src: *const ::c_void, in memccpy() 19 ) -> *mut ::c_void; in memccpy()
|
| /external/rust/crates/libsqlite3-sys/bindgen-bindings/ |
| D | bindgen_3.6.8.rs | 235 … *mut ::std::os::raw::c_void, in sqlite3_exec() 244 arg2: *mut ::std::os::raw::c_void, in sqlite3_exec() 531 … *mut ::std::os::raw::c_void, in sqlite3_busy_handler() 572 -> *mut ::std::os::raw::c_void; in sqlite3_malloc() 575 pub fn sqlite3_realloc(arg1: *mut ::std::os::raw::c_void, in sqlite3_realloc() 577 -> *mut ::std::os::raw::c_void; in sqlite3_realloc() 580 pub fn sqlite3_free(arg1: *mut ::std::os::raw::c_void); in sqlite3_free() 591 P: *mut ::std::os::raw::c_void); in sqlite3_randomness() 597 … *mut ::std::os::raw::c_void, in sqlite3_set_authorizer() 617 … *mut ::std::os::raw::c_void, in sqlite3_trace() [all …]
|
| D | bindgen_3.6.23.rs | 263 … *mut ::std::os::raw::c_void, in sqlite3_exec() 272 arg2: *mut ::std::os::raw::c_void, in sqlite3_exec() 559 … *mut ::std::os::raw::c_void, in sqlite3_busy_handler() 600 -> *mut ::std::os::raw::c_void; in sqlite3_malloc() 603 pub fn sqlite3_realloc(arg1: *mut ::std::os::raw::c_void, in sqlite3_realloc() 605 -> *mut ::std::os::raw::c_void; in sqlite3_realloc() 608 pub fn sqlite3_free(arg1: *mut ::std::os::raw::c_void); in sqlite3_free() 619 P: *mut ::std::os::raw::c_void); in sqlite3_randomness() 625 … *mut ::std::os::raw::c_void, in sqlite3_set_authorizer() 645 … *mut ::std::os::raw::c_void, in sqlite3_trace() [all …]
|
| /external/rust/crates/jni/0.20.0/src/wrapper/objects/ |
| D | auto_primitive_array.rs | 28 ptr: *mut c_void, in new() 42 pub fn as_ptr(&self) -> *mut c_void { in as_ptr() 86 impl<'a> From<&'a AutoPrimitiveArray<'a, '_>> for *mut c_void { implementation 87 fn from(other: &'a AutoPrimitiveArray) -> *mut c_void { in from()
|
| /external/rust/crates/libsqlite3-sys/sqlite3/ |
| D | bindgen_bundled_version.rs | 504 arg1: *mut ::std::os::raw::c_void, in sqlite3_exec() 510 arg2: *mut ::std::os::raw::c_void, in sqlite3_exec() 1394 arg1: *mut ::std::os::raw::c_void, in sqlite3_busy_handler() 1398 arg3: *mut ::std::os::raw::c_void, in sqlite3_busy_handler() 1433 pub fn sqlite3_malloc(arg1: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_void; in sqlite3_malloc() 1436 pub fn sqlite3_malloc64(arg1: sqlite3_uint64) -> *mut ::std::os::raw::c_void; in sqlite3_malloc64() 1440 arg1: *mut ::std::os::raw::c_void, in sqlite3_realloc() 1442 ) -> *mut ::std::os::raw::c_void; in sqlite3_realloc() 1446 arg1: *mut ::std::os::raw::c_void, in sqlite3_realloc64() 1448 ) -> *mut ::std::os::raw::c_void; in sqlite3_realloc64() [all …]
|