Lines Matching refs:index2
260 var index2 = 5;
265 Atomics.futexWakeOrRequeue(i32a, index1, 1, 42, index2));
268 assertEquals(0, %AtomicsFutexNumWaitersForTesting(i32a, index2));
271 assertEquals(1, Atomics.futexWakeOrRequeue(i32a, index1, 1, 0, index2));
275 assertEquals(3, %AtomicsFutexNumWaitersForTesting(i32a, index2));
291 assertEquals(3, Atomics.futexWake(i32a, index2, 3));
304 assertEquals(0, %AtomicsFutexNumWaitersForTesting(i32a, index2));
323 index2 = 1;
325 assertEquals(0, %AtomicsFutexNumWaitersForTesting(i32a2, index2));
327 assertEquals(2, Atomics.futexWakeOrRequeue(i32a2, index1, 2, 0, index2));
328 assertEquals(2, %AtomicsFutexNumWaitersForTesting(i32a2, index2));
331 assertEquals(2, Atomics.futexWake(i32a2, index2, 2));