/third_party/rust/crates/rustix/src/mm/ |
D | mmap.rs | 37 ptr: *mut c_void, in mmap() 43 ) -> io::Result<*mut c_void> { in mmap() 65 ptr: *mut c_void, in mmap_anonymous() 69 ) -> io::Result<*mut c_void> { in mmap_anonymous() 86 pub unsafe fn munmap(ptr: *mut c_void, len: usize) -> io::Result<()> { in munmap() 107 old_address: *mut c_void, in mremap() 111 ) -> io::Result<*mut c_void> { in mremap() 133 old_address: *mut c_void, in mremap_fixed() 137 new_address: *mut c_void, in mremap_fixed() 138 ) -> io::Result<*mut c_void> { in mremap_fixed() [all …]
|
/third_party/rust/crates/rustix/src/backend/linux_raw/mm/ |
D | syscalls.rs | 24 pub(crate) fn madvise(addr: *mut c::c_void, len: usize, advice: Advice) -> io::Result<()> { in madvise() 36 pub(crate) unsafe fn msync(addr: *mut c::c_void, len: usize, flags: MsyncFlags) -> io::Result<()> { in msync() 46 addr: *mut c::c_void, in mmap() 52 ) -> io::Result<*mut c::c_void> { in mmap() 88 addr: *mut c::c_void, in mmap_anonymous() 92 ) -> io::Result<*mut c::c_void> { in mmap_anonymous() 121 ptr: *mut c::c_void, in mprotect() 133 pub(crate) unsafe fn munmap(addr: *mut c::c_void, length: usize) -> io::Result<()> { in munmap() 143 old_address: *mut c::c_void, in mremap() 147 ) -> io::Result<*mut c::c_void> { in mremap() [all …]
|
/third_party/rust/crates/rustix/src/backend/libc/mm/ |
D | syscalls.rs | 21 pub(crate) fn madvise(addr: *mut c::c_void, len: usize, advice: Advice) -> io::Result<()> { in madvise() 54 pub(crate) unsafe fn msync(addr: *mut c::c_void, len: usize, flags: MsyncFlags) -> io::Result<()> { in msync() 70 ptr: *mut c::c_void, in mmap() 76 ) -> io::Result<*mut c::c_void> { in mmap() 97 ptr: *mut c::c_void, in mmap_anonymous() 101 ) -> io::Result<*mut c::c_void> { in mmap_anonymous() 118 ptr: *mut c::c_void, in mprotect() 125 pub(crate) unsafe fn munmap(ptr: *mut c::c_void, len: usize) -> io::Result<()> { in munmap() 135 old_address: *mut c::c_void, in mremap() 139 ) -> io::Result<*mut c::c_void> { in mremap() [all …]
|
/third_party/rust/crates/nix/src/sys/ |
D | mman.rs | 375 pub unsafe fn mlock(addr: *const c_void, length: size_t) -> Result<()> { in mlock() 388 pub unsafe fn munlock(addr: *const c_void, length: size_t) -> Result<()> { in munlock() 426 ) -> Result<*mut c_void> { in mmap() 450 addr: *mut c_void, in mremap() 454 new_address: Option<*mut c_void>, in mremap() 455 ) -> Result<*mut c_void> { in mremap() 488 pub unsafe fn munmap(addr: *mut c_void, len: size_t) -> Result<()> { in munmap() 501 addr: *mut c_void, in madvise() 535 addr: *mut c_void, in mprotect() 551 addr: *mut c_void, in msync()
|
/third_party/rust/crates/rust-openssl/openssl-sys/src/handwritten/ |
D | pem.rs | 85 user_data: *mut c_void, in PEM_read_bio_X509() 91 user_data: *mut c_void, in PEM_read_bio_X509_REQ() 97 user_data: *mut c_void, in PEM_read_bio_X509_CRL() 103 user_data: *mut c_void, in PEM_read_bio_RSAPrivateKey() 109 user_data: *mut c_void, in PEM_read_bio_RSAPublicKey() 116 user_data: *mut c_void, in PEM_read_bio_RSA_PUBKEY() 122 user_data: *mut c_void, in PEM_read_bio_DSAPrivateKey() 128 user_data: *mut c_void, in PEM_read_bio_DSA_PUBKEY() 134 user_data: *mut c_void, in PEM_read_bio_ECPrivateKey() 140 user_data: *mut c_void, in PEM_read_bio_EC_PUBKEY() [all …]
|
D | crypto.rs | 25 argp: *mut c_void, in CRYPTO_get_ex_new_index() 79 pub fn CRYPTO_memcmp(a: *const c_void, b: *const c_void, len: size_t) -> c_int; in CRYPTO_memcmp()
|
D | cmac.rs | 10 key: *const c_void, in CMAC_Init() 15 pub fn CMAC_Update(ctx: *mut CMAC_CTX, data: *const c_void, len: size_t) -> c_int; in CMAC_Update()
|
/third_party/rust/crates/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()
|
/third_party/rust/crates/nix/src/sys/socket/ |
D | sockopt.rs | 1071 fn ffi_ptr(&mut self) -> *mut c_void; in ffi_ptr() 1085 fn ffi_ptr(&self) -> *const c_void; in ffi_ptr() 1105 fn ffi_ptr(&mut self) -> *mut c_void { in ffi_ptr() 1133 fn ffi_ptr(&self) -> *const c_void { in ffi_ptr() 1134 self.ptr as *const T as *const c_void in ffi_ptr() constant 1156 fn ffi_ptr(&mut self) -> *mut c_void { in ffi_ptr() 1186 fn ffi_ptr(&self) -> *const c_void { in ffi_ptr() 1187 &self.val as *const c_int as *const c_void in ffi_ptr() constant 1209 fn ffi_ptr(&mut self) -> *mut c_void { in ffi_ptr() 1237 fn ffi_ptr(&self) -> *const c_void { in ffi_ptr() [all …]
|
/third_party/rust/crates/libc/src/unix/bsd/freebsdlike/freebsd/freebsd12/ |
D | mod.rs | 467 pub fn mprotect(addr: *mut ::c_void, len: ::size_t, prot: ::c_int) -> ::c_int; in mprotect() 471 msgp: *mut ::c_void, in msgrcv() 485 pub fn getrandom(buf: *mut ::c_void, buflen: ::size_t, flags: ::c_uint) -> ::ssize_t; in getrandom() 486 pub fn elf_aux_info(aux: ::c_int, buf: *mut ::c_void, buflen: ::c_int) -> ::c_int; in elf_aux_info() 488 pub fn timingsafe_bcmp(a: *const ::c_void, b: *const ::c_void, len: ::size_t) -> ::c_int; in timingsafe_bcmp() 489 pub fn timingsafe_memcmp(a: *const ::c_void, b: *const ::c_void, len: ::size_t) -> ::c_int; in timingsafe_memcmp()
|
/third_party/rust/crates/libc/src/unix/bsd/freebsdlike/freebsd/freebsd14/ |
D | mod.rs | 486 pub fn mprotect(addr: *mut ::c_void, len: ::size_t, prot: ::c_int) -> ::c_int; in mprotect() 490 msgp: *mut ::c_void, in msgrcv() 506 pub fn getrandom(buf: *mut ::c_void, buflen: ::size_t, flags: ::c_uint) -> ::ssize_t; in getrandom() 507 pub fn getentropy(buf: *mut ::c_void, buflen: ::size_t) -> ::c_int; in getentropy() 508 pub fn elf_aux_info(aux: ::c_int, buf: *mut ::c_void, buflen: ::c_int) -> ::c_int; in elf_aux_info() 510 pub fn timingsafe_bcmp(a: *const ::c_void, b: *const ::c_void, len: ::size_t) -> ::c_int; in timingsafe_bcmp() 511 pub fn timingsafe_memcmp(a: *const ::c_void, b: *const ::c_void, len: ::size_t) -> ::c_int; in timingsafe_memcmp()
|
/third_party/rust/crates/libc/src/unix/bsd/freebsdlike/freebsd/freebsd13/ |
D | mod.rs | 486 pub fn mprotect(addr: *mut ::c_void, len: ::size_t, prot: ::c_int) -> ::c_int; in mprotect() 490 msgp: *mut ::c_void, in msgrcv() 506 pub fn getrandom(buf: *mut ::c_void, buflen: ::size_t, flags: ::c_uint) -> ::ssize_t; in getrandom() 507 pub fn getentropy(buf: *mut ::c_void, buflen: ::size_t) -> ::c_int; in getentropy() 508 pub fn elf_aux_info(aux: ::c_int, buf: *mut ::c_void, buflen: ::c_int) -> ::c_int; in elf_aux_info() 510 pub fn timingsafe_bcmp(a: *const ::c_void, b: *const ::c_void, len: ::size_t) -> ::c_int; in timingsafe_bcmp() 511 pub fn timingsafe_memcmp(a: *const ::c_void, b: *const ::c_void, len: ::size_t) -> ::c_int; in timingsafe_memcmp()
|
/third_party/rust/crates/io-lifetimes/src/ |
D | example_ffi.rs | 32 pub fn read(fd: BorrowedFd<'_>, ptr: *mut c_void, size: size_t) -> ssize_t; in read() 33 pub fn write(fd: BorrowedFd<'_>, ptr: *const c_void, size: size_t) -> ssize_t; in write() 54 lpbuffer: *mut c_void, in ReadFile() 61 lpbuffer: *const c_void, in WriteFile()
|
/third_party/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()
|
/third_party/rust/crates/nix/src/sys/ptrace/ |
D | linux.rs | 195 data: *mut c_void, in ptrace_peek() 239 ®s as *const _ as *const c_void, in setregs() constant 256 data.as_mut_ptr() as *const _ as *const c_void, in ptrace_get_data() constant 267 data: *mut c_void, in ptrace_other() 309 sig as *const _ as *const c_void, in setsiginfo() constant 540 data: *mut c_void, in write() 561 data: *mut c_void, in write_user()
|
/third_party/rust/crates/rust-openssl/openssl-sys/src/ |
D | crypto.rs | 63 pub unsafe fn OPENSSL_malloc(num: usize) -> *mut c_void { in OPENSSL_malloc() 74 pub unsafe fn OPENSSL_malloc(num: c_int) -> *mut c_void { in OPENSSL_malloc() 85 pub unsafe fn OPENSSL_free(addr: *mut c_void) { in OPENSSL_free() 95 pub unsafe fn OPENSSL_free(addr: *mut c_void) { in OPENSSL_free()
|
/third_party/rust/crates/libc/src/ |
D | psp.rs | 2612 buf: *mut c_void, in sceAudioOutputPanned() 2618 buf: *mut c_void, in sceAudioOutputPannedBlocking() 2639 pub fn sceAudioInputBlocking(sample_count: i32, freq: AudioInputFrequency, buf: *mut c_void); in sceAudioInputBlocking() 2640 pub fn sceAudioInput(sample_count: i32, freq: AudioInputFrequency, buf: *mut c_void); in sceAudioInput() 2646 pub fn sceAtracSetDataAndGetID(buf: *mut c_void, bufsize: usize) -> i32; in sceAtracSetDataAndGetID() 2737 top_addr: *mut *mut c_void, in sceDisplayGetFrameBuf() 2762 list: *const c_void, in sceGeListEnQueue() 2763 stall: *mut c_void, in sceGeListEnQueue() 2768 list: *const c_void, in sceGeListEnQueueHead() 2769 stall: *mut c_void, in sceGeListEnQueueHead() [all …]
|
/third_party/rust/crates/memchr/src/memchr/ |
D | c.rs | 12 haystack.as_ptr() as *const c_void, in memchr() constant 34 haystack.as_ptr() as *const c_void, in memrchr() constant
|
/third_party/rust/crates/libc/src/unix/ |
D | mod.rs | 449 base: *mut c_void, in qsort() 452 compar: ::Option<unsafe extern "C" fn(*const c_void, *const c_void) -> c_int>, in qsort() 455 key: *const c_void, in bsearch() 456 base: *const c_void, in bsearch() 459 compar: ::Option<unsafe extern "C" fn(*const c_void, *const c_void) -> c_int>, in bsearch() 460 ) -> *mut c_void; in bsearch() 491 pub fn fread(ptr: *mut c_void, size: size_t, nobj: size_t, stream: *mut FILE) -> size_t; in fread() 496 pub fn fwrite(ptr: *const c_void, size: size_t, nobj: size_t, stream: *mut FILE) -> size_t; in fwrite() 522 pub fn calloc(nobj: size_t, size: size_t) -> *mut c_void; in calloc() 523 pub fn malloc(size: size_t) -> *mut c_void; in malloc() [all …]
|
/third_party/rust/crates/rustix/src/backend/linux_raw/io_uring/ |
D | syscalls.rs | 30 arg: *const c_void, in io_uring_register() 48 arg: *const c_void, in io_uring_enter()
|
/third_party/rust/crates/rustix/src/backend/libc/io_uring/ |
D | syscalls.rs | 25 arg: *const c::c_void, in io_uring_register() 43 arg: *const c::c_void, in io_uring_enter()
|
/third_party/rust/crates/libloading/src/os/unix/ |
D | mod.rs | 297 pub fn into_raw(self) -> *mut raw::c_void { in into_raw() 367 pub fn into_raw(self) -> *mut raw::c_void { in into_raw() 431 fn dlopen(filename: *const raw::c_char, flags: raw::c_int) -> *mut raw::c_void; in dlopen() 433 fn dlsym(handle: *mut raw::c_void, symbol: *const raw::c_char) -> *mut raw::c_void; in dlsym() 435 fn dladdr(addr: *mut raw::c_void, info: *mut DlInfo) -> raw::c_int; in dladdr()
|
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/ |
D | virtual_overloaded.rs | 45 this: *mut ::std::os::raw::c_void, in C_do_thing() 52 this: *mut ::std::os::raw::c_void, in C_do_thing1()
|