Home
last modified time | relevance | path

Searched refs:fdo (Results 1 – 16 of 16) sorted by relevance

/libcore/ojluni/src/main/native/
DFileDispatcherImpl.c67 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 …]
DNet.c311 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 …]
DDatagramDispatcher.c52 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()
DIOUtil.c62 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()
DUnixDomainSockets.c114 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()
DSocketChannelImpl.c53 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()
DFileChannelImpl.c88 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()
DDatagramChannelImpl.c90 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()
Dnio_util.h63 jint fdval(JNIEnv *env, jobject fdo);
64 void setfdval(JNIEnv *env, jobject fdo, jint value);
DFileKey.c57 FileKey_init(JNIEnv *env, jobject this, jobject fdo) in FileKey_init() argument
62 RESTARTABLE(fstat64(fdval(env, fdo), &fbuf), res); in FileKey_init()
Dio_util_md.c105 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()
DMappedByteBuffer.c98 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/
DJavaIOFileDescriptorAccess.java31 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/
DFileDescriptor.java281 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/
DSimpleAsynchronousFileChannelImpl.java65 public static AsynchronousFileChannel open(FileDescriptor fdo, in open() argument
73 return new SimpleAsynchronousFileChannelImpl(fdo, reading, writing, executor); in open()
DAsynchronousChannelGroupImpl.java230 abstract Object attachForeignChannel(Channel channel, FileDescriptor fdo)