Home
last modified time | relevance | path

Searched refs:configureBlocking (Results 1 – 25 of 39) sorted by relevance

12

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/spi/
DAbstractSelectableChannelTest.java89 testChannel.configureBlocking(false); in test_isBlocking()
91 testChannel.configureBlocking(true); in test_isBlocking()
113 sc.configureBlocking(false); in test_register_LSelectorILObject()
127 channel.configureBlocking(false); in test_register_LSelectorILObject()
143 msc.configureBlocking(false); in test_register_LSelectorILObject_IllegalArgument()
181 msc.configureBlocking(true); in test_register_LSelectorILObject_IllegalArgument()
212 sc.configureBlocking(false); in test_register_LSelectorILObject_IllegalArgument()
237 sc.configureBlocking(false); in test_keyfor_LSelector()
258 sc.configureBlocking(false); in test_configureBlocking_Z_IllegalBlockingMode()
263 SelectableChannel getChannel = sc.configureBlocking(false); in test_configureBlocking_Z_IllegalBlockingMode()
[all …]
DAbstractSelectorTest.java117 ssc.configureBlocking(false); in test_register_LSelectorI()
133 ssc.configureBlocking(false); in test_register_LSelectorI_error()
146 ssc.configureBlocking(true); in test_register_LSelectorI_error()
154 ssc.configureBlocking(false); in test_register_LSelectorI_error()
/libcore/luni/src/test/java/libcore/java/nio/channels/
DSelectorTest.java39 ssc.configureBlocking(false); in testNonBlockingConnect_immediate()
43 sc.configureBlocking(false); in testNonBlockingConnect_immediate()
116 ssc.configureBlocking(false); in test_57456()
123 sc.configureBlocking(false); in test_57456()
157 ssc.configureBlocking(false); in test28318596()
164 sc.configureBlocking(false); in test28318596()
DSocketChannelTest.java76 sc.configureBlocking(false); in test_56684()
105 sc.configureBlocking(true); in test_channelSocketOutputStreamClosureState()
126 sc.configureBlocking(true); in test_channelSocketInputStreamClosureState()
259 sc.configureBlocking(false); in test_connect_nonBlocking()
370 channel1.configureBlocking(false); in test_shutdownInput()
DServerSocketChannelTest.java55 ssc.configureBlocking(false); in testNonBlockingAccept()
157 channel.configureBlocking(false); in clearAcceptQueue()
162 channel.configureBlocking(true); in clearAcceptQueue()
DOldSocketChannelTest.java139 this.channel1.configureBlocking(false); in testIsConnected()
152 this.channel1.configureBlocking(false); in testIsConnectionPending()
252 channel1.configureBlocking(false); in test_writeLjava_nio_ByteBuffer_Nonblocking_HugeData()
DChannelsTest.java69 sourceChannel.configureBlocking(false); in createNonBlockingChannel()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
DSelectorTest.java55 ssc.configureBlocking(false); in setUp()
117 sc.configureBlocking(false); in test_keys()
338 sc.configureBlocking(false);
362 pipe.source().configureBlocking(false);
395 sc.configureBlocking(false);
443 channel.configureBlocking(false);
504 sc.configureBlocking(false);
544 ssc.configureBlocking(true);
547 sc.configureBlocking(false);
549 client.configureBlocking(true);
[all …]
DDatagramChannelTest.java314 dc.configureBlocking(false); in testSocket_NonBlock_BasicStatusAfterConnect()
376 this.channel1.configureBlocking(false); in testSocket_NonBlock_ActionsAfterConnect()
446 this.channel1.configureBlocking(false); in testConnect_NonBlockWithServer()
628 this.channel1.configureBlocking(false); in testDisconnect_NonBlockWithServerChannelClosed()
653 this.channel1.configureBlocking(false); in testDisconnect_NonBlockWithServerServerClosed()
700 this.channel1.configureBlocking(false); in testReceive_UnconnectedBufEmpty()
800 this.channel1.configureBlocking(false); in testReceive_NonBlockNoServerBufEmpty()
816 this.channel1.configureBlocking(false); in testReceive_NonBlockNoServerNull()
832 this.channel1.configureBlocking(false); in testReceive_NonBlockNoServerReadonly()
840 this.channel1.configureBlocking(false); in testReceive_NonBlockNoServerBufZero()
[all …]
DServerSocketChannelTest.java269 this.serverChannel.configureBlocking(false); in testSocket_NonBlock_BeforeClose()
296 this.serverChannel.configureBlocking(false); in testSocket_NonBlock_Closed()
350 this.serverChannel.configureBlocking(false); in testAccept_NonBlock_NotYetBound()
396 this.serverChannel.configureBlocking(false); in testAccept_NonBlock_NoConnect()
443 serverChannel.configureBlocking(false); in test_read_NonBlocking_RealData()
483 serverChannel.configureBlocking(false); in test_write_NonBlocking_RealData()
548 serverChannel.configureBlocking(false); in test_read_LByteBuffer_NonBlocking_ReadWriteRealLargeData()
573 serverChannel.configureBlocking(false); in test_write_LByteBuffer_NonBlocking_ReadWriteRealLargeData()
672 sc.configureBlocking(false); in test_accept_SOTIMEOUT()
700 serverChannel.configureBlocking(true); in test_socket_accept_Blocking_NotBound()
[all …]
DUnixSelectorTest.java35 serverChannel.configureBlocking(false); in Server()
77 socketChannel.configureBlocking(false); in testSelectorAcceptAndRead()
94 socketChannel2.configureBlocking(false); in testSelectUnConnectedChannel()
DSinkChannelTest.java77 sink.configureBlocking(sinkBlockingMode[i]); in test_write_LByteBuffer()
78 source.configureBlocking(sourceBlockingMode[i]); in test_write_LByteBuffer()
186 sink.configureBlocking(sinkBlockingMode[i]); in test_write_$LByteBuffer()
187 source.configureBlocking(sourceBlockingMode[i]); in test_write_$LByteBuffer()
285 sink.configureBlocking(sinkBlockingMode[i]); in test_write_$LByteBufferII()
286 source.configureBlocking(sourceBlockingMode[i]); in test_write_$LByteBufferII()
DSelectableChannelTest.java52 public SelectableChannel configureBlocking(boolean block) in configureBlocking() method in SelectableChannelTest.MockSelectableChannel
DSourceChannelTest.java162 sink.configureBlocking(sinkBlockingMode[i]); in test_read_$LByteBuffer()
163 source.configureBlocking(sourceBlockingMode[i]); in test_read_$LByteBuffer()
305 sink.configureBlocking(sinkBlockingMode[i]); in test_read_$LByteBufferII()
306 source.configureBlocking(sourceBlockingMode[i]); in test_read_$LByteBufferII()
/libcore/ojluni/src/main/native/
DIOUtil.c74 configureBlocking(int fd, jboolean blocking) in configureBlocking() function
86 if (configureBlocking(fdval(env, fdo), blocking) < 0) in IOUtil_configureBlocking()
100 if ((configureBlocking(fd[0], JNI_FALSE) < 0) in IOUtil_makePipe()
101 || (configureBlocking(fd[1], JNI_FALSE) < 0)) { in IOUtil_makePipe()
214 NATIVE_METHOD(IOUtil, configureBlocking, "(Ljava/io/FileDescriptor;Z)V"),
/libcore/ojluni/src/main/java/sun/nio/ch/
DChannelInputStream.java59 sc.configureBlocking(block); in read()
62 sc.configureBlocking(bm); in read()
DSocketAdaptor.java109 sc.configureBlocking(false); in connect()
132 sc.configureBlocking(true); in connect()
210 sc.configureBlocking(false); in read()
232 sc.configureBlocking(true); in read()
DServerSocketAdaptor.java106 ssc.configureBlocking(false); in accept()
125 ssc.configureBlocking(true); in accept()
DServerSocketChannelImpl.java264 IOUtil.configureBlocking(newfd, true); in accept()
283 IOUtil.configureBlocking(fd, block); in implConfigureBlocking()
DDatagramSocketAdaptor.java179 dc.configureBlocking(false); in receive()
203 dc.configureBlocking(true); in receive()
DSinkChannelImpl.java112 IOUtil.configureBlocking(fd, block); in implConfigureBlocking()
DSourceChannelImpl.java113 IOUtil.configureBlocking(fd, block); in implConfigureBlocking()
/libcore/ojluni/src/main/java/java/nio/channels/
DSelectableChannel.java315 public abstract SelectableChannel configureBlocking(boolean block) in configureBlocking() method in SelectableChannel
/libcore/ojluni/src/main/java/sun/nio/fs/
DLinuxWatchService.java74 configureBlocking(ifd, false); in LinuxWatchService()
76 configureBlocking(sp[0], false); in LinuxWatchService()
480 private static native void configureBlocking(int fd, boolean blocking) in configureBlocking() method in LinuxWatchService
/libcore/ojluni/src/main/java/java/nio/channels/spi/
DAbstractSelectableChannel.java284 public final SelectableChannel configureBlocking(boolean block) in configureBlocking() method in AbstractSelectableChannel

12