/external/rust/android-crates-io/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/android-crates-io/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/android-crates-io/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/android-crates-io/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/android-crates-io/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/cronet/stable/third_party/rust/chromium_crates_io/vendor/cxx-1.0.130/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()
|
/external/cronet/tot/third_party/rust/chromium_crates_io/vendor/cxx-1.0.130/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 | 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/android-crates-io/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/android-crates-io/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/cronet/tot/third_party/rust/chromium_crates_io/vendor/libc-0.2.164/src/ |
D | trusty.rs | 79 pub fn calloc(nobj: size_t, size: size_t) -> *mut c_void; in calloc() 80 pub fn malloc(size: size_t) -> *mut c_void; in malloc() 81 pub fn realloc(p: *mut c_void, size: size_t) -> *mut c_void; in realloc() 82 pub fn free(p: *mut c_void); in free() 83 pub fn memalign(align: ::size_t, size: ::size_t) -> *mut ::c_void; in memalign() 84 pub fn posix_memalign(memptr: *mut *mut ::c_void, align: ::size_t, size: ::size_t) -> ::c_int; in posix_memalign() 85 pub fn write(fd: ::c_int, buf: *const ::c_void, count: ::size_t) -> ::ssize_t; in write() 91 addr: *mut ::c_void, in mmap() 97 ) -> *mut ::c_void; in mmap() 98 pub fn munmap(addr: *mut ::c_void, len: ::size_t) -> ::c_int; in munmap()
|
/external/cronet/stable/third_party/rust/chromium_crates_io/vendor/libc-0.2.164/src/ |
D | trusty.rs | 79 pub fn calloc(nobj: size_t, size: size_t) -> *mut c_void; in calloc() 80 pub fn malloc(size: size_t) -> *mut c_void; in malloc() 81 pub fn realloc(p: *mut c_void, size: size_t) -> *mut c_void; in realloc() 82 pub fn free(p: *mut c_void); in free() 83 pub fn memalign(align: ::size_t, size: ::size_t) -> *mut ::c_void; in memalign() 84 pub fn posix_memalign(memptr: *mut *mut ::c_void, align: ::size_t, size: ::size_t) -> ::c_int; in posix_memalign() 85 pub fn write(fd: ::c_int, buf: *const ::c_void, count: ::size_t) -> ::ssize_t; in write() 91 addr: *mut ::c_void, in mmap() 97 ) -> *mut ::c_void; in mmap() 98 pub fn munmap(addr: *mut ::c_void, len: ::size_t) -> ::c_int; in munmap()
|
/external/rust/android-crates-io/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/android-crates-io/crates/libc/src/ |
D | trusty.rs | 71 pub fn calloc(nobj: size_t, size: size_t) -> *mut c_void; in calloc() 72 pub fn malloc(size: size_t) -> *mut c_void; in malloc() 73 pub fn realloc(p: *mut c_void, size: size_t) -> *mut c_void; in realloc() 74 pub fn free(p: *mut c_void); in free() 75 pub fn memalign(align: ::size_t, size: ::size_t) -> *mut ::c_void; in memalign() 76 pub fn posix_memalign(memptr: *mut *mut ::c_void, align: ::size_t, size: ::size_t) -> ::c_int; in posix_memalign() 77 pub fn write(fd: ::c_int, buf: *const ::c_void, count: ::size_t) -> ::ssize_t; in write() 83 addr: *mut ::c_void, in mmap() 89 ) -> *mut ::c_void; in mmap() 90 pub fn munmap(addr: *mut ::c_void, len: ::size_t) -> ::c_int; in munmap()
|
/external/rust/android-crates-io/crates/gl/out/ |
D | bindings.rs | 9 fn metaloadfn(loadfn: &mut dyn FnMut(&'static str) -> *const __gl_imports::raw::c_void, in metaloadfn() 11 fallbacks: &[&'static str]) -> *const __gl_imports::raw::c_void { in metaloadfn() 1588 …fferData(target: types::GLenum, size: types::GLsizeiptr, data: *const __gl_imports::raw::c_void, u… in BufferData() 1591 …rStorage(target: types::GLenum, size: types::GLsizeiptr, data: *const __gl_imports::raw::c_void, f… in BufferStorage() 1594 …um, offset: types::GLintptr, size: types::GLsizeiptr, data: *const __gl_imports::raw::c_void) -> (… in BufferSubData() 1606 …:GLenum, format: types::GLenum, type_: types::GLenum, data: *const __gl_imports::raw::c_void) -> (… in ClearBufferData() 1608 …izeiptr, format: types::GLenum, type_: types::GLenum, data: *const __gl_imports::raw::c_void) -> (… in ClearBufferSubData() 1625 …:GLenum, format: types::GLenum, type_: types::GLenum, data: *const __gl_imports::raw::c_void) -> (… in ClearNamedBufferData() 1627 …izeiptr, format: types::GLenum, type_: types::GLenum, data: *const __gl_imports::raw::c_void) -> (… in ClearNamedBufferSubData() 1640 …::GLint, format: types::GLenum, type_: types::GLenum, data: *const __gl_imports::raw::c_void) -> (… in ClearTexImage() [all …]
|
/external/rust/android-crates-io/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/rust/android-crates-io/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/android-crates-io/crates/nix/src/sys/socket/ |
D | sockopt.rs | 1316 fn ffi_ptr(&mut self) -> *mut c_void; in ffi_ptr() 1330 fn ffi_ptr(&self) -> *const c_void; in ffi_ptr() 1350 fn ffi_ptr(&mut self) -> *mut c_void { in ffi_ptr() 1378 fn ffi_ptr(&self) -> *const c_void { in ffi_ptr() 1379 self.ptr as *const T as *const c_void in ffi_ptr() constant 1401 fn ffi_ptr(&mut self) -> *mut c_void { in ffi_ptr() 1431 fn ffi_ptr(&self) -> *const c_void { in ffi_ptr() 1432 &self.val as *const c_int as *const c_void in ffi_ptr() constant 1454 fn ffi_ptr(&mut self) -> *mut c_void { in ffi_ptr() 1482 fn ffi_ptr(&self) -> *const c_void { in ffi_ptr() [all …]
|
/external/rust/android-crates-io/crates/libsqlite3-sys/bindgen-bindings/ |
D | bindgen_3.14.0.rs | 447 arg1: *mut ::std::os::raw::c_void, in sqlite3_exec() 453 arg2: *mut ::std::os::raw::c_void, in sqlite3_exec() 774 arg1: *mut ::std::os::raw::c_void, in sqlite3_busy_handler() 778 arg3: *mut ::std::os::raw::c_void, in sqlite3_busy_handler() 813 pub fn sqlite3_malloc(arg1: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_void; in sqlite3_malloc() 816 pub fn sqlite3_malloc64(arg1: sqlite3_uint64) -> *mut ::std::os::raw::c_void; in sqlite3_malloc64() 820 arg1: *mut ::std::os::raw::c_void, in sqlite3_realloc() 822 ) -> *mut ::std::os::raw::c_void; in sqlite3_realloc() 826 arg1: *mut ::std::os::raw::c_void, in sqlite3_realloc64() 828 ) -> *mut ::std::os::raw::c_void; in sqlite3_realloc64() [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 …]
|