Lines Matching refs:args

28                 const wasmtime_val_t *args, size_t nargs, int32_t expected) {  in check_call()  argument
32 wasmtime_func_call(store, func, args, nargs, results, 1, &trap); in check_call()
48 wasmtime_val_t args[1]; in check_call1() local
49 args[0].kind = WASMTIME_I32; in check_call1()
50 args[0].of.i32 = arg; in check_call1()
51 check_call(store, func, args, 1, expected); in check_call1()
56 wasmtime_val_t args[2]; in check_call2() local
57 args[0].kind = WASMTIME_I32; in check_call2()
58 args[0].of.i32 = arg1; in check_call2()
59 args[1].kind = WASMTIME_I32; in check_call2()
60 args[1].of.i32 = arg2; in check_call2()
61 check_call(store, func, args, 2, expected); in check_call2()
65 const wasmtime_val_t *args, size_t nargs) { in check_ok() argument
68 wasmtime_func_call(store, func, args, nargs, NULL, 0, &trap); in check_ok()
75 wasmtime_val_t args[2]; in check_ok2() local
76 args[0].kind = WASMTIME_I32; in check_ok2()
77 args[0].of.i32 = arg1; in check_ok2()
78 args[1].kind = WASMTIME_I32; in check_ok2()
79 args[1].of.i32 = arg2; in check_ok2()
80 check_ok(store, func, args, 2); in check_ok2()
84 const wasmtime_val_t *args, size_t nargs, size_t num_results) { in check_trap() argument
89 wasmtime_func_call(store, func, args, nargs, results, num_results, &trap); in check_trap()
101 wasmtime_val_t args[1]; in check_trap1() local
102 args[0].kind = WASMTIME_I32; in check_trap1()
103 args[0].of.i32 = arg; in check_trap1()
104 check_trap(store, func, args, 1, 1); in check_trap1()
109 wasmtime_val_t args[2]; in check_trap2() local
110 args[0].kind = WASMTIME_I32; in check_trap2()
111 args[0].of.i32 = arg1; in check_trap2()
112 args[1].kind = WASMTIME_I32; in check_trap2()
113 args[1].of.i32 = arg2; in check_trap2()
114 check_trap(store, func, args, 2, 0); in check_trap2()