/external/rust/crates/nix/src/sys/ |
D | mman.rs | 282 pub unsafe fn mlock(addr: *const c_void, length: size_t) -> Result<()> { in mlock() 293 pub unsafe fn munlock(addr: *const c_void, length: size_t) -> Result<()> { in munlock() 319 …ub unsafe fn mmap(addr: *mut c_void, length: size_t, prot: ProtFlags, flags: MapFlags, fd: RawFd, … in mmap() 338 addr: *mut c_void, in mremap() 342 new_address: Option<* mut c_void>, in mremap() 343 ) -> Result<*mut c_void> { in mremap() 359 pub unsafe fn munmap(addr: *mut c_void, len: size_t) -> Result<()> { in munmap() 369 pub unsafe fn madvise(addr: *mut c_void, length: size_t, advise: MmapAdvise) -> Result<()> { in madvise() 398 pub unsafe fn mprotect(addr: *mut c_void, length: size_t, prot: ProtFlags) -> Result<()> { in mprotect() 408 pub unsafe fn msync(addr: *mut c_void, length: size_t, flags: MsFlags) -> Result<()> { in msync()
|
/external/rust/cxx/src/ |
D | weak_ptr.rs | 47 let this = self as *const Self as *const c_void; in upgrade() constant 100 unsafe fn __null(new: *mut c_void); in __null() 102 unsafe fn __clone(this: *const c_void, new: *mut c_void); in __clone() 104 unsafe fn __downgrade(shared: *const c_void, new: *mut c_void); in __downgrade() 106 unsafe fn __upgrade(weak: *const c_void, shared: *mut c_void); in __upgrade() 108 unsafe fn __drop(this: *mut c_void); in __drop()
|
D | unique_ptr.rs | 222 unsafe fn __raw(raw: *mut Self) -> *mut c_void; in __raw() 228 unsafe fn __drop(repr: *mut c_void); in __drop() 233 fn unique_ptr_std_string_null(this: *mut *mut c_void); in unique_ptr_std_string_null() 235 fn unique_ptr_std_string_raw(this: *mut *mut c_void, raw: *mut CxxString); in unique_ptr_std_string_raw() 241 fn unique_ptr_std_string_drop(this: *mut *mut c_void); in unique_ptr_std_string_drop() 258 unsafe fn __raw(raw: *mut Self) -> *mut c_void { in __raw() 272 unsafe fn __drop(mut repr: *mut c_void) { in __drop() 290 unsafe fn __raw(raw: *mut Self) -> *mut c_void { in __raw() 302 unsafe fn __drop(repr: *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 184 unsafe fn __null(new: *mut c_void); in __null() 197 unsafe fn __clone(this: *const c_void, new: *mut c_void); in __clone() 201 unsafe fn __drop(this: *mut c_void); in __drop()
|
/external/rust/crates/nix/src/sys/socket/ |
D | sockopt.rs | 384 fn ffi_ptr(&mut self) -> *mut c_void; in ffi_ptr() 398 fn ffi_ptr(&self) -> *const c_void; in ffi_ptr() 418 fn ffi_ptr(&mut self) -> *mut c_void { in ffi_ptr() 442 fn ffi_ptr(&self) -> *const c_void { in ffi_ptr() 443 self.ptr as *const T as *const c_void in ffi_ptr() constant 465 fn ffi_ptr(&mut self) -> *mut c_void { in ffi_ptr() 489 fn ffi_ptr(&self) -> *const c_void { in ffi_ptr() 490 &self.val as *const c_int as *const c_void in ffi_ptr() constant 512 fn ffi_ptr(&mut self) -> *mut c_void { in ffi_ptr() 536 fn ffi_ptr(&self) -> *const c_void { in ffi_ptr() [all …]
|
/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 …]
|
D | bindgen_3.7.7.rs | 308 … *mut ::std::os::raw::c_void, in sqlite3_exec() 317 arg2: *mut ::std::os::raw::c_void, in sqlite3_exec() 657 … *mut ::std::os::raw::c_void, in sqlite3_busy_handler() 705 -> *mut ::std::os::raw::c_void; in sqlite3_malloc() 708 pub fn sqlite3_realloc(arg1: *mut ::std::os::raw::c_void, in sqlite3_realloc() 710 -> *mut ::std::os::raw::c_void; in sqlite3_realloc() 713 pub fn sqlite3_free(arg1: *mut ::std::os::raw::c_void); in sqlite3_free() 724 P: *mut ::std::os::raw::c_void); in sqlite3_randomness() 730 … *mut ::std::os::raw::c_void, in sqlite3_set_authorizer() 750 … *mut ::std::os::raw::c_void, in sqlite3_trace() [all …]
|
D | bindgen_3.7.16.rs | 342 … *mut ::std::os::raw::c_void, in sqlite3_exec() 351 arg2: *mut ::std::os::raw::c_void, in sqlite3_exec() 691 … *mut ::std::os::raw::c_void, in sqlite3_busy_handler() 739 -> *mut ::std::os::raw::c_void; in sqlite3_malloc() 742 pub fn sqlite3_realloc(arg1: *mut ::std::os::raw::c_void, in sqlite3_realloc() 744 -> *mut ::std::os::raw::c_void; in sqlite3_realloc() 747 pub fn sqlite3_free(arg1: *mut ::std::os::raw::c_void); in sqlite3_free() 758 P: *mut ::std::os::raw::c_void); in sqlite3_randomness() 764 … *mut ::std::os::raw::c_void, in sqlite3_set_authorizer() 784 … *mut ::std::os::raw::c_void, in sqlite3_trace() [all …]
|
/external/rust/crates/libsqlite3-sys/sqlite3/ |
D | bindgen_bundled_version.rs | 498 arg1: *mut ::std::os::raw::c_void, in sqlite3_exec() 504 arg2: *mut ::std::os::raw::c_void, in sqlite3_exec() 1388 arg1: *mut ::std::os::raw::c_void, in sqlite3_busy_handler() 1392 arg3: *mut ::std::os::raw::c_void, in sqlite3_busy_handler() 1427 pub fn sqlite3_malloc(arg1: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_void; in sqlite3_malloc() 1430 pub fn sqlite3_malloc64(arg1: sqlite3_uint64) -> *mut ::std::os::raw::c_void; in sqlite3_malloc64() 1434 arg1: *mut ::std::os::raw::c_void, in sqlite3_realloc() 1436 ) -> *mut ::std::os::raw::c_void; in sqlite3_realloc() 1440 arg1: *mut ::std::os::raw::c_void, in sqlite3_realloc64() 1442 ) -> *mut ::std::os::raw::c_void; in sqlite3_realloc64() [all …]
|
/external/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 …]
|
D | wasi.rs | 344 pub fn aligned_alloc(a: size_t, b: size_t) -> *mut c_void; in aligned_alloc() 345 pub fn calloc(amt: size_t, amt2: size_t) -> *mut c_void; in calloc() 347 pub fn free(ptr: *mut c_void); in free() 349 pub fn malloc(amt: size_t) -> *mut c_void; in malloc() 351 pub fn sbrk(increment: ::intptr_t) -> *mut ::c_void; in sbrk() 353 pub fn read(fd: c_int, ptr: *mut c_void, size: size_t) -> ssize_t; in read() 354 pub fn realloc(ptr: *mut c_void, amt: size_t) -> *mut c_void; in realloc() 358 pub fn write(fd: c_int, ptr: *const c_void, size: size_t) -> ssize_t; in write() 374 pub fn fread(buf: *mut c_void, a: size_t, b: size_t, f: *mut FILE) -> size_t; in fread() 375 pub fn fwrite(buf: *const c_void, a: size_t, b: size_t, f: *mut FILE) -> size_t; in fwrite() [all …]
|
/external/rust/crates/memchr/src/ |
D | c.rs | 13 haystack.as_ptr() as *const c_void, in memchr() constant 34 haystack.as_ptr() as *const c_void, in memrchr() constant
|
/external/rust/crates/libc/src/unix/ |
D | mod.rs | 422 base: *mut c_void, in qsort() 425 compar: ::Option<unsafe extern "C" fn(*const c_void, *const c_void) -> c_int>, in qsort() 428 key: *const c_void, in bsearch() 429 base: *const c_void, in bsearch() 432 compar: ::Option<unsafe extern "C" fn(*const c_void, *const c_void) -> c_int>, in bsearch() 433 ) -> *mut c_void; in bsearch() 444 pub fn fmemopen(buf: *mut c_void, size: size_t, mode: *const c_char) -> *mut FILE; in fmemopen() 466 pub fn fread(ptr: *mut c_void, size: size_t, nobj: size_t, stream: *mut FILE) -> size_t; in fread() 471 pub fn fwrite(ptr: *const c_void, size: size_t, nobj: size_t, stream: *mut FILE) -> size_t; in fwrite() 491 pub fn calloc(nobj: size_t, size: size_t) -> *mut c_void; in calloc() [all …]
|
/external/rust/crates/rusqlite/src/ |
D | collation.rs | 12 unsafe extern "C" fn free_boxed_value<T>(p: *mut c_void) { in free_boxed_value() 47 arg1: *mut c_void, in create_collation() 49 arg3: *const c_void, in create_collation() 51 arg5: *const c_void, in create_collation() 105 arg1: *mut c_void, in collation_needed()
|
D | trace.rs | 29 extern "C" fn log_callback(p_arg: *mut c_void, err: c_int, msg: *const c_char) { in config_log() 73 unsafe extern "C" fn trace_callback(p_arg: *mut c_void, z_sql: *const c_char) { in trace() 98 p_arg: *mut c_void, in profile()
|
/external/rust/crates/grpcio-sys/bindings/ |
D | aarch64-unknown-linux-gnu-bindings.rs | 360 pub fn gpr_event_set(ev: *mut gpr_event, value: *mut ::std::os::raw::c_void); in gpr_event_set() 368 pub fn gpr_event_get(ev: *mut gpr_event) -> *mut ::std::os::raw::c_void; in gpr_event_get() 379 ) -> *mut ::std::os::raw::c_void; in gpr_event_wait() 443 p: *mut ::std::os::raw::c_void, in grpc_slice_new() 445 destroy: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>, in grpc_slice_new() 454 p: *mut ::std::os::raw::c_void, in grpc_slice_new_with_user_data() 456 destroy: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>, in grpc_slice_new_with_user_data() 457 user_data: *mut ::std::os::raw::c_void, in grpc_slice_new_with_user_data() 464 p: *mut ::std::os::raw::c_void, in grpc_slice_new_with_len() 467 unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void, arg2: usize), in grpc_slice_new_with_len() [all …]
|
D | x86_64-unknown-linux-gnu-bindings.rs | 360 pub fn gpr_event_set(ev: *mut gpr_event, value: *mut ::std::os::raw::c_void); in gpr_event_set() 368 pub fn gpr_event_get(ev: *mut gpr_event) -> *mut ::std::os::raw::c_void; in gpr_event_get() 379 ) -> *mut ::std::os::raw::c_void; in gpr_event_wait() 443 p: *mut ::std::os::raw::c_void, in grpc_slice_new() 445 destroy: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>, in grpc_slice_new() 454 p: *mut ::std::os::raw::c_void, in grpc_slice_new_with_user_data() 456 destroy: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>, in grpc_slice_new_with_user_data() 457 user_data: *mut ::std::os::raw::c_void, in grpc_slice_new_with_user_data() 464 p: *mut ::std::os::raw::c_void, in grpc_slice_new_with_len() 467 unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void, arg2: usize), in grpc_slice_new_with_len() [all …]
|
/external/crosvm/rutabaga_gfx/src/rutabaga_gralloc/ |
D | minigbm_bindings.rs | 136 buffer: *mut c_void, in gbm_bo_import() 148 pub fn gbm_bo_unmap(bo: *mut gbm_bo, map_data: *mut c_void); in gbm_bo_unmap() 190 pub fn gbm_bo_write(bo: *mut gbm_bo, buf: *const c_void, count: usize) -> c_int; in gbm_bo_write() 195 data: *mut c_void, in gbm_bo_set_user_data() 197 unsafe extern "C" fn(arg1: *mut gbm_bo, arg2: *mut c_void), in gbm_bo_set_user_data() 202 pub fn gbm_bo_get_user_data(bo: *mut gbm_bo) -> *mut c_void; in gbm_bo_get_user_data() 256 map_data: *mut *mut c_void, in gbm_bo_map() 258 ) -> *mut c_void; in gbm_bo_map() 269 map_data: *mut *mut c_void, in gbm_bo_map2() 271 ) -> *mut c_void; in gbm_bo_map2()
|
/external/rust/crates/libloading/src/os/unix/ |
D | mod.rs | 299 pub fn into_raw(self) -> *mut raw::c_void { in into_raw() 369 pub fn into_raw(self) -> *mut raw::c_void { in into_raw() 435 fn dlopen(filename: *const raw::c_char, flags: raw::c_int) -> *mut raw::c_void; in dlopen() 437 fn dlsym(handle: *mut raw::c_void, symbol: *const raw::c_char) -> *mut raw::c_void; in dlsym() 439 fn dladdr(addr: *mut raw::c_void, info: *mut DlInfo) -> raw::c_int; in dladdr()
|
/external/rust/crates/libc/src/unix/solarish/ |
D | solaris.rs | 46 pub fn mincore(addr: *const ::c_void, len: ::size_t, vec: *mut ::c_char) -> ::c_int; in mincore() 57 cookie: *const ::c_void, in door_create()
|
/external/rust/crates/libc/src/unix/bsd/freebsdlike/freebsd/freebsd12/ |
D | mod.rs | 211 pub fn mprotect(addr: *mut ::c_void, len: ::size_t, prot: ::c_int) -> ::c_int; in mprotect() 215 msgp: *mut ::c_void, in msgrcv() 229 pub fn getrandom(buf: *mut ::c_void, buflen: ::size_t, flags: ::c_uint) -> ::ssize_t; in getrandom()
|
/external/crosvm/base/src/ |
D | ioctl.rs | 23 arg as *const T as *const c_void, in ioctl_with_ref() constant 46 libc::ioctl(descriptor.as_raw_descriptor(), nr, arg as *const c_void) in ioctl_with_ptr() constant
|
/external/rust/crates/libc/src/unix/bsd/freebsdlike/freebsd/freebsd11/ |
D | mod.rs | 201 pub fn mprotect(addr: *const ::c_void, len: ::size_t, prot: ::c_int) -> ::c_int; in mprotect() 209 msgp: *mut ::c_void, in msgrcv()
|
/external/rust/crates/libc/src/unix/bsd/freebsdlike/freebsd/freebsd13/ |
D | mod.rs | 215 pub fn mprotect(addr: *mut ::c_void, len: ::size_t, prot: ::c_int) -> ::c_int; in mprotect() 219 msgp: *mut ::c_void, in msgrcv() 233 pub fn getrandom(buf: *mut ::c_void, buflen: ::size_t, flags: ::c_uint) -> ::ssize_t; in getrandom()
|