Searched defs:sc (Results 1 - 5 of 5) sorted by relevance

/libcore/ojluni/src/main/java/sun/nio/ch/
H A DFileDispatcher.java59 abstract boolean canTransferToDirectly(SelectableChannel sc); argument
H A DPollArrayWrapper.java74 void addEntry(SelChImpl sc) { argument
75 putDescriptor(totalChannels, IOUtil.fdVal(sc.getFD()));
H A DFileDispatcherImpl.java138 boolean canTransferToDirectly(java.nio.channels.SelectableChannel sc) { argument
H A DSocketAdaptor.java54 private final SocketChannelImpl sc; field in class:SocketAdaptor
59 private SocketAdaptor(SocketChannelImpl sc) throws SocketException { argument
60 super(new FileDescriptorHolderSocketImpl(sc.getFD()));
61 this.sc = sc;
64 public static Socket create(SocketChannelImpl sc) { argument
66 return new SocketAdaptor(sc);
73 return sc;
88 synchronized (sc.blockingLock()) {
89 if (!sc
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
H A DSelectionKeyTest.java36 SocketChannel sc; field in class:SelectionKeyTest
45 sc = SocketChannel.open();
46 sc.configureBlocking(false);
47 selectionKey = sc.register(selector, SelectionKey.OP_CONNECT);
127 assertSame(sc, selectionKey.channel());
130 assertSame(sc, selectionKey.channel());
155 selectionKey.interestOps(~sc.validOps());
188 sc.close();
298 sc.connect(new InetSocketAddress(LOCAL_ADDR, ss.getLocalPort()));

Completed in 85 milliseconds