Searched refs:fd1 (Results 1 - 24 of 24) sorted by relevance

/openjdk10/jdk/src/java.base/unix/classes/sun/nio/ch/
H A DPollSelectorImpl.java44 private int fd1; field in class:PollSelectorImpl
58 fd1 = (int) pipeFds;
61 pollWrapper.initInterrupt(fd0, fd1);
70 FileDispatcherImpl.closeIntFD(fd1);
109 FileDispatcherImpl.closeIntFD(fd1);
111 fd1 = -1;
H A DPollArrayWrapper.java54 void initInterrupt(int fd0, int fd1) { argument
55 interruptFD = fd1;
/openjdk10/jdk/src/java.base/windows/classes/java/net/
H A DTwoStacksPlainSocketImpl.java37 * support also use this implementation, and fd1 gets set to null
46 * fd1 is used for listeners and for client sockets at initialization
48 * to the ipv4 socket and fd1 to the ipv6 socket. After the socket
50 * (either v4 or v6) and fd1 is closed.
53 * fd1 the v6 listener.
55 private FileDescriptor fd1; field in class:TwoStacksPlainSocketImpl
93 fd1 = new FileDescriptor();
97 fd1 = null;
121 if (fd != null && fd1 != null ) {
164 if (fd != null || fd1 !
[all...]
H A DTwoStacksPlainDatagramSocketImpl.java37 * support also use this implementation, and fd1 gets set to null
46 private FileDescriptor fd1; field in class:TwoStacksPlainDatagramSocketImpl
86 fd1 = new FileDescriptor();
90 fd1 = null;
126 if ((fd != null && fd1 != null) && !connected) {
158 return (fd == null && fd1 == null) ? true : false;
162 if (fd != null || fd1 != null) {
166 fd1 = null;
/openjdk10/jdk/src/java.base/windows/native/libnet/
H A DTwoStacksPlainSocketImpl.c93 psi_fd1ID =(*env)->GetFieldID(env, cls , "fd1", "Ljava/io/FileDescriptor;");
124 int fd, fd1; local
149 "null fd1 object");
152 fd1 = socket(AF_INET6, (stream ? SOCK_STREAM: SOCK_DGRAM), 0);
153 if (fd1 == -1) {
160 SetHandleInformation((HANDLE)(UINT_PTR)fd1, HANDLE_FLAG_INHERIT, FALSE);
161 (*env)->SetIntField(env, fd1Obj, IO_fd_fdID, fd1);
185 jint fd = -1, fd1 = -1; local
189 /* fd initially points to the IPv4 socket and fd1 to the IPv6 socket
191 * This way, fd is always the connected socket, and fd1 alway
393 int fd, fd1 = -1, len = 0; local
511 int fd = INVALID_SOCKET, fd1 = INVALID_SOCKET; local
587 jint fd=-1, fd1=-1; local
799 jint fd=-1, fd1=-1; local
834 int fd, fd1; local
1001 int fd, fd1; local
[all...]
H A DTwoStacksPlainDatagramSocketImpl.c76 * fd always points to the IPv4 fd, and fd1 points to the IPv6 fd.
386 pdsi_fd1ID = (*env)->GetFieldID(env, cls, "fd1", "Ljava/io/FileDescriptor;");
424 int fd, fd1 = -1, lcladdrlen = 0; local
441 fd1 = (*env)->GetIntField(env, fd1Obj, IO_fd_fdID);
459 v6bind.ipv6_fd = fd1;
472 if (v6bind.ipv6_fd != fd1) {
473 fd1 = v6bind.ipv6_fd;
474 if (fd1 == -1) {
479 (*env)->SetIntField(env, fd1Obj, IO_fd_fdID, fd1);
500 if (getsockname(fd == -1 ? fd1
522 jint fd = -1, fd1 = -1, fdc, family; local
761 checkLastFD(JNIEnv *env, jobject this, int fd, int fd1) argument
909 int fd = -1, fd1 = -1, fduse, nsockets = 0, errorCode; local
1189 int fd = -1, fd1 = -1, fduse, errorCode; local
1461 int fd, fd1; local
1521 int fd = -1, fd1 = -1; local
1669 setMulticastInterface(JNIEnv *env, jobject this, int fd, int fd1, jint opt, jobject value) argument
1792 int fd = -1, fd1 = -1; local
2015 getMulticastInterface(JNIEnv *env, jobject this, int fd, int fd1, jint opt) argument
2160 int fd = -1, fd1 = -1; local
2247 int fd = -1, fd1 = -1; local
2302 int fd = -1, fd1 = -1; local
2356 int fd = -1, fd1 = -1; local
2412 jint fd = -1, fd1 = -1; local
2573 SOCKET fd1; local
[all...]
H A Dnet_util_md.h120 JNIEXPORT int JNICALL NET_Timeout2(int fd, int fd1, long timeout, int *fdret);
H A Dnet_util_md.c561 NET_Timeout2(int fd, int fd1, long timeout, int *fdret) { argument
573 FD_SET(fd1, &tbl);
582 *fdret= fd1;
/openjdk10/jdk/src/java.base/solaris/classes/sun/nio/ch/
H A DDevPollSelectorImpl.java43 protected int fd1; field in class:DevPollSelectorImpl
69 fd1 = (int) pipeFds;
72 pollWrapper.initInterrupt(fd0, fd1);
81 FileDispatcherImpl.closeIntFD(fd1);
155 FileDispatcherImpl.closeIntFD(fd1);
172 fd1 = -1;
H A DDevPollArrayWrapper.java139 void initInterrupt(int fd0, int fd1) { argument
140 outgoingInterruptFD = fd1;
/openjdk10/jdk/src/java.base/linux/classes/sun/nio/ch/
H A DEPollSelectorImpl.java43 protected int fd1; field in class:EPollSelectorImpl
66 fd1 = (int) pipeFds;
69 pollWrapper.initInterrupt(fd0, fd1);
78 FileDispatcherImpl.closeIntFD(fd1);
150 FileDispatcherImpl.closeIntFD(fd1);
168 fd1 = -1;
H A DEPollArrayWrapper.java138 void initInterrupt(int fd0, int fd1) { argument
139 outgoingInterruptFD = fd1;
/openjdk10/jdk/src/java.base/macosx/classes/sun/nio/ch/
H A DKQueueSelectorImpl.java45 protected int fd1; field in class:KQueueSelectorImpl
85 fd1 = (int)fds;
88 kqueueWrapper.initInterrupt(fd0, fd1);
98 FileDispatcherImpl.closeIntFD(fd1);
198 FileDispatcherImpl.closeIntFD(fd1);
217 fd1 = -1;
H A DKQueueArrayWrapper.java111 void initInterrupt(int fd0, int fd1) { argument
112 outgoingInterruptFD = fd1;
/openjdk10/jdk/src/java.base/linux/native/libnio/fs/
H A DLinuxWatchService.c134 (JNIEnv* env, jclass clazz, jint fd1, jint fd2)
139 ufds[0].fd = fd1;
133 Java_sun_nio_fs_LinuxWatchService_poll(JNIEnv* env, jclass clazz, jint fd1, jint fd2) argument
/openjdk10/jdk/src/java.base/macosx/native/libnet/
H A Dbsd_close.c273 * fd1 < 0 => close(fd2)
274 * fd1 >= 0 => dup2(fd1, fd2)
278 static int closefd(int fd1, int fd2) { argument
308 if (fd1 < 0) {
311 rv = dup2(fd1, fd2);
/openjdk10/jdk/src/java.base/aix/native/libnet/
H A Daix_close.c302 * fd1 < 0 => close(fd2)
303 * fd1 >= 0 => dup2(fd1, fd2)
307 static int closefd(int fd1, int fd2) { argument
348 if (fd1 < 0) {
351 rv = dup2(fd1, fd2);
/openjdk10/jdk/src/java.base/linux/native/libnet/
H A Dlinux_close.c270 * fd1 < 0 => close(fd2)
271 * fd1 >= 0 => dup2(fd1, fd2)
275 static int closefd(int fd1, int fd2) { argument
294 if (fd1 < 0) {
297 rv = dup2(fd1, fd2);
/openjdk10/hotspot/src/os/bsd/vm/
H A DperfMemory_bsd.cpp271 // Check to make sure fd1 and fd2 are referencing the same file system object.
273 static bool is_same_fsobject(int fd1, int fd2) { argument
278 RESTARTABLE(::fstat(fd1, &statbuf1), result);
/openjdk10/hotspot/src/os/linux/vm/
H A DperfMemory_linux.cpp271 // Check to make sure fd1 and fd2 are referencing the same file system object.
273 static bool is_same_fsobject(int fd1, int fd2) { argument
278 RESTARTABLE(::fstat(fd1, &statbuf1), result);
/openjdk10/jdk/src/java.base/linux/classes/sun/nio/fs/
H A DLinuxWatchService.java459 private static native int poll(int fd1, int fd2) throws UnixException; argument
/openjdk10/hotspot/src/os/solaris/vm/
H A DperfMemory_solaris.cpp274 // Check to make sure fd1 and fd2 are referencing the same file system object.
276 static bool is_same_fsobject(int fd1, int fd2) { argument
281 RESTARTABLE(::fstat(fd1, &statbuf1), result);
/openjdk10/hotspot/src/os/aix/vm/
H A DperfMemory_aix.cpp270 // Check to make sure fd1 and fd2 are referencing the same file system object.
271 static bool is_same_fsobject(int fd1, int fd2) { argument
276 RESTARTABLE(::fstat(fd1, &statbuf1), result);
/openjdk10/jdk/src/java.base/share/classes/java/util/
H A DJapaneseImperialCalendar.java1362 long fd1 = jcal.getFixedDate(d1);
1367 value = (int)(fd2 - fd1);

Completed in 269 milliseconds