Home
last modified time | relevance | path

Searched refs:exit_with_error (Results 1 – 15 of 15) sorted by relevance

/wasmtime-44.0.1/examples/
H A Dlinking.c19 static void exit_with_error(const char *message, wasmtime_error_t *error,
42 exit_with_error("failed to compile linking1", error, NULL); in main()
46 exit_with_error("failed to compile linking2", error, NULL); in main()
61 exit_with_error("failed to instantiate wasi", NULL, trap); in main()
68 exit_with_error("failed to link wasi", error, NULL); in main()
75 exit_with_error("failed to instantiate linking2", error, trap); in main()
81 exit_with_error("failed to link linking2", error, NULL); in main()
88 exit_with_error("failed to instantiate linking1", error, trap); in main()
97 exit_with_error("failed to call run", error, trap); in main()
129 exit_with_error("failed to parse wat", error, NULL); in read_wat_file()
[all …]
H A Dserialize.c17 static void exit_with_error(const char *message, wasmtime_error_t *error,
60 exit_with_error("failed to parse wat", error, NULL); in serialize()
70 exit_with_error("failed to compile module", error, NULL); in serialize()
74 exit_with_error("failed to serialize module", error, NULL); in serialize()
102 exit_with_error("failed to compile module", error, NULL); in deserialize()
125 exit_with_error("failed to instantiate", error, trap); in deserialize()
138 exit_with_error("failed to call function", error, trap); in deserialize()
160 static void exit_with_error(const char *message, wasmtime_error_t *error, in exit_with_error() function
H A Dfuel.c16 static void exit_with_error(const char *message, wasmtime_error_t *error,
36 exit_with_error("failed to set fuel", error, NULL); in main()
59 exit_with_error("failed to parse wat", error, NULL); in main()
66 exit_with_error("failed to compile module", error, NULL); in main()
73 exit_with_error("failed to instantiate", error, trap); in main()
113 exit_with_error("failed to set fuel", error, NULL); in main()
123 static void exit_with_error(const char *message, wasmtime_error_t *error, in exit_with_error() function
H A Dexternref.c17 static void exit_with_error(const char *message, wasmtime_error_t *error,
57 exit_with_error("failed to parse wat", error, NULL); in main()
66 exit_with_error("failed to compile module", error, NULL); in main()
74 exit_with_error("failed to instantiate", error, trap); in main()
106 exit_with_error("failed to set table", error, NULL); in main()
130 exit_with_error("failed to set global", error, NULL); in main()
156 exit_with_error("failed to call function", error, trap); in main()
182 static void exit_with_error(const char *message, wasmtime_error_t *error, in exit_with_error() function
H A Danyref.c17 static void exit_with_error(const char *message, wasmtime_error_t *error,
59 exit_with_error("failed to parse wat", error, NULL); in main()
68 exit_with_error("failed to compile module", error, NULL); in main()
76 exit_with_error("failed to instantiate", error, trap); in main()
108 exit_with_error("failed to set table", error, NULL); in main()
133 exit_with_error("failed to set global", error, NULL); in main()
158 exit_with_error("failed to call function", error, trap); in main()
173 exit_with_error("failed to call function", error, trap); in main()
199 static void exit_with_error(const char *message, wasmtime_error_t *error, in exit_with_error() function
H A Dgcd.c16 static void exit_with_error(const char *message, wasmtime_error_t *error,
49 exit_with_error("failed to parse wat", error, NULL); in main()
56 exit_with_error("failed to compile module", error, NULL); in main()
63 exit_with_error("failed to instantiate", error, trap); in main()
83 exit_with_error("failed to call gcd", error, trap); in main()
97 static void exit_with_error(const char *message, wasmtime_error_t *error, in exit_with_error() function
H A Dhello.c16 static void exit_with_error(const char *message, wasmtime_error_t *error,
67 exit_with_error("failed to parse wat", error, NULL); in main()
76 exit_with_error("failed to compile module", error, NULL); in main()
100 exit_with_error("failed to instantiate", error, trap); in main()
113 exit_with_error("failed to call function", error, trap); in main()
125 static void exit_with_error(const char *message, wasmtime_error_t *error, in exit_with_error() function
H A Dmemory.c21 static void exit_with_error(const char *message, wasmtime_error_t *error,
38 exit_with_error("failed to call function", error, trap); in check_call()
74 exit_with_error("failed to call function", error, trap); in check_ok()
95 exit_with_error("failed to call function", error, NULL); in check_trap()
149 exit_with_error("failed to parse wat", error, NULL); in main()
158 exit_with_error("failed to compile module", error, NULL); in main()
167 exit_with_error("failed to instantiate", error, trap); in main()
224 exit_with_error("failed to grow memory", error, trap); in main()
238 exit_with_error("failed to grow memory", error, trap); in main()
247 exit_with_error("failed to create memory", error, trap); in main()
[all …]
H A Dinterrupt.c43 static void exit_with_error(const char *message, wasmtime_error_t *error,
78 exit_with_error("failed to parse wat", error, NULL); in main()
86 exit_with_error("failed to compile module", error, NULL); in main()
92 exit_with_error("failed to instantiate", error, trap); in main()
117 static void exit_with_error(const char *message, wasmtime_error_t *error, in exit_with_error() function
H A Dmultimemory.c17 static void exit_with_error(const char *message, wasmtime_error_t *error,
34 exit_with_error("failed to call function", error, trap); in check_call()
70 exit_with_error("failed to call function", error, trap); in check_ok()
91 exit_with_error("failed to call function", error, NULL); in check_trap()
152 exit_with_error("failed to parse wat", error, NULL); in main()
161 exit_with_error("failed to compile module", error, NULL); in main()
170 exit_with_error("failed to instantiate", error, trap); in main()
273 exit_with_error("failed to grow memory", error, trap); in main()
287 exit_with_error("failed to grow memory", error, trap); in main()
291 exit_with_error("failed to grow memory", error, trap); in main()
[all …]
H A Dmulti.c21 static void exit_with_error(const char *message, wasmtime_error_t *error,
88 exit_with_error("failed to parse wat", error, NULL); in main()
97 exit_with_error("failed to compile module", error, NULL); in main()
119 exit_with_error("failed to instantiate", error, trap); in main()
139 exit_with_error("failed to call run", error, trap); in main()
160 static void exit_with_error(const char *message, wasmtime_error_t *error, in exit_with_error() function
H A Dasync.cc47 void exit_with_error(std::string msg, wasmtime_error_t *err, in exit_with_error() function
103 exit_with_error("failed to parse wat", error.get(), nullptr); in compile_wat_module_from_file()
112 exit_with_error("failed to compile module", error.get(), nullptr); in compile_wat_module_from_file()
219 exit_with_error("failed to define host function", error.get(), nullptr); in main()
236 exit_with_error("failed to instantiate module", error.get(), trap.get()); in main()
279 exit_with_error("running guest function failed", error.get(), trap.get()); in main()
H A Dthreads.c23 static void exit_with_error(const char *message, wasmtime_error_t *error,
147 exit_with_error("failed to parse wat", error, NULL); in main()
193 static void exit_with_error(const char *message, wasmtime_error_t *error, in exit_with_error() function
/wasmtime-44.0.1/examples/wasip1/
H A Dmain.c32 static void exit_with_error(const char *message, wasmtime_error_t *error,
47 exit_with_error("failed to link wasi", error, NULL); in main()
70 exit_with_error("failed to compile module", error, NULL); in main()
84 exit_with_error("failed to instantiate WASI", error, NULL); in main()
89 exit_with_error("failed to instantiate module", error, NULL); in main()
95 exit_with_error("failed to locate default export for module", error, NULL); in main()
99 exit_with_error("error calling default export", error, trap); in main()
109 static void exit_with_error(const char *message, wasmtime_error_t *error, in exit_with_error() function
/wasmtime-44.0.1/examples/fib-debug/
H A Dmain.c45 static void exit_with_error(const char *message, wasmtime_error_t *error,
95 exit_with_error("failed to compile module", error, NULL); in main()
104 exit_with_error("failed to instantiate", error, trap); in main()
130 exit_with_error("failed to call function", error, trap); in main()
145 static void exit_with_error(const char *message, wasmtime_error_t *error, in exit_with_error() function