Searched defs:fd2 (Results 1 - 7 of 7) sorted by relevance
/openjdk7/jdk/src/solaris/native/sun/nio/ch/ |
H A D | InheritedChannel.c | 113 Java_sun_nio_ch_InheritedChannel_dup2(JNIEnv *env, jclass cla, jint fd, jint fd2) argument 115 if (dup2(fd, fd2) < 0) {
|
/openjdk7/jdk/src/solaris/native/sun/nio/fs/ |
H A D | LinuxWatchService.c | 134 (JNIEnv* env, jclass clazz, jint fd1, jint fd2) 141 ufds[1].fd = fd2; 133 Java_sun_nio_fs_LinuxWatchService_poll(JNIEnv* env, jclass clazz, jint fd1, jint fd2) argument
|
/openjdk7/jdk/src/solaris/classes/sun/nio/ch/ |
H A D | InheritedChannel.java | 230 private static native void dup2(int fd, int fd2) throws IOException; argument
|
/openjdk7/jdk/src/solaris/native/java/net/ |
H A D | bsd_close.c | 192 * fd1 < 0 => close(fd2) 193 * fd1 >= 0 => dup2(fd1, fd2) 197 static int closefd(int fd1, int fd2) { argument 199 fdEntry_t *fdEntry = getFdEntry(fd2); 228 rv = close(fd2); 230 rv = dup2(fd1, fd2); 248 * that any threads blocked in an I/O system call on fd2 will be 251 int NET_Dup2(int fd, int fd2) { argument 256 return closefd(fd, fd2);
|
H A D | linux_close.c | 175 * fd1 < 0 => close(fd2) 176 * fd1 >= 0 => dup2(fd1, fd2) 180 static int closefd(int fd1, int fd2) { argument 182 fdEntry_t *fdEntry = getFdEntry(fd2); 211 rv = close(fd2); 213 rv = dup2(fd1, fd2); 231 * that any threads blocked in an I/O system call on fd2 will be 234 int NET_Dup2(int fd, int fd2) { argument 239 return closefd(fd, fd2);
|
/openjdk7/jdk/src/solaris/classes/sun/nio/fs/ |
H A D | LinuxWatchService.java | 454 private static native int poll(int fd1, int fd2) throws UnixException; argument
|
/openjdk7/jdk/src/windows/native/java/net/ |
H A D | TwoStacksPlainSocketImpl.c | 624 int lastfd, res, fd2; local 640 fd2 = FD_ISSET(fd, &rfds)? fd: fd1; 645 fd2 = lastfd==fd? fd1: fd; 647 fd2 = fd; 649 (*env)->SetIntField(env, this, psi_lastfdID, fd2); 655 if (fd2 == fd) { /* v4 */ 660 fd = fd2;
|
Completed in 216 milliseconds