HomeSort by relevance Sort by last modified time
    Searched refs:srcAddress (Results 1 - 6 of 6) sorted by null

  /libcore/luni/src/main/native/
libcore_io_Memory.cpp 92 static jbyte Memory_peekByte(JNIEnv*, jclass, jint srcAddress) {
93 return *cast<const jbyte*>(srcAddress);
96 static void Memory_peekByteArray(JNIEnv* env, jclass, jint srcAddress, jbyteArray dst, jint dstOffset, jint byteCount) {
97 env->SetByteArrayRegion(dst, dstOffset, byteCount, cast<const jbyte*>(srcAddress));
113 const SWAP_TYPE* src = cast<const SWAP_TYPE*>(srcAddress); \
116 const SCALAR_TYPE* src = cast<const SCALAR_TYPE*>(srcAddress); \
121 static void Memory_peekCharArray(JNIEnv* env, jclass, jint srcAddress, jcharArray dst, jint dstOffset, jint count, jboolean swap) {
125 static void Memory_peekDoubleArray(JNIEnv* env, jclass, jint srcAddress, jdoubleArray dst, jint dstOffset, jint count, jboolean swap) {
129 static void Memory_peekFloatArray(JNIEnv* env, jclass, jint srcAddress, jfloatArray dst, jint dstOffset, jint count, jboolean swap) {
133 static void Memory_peekIntArray(JNIEnv* env, jclass, jint srcAddress, jintArray dst, jint dstOffset, jint count, jboolean swap)
    [all...]
  /libcore/luni/src/main/java/libcore/io/
BlockGuardOs.java 145 @Override public int recvfrom(FileDescriptor fd, ByteBuffer buffer, int flags, InetSocketAddress srcAddress) throws ErrnoException {
147 return os.recvfrom(fd, buffer, flags, srcAddress);
150 @Override public int recvfrom(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, InetSocketAddress srcAddress) throws ErrnoException {
152 return os.recvfrom(fd, bytes, byteOffset, byteCount, flags, srcAddress);
IoBridge.java 502 InetSocketAddress srcAddress = (packet != null && !isConnected) ? new InetSocketAddress() : null;
503 result = Libcore.os.recvfrom(fd, bytes, byteOffset, byteCount, flags, srcAddress);
504 result = postRecvfrom(isRead, packet, isConnected, srcAddress, result);
514 InetSocketAddress srcAddress = (packet != null && !isConnected) ? new InetSocketAddress() : null;
515 result = Libcore.os.recvfrom(fd, buffer, flags, srcAddress);
516 result = postRecvfrom(isRead, packet, isConnected, srcAddress, result);
523 private static int postRecvfrom(boolean isRead, DatagramPacket packet, boolean isConnected, InetSocketAddress srcAddress, int byteCount) {
530 packet.setAddress(srcAddress.getAddress());
531 packet.setPort(srcAddress.getPort());
Posix.java 122 public int recvfrom(FileDescriptor fd, ByteBuffer buffer, int flags, InetSocketAddress srcAddress) throws ErrnoException {
124 return recvfromBytes(fd, buffer, buffer.position(), buffer.remaining(), flags, srcAddress);
126 return recvfromBytes(fd, NioUtils.unsafeArray(buffer), NioUtils.unsafeArrayOffset(buffer) + buffer.position(), buffer.remaining(), flags, srcAddress);
129 public int recvfrom(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, InetSocketAddress srcAddress) throws ErrnoException {
131 return recvfromBytes(fd, bytes, byteOffset, byteCount, flags, srcAddress);
133 private native int recvfromBytes(FileDescriptor fd, Object buffer, int byteOffset, int byteCount, int flags, InetSocketAddress srcAddress) throws ErrnoException;
ForwardingOs.java 98 public int recvfrom(FileDescriptor fd, ByteBuffer buffer, int flags, InetSocketAddress srcAddress) throws ErrnoException { return os.recvfrom(fd, buffer, flags, srcAddress); }
99 public int recvfrom(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, InetSocketAddress srcAddress) throws ErrnoException { return os.recvfrom(fd, bytes, byteOffset, byteCount, flags, srcAddress); }
Os.java 91 public int recvfrom(FileDescriptor fd, ByteBuffer buffer, int flags, InetSocketAddress srcAddress) throws ErrnoException;
92 public int recvfrom(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, InetSocketAddress srcAddress) throws ErrnoException;

Completed in 47 milliseconds