| /wasmtime-44.0.1/crates/c-api/src/ |
| H A D | async.rs | 1 use std::ffi::c_void; 46 *mut c_void, 59 pub env: *mut c_void, 60 pub finalizer: Option<extern "C" fn(*mut c_void)>, 90 pub ptr: *mut std::ffi::c_void, 127 extern "C" fn panic_callback(_: *mut c_void) -> bool { in invoke_c_async_callback() 167 data: *mut c_void, in c_async_callback_to_rust_fn() argument 280 data: *mut c_void, in wasmtime_linker_define_async_func() argument 366 env: *mut std::ffi::c_void, 396 env: *mut std::ffi::c_void, [all …]
|
| H A D | func.rs | 8 use std::ffi::c_void; 32 env: *mut std::ffi::c_void, 107 data: *mut c_void, in wasm_func_new_with_env() argument 224 *mut c_void, 233 *mut c_void, 244 data: *mut c_void, in wasmtime_func_new() argument 256 data: *mut c_void, in c_callback_to_rust_fn() argument 314 data: *mut c_void, in wasmtime_func_new_unchecked() argument 325 data: *mut c_void, in c_unchecked_callback_to_rust_fn() argument 451 raw: *mut c_void, in wasmtime_func_from_raw() argument [all …]
|
| H A D | store.rs | 3 use std::ffi::c_void; 126 data: *mut c_void, in wasmtime_store_new() argument 127 finalizer: Option<extern "C" fn(*mut c_void)>, in wasmtime_store_new() argument 155 *mut c_void, in wasmtime_store_epoch_deadline_callback() argument 159 data: *mut c_void, in wasmtime_store_epoch_deadline_callback() argument 160 finalizer: Option<extern "C" fn(*mut c_void)>, in wasmtime_store_epoch_deadline_callback() argument 222 pub extern "C" fn wasmtime_context_get_data(store: WasmtimeStoreContext<'_>) -> *mut c_void { in wasmtime_context_get_data() argument 229 data: *mut c_void, in wasmtime_context_set_data() argument
|
| H A D | wasi.rs | 5 use std::ffi::{CStr, c_char, c_void}; 159 callback: extern "C" fn(*mut c_void, *const u8, usize) -> isize, 182 callback: extern "C" fn(*mut c_void, *const u8, usize) -> isize, in new() argument 253 callback: extern "C" fn(*mut c_void, *const u8, usize) -> isize, in wasi_config_set_stdout_custom() argument 254 data: *mut c_void, in wasi_config_set_stdout_custom() argument 255 finalizer: Option<extern "C" fn(*mut c_void)>, in wasi_config_set_stdout_custom() argument 288 callback: extern "C" fn(*mut c_void, *const u8, usize) -> isize, in wasi_config_set_stderr_custom() argument 289 data: *mut c_void, in wasi_config_set_stderr_custom() argument 290 finalizer: Option<extern "C" fn(*mut c_void)>, in wasi_config_set_stderr_custom() argument
|
| H A D | linker.rs | 6 use std::ffi::c_void; 78 data: *mut c_void, in wasmtime_linker_define_func() argument 79 finalizer: Option<extern "C" fn(*mut std::ffi::c_void)>, in wasmtime_linker_define_func() argument 97 data: *mut c_void, in wasmtime_linker_define_func_unchecked() argument 98 finalizer: Option<extern "C" fn(*mut std::ffi::c_void)>, in wasmtime_linker_define_func_unchecked() argument
|
| H A D | config.rs | 318 env: *mut std::ffi::c_void, 324 extern "C" fn(env: *mut std::ffi::c_void, new_size: usize) -> Option<Box<wasmtime_error_t>>; 328 env: *mut std::ffi::c_void, 331 finalizer: Option<extern "C" fn(arg1: *mut std::ffi::c_void)>, 335 env: *mut std::ffi::c_void, 384 env: *mut std::ffi::c_void, 386 finalizer: Option<extern "C" fn(arg1: *mut std::ffi::c_void)>, 406 _env: *mut std::ffi::c_void, in new_memory() argument 413 _env: *mut std::ffi::c_void, in new_memory() argument
|
| H A D | lib.rs | 97 data: *mut std::ffi::c_void, 98 finalizer: Option<extern "C" fn(*mut std::ffi::c_void)>,
|
| H A D | ref.rs | 3 use std::{num::NonZeroU64, os::raw::c_void, ptr}; 54 pub extern "C" fn wasm_ref_get_host_info(_ref: Option<&wasm_ref_t>) -> *mut c_void { in wasm_ref_get_host_info() argument 59 pub extern "C" fn wasm_ref_set_host_info(_ref: Option<&wasm_ref_t>, _info: *mut c_void) { in wasm_ref_set_host_info() argument 66 _info: *mut c_void, in wasm_ref_set_host_info_with_finalizer() argument 67 _finalizer: Option<extern "C" fn(*mut c_void)>, in wasm_ref_set_host_info_with_finalizer() argument 401 data: *mut c_void, in wasmtime_externref_new() argument 402 finalizer: Option<extern "C" fn(*mut c_void)>, in wasmtime_externref_new() argument 419 ) -> *mut c_void { in wasmtime_externref_data() argument
|
| /wasmtime-44.0.1/crates/c-api/src/component/ |
| H A D | linker.rs | 5 use std::ffi::c_void; 100 *mut c_void, 115 data: *mut c_void, in wasmtime_component_linker_instance_add_func() argument 116 finalizer: Option<extern "C" fn(*mut c_void)>, in wasmtime_component_linker_instance_add_func() argument 191 extern "C" fn(*mut c_void, WasmtimeStoreContextMut<'_>, u32) -> Option<Box<wasmtime_error_t>>; 200 data: *mut c_void, in wasmtime_component_linker_instance_add_resource() argument 201 finalizer: Option<extern "C" fn(*mut c_void)>, in wasmtime_component_linker_instance_add_resource() argument
|
| /wasmtime-44.0.1/crates/jit-icache-coherence/src/ |
| H A D | miri.rs | 1 use std::ffi::c_void; 8 pub(crate) fn clear_cache(_ptr: *const c_void, _len: usize) -> Result<()> { in clear_cache() argument
|
| H A D | lib.rs | 77 use std::ffi::c_void; 112 pub unsafe fn clear_cache(ptr: *const c_void, len: usize) -> imp::Result<()> { in clear_cache() argument
|
| H A D | win.rs | 1 use std::ffi::c_void; 35 pub(crate) fn clear_cache(ptr: *const c_void, len: usize) -> Result<()> { in clear_cache() argument
|
| H A D | libc.rs | 1 use std::ffi::c_void; 178 pub(crate) fn clear_cache(_ptr: *const c_void, _len: usize) -> Result<()> { in clear_cache() argument
|
| /wasmtime-44.0.1/crates/c-api-macros/src/ |
| H A D | lib.rs | 114 pub extern fn #get_host_info(a: &#ty) -> *mut std::os::raw::c_void { in declare_ref() 120 pub extern fn #set_host_info(a: &#ty, info: *mut std::os::raw::c_void) { in declare_ref() 129 info: *mut std::os::raw::c_void, in declare_ref() 130 finalizer: Option<extern "C" fn(*mut std::os::raw::c_void)>, in declare_ref()
|
| /wasmtime-44.0.1/crates/fiber/src/ |
| H A D | windows.rs | 4 use std::ffi::c_void; 55 fiber: *mut c_void, 64 parent: Cell<*mut c_void>, 73 fn wasmtime_fiber_get_current() -> *mut c_void; in wasmtime_fiber_get_current() 76 unsafe extern "system" fn fiber_start<F, A, B, C>(data: *mut c_void) in fiber_start()
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/ |
| H A D | unix.rs | 27 + Fn(libc::c_int, *const libc::siginfo_t, *const libc::c_void) -> bool in set_signal_handler() 37 + Fn(libc::c_int, *const libc::siginfo_t, *const libc::c_void) -> bool in set_signal_handler()
|
| /wasmtime-44.0.1/crates/bench-api/src/ |
| H A D | lib.rs | 140 use std::os::raw::{c_int, c_void}; 271 out_bench_ptr: *mut *mut c_void, in wasm_bench_create() argument 336 pub extern "C" fn wasm_bench_free(state: *mut c_void) { in wasm_bench_free() argument 346 state: *mut c_void, in wasm_bench_compile() argument 358 pub extern "C" fn wasm_bench_instantiate(state: *mut c_void) -> ExitCode { in wasm_bench_instantiate() 366 pub extern "C" fn wasm_bench_execute(state: *mut c_void) -> ExitCode { in wasm_bench_execute()
|
| /wasmtime-44.0.1/cranelift/jit/src/memory/ |
| H A D | mod.rs | 55 wasmtime_jit_icache_coherence::clear_cache(ptr as *const libc::c_void, len) in set_readable_and_executable() 74 if libc::mprotect(ptr as *mut libc::c_void, len, prot) < 0 { in set_readable_and_executable()
|
| /wasmtime-44.0.1/crates/wasmtime/tests/ |
| H A D | custom_signal_handler.rs | 65 base as *mut std::ffi::c_void, in set_up_memory() 86 let si_addr: *mut libc::c_void = unsafe { (*siginfo).si_addr() }; in handle_sigsegv() 92 base as *mut libc::c_void, in handle_sigsegv() 226 base1 as *mut libc::c_void, in test_custom_signal_handler_multiple_instances() 272 base2 as *mut libc::c_void, in test_custom_signal_handler_multiple_instances()
|
| H A D | pooling_alloc_near_oom.rs | 26 use std::ffi::c_void; 88 addr: *mut c_void,
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/sys/unix/ |
| H A D | signals.rs | 13 Box<dyn Fn(libc::c_int, *const libc::siginfo_t, *const libc::c_void) -> bool + Send + Sync>; 134 context: *mut libc::c_void, in trap_handler() argument 202 context: *mut libc::c_void, in delegate_signal_to_previous_handler() argument 218 extern "C" fn(libc::c_int, *mut libc::siginfo_t, *mut libc::c_void), in delegate_signal_to_previous_handler() 240 unsafe fn get_trap_registers(cx: *mut libc::c_void, _signum: libc::c_int) -> TrapRegisters { in get_trap_registers() argument 337 unsafe fn store_handler_in_ucontext(cx: *mut libc::c_void, handler: &Handler) { in store_handler_in_ucontext() argument 494 mmap_ptr: *mut libc::c_void, in lazy_per_thread_init() 535 let stack_ptr = (ptr as usize + guard_size) as *mut std::ffi::c_void; in lazy_per_thread_init()
|
| H A D | pagemap.rs | 352 use std::ffi::c_void; 611 fn as_ptr(&mut self) -> *mut c_void { in as_ptr() argument 617 extract_output: *mut c_void, in output_from_ptr() argument 651 ptr: *mut std::ffi::c_void,
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/sys/windows/ |
| H A D | vectored_exceptions.rs | 90 use std::ffi::c_void; 99 exception_handler: *mut c_void, 100 continue_handler: *mut c_void,
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/func/ |
| H A D | typed.rs | 9 use core::ffi::c_void; 548 ptr.write(ValRaw::funcref(abi.cast::<c_void>().as_ptr())); in store() 603 ptr.write(ValRaw::funcref(raw.cast::<c_void>())); in store()
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/instance/allocator/pooling/ |
| H A D | decommit_queue.rs | 26 iov_base: *mut libc::c_void,
|