Home
last modified time | relevance | path

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

12345678910>>...12

/third_party/rust/crates/rust-openssl/openssl-sys/src/handwritten/
Dtypes.rs32 pub ptr: *mut c_void,
86 … Option<unsafe extern "C" fn(*mut EVP_CIPHER_CTX, c_int, c_int, *mut c_void) -> c_int>,
87 pub app_data: *mut c_void,
102 md_data: *mut c_void,
104 update: *mut c_void,
274 skid: *mut c_void,
275 akid: *mut c_void,
276 policy_cache: *mut c_void,
277 crldp: *mut c_void,
278 altname: *mut c_void,
[all …]
Dpem.rs9 user_data: *mut c_void,
25 user_data: *mut c_void,
35 user_data: *mut c_void,
44 user_data: *mut c_void,
54 user_data: *mut c_void,
64 user_data: *mut c_void,
75 u: *mut c_void,
85 user_data: *mut c_void, in PEM_read_bio_X509() argument
91 user_data: *mut c_void, in PEM_read_bio_X509_REQ() argument
97 user_data: *mut c_void, in PEM_read_bio_X509_CRL() argument
[all …]
Dstack.rs13 pub comp: Option<unsafe extern "C" fn(*const c_void, *const c_void) -> c_int>,
22 pub fn OPENSSL_sk_value(stack: *const OPENSSL_STACK, idx: c_int) -> *mut c_void;
28 free: Option<unsafe extern "C" fn(*mut c_void)>,
30 pub fn OPENSSL_sk_push(st: *mut OPENSSL_STACK, data: *const c_void) -> c_int;
31 pub fn OPENSSL_sk_pop(st: *mut OPENSSL_STACK) -> *mut c_void;
36 pub fn sk_value(st: *const _STACK, n: c_int) -> *mut c_void;
40 pub fn sk_pop_free(st: *mut _STACK, free: Option<unsafe extern "C" fn(*mut c_void)>);
41 pub fn sk_push(st: *mut _STACK, data: *mut c_void) -> c_int;
42 pub fn sk_pop(st: *mut _STACK) -> *mut c_void;
Dssl.rs31 internal: *mut c_void,
44 sess_cert: *mut c_void,
50 cipher: *const c_void,
52 ciphers: *mut c_void,
54 prev: *mut c_void,
55 next: *mut c_void,
86 sess_cert: *mut c_void,
93 cipher: *const c_void,
95 ciphers: *mut c_void,
97 prev: *mut c_void,
[all …]
/third_party/rust/crates/cxx/src/
Dweak_ptr.rs3 use core::ffi::c_void;
19 repr: [MaybeUninit<*mut c_void>; 2],
47 let this = self as *const Self as *const c_void; in upgrade() constant
67 let this = self as *const Self as *mut c_void; in clone()
80 let this = self as *mut Self as *mut c_void; in drop()
103 unsafe fn __null(new: *mut c_void); in __null() argument
105 unsafe fn __clone(this: *const c_void, new: *mut c_void); in __clone() argument
107 unsafe fn __downgrade(shared: *const c_void, new: *mut c_void); in __downgrade() argument
109 unsafe fn __upgrade(weak: *const c_void, shared: *mut c_void); in __upgrade() argument
111 unsafe fn __drop(this: *mut c_void); in __drop() argument
[all …]
Dshared_ptr.rs6 use core::ffi::c_void;
18 repr: [MaybeUninit<*mut c_void>; 2],
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
96 let this = self as *const Self as *mut c_void; in clone()
113 let this = self as *mut Self as *mut c_void; in drop()
188 unsafe fn __null(new: *mut c_void); in __null() argument
190 unsafe fn __new(value: Self, new: *mut c_void) in __new()
201 unsafe fn __clone(this: *const c_void, new: *mut c_void); in __clone() argument
[all …]
Dunique_ptr.rs6 use core::ffi::c_void;
19 repr: MaybeUninit<*mut c_void>,
213 fn __null() -> MaybeUninit<*mut c_void>; in __null()
215 fn __new(value: Self) -> MaybeUninit<*mut c_void> in __new()
225 unsafe fn __raw(raw: *mut Self) -> MaybeUninit<*mut c_void>; in __raw() argument
227 unsafe fn __get(repr: MaybeUninit<*mut c_void>) -> *const Self; in __get()
229 unsafe fn __release(repr: MaybeUninit<*mut c_void>) -> *mut Self; in __release()
231 unsafe fn __drop(repr: MaybeUninit<*mut c_void>); in __drop() argument
236 fn unique_ptr_std_string_null(this: *mut MaybeUninit<*mut c_void>); in unique_ptr_std_string_null() argument
238 fn unique_ptr_std_string_raw(this: *mut MaybeUninit<*mut c_void>, raw: *mut CxxString); in unique_ptr_std_string_raw() argument
[all …]
Dcxx_vector.rs7 use core::ffi::c_void;
27 _void: [c_void; 0],
357 fn __unique_ptr_null() -> MaybeUninit<*mut c_void>; in __unique_ptr_null()
359 unsafe fn __unique_ptr_raw(raw: *mut CxxVector<Self>) -> MaybeUninit<*mut c_void>; in __unique_ptr_raw() argument
361 unsafe fn __unique_ptr_get(repr: MaybeUninit<*mut c_void>) -> *const CxxVector<Self>; in __unique_ptr_get()
363 unsafe fn __unique_ptr_release(repr: MaybeUninit<*mut c_void>) -> *mut CxxVector<Self>; in __unique_ptr_release()
365 unsafe fn __unique_ptr_drop(repr: MaybeUninit<*mut c_void>); in __unique_ptr_drop() argument
420 fn __unique_ptr_null() -> MaybeUninit<*mut c_void> {
424 fn __unique_ptr_null(this: *mut MaybeUninit<*mut c_void>);
431 unsafe fn __unique_ptr_raw(raw: *mut CxxVector<Self>) -> MaybeUninit<*mut c_void> {
[all …]
/third_party/rust/crates/rustix/src/mm/
Dmmap.rs11 use core::ffi::c_void;
37 ptr: *mut c_void, in mmap() argument
43 ) -> io::Result<*mut c_void> { in mmap() argument
65 ptr: *mut c_void, in mmap_anonymous() argument
69 ) -> io::Result<*mut c_void> { in mmap_anonymous() argument
86 pub unsafe fn munmap(ptr: *mut c_void, len: usize) -> io::Result<()> { in munmap() argument
107 old_address: *mut c_void, in mremap() argument
111 ) -> io::Result<*mut c_void> { in mremap() argument
133 old_address: *mut c_void, in mremap_fixed() argument
137 new_address: *mut c_void, in mremap_fixed() argument
[all …]
/third_party/rust/crates/libc/src/
Dpsp.rs32 pub use ::ffi::c_void;
40 pub enum c_void {
54 arg3: *mut c_void,
58 unsafe extern "C" fn(uid: SceUid, arg1: i64, arg2: i64, arg3: *mut c_void) -> u32;
61 unsafe extern "C" fn(mask: i32, thid: SceUid, common: *mut c_void) -> i32;
63 pub type SceKernelAlarmHandler = unsafe extern "C" fn(common: *mut c_void) -> u32;
66 unsafe extern "C" fn(arg1: i32, arg2: i32, arg: *mut c_void) -> i32;
68 pub type SceKernelThreadEntry = unsafe extern "C" fn(args: usize, argp: *mut c_void) -> i32;
77 ::Option<unsafe extern "C" fn(data: *mut c_void, num_packets: i32, param: *mut c_void) -> i32>;
79 pub type GuCallback = ::Option<extern "C" fn(id: i32, arg: *mut c_void)>;
[all …]
Dwasi.rs3 pub use ffi::c_void;
118 pub iov_base: *mut c_void,
454 pub fn aligned_alloc(a: size_t, b: size_t) -> *mut c_void; in aligned_alloc() argument
455 pub fn calloc(amt: size_t, amt2: size_t) -> *mut c_void; in calloc() argument
457 pub fn free(ptr: *mut c_void); in free() argument
459 pub fn malloc(amt: size_t) -> *mut c_void; in malloc() argument
460 pub fn malloc_usable_size(ptr: *mut c_void) -> size_t; in malloc_usable_size()
461 pub fn sbrk(increment: ::intptr_t) -> *mut ::c_void; in sbrk() argument
463 pub fn read(fd: c_int, ptr: *mut c_void, size: size_t) -> ssize_t; in read() argument
464 pub fn realloc(ptr: *mut c_void, amt: size_t) -> *mut c_void; in realloc() argument
[all …]
/third_party/rust/crates/rust-openssl/openssl-sys/src/
Dcrypto.rs28 type CRYPTO_EX_dup_from_d = *mut *mut c_void;
30 type CRYPTO_EX_dup_from_d = *mut c_void;
36 parent: *mut c_void,
37 ptr: *mut c_void,
41 argp: *mut c_void,
49 argp: *mut c_void,
52 parent: *mut c_void,
53 ptr: *mut c_void,
57 argp: *mut c_void,
63 pub unsafe fn OPENSSL_malloc(num: usize) -> *mut c_void { in OPENSSL_malloc() argument
[all …]
Dtls1.rs24 name as *mut c_void, in SSL_set_tlsext_host_name()
42 resp as *mut c_void, in SSL_get_tlsext_status_ocsp_resp()
55 resp as *mut c_void, in SSL_set_tlsext_status_ocsp_resp()
71 cb: Option<unsafe extern "C" fn(*mut SSL, *mut c_int, *mut c_void) -> c_int>, in SSL_CTX_set_tlsext_servername_callback__fixed_rust()
81 pub unsafe fn SSL_CTX_set_tlsext_servername_arg(ctx: *mut SSL_CTX, arg: *mut c_void) -> c_long { in SSL_CTX_set_tlsext_servername_arg()
87 cb: Option<unsafe extern "C" fn(*mut SSL, *mut c_void) -> c_int>, in SSL_CTX_set_tlsext_status_cb()
92 pub unsafe fn SSL_CTX_set_tlsext_status_arg(ctx: *mut SSL_CTX, arg: *mut c_void) -> c_long { in SSL_CTX_set_tlsext_status_arg()
/third_party/rust/crates/rustix/src/backend/linux_raw/mm/
Dsyscalls.rs24 pub(crate) fn madvise(addr: *mut c::c_void, len: usize, advice: Advice) -> io::Result<()> { in madvise() argument
36 pub(crate) unsafe fn msync(addr: *mut c::c_void, len: usize, flags: MsyncFlags) -> io::Result<()> { in msync() argument
46 addr: *mut c::c_void, in mmap() argument
52 ) -> io::Result<*mut c::c_void> { in mmap() argument
88 addr: *mut c::c_void, in mmap_anonymous() argument
92 ) -> io::Result<*mut c::c_void> { in mmap_anonymous() argument
121 ptr: *mut c::c_void, in mprotect() argument
133 pub(crate) unsafe fn munmap(addr: *mut c::c_void, length: usize) -> io::Result<()> { in munmap() argument
143 old_address: *mut c::c_void, in mremap() argument
147 ) -> io::Result<*mut c::c_void> { in mremap() argument
[all …]
/third_party/rust/crates/rustix/src/backend/libc/mm/
Dsyscalls.rs21 pub(crate) fn madvise(addr: *mut c::c_void, len: usize, advice: Advice) -> io::Result<()> { in madvise() argument
54 pub(crate) unsafe fn msync(addr: *mut c::c_void, len: usize, flags: MsyncFlags) -> io::Result<()> { in msync() argument
70 ptr: *mut c::c_void, in mmap() argument
76 ) -> io::Result<*mut c::c_void> { in mmap() argument
97 ptr: *mut c::c_void, in mmap_anonymous() argument
101 ) -> io::Result<*mut c::c_void> { in mmap_anonymous() argument
118 ptr: *mut c::c_void, in mprotect() argument
125 pub(crate) unsafe fn munmap(ptr: *mut c::c_void, len: usize) -> io::Result<()> { in munmap() argument
135 old_address: *mut c::c_void, in mremap() argument
139 ) -> io::Result<*mut c::c_void> { in mremap() argument
[all …]
/third_party/rust/crates/libc/src/unix/bsd/apple/b64/x86_64/
Dmod.rs111 _reserved1: *mut ::c_void,
112 _reserved2: *mut ::c_void,
115 ptr: *const ::c_void,
120 ) -> *mut ::c_void>,
125 ) -> *mut ::c_void>,
129 ) -> *mut ::c_void>,
132 ptr: *mut ::c_void
136 ptr: *mut ::c_void,
138 ) -> *mut ::c_void>,
144 results: *mut *mut ::c_void,
[all …]
/third_party/rust/crates/libc/src/unix/nto/
Dneutrino.rs9 pub iov_base: *mut ::c_void, // union
130 pub context: *mut ::c_void,
620 __smsg: *const ::c_void, in MsgSend() argument
622 __rmsg: *mut ::c_void, in MsgSend() argument
627 __smsg: *const ::c_void, in MsgSend_r() argument
629 __rmsg: *mut ::c_void, in MsgSend_r() argument
634 __smsg: *const ::c_void, in MsgSendnc() argument
636 __rmsg: *mut ::c_void, in MsgSendnc() argument
641 __smsg: *const ::c_void, in MsgSendnc_r() argument
643 __rmsg: *mut ::c_void, in MsgSendnc_r() argument
[all …]
/third_party/rust/crates/libc/src/solid/
Dmod.rs176 pub iov_base: *mut c_void,
453 pub fn fread(arg1: *mut c_void, arg2: size_t, arg3: size_t, arg4: *mut FILE) -> size_t; in fread() argument
458 pub fn fwrite(arg1: *const c_void, arg2: size_t, arg3: size_t, arg4: *mut FILE) -> size_t; in fwrite() argument
548 arg1: *const c_void, in bsearch() argument
549 arg2: *const c_void, in bsearch() argument
552 arg5: ::Option<unsafe extern "C" fn(arg1: *const c_void, arg2: *const c_void) -> c_int>, in bsearch() argument
553 ) -> *mut c_void; in bsearch() argument
554 pub fn calloc(arg1: size_t, arg2: size_t) -> *mut c_void; in calloc() argument
557 pub fn free(arg1: *mut c_void); in free() argument
561 pub fn malloc(arg1: size_t) -> *mut c_void; in malloc() argument
[all …]
/third_party/rust/crates/libc/src/unix/bsd/freebsdlike/freebsd/freebsd12/
Dmod.rs26 pub udata: *mut ::c_void,
49 pub ki_paddr: *mut ::c_void,
52 pub ki_addr: *mut ::c_void,
55 pub ki_tracep: *mut ::c_void,
58 pub ki_textvp: *mut ::c_void,
61 pub ki_fd: *mut ::c_void,
64 pub ki_vmspace: *mut ::c_void,
66 pub ki_wchan: *mut ::c_void,
207 pub ki_pcb: *mut ::c_void,
209 pub ki_kstack: *mut ::c_void,
[all …]
/third_party/rust/crates/libc/src/unix/bsd/freebsdlike/freebsd/freebsd13/
Dmod.rs29 pub udata: *mut ::c_void,
56 pub ki_paddr: *mut ::c_void,
59 pub ki_addr: *mut ::c_void,
62 pub ki_tracep: *mut ::c_void,
65 pub ki_textvp: *mut ::c_void,
68 pub ki_fd: *mut ::c_void,
71 pub ki_vmspace: *mut ::c_void,
73 pub ki_wchan: *const ::c_void,
214 pub ki_pcb: *mut ::c_void,
216 pub ki_kstack: *mut ::c_void,
[all …]
/third_party/rust/crates/libc/src/unix/bsd/freebsdlike/freebsd/freebsd14/
Dmod.rs29 pub udata: *mut ::c_void,
56 pub ki_paddr: *mut ::c_void,
59 pub ki_addr: *mut ::c_void,
62 pub ki_tracep: *mut ::c_void,
65 pub ki_textvp: *mut ::c_void,
68 pub ki_fd: *mut ::c_void,
71 pub ki_vmspace: *mut ::c_void,
73 pub ki_wchan: *const ::c_void,
214 pub ki_pcb: *mut ::c_void,
216 pub ki_kstack: *mut ::c_void,
[all …]
/third_party/rust/crates/libc/src/vxworks/
Dmod.rs116 pub unsafe fn si_addr(&self) -> *mut ::c_void { in si_addr() argument
193 pub iov_base: *mut ::c_void,
198 pub msg_name: *mut c_void,
202 pub msg_control: *mut c_void,
268 pub threadAttrStackaddr : *mut ::c_void,
289 pub ss_sp : *mut ::c_void,
301 pub si_addr: *mut ::c_void,
403 pub dli_fbase: *mut ::c_void,
405 pub dli_saddr: *mut ::c_void,
433 pub entrAddr : *mut ::c_void,
[all …]
/third_party/rust/crates/nix/src/sys/ptrace/
Dlinux.rs8 use libc::{self, c_long, c_void, siginfo_t};
11 pub type AddressType = *mut ::libc::c_void;
195 data: *mut c_void, in ptrace_peek() argument
238 ptr::null_mut::<c_void>(), in setregs()
239 &regs 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() argument
284 ptr::null_mut::<c_void>(), in setoptions()
285 options.bits() as *mut c_void, in setoptions()
308 ptr::null_mut::<c_void>(), in setsiginfo()
[all …]
/third_party/rust/crates/libloading/src/os/unix/
Dmod.rs77 handle: *mut raw::c_void
192 ensure_compatible_types::<T, *mut raw::c_void>()?; in get_impl()
297 pub fn into_raw(self) -> *mut raw::c_void { in into_raw() argument
310 pub unsafe fn from_raw(handle: *mut raw::c_void) -> Library { in from_raw()
361 pointer: *mut raw::c_void,
367 pub fn into_raw(self) -> *mut raw::c_void { in into_raw() argument
431 fn dlopen(filename: *const raw::c_char, flags: raw::c_int) -> *mut raw::c_void; in dlopen() argument
432 fn dlclose(handle: *mut raw::c_void) -> raw::c_int; in dlclose()
433 fn dlsym(handle: *mut raw::c_void, symbol: *const raw::c_char) -> *mut raw::c_void; in dlsym() argument
435 fn dladdr(addr: *mut raw::c_void, info: *mut DlInfo) -> raw::c_int; in dladdr() argument
[all …]
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/
Dblocks.rs11 pub fn atexit_b(arg1: *mut ::std::os::raw::c_void); in atexit_b() argument
13 pub type dispatch_data_t = *mut ::std::os::raw::c_void;
14 pub type dispatch_data_applier_t = *mut ::std::os::raw::c_void;
24 pub fn foo(arg1: *mut ::std::os::raw::c_void) -> bool; in foo()
28 pub fn foo_ptr(arg1: *mut *mut ::std::os::raw::c_void) -> bool; in foo_ptr()
33 pub val: *mut ::std::os::raw::c_void,
34 pub ptr_val: *mut *mut ::std::os::raw::c_void,

12345678910>>...12