Home
last modified time | relevance | path

Searched refs:sc2 (Results 1 – 2 of 2) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
DSelectorTest.java541 SocketChannel sc2 = SocketChannel.open();
551 sc2.connect(localAddress);
553 sc2.configureBlocking(false);
554 sc2.register(selector, SelectionKey.OP_READ);
602 sc2.close();
/libcore/ojluni/src/test/java/util/Scanner/
DScanTest.java458 try (Scanner sc2 = new Scanner(inputStream())) { in hasNextLineTest() argument
460 while (sc2.hasNextLine()) in hasNextLineTest()
461 lastLine = sc2.nextLine(); in hasNextLineTest()
1574 Scanner sc2 = new Scanner("a b c d e f"); in streamCloseTest() local
1576 sc2.tokens() in streamCloseTest()
1577 .peek(s -> sc2.close()) in streamCloseTest()