Lines Matching refs:module
9 function runSelect2(module, which, a, b) { argument
10 assertEquals(which == 0 ? a : b, module.select(a, b));
38 var module = _WASMEXP_.instantiateModule(data);
40 assertEquals("function", typeof module.select);
41 runSelect2(module, which, 99, 97);
42 runSelect2(module, which, -99, -97);
45 runSelect2(module, which, 0x80000000 | 0, 0x7fffffff | 0);
46 runSelect2(module, which, 0x80000001 | 0, 0x7ffffffe | 0);
47 runSelect2(module, which, 0xffffffff | 0, 0xfffffffe | 0);
48 runSelect2(module, which, -2147483647, 2147483646);
49 runSelect2(module, which, -2147483646, 2147483645);
50 runSelect2(module, which, -2147483648, 2147483647);
54 runSelect2(module, which, -1.25, 5.25);
55 runSelect2(module, which, Infinity, -Infinity);
66 function runSelect10(module, which, a, b) { argument
70 module.select(a, b, x, x, x, x, x, x, x, x),
71 module.select(x, a, b, x, x, x, x, x, x, x),
72 module.select(x, x, a, b, x, x, x, x, x, x),
73 module.select(x, x, x, a, b, x, x, x, x, x),
74 module.select(x, x, x, x, a, b, x, x, x, x),
75 module.select(x, x, x, x, x, a, b, x, x, x),
76 module.select(x, x, x, x, x, x, a, b, x, x),
77 module.select(x, x, x, x, x, x, x, a, b, x),
78 module.select(x, x, x, x, x, x, x, x, a, b),
79 module.select(x, x, x, x, x, x, x, x, x, a)
114 var module = _WASMEXP_.instantiateModule(data);
116 assertEquals("function", typeof module.select);
117 runSelect10(module, which, 99, 97);
118 runSelect10(module, which, -99, -97);
121 runSelect10(module, which, 0x80000000 | 0, 0x7fffffff | 0);
122 runSelect10(module, which, 0x80000001 | 0, 0x7ffffffe | 0);
123 runSelect10(module, which, 0xffffffff | 0, 0xfffffffe | 0);
124 runSelect10(module, which, -2147483647, 2147483646);
125 runSelect10(module, which, -2147483646, 2147483645);
126 runSelect10(module, which, -2147483648, 2147483647);
130 runSelect10(module, which, -1.25, 5.25);
131 runSelect10(module, which, Infinity, -Infinity);