Home
last modified time | relevance | path

Searched refs:awaitAdvance (Results 1 – 4 of 4) sorted by relevance

/libcore/ojluni/src/test/java/util/concurrent/tck/
DPhaserTest.java360 assertTrue(phaser.awaitAdvance(1) < 0); in testArrive3()
468 assertEquals(1, phaser.awaitAdvance(0));
477 assertTrue(phaser.awaitAdvance(-1) < 0);
549 assertEquals(1, phaser.awaitAdvance(0));
559 assertEquals(1, phaser.awaitAdvance(0));
577 assertEquals(1, phaser.awaitAdvance(0));
588 assertEquals(1, phaser.awaitAdvance(0));
659 assertEquals(2 * k + 2, phaser.awaitAdvance(2 * k + 1));
672 assertEquals(1, phaser.awaitAdvance(phaser.arrive()));
691 assertEquals(i + 2, phaser.awaitAdvance(phaser.arrive()));
[all …]
/libcore/jsr166-tests/src/test/java/jsr166/
DPhaserTest.java336 assertTrue(phaser.awaitAdvance(1) < 0); in testArrive3()
444 assertEquals(1, phaser.awaitAdvance(0));
453 assertTrue(phaser.awaitAdvance(-1) < 0);
525 assertEquals(1, phaser.awaitAdvance(0));
535 assertEquals(1, phaser.awaitAdvance(0));
553 assertEquals(1, phaser.awaitAdvance(0));
564 assertEquals(1, phaser.awaitAdvance(0));
635 assertEquals(2 * k + 2, phaser.awaitAdvance(2 * k + 1));
648 assertEquals(1, phaser.awaitAdvance(phaser.arrive()));
667 assertEquals(i + 2, phaser.awaitAdvance(phaser.arrive()));
[all …]
/libcore/ojluni/src/main/java/java/util/concurrent/
DPhaser.java719 public int awaitAdvance(int phase) { in awaitAdvance() method in Phaser
/libcore/api/
Dcurrent.txt14886 method public int awaitAdvance(int);