/libcore/ojluni/src/main/native/ |
D | FileDispatcherImpl.c | 67 jobject fdo, jlong address, jint len) in FileDispatcherImpl_read0() argument 69 jint fd = fdval(env, fdo); in FileDispatcherImpl_read0() 76 FileDispatcherImpl_pread0(JNIEnv *env, jclass clazz, jobject fdo, in FileDispatcherImpl_pread0() argument 79 jint fd = fdval(env, fdo); in FileDispatcherImpl_pread0() 87 jobject fdo, jlong address, jint len) in FileDispatcherImpl_readv0() argument 89 jint fd = fdval(env, fdo); in FileDispatcherImpl_readv0() 96 jobject fdo, jlong address, jint len) in FileDispatcherImpl_write0() argument 98 jint fd = fdval(env, fdo); in FileDispatcherImpl_write0() 105 FileDispatcherImpl_pwrite0(JNIEnv *env, jclass clazz, jobject fdo, in FileDispatcherImpl_pwrite0() argument 108 jint fd = fdval(env, fdo); in FileDispatcherImpl_pwrite0() [all …]
|
D | Net.c | 311 Java_sun_nio_ch_Net_bind0(JNIEnv *env, jclass clazz, jobject fdo, jboolean preferIPv6, in Java_sun_nio_ch_Net_bind0() argument 322 rv = NET_Bind(fdval(env, fdo), (struct sockaddr *)&sa, sa_len); in Java_sun_nio_ch_Net_bind0() 329 Java_sun_nio_ch_Net_listen(JNIEnv *env, jclass cl, jobject fdo, jint backlog) in Java_sun_nio_ch_Net_listen() argument 331 if (listen(fdval(env, fdo), backlog) < 0) in Java_sun_nio_ch_Net_listen() 337 jobject fdo, jobject iao, jint port) in Java_sun_nio_ch_Net_connect0() argument 349 rv = connect(fdval(env, fdo), (struct sockaddr *)&sa, sa_len); in Java_sun_nio_ch_Net_connect0() 362 Java_sun_nio_ch_Net_localPort(JNIEnv *env, jclass clazz, jobject fdo) in Java_sun_nio_ch_Net_localPort() argument 366 if (getsockname(fdval(env, fdo), (struct sockaddr *)&sa, &sa_len) < 0) { in Java_sun_nio_ch_Net_localPort() 402 Java_sun_nio_ch_Net_localInetAddress(JNIEnv *env, jclass clazz, jobject fdo) in Java_sun_nio_ch_Net_localInetAddress() argument 407 if (getsockname(fdval(env, fdo), (struct sockaddr *)&sa, &sa_len) < 0) { in Java_sun_nio_ch_Net_localInetAddress() [all …]
|
D | DatagramDispatcher.c | 52 jobject fdo, jlong address, jint len) in Java_sun_nio_ch_DatagramDispatcher_read0() argument 54 jint fd = fdval(env, fdo); in Java_sun_nio_ch_DatagramDispatcher_read0() 69 jobject fdo, jlong address, jint len) in Java_sun_nio_ch_DatagramDispatcher_readv0() argument 71 jint fd = fdval(env, fdo); in Java_sun_nio_ch_DatagramDispatcher_readv0() 99 jobject fdo, jlong address, jint len) in Java_sun_nio_ch_DatagramDispatcher_write0() argument 101 jint fd = fdval(env, fdo); in Java_sun_nio_ch_DatagramDispatcher_write0() 113 jobject fdo, jlong address, jint len) in Java_sun_nio_ch_DatagramDispatcher_writev0() argument 115 jint fd = fdval(env, fdo); in Java_sun_nio_ch_DatagramDispatcher_writev0()
|
D | IOUtil.c | 62 IOUtil_fdVal(JNIEnv *env, jclass clazz, jobject fdo) in IOUtil_fdVal() argument 64 return (*env)->GetIntField(env, fdo, fd_fdID); in IOUtil_fdVal() 68 IOUtil_setfdVal(JNIEnv *env, jclass clazz, jobject fdo, jint val) in IOUtil_setfdVal() argument 70 (*env)->SetIntField(env, fdo, fd_fdID, val); in IOUtil_setfdVal() 84 jobject fdo, jboolean blocking) in IOUtil_configureBlocking() argument 86 if (configureBlocking(fdval(env, fdo), blocking) < 0) in IOUtil_configureBlocking() 204 fdval(JNIEnv *env, jobject fdo) in fdval() argument 206 return (*env)->GetIntField(env, fdo, fd_fdID); in fdval() 227 setfdval(JNIEnv *env, jobject fdo, jint val) { in setfdval() argument 228 (*env)->SetIntField(env, fdo, fd_fdID, val); in setfdval()
|
D | UnixDomainSockets.c | 114 Java_sun_nio_ch_UnixDomainSockets_bind0(JNIEnv *env, jclass clazz, jobject fdo, jbyteArray path) in Java_sun_nio_ch_UnixDomainSockets_bind0() argument 123 rv = bind(fdval(env, fdo), (struct sockaddr *)&sa, sa_len); in Java_sun_nio_ch_UnixDomainSockets_bind0() 130 Java_sun_nio_ch_UnixDomainSockets_connect0(JNIEnv *env, jclass clazz, jobject fdo, jbyteArray path) in Java_sun_nio_ch_UnixDomainSockets_connect0() argument 140 rv = connect(fdval(env, fdo), (struct sockaddr *)&sa, sa_len); in Java_sun_nio_ch_UnixDomainSockets_connect0() 153 Java_sun_nio_ch_UnixDomainSockets_accept0(JNIEnv *env, jclass clazz, jobject fdo, jobject newfdo, in Java_sun_nio_ch_UnixDomainSockets_accept0() argument 156 jint fd = fdval(env, fdo); in Java_sun_nio_ch_UnixDomainSockets_accept0() 183 Java_sun_nio_ch_UnixDomainSockets_localAddress0(JNIEnv *env, jclass clazz, jobject fdo) in Java_sun_nio_ch_UnixDomainSockets_localAddress0() argument 188 if (getsockname(fdval(env, fdo), (struct sockaddr *)&sa, &sa_len) < 0) { in Java_sun_nio_ch_UnixDomainSockets_localAddress0()
|
D | SocketChannelImpl.c | 53 jobject fdo, jboolean block, in Java_sun_nio_ch_SocketChannelImpl_checkConnect() argument 58 jint fd = fdval(env, fdo); in Java_sun_nio_ch_SocketChannelImpl_checkConnect() 93 jobject fdo, jbyte b) in Java_sun_nio_ch_SocketChannelImpl_sendOutOfBandData() argument 95 int n = send(fdval(env, fdo), (const void*)&b, 1, MSG_OOB); in Java_sun_nio_ch_SocketChannelImpl_sendOutOfBandData()
|
D | FileChannelImpl.c | 88 jobject fdo = (*env)->GetObjectField(env, this, chan_fd); in FileChannelImpl_map0() local 89 jint fd = fdval(env, fdo); in FileChannelImpl_map0() 137 jobject fdo, jlong offset) in FileChannelImpl_position0() argument 139 jint fd = fdval(env, fdo); in FileChannelImpl_position0() 152 FileChannelImpl_close0(JNIEnv *env, jobject this, jobject fdo) in FileChannelImpl_close0() argument 154 jint fd = fdval(env, fdo); in FileChannelImpl_close0()
|
D | DatagramChannelImpl.c | 90 jobject fdo, jboolean isIPv6) in Java_sun_nio_ch_DatagramChannelImpl_disconnect0() argument 92 jint fd = fdval(env, fdo); in Java_sun_nio_ch_DatagramChannelImpl_disconnect0() 153 jobject fdo, jlong address, in Java_sun_nio_ch_DatagramChannelImpl_receive0() argument 156 jint fd = fdval(env, fdo); in Java_sun_nio_ch_DatagramChannelImpl_receive0() 243 jboolean preferIPv6, jobject fdo, jlong address, in Java_sun_nio_ch_DatagramChannelImpl_send0() argument 246 jint fd = fdval(env, fdo); in Java_sun_nio_ch_DatagramChannelImpl_send0()
|
D | nio_util.h | 63 jint fdval(JNIEnv *env, jobject fdo); 64 void setfdval(JNIEnv *env, jobject fdo, jint value);
|
D | FileKey.c | 57 FileKey_init(JNIEnv *env, jobject this, jobject fdo) in FileKey_init() argument 62 RESTARTABLE(fstat64(fdval(env, fdo), &fbuf), res); in FileKey_init()
|
D | io_util_md.c | 105 jobject fdo = (*env)->GetObjectField(env, obj, fid); in getFD() local 106 if (fdo == NULL) { in getFD() 109 return (*env)->GetIntField(env, fdo, IO_fd_fdID); in getFD()
|
D | MappedByteBuffer.c | 98 Java_java_nio_MappedByteBuffer_force0(JNIEnv *env, jobject obj, jobject fdo, in Java_java_nio_MappedByteBuffer_force0() argument
|
/libcore/ojluni/src/main/java/jdk/internal/access/ |
D | JavaIOFileDescriptorAccess.java | 31 public void set(FileDescriptor fdo, int fd); in set() argument 32 public int get(FileDescriptor fdo); in get() argument 33 public boolean getAppend(FileDescriptor fdo); in getAppend() argument 44 public void setHandle(FileDescriptor fdo, long handle); in setHandle() argument 45 public long getHandle(FileDescriptor fdo); in getHandle() argument
|
/libcore/ojluni/src/main/java/java/io/ |
D | FileDescriptor.java | 281 public boolean getAppend(FileDescriptor fdo) { in jdk.internal.access.SharedSecrets.setJavaIOFileDescriptorAccess() 282 return fdo.append; in jdk.internal.access.SharedSecrets.setJavaIOFileDescriptorAccess()
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | SimpleAsynchronousFileChannelImpl.java | 65 public static AsynchronousFileChannel open(FileDescriptor fdo, in open() argument 73 return new SimpleAsynchronousFileChannelImpl(fdo, reading, writing, executor); in open()
|
D | AsynchronousChannelGroupImpl.java | 230 abstract Object attachForeignChannel(Channel channel, FileDescriptor fdo)
|