/libcore/ojluni/src/main/java/java/io/ |
H A D | PipedInputStream.java | 203 protected synchronized void receive(int b) throws IOException { method in class:PipedInputStream 228 synchronized void receive(byte b[], int off, int len) throws IOException { method in class:PipedInputStream
|
H A D | PipedReader.java | 170 synchronized void receive(int c) throws IOException { method in class:PipedReader 208 synchronized void receive(char c[], int off, int len) throws IOException { method in class:PipedReader 210 receive(c[off++]);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
H A D | DatagramSocketImplTest.java | 128 protected void receive(DatagramPacket pack) throws IOException { method in class:MockDatagramSocketImpl
|
H A D | DatagramSocketTest.java | 74 serverSocket.receive(rdp); 107 // receive messages from groups they explicitly joined. 177 DatagramPacket receive = new DatagramPacket(new byte[20], 20); 179 ds.receive(receive); 182 assertEquals(10, receive.getLength()); 183 assertEquals(localHost, receive.getAddress()); 212 final DatagramPacket receive = new DatagramPacket(new byte[20], 20); 216 ds.receive(receive); 449 protected void receive(DatagramPacket arg0) throws IOException { method in class:DatagramSocketTest.TestDatagramSocketImpl [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
H A D | MockDatagramChannel.java | 60 public SocketAddress receive(ByteBuffer arg0) throws IOException { method in class:MockDatagramChannel
|
/libcore/luni/src/test/java/libcore/java/net/ |
H A D | OldDatagramSocketImplFactoryTest.java | 183 protected void receive(DatagramPacket arg0) throws IOException { method in class:OldDatagramSocketImplFactoryTest.TestDatagramSocketImpl
|
/libcore/ojluni/src/main/java/java/nio/channels/ |
H A D | DatagramChannel.java | 44 * send} and {@link #receive receive} methods to be used. A datagram channel may be 47 * every send and receive operation. A datagram channel must be connected in 71 * <td> The size of the socket receive buffer </td> 303 * <p> The channel's socket is configured so that it can receive datagrams 353 * java.net.DatagramSocket#receive receive} method of the {@link 398 public abstract SocketAddress receive(ByteBuffer dst) throws IOException; method in class:DatagramChannel
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
H A D | PipedInputStreamTest.java | 250 * java.io.PipedInputStream#receive(int) 311 public void receive(int oneByte) throws IOException { method in class:PipedInputStreamTest.PipedInputStreamWithPublicReceive 312 super.receive(oneByte); 325 pis.receive(1);
|
/libcore/ojluni/src/main/java/java/net/ |
H A D | AbstractPlainDatagramSocketImpl.java | 50 /* timeout value for receive() */ 158 * @param p the packet to receive into 160 protected synchronized void receive(DatagramPacket p) method in class:AbstractPlainDatagramSocketImpl 210 * @param netIf specifies the local interface to receive multicast
|
H A D | DatagramSocketImpl.java | 107 * send or receive may throw a PortUnreachableException. 138 * but not consumed, so that a subsequent peekData/receive operation 158 protected abstract void receive(DatagramPacket p) throws IOException; method in class:DatagramSocketImpl 221 * @param netIf specifies the local interface to receive multicast
|
H A D | DatagramSocket.java | 51 * to allow the transmission of broadcast datagrams. In order to receive 65 * Both cases will create a DatagramSocket able to receive broadcasts on 438 * send or receive may throw a PortUnreachableException. Note, there is no 454 * <p> When a socket is connected, {@link #receive receive} and 756 public synchronized void receive(DatagramPacket p) throws IOException { method in class:DatagramSocket 794 getImpl().receive(tmp); 834 getImpl().receive(tmp); 846 // connected then receive the packet 847 getImpl().receive( [all...] |
/libcore/ojluni/src/main/java/sun/nio/ch/ |
H A D | DatagramSocketAdaptor.java | 174 private SocketAddress receive(ByteBuffer bb) throws IOException { method in class:DatagramSocketAdaptor 176 return dc.receive(bb); 183 if ((sender = dc.receive(bb)) != null) 193 if ((sender = dc.receive(bb)) != null) 207 public void receive(DatagramPacket p) throws IOException { method in class:DatagramSocketAdaptor 216 SocketAddress sender = receive(bb); 315 throw new IllegalArgumentException("Invalid receive size"); 388 protected void receive(DatagramPacket p) throws IOException {}
|
H A D | DatagramChannelImpl.java | 369 public SocketAddress receive(ByteBuffer dst) throws IOException { method in class:DatagramChannelImpl 380 // Socket was not bound before attempting receive 393 n = receive(fd, dst); 401 n = receive(fd, bb); 432 private int receive(FileDescriptor fd, ByteBuffer dst) method in class:DatagramChannelImpl 808 } while (receive(tmpBuf) != null); 989 * Block datagrams from given source if a memory to receive all
|