/libcore/luni/src/test/java/libcore/java/nio/channels/ |
D | SocketChannelTest.java | 75 SocketChannel sc = SocketChannel.open(); in test_56684() local 104 SocketChannel sc = SocketChannel.open(ss.getLocalSocketAddress()); in test_channelSocketOutputStreamClosureState() local 125 SocketChannel sc = SocketChannel.open(ss.getLocalSocketAddress()); in test_channelSocketInputStreamClosureState() local 144 SocketChannel sc = SocketChannel.open(); in test_open_initialState() local 167 SocketChannel sc = SocketChannel.open(); in test_bind_unresolvedAddress() local 183 SocketChannel sc = SocketChannel.open(); in test_bind_socketStateSync() local 211 SocketChannel sc = SocketChannel.open(); in test_bind_socketObjectCreationAfterBind() local 238 SocketChannel sc = SocketChannel.open(); in test_connect_blocking() local 257 SocketChannel sc = SocketChannel.open(); in test_connect_nonBlocking() local 281 try (SocketChannel sc = SocketChannel.open(); in test_Socket_impl_notNull() [all …]
|
D | SelectorTest.java | 42 SocketChannel sc = SocketChannel.open(); in testNonBlockingConnect_immediate() local 118 SocketChannel sc = SocketChannel.open(); in test_57456() local 159 SocketChannel sc = SocketChannel.open(); in test28318596() local
|
D | ServerSocketChannelTest.java | 243 ServerSocketChannel sc = ServerSocketChannel.open(); in set_option() local
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
D | SSLSessionContextTest.java | 25 SSLSessionContext sc = context in test_sessionCacheSize() local 49 SSLSessionContext sc = context in test_sessionTimeout() local 72 SSLSessionContext sc = context in test_getSession() local 90 SSLSessionContext sc = context in test_getIds() local
|
/libcore/ojluni/src/test/java/util/Scanner/ |
D | ScanTest.java | 130 try (Scanner sc = new Scanner(inputStream())) { in useCase1() 152 try (Scanner sc = new Scanner(inputStream()).useDelimiter("-")) { in useCase2() 177 try (Scanner sc = new Scanner(inputStream())) { in useCase3() 201 try (Scanner sc = new Scanner(inputStream())) { in useCase4() 245 try (Scanner sc = new Scanner(inputStream())) { in useCase5() 281 Scanner sc = new Scanner(yourBasicTibetanNumberZero); in nonASCIITest() local 302 Scanner sc = new Scanner("dog cat cat dog cat"); in findWithinHorizonTest() local 431 Scanner sc = scannerFor("1\n2\n3 3\r\n4 4 4\r5", sourceType); in hasNextLineTest() local 469 Scanner sc = scannerFor("1\n2\n3 3\r\n4 4 4\r5", sourceType); in nextLineTest() local 495 Scanner sc = scannerFor("12 13 14 15 16 17 ", in singleDelimTest() local [all …]
|
D | ScannerStreamTest.java | 80 Scanner sc = new Scanner(input); in makeScanner() local 94 Scanner sc = makeScanner(input, delimiter); in tokensTest() local 134 try (Scanner sc = makeResourceScanner()) { in findAllFileTest()
|
/libcore/ojluni/src/test/java/nio/channels/SelectionKey/ |
D | AtomicUpdates.java | 54 private SelectionKey keyFor(SocketChannel sc) { in keyFor() 169 try (SocketChannel sc = SocketChannel.open()) { in testDefaultImplementation() 179 try (SocketChannel sc = SocketChannel.open(); in testNioImplementation()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/spi/ |
D | AbstractSelectableChannelTest.java | 112 SocketChannel sc = SocketChannel.open(); in test_register_LSelectorILObject() local 211 SocketChannel sc = SocketChannel.open(); in test_register_LSelectorILObject_IllegalArgument() local 235 SocketChannel sc = SocketChannel.open(); in test_keyfor_LSelector() local 257 SocketChannel sc = SocketChannel.open(); in test_configureBlocking_Z_IllegalBlockingMode() local
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | ServerSocketAdaptor.java | 100 SocketChannel sc = ssc.accept(); in accept() local 108 SocketChannel sc; in accept() local
|
D | SocketAdaptor.java | 56 private final SocketChannelImpl sc; field in SocketAdaptor 61 private SocketAdaptor(SocketChannelImpl sc) throws SocketException { in SocketAdaptor() 67 public static Socket create(SocketChannelImpl sc) { in create()
|
D | FileDispatcher.java | 59 abstract boolean canTransferToDirectly(SelectableChannel sc); in canTransferToDirectly()
|
D | PollArrayWrapper.java | 74 void addEntry(SelChImpl sc) { in addEntry()
|
D | ChannelInputStream.java | 53 SelectableChannel sc = (SelectableChannel)ch; in read() local
|
D | ServerSocketChannelImpl.java | 238 SocketChannel sc = null; in accept() local
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
D | SecureCacheResponseTest.java | 35 SecureCacheResponse sc = new MockCacheResponse(); in testSecureCacheResponse() local
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
D | SelectorTest.java | 116 SocketChannel sc = SocketChannel.open(); in test_keys() local 151 SocketChannel sc = SocketChannel.open(); in test_selectedKeys() local
|
D | SocketChannelTest.java | 211 SocketChannel sc = SocketChannel.open(); in test_getLocalSocketAddress_afterClose() local 2644 MockSocketChannel sc = new MockSocketChannel(null); in test_read$LByteBuffer() local 2797 MockSocketChannel sc = new MockSocketChannel(null); in test_write$LByteBuffer() local 2812 SocketChannel sc = SocketChannel.open(); in test_writev() local 2839 SocketChannel sc = SocketChannel.open(); in test_writev2() local 2877 SocketChannel sc = SocketChannel.open(); in test_write$NonBlockingException() local 3130 SocketChannel sc = SocketChannel.open(); in test_socketChannel_read_ByteBufferII_remoteClosed() local 3146 SocketChannel sc = SocketChannel.open(); in test_socketChannel_write_ByteBufferII() local 3168 SocketChannel sc = SocketChannel.open(); in test_socketChannel_read_ByteBufferII_bufNULL() local 3190 SocketChannel sc = SocketChannel.open(); in test_socketChannel_write_close() local [all …]
|
D | SinkChannelTest.java | 468 SocketChannel sc = SocketChannel.open(); in test_socketChannel_read_close() local 493 SocketChannel sc = SocketChannel.open(); in test_socketChannel_read_write() local
|
D | SelectionKeyTest.java | 36 SocketChannel sc; field in SelectionKeyTest
|
/libcore/ojluni/src/test/java/net/Socket/ |
D | ShutdownInput.java | 58 try (ServerSocketChannel sc = ServerSocketChannel.open().bind(null); in main()
|
/libcore/ojluni/src/main/java/java/nio/channels/ |
D | Channels.java | 91 SelectableChannel sc = (SelectableChannel) ch; in writeFully() local
|
D | SocketChannel.java | 192 SocketChannel sc = open(); in open() local
|
/libcore/ojluni/src/test/java/util/Collections/ |
D | UnmodifiableMapEntrySet.java | 145 … Function<Spliterator<Map.Entry<Integer, Integer>>, Consumer<EntryConsumer>> sc) { in testSpliterator()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | PrintStreamTest.java | 243 char[] sc = new char[4000]; in test_print$C() local 413 char[] sc = new char[4000]; in test_println$C() local
|
/libcore/luni/src/test/java/libcore/java/io/ |
D | SerializationTest.java | 110 SerializableContainer1 sc = (SerializableContainer1) SerializationTester.deserializeHex(s); in testDeserializeNullUnserializableField() local
|