/libcore/luni/src/test/java/libcore/java/nio/channels/ |
D | FileChannelTest.java | 55 FileChannel fc = new FileInputStream(tmp).getChannel(); in testReadOnlyByteArrays() local 90 FileChannel fc = new FileOutputStream(tmp).getChannel(); in test_readv() local 110 FileChannel fc = new FileOutputStream(tmp).getChannel(); in test_writev() local 124 FileChannel fc = fos.getChannel(); in test_append() local 140 FileChannel fc = createFileContainingBytes(initialBytes); in test_position_writeAddsPadding() local 160 FileChannel fc = createFileContainingBytes(initialBytes); in test_truncate_greaterThanSizeWithPositionChange() local 182 FileChannel fc = createFileContainingBytes(initialBytes); in test_truncate_greaterThanSizeWithoutPositionChange() local 202 FileChannel fc = createFileContainingBytes(initialBytes); in test_truncate_lessThanSizeWithPositionChange() local 222 FileChannel fc = createFileContainingBytes(initialBytes); in test_truncate_lessThanSizeWithoutPositionChange() local 250 FileChannel fc = fosFromFd.getChannel(); in test_close_fromFileDescriptor() local [all …]
|
D | FileLockTest.java | 40 try(FileChannel fc = fos.getChannel()) { in testToString() 59 try(FileChannel fc = fis.getChannel()) { in testToString()
|
/libcore/luni/src/test/java/tests/support/ |
D | MockFunction.java | 35 public void function(FunctionContext fc, String args[]) { in function() 42 public void step(FunctionContext fc, String args[]) { in step() 50 public void last_step(FunctionContext fc) { in last_step()
|
/libcore/luni/src/test/java/libcore/java/nio/file/ |
D | DefaultFileSystemProvider2Test.java | 433 FileChannel fc = provider.newFileChannel(filesSetup.getDataFilePath(), openOptions); in test_newFileChannel() local 443 FileChannel fc = provider.newFileChannel(filesSetup.getDataFilePath(), openOptions); in test_newFileChannel() local 453 FileChannel fc = provider.newFileChannel(filesSetup.getDataFilePath(), openOptions); in test_newFileChannel() local 465 FileChannel fc = provider.newFileChannel(filesSetup.getDataFilePath(), openOptions); in test_newFileChannel() local 479 FileChannel fc = provider.newFileChannel(filesSetup.getDataFilePath(), openOptions); in test_newFileChannel() local 492 FileChannel fc = provider.newFileChannel(filesSetup.getDataFilePath(), openOptions); in test_newFileChannel() local 579 FileChannel fc = provider.newFileChannel(filesSetup.getDataFilePath(), openOptions, in test_newFileChannel_withFileAttributes() local 658 String readFromFileChannel(FileChannel fc) throws IOException { in readFromFileChannel() 664 void writeToFileChannel(FileChannel fc, String data) throws IOException { in writeToFileChannel()
|
/libcore/ojluni/src/test/java/nio/MappedByteBuffer/ |
D | ForceViews.java | 52 private FileChannel fc; field in ForceViews 99 private void test(String tst, FileChannel fc, int mapPosition, int mapLength, in test() 132 test((String) o[0], fc, (int) o[2], (int) o[3], (int) o[4], (int) o[5], (int) o[6], in assertTest() local
|
/libcore/ojluni/src/test/java/nio/channels/Channels/ |
D | Write.java | 44 FileChannel fc = fos.getChannel(); in testWrite() local
|
D | Basic.java | 244 FileChannel fc = fos.getChannel(); in testNewOutputStream() local 255 FileChannel fc = fis.getChannel(); in testNewInputStream() local
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/ |
D | MappedByteBufferTest.java | 46 FileChannel fc = fis.getChannel(); in testasIntBuffer() local 76 FileChannel fc = fis.getChannel(); in testEmptyBuffer() local
|
/libcore/ojluni/src/main/java/java/io/ |
D | FileInputStream.java | 562 FileChannel fc = channel; in close() local 616 FileChannel fc = this.channel; in getChannel() local
|
D | FileOutputStream.java | 523 FileChannel fc = this.channel; in getChannel() local
|
/libcore/luni/src/main/java/java/nio/ |
D | NioUtils.java | 71 public static FileDescriptor getFD(FileChannel fc) { in getFD()
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | ByteBufferBulkBenchmark.java | 61 FileChannel fc = raf.getChannel(); in newBuffer() local
|
D | ByteBufferBenchmark.java | 71 FileChannel fc = raf.getChannel(); in newBuffer() local
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
D | Support_Format.java | 131 FieldContainer fc = (FieldContainer) obj; in equals() local
|
/libcore/support/src/test/java/tests/support/ |
D | Support_Format.java | 138 FieldContainer fc = (FieldContainer) obj; in equals() local
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | FileOutputStreamTest.java | 402 FileChannel fc = fos.getChannel(); in test_getChanne_Append_Append() local
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | ScannerTest.java | 370 FileChannel fc = new FileOutputStream(tmpFile).getChannel(); in test_ConstructorLjava_nio_channels_ReadableByteChannel() local 410 FileChannel fc = new FileOutputStream(tmpFile).getChannel(); in test_ConstructorLjava_nio_channels_ReadableByteChannelLjava_lang_String() local 492 FileChannel fc = fos.getChannel(); in test_close() local
|
/libcore/ojluni/src/main/java/java/util/ |
D | ArraysParallelSortHelpers.java | 135 Relay fc = new Relay(new Merger<>(s, w, a, wb, h, in compute() local
|
/libcore/luni/src/test/java/libcore/java/io/ |
D | OldRandomAccessFileTest.java | 184 FileChannel fc = raf.getChannel(); in test_getChannel() local
|
/libcore/ojluni/src/test/java/nio/Buffer/ |
D | BasicByte.java | 550 try (FileChannel fc = FileChannel.open(tempFile)) { in createMappedBuffer()
|