Searched refs:SYNC (Results 1 - 7 of 7) sorted by relevance

/libcore/ojluni/src/main/java/java/nio/file/
H A DStandardOpenOption.java116 SYNC, enum constant in enum:StandardOpenOption
/libcore/ojluni/src/main/java/java/util/concurrent/
H A DCompletableFuture.java169 * The mode argument allows tryFire to be called twice (SYNC,
422 static final int SYNC = 0; field in class:CompletableFuture
443 * @param mode SYNC, ASYNC, or NESTED
625 c.tryFire(SYNC);
680 c.tryFire(SYNC);
728 c.tryFire(SYNC);
791 c.tryFire(SYNC);
847 c.tryFire(SYNC);
897 c.tryFire(SYNC);
933 c.tryFire(SYNC);
[all...]
H A DLinkedTransferQueue.java586 private static final int SYNC = 2; // for transfer, take field in class:LinkedTransferQueue
594 * @param how NOW, ASYNC, SYNC, or TIMED
1318 if (xfer(e, true, SYNC, 0) != null) {
1348 E e = xfer(null, false, SYNC, 0);
/libcore/luni/src/test/java/libcore/java/nio/file/
H A DDefaultFileSystemProviderTest.java63 import static java.nio.file.StandardOpenOption.SYNC;
118 CREATE_NEW, TRUNCATE_EXISTING, SPARSE, SYNC, DSYNC)) {
270 try (OutputStream os = provider.newOutputStream(filesSetup.getTestPath(), CREATE, SYNC);
271 InputStream is = provider.newInputStream(filesSetup.getTestPath(), SYNC)) {
357 * Check behaviour when newByteChannel is called with WRITE, READ and SYNC.
365 set.add(SYNC);
H A DFiles2Test.java75 import static java.nio.file.StandardOpenOption.SYNC;
1228 READ, SYNC/* Sync makes sure the that InputStream is able to read content written by
/libcore/ojluni/src/main/java/sun/nio/fs/
H A DUnixChannelFactory.java81 case SYNC : flags.sync = true; break;
/libcore/jsr166-tests/src/test/java/jsr166/
H A DCompletableFutureTest.java572 SYNC { enum constant in enum:CompletableFutureTest.ExecutionMode
873 ExecutionMode.SYNC.checkExecutionMode();
898 ExecutionMode.SYNC.checkExecutionMode();
3210 () -> CompletableFuture.supplyAsync(new IntegerSupplier(ExecutionMode.SYNC, 42), null),

Completed in 277 milliseconds