Home
last modified time | relevance | path

Searched defs:sc (Results 1 – 25 of 36) sorted by relevance

12

/libcore/luni/src/test/java/libcore/java/nio/channels/
DSocketChannelTest.java75 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 …]
DSelectorTest.java42 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
DServerSocketChannelTest.java243 ServerSocketChannel sc = ServerSocketChannel.open(); in set_option() local
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
DSSLSessionContextTest.java25 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/
DScanTest.java130 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 …]
DScannerStreamTest.java80 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/
DAtomicUpdates.java54 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/
DAbstractSelectableChannelTest.java112 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/
DServerSocketAdaptor.java100 SocketChannel sc = ssc.accept(); in accept() local
108 SocketChannel sc; in accept() local
DSocketAdaptor.java56 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()
DFileDispatcher.java59 abstract boolean canTransferToDirectly(SelectableChannel sc); in canTransferToDirectly()
DPollArrayWrapper.java74 void addEntry(SelChImpl sc) { in addEntry()
DChannelInputStream.java53 SelectableChannel sc = (SelectableChannel)ch; in read() local
DServerSocketChannelImpl.java238 SocketChannel sc = null; in accept() local
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DSecureCacheResponseTest.java35 SecureCacheResponse sc = new MockCacheResponse(); in testSecureCacheResponse() local
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
DSelectorTest.java116 SocketChannel sc = SocketChannel.open(); in test_keys() local
151 SocketChannel sc = SocketChannel.open(); in test_selectedKeys() local
DSocketChannelTest.java211 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 …]
DSinkChannelTest.java468 SocketChannel sc = SocketChannel.open(); in test_socketChannel_read_close() local
493 SocketChannel sc = SocketChannel.open(); in test_socketChannel_read_write() local
DSelectionKeyTest.java36 SocketChannel sc; field in SelectionKeyTest
/libcore/ojluni/src/test/java/net/Socket/
DShutdownInput.java58 try (ServerSocketChannel sc = ServerSocketChannel.open().bind(null); in main()
/libcore/ojluni/src/main/java/java/nio/channels/
DChannels.java91 SelectableChannel sc = (SelectableChannel) ch; in writeFully() local
DSocketChannel.java192 SocketChannel sc = open(); in open() local
/libcore/ojluni/src/test/java/util/Collections/
DUnmodifiableMapEntrySet.java145 … Function<Spliterator<Map.Entry<Integer, Integer>>, Consumer<EntryConsumer>> sc) { in testSpliterator()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DPrintStreamTest.java243 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/
DSerializationTest.java110 SerializableContainer1 sc = (SerializableContainer1) SerializationTester.deserializeHex(s); in testDeserializeNullUnserializableField() local

12