/libcore/luni/src/main/java/java/net/ |
D | PlainDatagramSocketImpl.java | 162 private void doRecv(DatagramPacket pack, int flags) throws IOException { in doRecv() argument 163 …IoBridge.recvfrom(false, fd, pack.getData(), pack.getOffset(), pack.getLength(), flags, pack, isNa… in doRecv() 165 updatePacketRecvAddress(pack); in doRecv() 170 public void receive(DatagramPacket pack) throws IOException { in receive() argument 171 doRecv(pack, 0); in receive() 175 public int peekData(DatagramPacket pack) throws IOException { in peekData() argument 176 doRecv(pack, MSG_PEEK); in peekData() 177 return pack.getPort(); in peekData()
|
D | DatagramSocketImpl.java | 194 protected abstract void receive(DatagramPacket pack) throws IOException; in receive() argument 205 protected abstract void send(DatagramPacket pack) throws IOException; in send() argument 270 protected abstract int peekData(DatagramPacket pack) throws IOException; in peekData() argument
|
D | DatagramSocket.java | 264 public synchronized void receive(DatagramPacket pack) throws IOException { in receive() argument 267 if (pack == null) { in receive() 273 pack.resetLengthForReceive(); in receive() 274 impl.receive(pack); in receive() 285 public void send(DatagramPacket pack) throws IOException { in send() argument 289 InetAddress packAddr = pack.getAddress(); in send() 292 if (!address.equals(packAddr) || port != pack.getPort()) { in send() 296 pack.setAddress(address); in send() 297 pack.setPort(port); in send() 305 impl.send(pack); in send()
|
/libcore/dalvik/src/main/java/dalvik/system/ |
D | BaseDexClassLoader.java | 109 Package pack = super.getPackage(name); in getPackage() local 111 if (pack == null) { in getPackage() 112 pack = definePackage(name, "Unknown", "0.0", "Unknown", in getPackage() 116 return pack; in getPackage()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
D | DatagramSocketImplTest.java | 116 protected int peekData(DatagramPacket pack) throws IOException { in peekData() argument 121 protected void receive(DatagramPacket pack) throws IOException { in receive() argument 126 protected void send(DatagramPacket pack) throws IOException { in send() argument
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | OldURLClassLoaderTest.java | 151 Package pack = tucl.definePackage(packageName + i, manifest, urls[i]); in test_definePackage() local 152 assertEquals(packageName + i, pack.getName()); in test_definePackage() 154 pack.getImplementationTitle()); in test_definePackage() 156 pack.getImplementationVendor()); in test_definePackage() 158 pack.getImplementationVersion()); in test_definePackage()
|
D | OldAndroidDatagramTest.java | 174 DatagramPacket pack = new DatagramPacket(new byte[100], 100); in testDatagramSocketSetSOTimeout() local 176 sock.receive(pack); in testDatagramSocketSetSOTimeout()
|
/libcore/luni/src/main/java/java/util/jar/ |
D | Pack200.java | 201 void pack(JarFile in, OutputStream out) throws IOException; in pack() method 214 void pack(JarInputStream in, OutputStream out) throws IOException; in pack() method
|
/libcore/libart/src/main/java/java/lang/ |
D | ClassLoader.java | 816 Package pack = super.getPackage(name); in getPackage() local 818 if (pack == null) { in getPackage() 819 pack = definePackage(name, "Unknown", "0.0", "Unknown", "Unknown", "0.0", in getPackage() 823 return pack; in getPackage()
|