/libcore/luni/src/main/native/ |
D | libcore_io_Memory.cpp | 107 static jbyte Memory_peekByte(JNIEnv*, jclass, jlong srcAddress) { in Memory_peekByte() argument 108 return *cast<const jbyte*>(srcAddress); in Memory_peekByte() 111 static void Memory_peekByteArray(JNIEnv* env, jclass, jlong srcAddress, jbyteArray dst, jint dstOff… in Memory_peekByteArray() argument 112 env->SetByteArrayRegion(dst, dstOffset, byteCount, cast<const jbyte*>(srcAddress)); in Memory_peekByteArray() 128 const SWAP_TYPE* src = cast<const SWAP_TYPE*>(srcAddress); \ 131 const SCALAR_TYPE* src = cast<const SCALAR_TYPE*>(srcAddress); \ 136 static void Memory_peekCharArray(JNIEnv* env, jclass, jlong srcAddress, jcharArray dst, jint dstOff… in Memory_peekCharArray() argument 140 static void Memory_peekDoubleArray(JNIEnv* env, jclass, jlong srcAddress, jdoubleArray dst, jint ds… in Memory_peekDoubleArray() argument 144 static void Memory_peekFloatArray(JNIEnv* env, jclass, jlong srcAddress, jfloatArray dst, jint dstO… in Memory_peekFloatArray() argument 148 static void Memory_peekIntArray(JNIEnv* env, jclass, jlong srcAddress, jintArray dst, jint dstOffse… in Memory_peekIntArray() argument [all …]
|
/libcore/luni/src/main/java/libcore/io/ |
D | IoBridge.java | 609 InetSocketAddress srcAddress = packet != null ? new InetSocketAddress() : null; in recvfrom() local 610 result = Libcore.os.recvfrom(fd, bytes, byteOffset, byteCount, flags, srcAddress); in recvfrom() 611 result = postRecvfrom(isRead, packet, srcAddress, result); in recvfrom() 621 InetSocketAddress srcAddress = packet != null ? new InetSocketAddress() : null; in recvfrom() local 622 result = Libcore.os.recvfrom(fd, buffer, flags, srcAddress); in recvfrom() 623 result = postRecvfrom(isRead, packet, srcAddress, result); in recvfrom() 630 … postRecvfrom(boolean isRead, DatagramPacket packet, InetSocketAddress srcAddress, int byteCount) { in postRecvfrom() argument 636 packet.setPort(srcAddress.getPort()); in postRecvfrom() 639 if (!srcAddress.getAddress().equals(packet.getAddress())) { in postRecvfrom() 640 packet.setAddress(srcAddress.getAddress()); in postRecvfrom()
|
D | Linux.java | 190 …rom(FileDescriptor fd, ByteBuffer buffer, int flags, InetSocketAddress srcAddress) throws ErrnoExc… in recvfrom() argument 195 … bytesReceived = recvfromBytes(fd, buffer, position, buffer.remaining(), flags, srcAddress); in recvfrom() 197 …ray(buffer), NioUtils.unsafeArrayOffset(buffer) + position, buffer.remaining(), flags, srcAddress); in recvfrom() 203 …e[] bytes, int byteOffset, int byteCount, int flags, InetSocketAddress srcAddress) throws ErrnoExc… in recvfrom() argument 205 return recvfromBytes(fd, bytes, byteOffset, byteCount, flags, srcAddress); in recvfrom() 207 …ct buffer, int byteOffset, int byteCount, int flags, InetSocketAddress srcAddress) throws ErrnoExc… in recvfromBytes() argument
|
D | BlockGuardOs.java | 269 …rom(FileDescriptor fd, ByteBuffer buffer, int flags, InetSocketAddress srcAddress) throws ErrnoExc… in recvfrom() argument 271 return os.recvfrom(fd, buffer, flags, srcAddress); in recvfrom() 274 …e[] bytes, int byteOffset, int byteCount, int flags, InetSocketAddress srcAddress) throws ErrnoExc… in recvfrom() argument 276 return os.recvfrom(fd, bytes, byteOffset, byteCount, flags, srcAddress); in recvfrom()
|
D | ForwardingOs.java | 151 … flags, InetSocketAddress srcAddress) throws ErrnoException, SocketException { return os.recvfrom(… in recvfrom() argument 152 …tSocketAddress srcAddress) throws ErrnoException, SocketException { return os.recvfrom(fd, bytes, … in recvfrom() argument
|
D | Os.java | 138 …rom(FileDescriptor fd, ByteBuffer buffer, int flags, InetSocketAddress srcAddress) throws ErrnoExc… in recvfrom() argument 139 …e[] bytes, int byteOffset, int byteCount, int flags, InetSocketAddress srcAddress) throws ErrnoExc… in recvfrom() argument
|
/libcore/luni/src/main/java/android/system/ |
D | Os.java | 427 …gs, InetSocketAddress srcAddress) throws ErrnoException, SocketException { return Libcore.os.recvf… in recvfrom() argument 432 …ketAddress srcAddress) throws ErrnoException, SocketException { return Libcore.os.recvfrom(fd, byt… in recvfrom() argument
|
/libcore/luni/src/test/java/libcore/io/ |
D | OsTest.java | 407 InetSocketAddress srcAddress = new InetSocketAddress(); in checkSocketPing() local 408 assertEquals(len, Libcore.os.recvfrom(fd, received, 0, received.length, 0, srcAddress)); in checkSocketPing() 409 assertEquals(to, srcAddress.getAddress()); in checkSocketPing() 497 InetSocketAddress srcAddress = new InetSocketAddress(); in test_recvfrom_concurrentShutdown() local 498 int received = Libcore.os.recvfrom(serverFd, buffer, 0, srcAddress); in test_recvfrom_concurrentShutdown()
|