/libcore/luni/src/test/java/libcore/java/nio/channels/ |
D | FutureLikeCompletionHandler.java | 26 Object attachment; field in FutureLikeCompletionHandler 28 public void completed(V result, Object attachment) { in completed() 40 public void failed(Throwable exc, Object attachment) { in failed()
|
D | AsynchronousFileChannelTest.java | 253 public String attachment; field in AsynchronousFileChannelTest.RecordingHandler 260 public void completed(Integer result, String attachment) { in completed() 268 public void failed(Throwable exc, String attachment) { in failed() 288 String attachment = "ATTACHMENT"; in testRead_CompletionListener() local 351 afc.read(buf.asReadOnlyBuffer(), 1, attachment, handler); in testRead_CompletionListener() local 460 String attachment = "ATTACHMENT"; in testWrite_CompletionListener() local 475 afc.write(ByteBuffer.wrap(new byte[] { 'x', 'y'}), 0, attachment, handler); in testWrite_CompletionListener() local 492 afc.write(ByteBuffer.wrap(new byte[] { 'x', 'y', 'z'}), 6, attachment, handler); in testWrite_CompletionListener() local 510 afc.write(ByteBuffer.wrap(new byte[] { 'x', 'y' }), 9, attachment, handler); in testWrite_CompletionListener() local 526 afc.write(ByteBuffer.wrap(new byte[] { '0', '2' }), 13, attachment, handler); in testWrite_CompletionListener() local
|
D | AsynchronousSocketChannelTest.java | 326 Object attachment = new Integer(1); in test_completionHandlerReadWrite() local 327 asc.connect(ss.getLocalSocketAddress(), attachment, connectCompletionHandler); in test_completionHandlerReadWrite() local 385 Object attachment = new Integer(1); in test_scatterReadWrite() local 386 asc.connect(ss.getLocalSocketAddress(), attachment, connectCompletionHandler); in test_scatterReadWrite() local
|
D | AsynchronousServerSocketChannelTest.java | 163 Integer attachment = new Integer(123); in test_completionHandlerAccept_attachment() local
|
/libcore/ojluni/src/main/java/java/nio/channels/ |
D | CompletionHandler.java | 55 void completed(V result, A attachment); in completed() 65 void failed(Throwable exc, A attachment); in failed()
|
D | AsynchronousByteChannel.java | 109 A attachment, in read() 188 A attachment, in write()
|
D | AsynchronousFileChannel.java | 460 A attachment, in lock() 491 public final <A> void lock(A attachment, in lock() 678 A attachment, in read() 744 A attachment, in write()
|
D | SelectionKey.java | 366 private volatile Object attachment = null; field in SelectionKey 397 public final Object attachment() { in attachment() method in SelectionKey
|
D | AsynchronousServerSocketChannel.java | 285 public abstract <A> void accept(A attachment, in accept()
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | AsynchronousFileChannelImpl.java | 109 A attachment, in implLock() 125 A attachment, in lock() 213 A attachment, in implRead() 224 A attachment, in read() 234 A attachment, in implWrite() 246 A attachment, in write()
|
D | PendingFuture.java | 43 private final A attachment; field in PendingFuture 61 A attachment, in PendingFuture() 72 A attachment) in PendingFuture() 95 A attachment() { in attachment() method in PendingFuture
|
D | Invoker.java | 121 A attachment, in invokeUnchecked() 155 A attachment, in invokeDirect() 170 A attachment, in invoke() 210 final A attachment, in invokeIndirectly() 233 final A attachment, in invokeIndirectly()
|
D | DirectBuffer.java | 35 public Object attachment(); in attachment() method
|
D | AsynchronousSocketChannelImpl.java | 194 A attachment, in implConnect() 204 A attachment, in connect() 220 A attachment, in implRead() 290 A attachment, in read() 306 A attachment, in read() 329 A attachment, in implWrite() 394 A attachment, in write() 408 A attachment, in write()
|
D | SimpleAsynchronousFileChannelImpl.java | 176 final A attachment, in implLock() 290 final A attachment, in implRead() 346 final A attachment, in implWrite()
|
D | AsynchronousServerSocketChannelImpl.java | 118 implAccept(Object attachment, in implAccept() 129 public final <A> void accept(A attachment, in accept()
|
D | UnixAsynchronousSocketChannelImpl.java | 312 A attachment, in implConnect() 500 A attachment, in implRead() 695 A attachment, in implWrite()
|
D | SelectorImpl.java | 125 Object attachment) in register()
|
/libcore/ojluni/annotations/hiddenapi/sun/nio/ch/ |
D | DirectBuffer.java | 36 public java.lang.Object attachment(); in attachment() method
|
D | SelectorImpl.java | 79 java.lang.Object attachment) { in register()
|
/libcore/ojluni/annotations/mmodule/sun/nio/ch/ |
D | DirectBuffer.annotated.java | 36 public java.lang.Object attachment(); in attachment() method
|
/libcore/ojluni/annotations/mmodule/java/nio/ |
D | DirectByteBuffer.annotated.java | 43 public final java.lang.Object attachment() { throw new RuntimeException("Stub!"); } in attachment() method in DirectByteBuffer
|
/libcore/ojluni/annotations/hiddenapi/java/nio/ |
D | DirectByteBuffer.java | 78 public final java.lang.Object attachment() { in attachment() method in DirectByteBuffer
|
/libcore/ojluni/src/main/java/java/nio/ |
D | DirectByteBuffer.java | 147 public final Object attachment() { in attachment() method in DirectByteBuffer
|