Searched refs:rbc (Results 1 - 8 of 8) sorted by relevance

/openjdk7/jdk/test/java/nio/channels/FileChannel/
H A DClosedChannelTransfer.java48 ReadableByteChannel rbc = Channels.newChannel(istr);
49 rbc.close();
51 channel.transferFrom(rbc, 0, 2);
/openjdk7/jdk/test/java/nio/channels/Channels/
H A DReadOffset.java38 ReadableByteChannel rbc = new ReadableByteChannel() {
50 InputStream in = Channels.newInputStream(rbc);
H A DBasic.java86 ReadableByteChannel rbc = new ReadableByteChannel() {
100 Channels.newReader(rbc, (CharsetDecoder)null, -1);
111 Channels.newReader(rbc, null);
266 ReadableByteChannel rbc = Channels.newChannel(fis);
276 bytesRead = rbc.read(bb);
286 rbc.close();
293 ReadableByteChannel rbc = Channels.newChannel(fis);
302 bytesRead = rbc.read(bb);
304 rbc.close();
323 ReadableByteChannel rbc
[all...]
/openjdk7/jdk/test/java/net/ResponseCache/
H A Dfile2.1150 ReadableByteChannel rbc = response.getBody();
154 while ((len = rbc.read(buf)) != -1) {
/openjdk7/jdk/test/java/nio/channels/
H A DAsyncCloseAndInterrupt.java259 ReadableByteChannel rbc = (ReadableByteChannel)ich;
261 int n = rbc.read(buffer);
263 show(rbc);
264 if (rbc.isOpen()
266 && (rbc instanceof SocketChannel)
267 && ((SocketChannel)rbc).socket().isInputShutdown()) {
/openjdk7/jdk/src/solaris/classes/sun/nio/fs/
H A DUnixFileStore.java258 try (ReadableByteChannel rbc = Files.newByteChannel(file)) {
259 result.load(Channels.newReader(rbc, "UTF-8"));
/openjdk7/hotspot/src/share/vm/memory/
H A DbinaryTreeDictionary.cpp1075 ReturnedBytesClosure<Chunk> rbc; local
1076 rbc.do_tree(root());
1078 return rbc.dict_returned_bytes();
/openjdk7/jdk/src/share/demo/nio/zipfs/src/com/sun/nio/zipfs/
H A DZipFileSystem.java637 final ReadableByteChannel rbc =
643 return rbc.isOpen();
657 int n = rbc.read(dst);
679 rbc.close();

Completed in 233 milliseconds