Home
last modified time | relevance | path

Searched refs:wasmtime_error_t (Results 1 – 19 of 19) sorted by relevance

/dports/sysutils/vector/lucet-d4fc14a03bdb99ac83173d27fddf1aca48412a86/wasmtime/crates/c-api/src/
H A Derror.rs6 pub struct wasmtime_error_t { struct
10 wasmtime_c_api_macros::declare_own!(wasmtime_error_t); argument
12 impl wasmtime_error_t { impl
18 impl From<Error> for wasmtime_error_t { implementation
19 fn from(error: Error) -> wasmtime_error_t { in from() argument
20 wasmtime_error_t { error } in from()
27 ) -> Option<Box<wasmtime_error_t>> { in handle_result() argument
33 Err(error) => Some(Box::new(wasmtime_error_t { error })), in handle_result()
37 pub(crate) fn bad_utf8() -> Option<Box<wasmtime_error_t>> { in bad_utf8()
38 Some(Box::new(wasmtime_error_t { in bad_utf8()
[all …]
H A Dlinker.rs2 use crate::{bad_utf8, handle_result, wasmtime_error_t};
37 ) -> Option<Box<wasmtime_error_t>> { in wasmtime_linker_define() argument
61 ) -> Option<Box<wasmtime_error_t>> { in wasmtime_linker_define_wasi() argument
71 ) -> Option<Box<wasmtime_error_t>> { in wasmtime_linker_define_instance() argument
89 ) -> Option<Box<wasmtime_error_t>> { in wasmtime_linker_instantiate() argument
99 ) -> Option<Box<wasmtime_error_t>> { in wasmtime_linker_module() argument
113 ) -> Option<Box<wasmtime_error_t>> { in wasmtime_linker_get_default() argument
H A Dconfig.rs1 use crate::{handle_result, wasmtime_error_t};
88 ) -> Option<Box<wasmtime_error_t>> { in wasmtime_config_strategy_set() argument
123 ) -> Option<Box<wasmtime_error_t>> { in wasmtime_config_profiler_set() argument
136 ) -> Option<Box<wasmtime_error_t>> { in wasmtime_config_cache_config_load() argument
H A Dwat2wasm.rs1 use crate::{bad_utf8, handle_result, wasm_byte_vec_t, wasmtime_error_t};
7 ) -> Option<Box<wasmtime_error_t>> { in wasmtime_wat2wasm() argument
H A Dglobal.rs2 use crate::{handle_result, wasmtime_error_t};
57 ) -> Option<Box<wasmtime_error_t>> { in wasmtime_global_new() argument
95 ) -> Option<Box<wasmtime_error_t>> { in wasmtime_global_set() argument
H A Dinstance.rs3 use crate::{wasm_store_t, wasmtime_error_t, ExternHost};
83 ) -> Option<Box<wasmtime_error_t>> { in wasmtime_instance_new() argument
99 ) -> Option<Box<wasmtime_error_t>> { in _wasmtime_instance_new() argument
124 ) -> Option<Box<wasmtime_error_t>> { in handle_instantiate() argument
H A Dtable.rs2 use crate::{handle_result, wasm_func_t, wasm_ref_t, wasmtime_error_t};
61 ) -> Option<Box<wasmtime_error_t>> { in wasmtime_funcref_table_new() argument
134 ) -> Option<Box<wasmtime_error_t>> { in wasmtime_funcref_table_set() argument
183 ) -> Option<Box<wasmtime_error_t>> { in wasmtime_funcref_table_grow() argument
H A Dmodule.rs4 wasm_importtype_vec_t, wasm_store_t, wasmtime_error_t,
53 ) -> Option<Box<wasmtime_error_t>> { in wasmtime_module_new() argument
83 ) -> Option<Box<wasmtime_error_t>> { in wasmtime_module_validate() argument
H A Dfunc.rs3 use crate::{wasm_name_t, wasm_trap_t, wasmtime_error_t, ExternHost};
199 ) -> Option<Box<wasmtime_error_t>> { in wasmtime_func_call() argument
213 ) -> Option<Box<wasmtime_error_t>> { in _wasmtime_func_call() argument
/dports/sysutils/vector/lucet-d4fc14a03bdb99ac83173d27fddf1aca48412a86/wasmtime/crates/c-api/include/
H A Dwasmtime.h23 const wasmtime_error_t *error,
80 WASM_API_EXTERN own wasmtime_error_t* wasmtime_wat2wasm(
95 WASM_API_EXTERN own wasmtime_error_t* wasmtime_linker_define(
120 WASM_API_EXTERN own wasmtime_error_t* wasmtime_linker_module(
204 WASM_API_EXTERN own wasmtime_error_t *wasmtime_func_call(
219 WASM_API_EXTERN own wasmtime_error_t *wasmtime_global_new(
229 WASM_API_EXTERN own wasmtime_error_t *wasmtime_global_set(
246 WASM_API_EXTERN own wasmtime_error_t *wasmtime_instance_new(
257 WASM_API_EXTERN own wasmtime_error_t *wasmtime_module_new(
265 WASM_API_EXTERN own wasmtime_error_t *wasmtime_module_validate(
[all …]
/dports/sysutils/vector/lucet-d4fc14a03bdb99ac83173d27fddf1aca48412a86/wasmtime/examples/
H A Dmemory.c31 static void exit_with_error(const char *message, wasmtime_error_t *error, wasm_trap_t *trap);
60 wasmtime_error_t *error = wasmtime_func_call(func, args, num_args, results, 1, &trap); in check_call()
88 wasmtime_error_t *error = wasmtime_func_call(func, args, num_args, NULL, 0, &trap); in check_ok()
105 wasmtime_error_t *error = wasmtime_func_call(func, args, num_args, results, num_results, &trap); in check_trap()
153 wasmtime_error_t *error = wasmtime_wat2wasm(&wat, &binary); in main()
256 static void exit_with_error(const char *message, wasmtime_error_t *error, wasm_trap_t *trap) { in exit_with_error()
H A Dlinking.c29 static void exit_with_error(const char *message, wasmtime_error_t *error, wasm_trap_t *trap);
45 wasmtime_error_t *error; in main()
142 wasmtime_error_t *error = wasmtime_wat2wasm(&wat, bytes); in read_wat_file()
148 static void exit_with_error(const char *message, wasmtime_error_t *error, wasm_trap_t *trap) { in exit_with_error()
H A Dgcd.c26 static void exit_with_error(const char *message, wasmtime_error_t *error, wasm_trap_t *trap);
55 wasmtime_error_t *error = wasmtime_wat2wasm(&wat, &wasm); in main()
106 static void exit_with_error(const char *message, wasmtime_error_t *error, wasm_trap_t *trap) { in exit_with_error()
H A Dhello.c27 static void exit_with_error(const char *message, wasmtime_error_t *error, wasm_trap_t *trap);
62 wasmtime_error_t *error = wasmtime_wat2wasm(&wat, &wasm); in main()
120 static void exit_with_error(const char *message, wasmtime_error_t *error, wasm_trap_t *trap) { in exit_with_error()
H A Dinterrupt.c54 static void exit_with_error(const char *message, wasmtime_error_t *error, wasm_trap_t *trap);
83 wasmtime_error_t *error = wasmtime_wat2wasm(&wat, &wasm); in main()
128 static void exit_with_error(const char *message, wasmtime_error_t *error, wasm_trap_t *trap) { in exit_with_error()
H A Dmulti.c31 static void exit_with_error(const char *message, wasmtime_error_t *error, wasm_trap_t *trap);
86 wasmtime_error_t *error = wasmtime_wat2wasm(&wat, &binary); in main()
175 static void exit_with_error(const char *message, wasmtime_error_t *error, wasm_trap_t *trap) { in exit_with_error()
H A Dthreads.c14 static void exit_with_error(const char *message, wasmtime_error_t *error, wasm_trap_t *trap);
124 wasmtime_error_t *error = wasmtime_wat2wasm(&wat, &binary); in main()
166 static void exit_with_error(const char *message, wasmtime_error_t *error, wasm_trap_t *trap) { in exit_with_error()
/dports/sysutils/vector/lucet-d4fc14a03bdb99ac83173d27fddf1aca48412a86/wasmtime/examples/wasi/
H A Dmain.c28 static void exit_with_error(const char *message, wasmtime_error_t *error, wasm_trap_t *trap);
57 wasmtime_error_t *error = wasmtime_module_new(store, &wasm, &module); in main()
105 static void exit_with_error(const char *message, wasmtime_error_t *error, wasm_trap_t *trap) { in exit_with_error()
/dports/sysutils/vector/lucet-d4fc14a03bdb99ac83173d27fddf1aca48412a86/wasmtime/examples/fib-debug/
H A Dmain.c11 static void exit_with_error(const char *message, wasmtime_error_t *error, wasm_trap_t *trap);
46 wasmtime_error_t* error = wasmtime_module_new(store, &binary, &module); in main()
118 static void exit_with_error(const char *message, wasmtime_error_t *error, wasm_trap_t *trap) { in exit_with_error()