Home
last modified time | relevance | path

Searched refs:fd2 (Results 1 – 11 of 11) sorted by relevance

/libcore/ojluni/src/main/native/
Dlinux_close.cpp66 static int closefd(int fd1, int fd2) { in closefd() argument
69 AsynchronousCloseMonitor::signalBlockedThreads(fd2); in closefd()
77 rv = close(fd2); in closefd()
79 rv = dup2(fd1, fd2); in closefd()
90 int NET_Dup2(int fd, int fd2) { in NET_Dup2() argument
95 return closefd(fd, fd2); in NET_Dup2()
DLinuxWatchService.c140 (JNIEnv* env, jclass clazz, jint fd1, jint fd2) in Java_sun_nio_fs_LinuxWatchService_poll() argument
147 ufds[1].fd = fd2; in Java_sun_nio_fs_LinuxWatchService_poll()
/libcore/ojluni/src/main/java/java/net/
DPlainSocketImpl.java263 FileDescriptor fd2 = new FileDescriptor(); in getMarkerFD() local
265 Libcore.os.socketpair(AF_UNIX, SOCK_STREAM, 0, fd1, fd2); in getMarkerFD()
269 Libcore.os.close(fd2); in getMarkerFD()
/libcore/luni/src/test/java/libcore/java/net/
DSocketTest.java484 FileDescriptor fd2 = s.getFileDescriptor$(); in testFileDescriptorStaysSame() local
485 assertSame(fd1, fd2); in testFileDescriptorStaysSame()
486 int fd2Val = fd2.getInt$(); in testFileDescriptorStaysSame()
/libcore/luni/src/main/java/libcore/io/
DBlockGuardOs.java379 …air(int domain, int type, int protocol, FileDescriptor fd1, FileDescriptor fd2) throws ErrnoExcept… in socketpair() argument
380 super.socketpair(domain, type, protocol, fd1, fd2); in socketpair()
383 tagSocket(fd2); in socketpair()
DForwardingOs.java217 …ol, FileDescriptor fd1, FileDescriptor fd2) throws ErrnoException { os.socketpair(domain, type, pr… in socketpair() argument
DOs.java185 …air(int domain, int type, int protocol, FileDescriptor fd1, FileDescriptor fd2) throws ErrnoExcept… in socketpair() argument
DLinux.java258 …air(int domain, int type, int protocol, FileDescriptor fd1, FileDescriptor fd2) throws ErrnoExcept… in socketpair() argument
/libcore/ojluni/src/main/java/sun/nio/fs/
DLinuxWatchService.java485 private static native int poll(int fd1, int fd2) throws UnixException; in poll() argument
/libcore/luni/src/main/java/android/system/
DOs.java646 …FileDescriptor fd1, FileDescriptor fd2) throws ErrnoException { Libcore.os.socketpair(domain, type… in socketpair() argument
/libcore/ojluni/src/main/java/java/util/
DJapaneseImperialCalendar.java523 long fd2 = cachedFixedDate; in add() local
526 if (fd2 != fd) { in add()
1357 long fd2 = jcal.getFixedDate(d1); in getActualMaximum()
1358 value = (int)(fd2 - fd1); in getActualMaximum()