Lines Matching refs:base

34 function test_do_not_assert_on_non_int32(vector, base) {  argument
36 var a1 = base + 1;
37 var a2 = base + 2;
38 var a3 = base + 3;
39 var a4 = base + 4;
55 function test_base(a, base, condition) { argument
56 a[base + 1] = 1;
57 a[base + 4] = 2;
58 a[base + 3] = 3;
59 a[base + 2] = 4;
60 a[base + 4] = base + 4;
62 a[base + 1] = 1;
63 a[base + 2] = 2;
64 a[base + 2] = 3;
65 a[base + 2] = 4;
66 a[base + 4] = base + 4;
68 a[base + 6] = 1;
69 a[base + 4] = 2;
70 a[base + 3] = 3;
71 a[base + 2] = 4;
72 a[base + 4] = base - 4;
76 function check_test_base(a, base, condition) { argument
78 assertEquals(1, a[base + 1]);
79 assertEquals(4, a[base + 2]);
80 assertEquals(base + 4, a[base + 4]);
82 assertEquals(1, a[base + 6]);
83 assertEquals(3, a[base + 3]);
84 assertEquals(4, a[base + 2]);
85 assertEquals(base - 4, a[base + 4]);
121 function test_minus(base,cond) { argument
122 a[base - 1] = 1;
123 a[base - 2] = 2;
124 a[base + 4] = 3;
125 a[base] = 4;
126 a[base + 4] = base + 4;
128 a[base - 4] = 1;
129 a[base + 5] = 2;
130 a[base + 3] = 3;
131 a[base + 2] = 4;
132 a[base + 4] = base + 4;
134 a[base + 6] = 1;
135 a[base + 4] = 2;
136 a[base + 3] = 3;
137 a[base + 2] = 4;
138 a[base + 4] = base - 4;
142 function check_test_minus(base,cond) { argument
144 assertEquals(2, a[base + 5]);
145 assertEquals(3, a[base + 3]);
146 assertEquals(4, a[base + 2]);
147 assertEquals(base + 4, a[base + 4]);
149 assertEquals(1, a[base + 6]);
150 assertEquals(3, a[base + 3]);
151 assertEquals(4, a[base + 2]);
152 assertEquals(base - 4, a[base + 4]);
181 function test_phi(a, base, check) { argument
184 index = base + 1;
186 index = base + 2;