Searched refs:sbc (Results 1 – 7 of 7) sorted by relevance
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | ChannelInputStream.java | 116 SeekableByteChannel sbc = (SeekableByteChannel)ch; in available() local 117 long rem = Math.max(0, sbc.size() - sbc.position()); in available()
|
/libcore/luni/src/test/java/libcore/java/nio/file/ |
D | DefaultFileSystemProviderTest.java | 294 try (SeekableByteChannel sbc = provider.newByteChannel(filesSetup.getTestPath(), set)) { in test_newByteChannel() argument 303 try (SeekableByteChannel sbc = provider.newByteChannel(filesSetup.getDataFilePath(), set)) { in test_newByteChannel() argument 304 sbc.write(ByteBuffer.allocate(10)); in test_newByteChannel() 310 try (SeekableByteChannel sbc = provider.newByteChannel(filesSetup.getDataFilePath(), set)) { in test_newByteChannel() argument 312 int bytesReadCount = sbc.read(readBuffer); in test_newByteChannel() 330 try (SeekableByteChannel sbc = provider.newByteChannel(filesSetup.getTestPath(), set)) { in test_newByteChannel_openOption_WRITE() argument 338 try (SeekableByteChannel sbc = provider.newByteChannel(filesSetup.getDataFilePath(), set)) { in test_newByteChannel_openOption_WRITE() argument 339 sbc.read(ByteBuffer.allocate(10)); in test_newByteChannel_openOption_WRITE() 345 try (SeekableByteChannel sbc = provider.newByteChannel(filesSetup.getDataFilePath(), set)) { in test_newByteChannel_openOption_WRITE() argument 346 sbc.write(ByteBuffer.wrap(TEST_FILE_DATA_2.getBytes())); in test_newByteChannel_openOption_WRITE() [all …]
|
D | DefaultSecureDirectoryStreamTest.java | 209 try (SeekableByteChannel sbc = ds_path_root.newByteChannel(filesSetup.getTestPath(), in test_newByteChannel() argument 218 try (SeekableByteChannel sbc = ds_path_root.newByteChannel( in test_newByteChannel() argument 220 sbc.write(ByteBuffer.allocate(10)); in test_newByteChannel() 227 try (SeekableByteChannel sbc = ds_path_root.newByteChannel( in test_newByteChannel() argument 230 int bytesReadCount = sbc.read(readBuffer); in test_newByteChannel() 239 try (SeekableByteChannel sbc = ds_path_root.newByteChannel( in test_newByteChannel() argument 251 try (SeekableByteChannel sbc = ds_path_root.newByteChannel(null, set)) { in test_newByteChannel_NPE() argument 256 try (SeekableByteChannel sbc = ds_path_root.newByteChannel(filesSetup.getDataFilePath(), in test_newByteChannel_NPE() argument
|
D | Files2Test.java | 1170 try (SeekableByteChannel sbc = Files.newByteChannel(filesSetup.getTestPath())) { in test_newByteChannel() argument 1178 try (SeekableByteChannel sbc = Files.newByteChannel(filesSetup.getDataFilePath())) { in test_newByteChannel() argument 1179 sbc.write(ByteBuffer.allocate(10)); in test_newByteChannel() 1185 try (SeekableByteChannel sbc = Files.newByteChannel(filesSetup.getDataFilePath())) { in test_newByteChannel() argument 1187 int bytesReadCount = sbc.read(readBuffer); in test_newByteChannel() 1198 try (SeekableByteChannel sbc = Files.newByteChannel(filesSetup.getTestPath(), WRITE)) { in test_newByteChannel_openOption_WRITE() argument 1205 try (SeekableByteChannel sbc = Files.newByteChannel(filesSetup.getDataFilePath(), WRITE)) { in test_newByteChannel_openOption_WRITE() argument 1206 sbc.read(ByteBuffer.allocate(10)); in test_newByteChannel_openOption_WRITE() 1212 try (SeekableByteChannel sbc = Files.newByteChannel(filesSetup.getDataFilePath(), WRITE)) { in test_newByteChannel_openOption_WRITE() argument 1213 sbc.write(ByteBuffer.wrap(TEST_FILE_DATA_2.getBytes())); in test_newByteChannel_openOption_WRITE() [all …]
|
/libcore/ojluni/src/main/java/java/nio/file/ |
D | Files.java | 3152 try (SeekableByteChannel sbc = Files.newByteChannel(path); 3153 InputStream in = Channels.newInputStream(sbc)) { 3154 long size = sbc.size();
|
/libcore/ojluni/src/main/java/java/util/stream/ |
D | StreamSpliterators.java | 1111 T_CONS sbc = (T_CONS) sb; in forEachRemaining() local 1113 do { } while (s.tryAdvance(sbc) && ++permitsRequested < CHUNK_SIZE); in forEachRemaining()
|
/libcore/luni/src/main/java/libcore/net/ |
D | mime.types | 555 audio/vnd.octel.sbc
|