Searched defs:srcAddress (Results 1 - 6 of 6) sorted by relevance

/libcore/luni/src/main/java/libcore/io/
H A DBlockGuardOs.java157 @Override public int recvfrom(FileDescriptor fd, ByteBuffer buffer, int flags, InetSocketAddress srcAddress) throws ErrnoException, SocketException { argument
159 return os.recvfrom(fd, buffer, flags, srcAddress);
162 @Override public int recvfrom(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, InetSocketAddress srcAddress) throws ErrnoException, SocketException { argument
164 return os.recvfrom(fd, bytes, byteOffset, byteCount, flags, srcAddress);
H A DIoBridge.java505 InetSocketAddress srcAddress = (packet != null && !isConnected) ? new InetSocketAddress() : null;
506 result = Libcore.os.recvfrom(fd, bytes, byteOffset, byteCount, flags, srcAddress);
507 result = postRecvfrom(isRead, packet, isConnected, srcAddress, result);
517 InetSocketAddress srcAddress = (packet != null && !isConnected) ? new InetSocketAddress() : null;
518 result = Libcore.os.recvfrom(fd, buffer, flags, srcAddress);
519 result = postRecvfrom(isRead, packet, isConnected, srcAddress, result);
526 private static int postRecvfrom(boolean isRead, DatagramPacket packet, boolean isConnected, InetSocketAddress srcAddress, int byteCount) { argument
533 packet.setAddress(srcAddress.getAddress());
534 packet.setPort(srcAddress.getPort());
H A DForwardingOs.java108 public int recvfrom(FileDescriptor fd, ByteBuffer buffer, int flags, InetSocketAddress srcAddress) throws ErrnoException, SocketException { return os.recvfrom(fd, buffer, flags, srcAddress); } argument
109 public int recvfrom(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, InetSocketAddress srcAddress) throws ErrnoException, SocketException { return os.recvfrom(fd, bytes, byteOffset, byteCount, flags, srcAddress); } argument
H A DOs.java101 public int recvfrom(FileDescriptor fd, ByteBuffer buffer, int flags, InetSocketAddress srcAddress) throws ErrnoException, SocketException; argument
102 public int recvfrom(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, InetSocketAddress srcAddress) throws ErrnoException, SocketException; argument
H A DPosix.java132 public int recvfrom(FileDescriptor fd, ByteBuffer buffer, int flags, InetSocketAddress srcAddress) throws ErrnoException, SocketException { argument
134 return recvfromBytes(fd, buffer, buffer.position(), buffer.remaining(), flags, srcAddress);
136 return recvfromBytes(fd, NioUtils.unsafeArray(buffer), NioUtils.unsafeArrayOffset(buffer) + buffer.position(), buffer.remaining(), flags, srcAddress);
139 public int recvfrom(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, InetSocketAddress srcAddress) throws ErrnoException, SocketException { argument
141 return recvfromBytes(fd, bytes, byteOffset, byteCount, flags, srcAddress);
143 private native int recvfromBytes(FileDescriptor fd, Object buffer, int byteOffset, int byteCount, int flags, InetSocketAddress srcAddress) throws ErrnoException, SocketException; argument
/libcore/luni/src/main/native/
H A Dlibcore_io_Memory.cpp157 static jbyte Memory_peekByte(JNIEnv*, jclass, jlong srcAddress) { argument
158 return *cast<const jbyte*>(srcAddress);
161 static void Memory_peekByteArray(JNIEnv* env, jclass, jlong srcAddress, jbyteArray dst, jint dstOffset, jint byteCount) { argument
162 env->SetByteArrayRegion(dst, dstOffset, byteCount, cast<const jbyte*>(srcAddress));
178 const SWAP_TYPE* src = cast<const SWAP_TYPE*>(srcAddress); \
181 const SCALAR_TYPE* src = cast<const SCALAR_TYPE*>(srcAddress); \
186 static void Memory_peekCharArray(JNIEnv* env, jclass, jlong srcAddress, jcharArray dst, jint dstOffset, jint count, jboolean swap) { argument
190 static void Memory_peekDoubleArray(JNIEnv* env, jclass, jlong srcAddress, jdoubleArray dst, jint dstOffset, jint count, jboolean swap) { argument
194 static void Memory_peekFloatArray(JNIEnv* env, jclass, jlong srcAddress, jfloatArray dst, jint dstOffset, jint count, jboolean swap) { argument
198 static void Memory_peekIntArray(JNIEnv* env, jclass, jlong srcAddress, jintArra argument
202 Memory_peekLongArray(JNIEnv* env, jclass, jlong srcAddress, jlongArray dst, jint dstOffset, jint count, jboolean swap) argument
206 Memory_peekShortArray(JNIEnv* env, jclass, jlong srcAddress, jshortArray dst, jint dstOffset, jint count, jboolean swap) argument
262 Memory_peekShort(JNIEnv*, jclass, jlong srcAddress, jboolean swap) argument
277 Memory_peekInt(JNIEnv*, jclass, jlong srcAddress, jboolean swap) argument
292 Memory_peekLong(JNIEnv*, jclass, jlong srcAddress, jboolean swap) argument
[all...]

Completed in 147 milliseconds