Lines Matching refs:args

32                 const wasmtime_val_t *args, size_t nargs, int32_t expected) {  in check_call()  argument
36 wasmtime_func_call(store, func, args, nargs, results, 1, &trap); in check_call()
52 wasmtime_val_t args[1]; in check_call1() local
53 args[0].kind = WASMTIME_I32; in check_call1()
54 args[0].of.i32 = arg; in check_call1()
55 check_call(store, func, args, 1, expected); in check_call1()
60 wasmtime_val_t args[2]; in check_call2() local
61 args[0].kind = WASMTIME_I32; in check_call2()
62 args[0].of.i32 = arg1; in check_call2()
63 args[1].kind = WASMTIME_I32; in check_call2()
64 args[1].of.i32 = arg2; in check_call2()
65 check_call(store, func, args, 2, expected); in check_call2()
69 const wasmtime_val_t *args, size_t nargs) { in check_ok() argument
72 wasmtime_func_call(store, func, args, nargs, NULL, 0, &trap); in check_ok()
79 wasmtime_val_t args[2]; in check_ok2() local
80 args[0].kind = WASMTIME_I32; in check_ok2()
81 args[0].of.i32 = arg1; in check_ok2()
82 args[1].kind = WASMTIME_I32; in check_ok2()
83 args[1].of.i32 = arg2; in check_ok2()
84 check_ok(store, func, args, 2); in check_ok2()
88 const wasmtime_val_t *args, size_t nargs, size_t num_results) { in check_trap() argument
93 wasmtime_func_call(store, func, args, nargs, results, num_results, &trap); in check_trap()
105 wasmtime_val_t args[1]; in check_trap1() local
106 args[0].kind = WASMTIME_I32; in check_trap1()
107 args[0].of.i32 = arg; in check_trap1()
108 check_trap(store, func, args, 1, 1); in check_trap1()
113 wasmtime_val_t args[2]; in check_trap2() local
114 args[0].kind = WASMTIME_I32; in check_trap2()
115 args[0].of.i32 = arg1; in check_trap2()
116 args[1].kind = WASMTIME_I32; in check_trap2()
117 args[1].of.i32 = arg2; in check_trap2()
118 check_trap(store, func, args, 2, 0); in check_trap2()