Home
last modified time | relevance | path

Searched refs:srcAddress (Results 1 – 8 of 8) sorted by relevance

/libcore/luni/src/main/native/
Dlibcore_io_Memory.cpp104 static jbyte Memory_peekByte(JNIEnv*, jclass, jlong srcAddress) { in Memory_peekByte() argument
105 return *cast<const jbyte*>(srcAddress); in Memory_peekByte()
160 static jshort Memory_peekShortNative(JNIEnv*, jclass, jlong srcAddress) { in Memory_peekShortNative() argument
161 return get_unaligned<jshort>(cast<const jshort*>(srcAddress)); in Memory_peekShortNative()
168 static jint Memory_peekIntNative(JNIEnv*, jclass, jlong srcAddress) { in Memory_peekIntNative() argument
169 return get_unaligned<jint>(cast<const jint*>(srcAddress)); in Memory_peekIntNative()
176 static jlong Memory_peekLongNative(JNIEnv*, jclass, jlong srcAddress) { in Memory_peekLongNative() argument
177 return get_unaligned<jlong>(cast<const jlong*>(srcAddress)); in Memory_peekLongNative()
/libcore/luni/src/main/java/libcore/io/
DIoBridge.java752 InetSocketAddress srcAddress = packet != null ? new InetSocketAddress() : null; in recvfrom() local
753 result = Libcore.os.recvfrom(fd, bytes, byteOffset, byteCount, flags, srcAddress); in recvfrom()
754 result = postRecvfrom(isRead, packet, srcAddress, result); in recvfrom()
765 InetSocketAddress srcAddress = packet != null ? new InetSocketAddress() : null; in recvfrom() local
766 result = Libcore.os.recvfrom(fd, buffer, flags, srcAddress); in recvfrom()
767 result = postRecvfrom(isRead, packet, srcAddress, result); in recvfrom()
774 … postRecvfrom(boolean isRead, DatagramPacket packet, InetSocketAddress srcAddress, int byteCount) { in postRecvfrom() argument
780 packet.setPort(srcAddress.getPort()); in postRecvfrom()
783 if (!srcAddress.getAddress().equals(packet.getAddress())) { in postRecvfrom()
784 packet.setAddress(srcAddress.getAddress()); in postRecvfrom()
DLinux.java196 …rom(FileDescriptor fd, ByteBuffer buffer, int flags, InetSocketAddress srcAddress) throws ErrnoExc… in recvfrom() argument
201 … bytesReceived = recvfromBytes(fd, buffer, position, buffer.remaining(), flags, srcAddress); in recvfrom()
203 …ray(buffer), NioUtils.unsafeArrayOffset(buffer) + position, buffer.remaining(), flags, srcAddress); in recvfrom()
209 …e[] bytes, int byteOffset, int byteCount, int flags, InetSocketAddress srcAddress) throws ErrnoExc… in recvfrom() argument
211 return recvfromBytes(fd, bytes, byteOffset, byteCount, flags, srcAddress); in recvfrom()
213 …ct buffer, int byteOffset, int byteCount, int flags, InetSocketAddress srcAddress) throws ErrnoExc… in recvfromBytes() argument
DBlockGuardOs.java348 …rom(FileDescriptor fd, ByteBuffer buffer, int flags, InetSocketAddress srcAddress) throws ErrnoExc… in recvfrom() argument
350 return super.recvfrom(fd, buffer, flags, srcAddress); in recvfrom()
353 …e[] bytes, int byteOffset, int byteCount, int flags, InetSocketAddress srcAddress) throws ErrnoExc… in recvfrom() argument
355 return super.recvfrom(fd, bytes, byteOffset, byteCount, flags, srcAddress); in recvfrom()
DForwardingOs.java634 … flags, InetSocketAddress srcAddress) throws ErrnoException, SocketException { return os.recvfrom(… in recvfrom() argument
639 …tSocketAddress srcAddress) throws ErrnoException, SocketException { return os.recvfrom(fd, bytes, … in recvfrom() argument
DOs.java538 …rom(FileDescriptor fd, ByteBuffer buffer, int flags, InetSocketAddress srcAddress) throws ErrnoExc… in recvfrom() argument
543 …e[] bytes, int byteOffset, int byteCount, int flags, InetSocketAddress srcAddress) throws ErrnoExc… in recvfrom() argument
/libcore/luni/src/test/java/libcore/android/system/
DOsTest.java1168 InetSocketAddress srcAddress = new InetSocketAddress();
1169 assertEquals(len, Os.recvfrom(fd, received, 0, received.length, 0, srcAddress));
1170 assertEquals(to, srcAddress.getAddress());
1262 InetSocketAddress srcAddress = new InetSocketAddress();
1263 int received = Os.recvfrom(serverFd, buffer, 0, srcAddress);
2036 String srcAddress = "127.0.0.1";
2037 InetAddress inetAddress = Os.inet_pton(AF_INET, srcAddress);
2038 assertEquals(srcAddress, inetAddress.getHostAddress());
2043 String srcAddress = "1123:4567:89ab:cdef:fedc:ba98:7654:3210";
2044 InetAddress inetAddress = Os.inet_pton(AF_INET6, srcAddress);
[all …]
/libcore/luni/src/main/java/android/system/
DOs.java609 …gs, InetSocketAddress srcAddress) throws ErrnoException, SocketException { return Libcore.os.recvf… in recvfrom() argument
614 …ketAddress srcAddress) throws ErrnoException, SocketException { return Libcore.os.recvfrom(fd, byt… in recvfrom() argument