Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/native/
Dlinux_close.cpp67 static int closefd(int fd1, int fd2) { in closefd() argument
70 AsynchronousCloseMonitor::signalBlockedThreads(fd2); in closefd()
78 rv = close(fd2); in closefd()
80 rv = dup2(fd1, fd2); in closefd()
91 int NET_Dup2(int fd, int fd2) { in NET_Dup2() argument
96 return closefd(fd, fd2); in NET_Dup2()
DLinuxWatchService.c138 (JNIEnv* env, jclass clazz, jint fd1, jint fd2) in Java_sun_nio_fs_LinuxWatchService_poll() argument
145 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/main/java/libcore/io/
DBlockGuardOs.java409 …air(int domain, int type, int protocol, FileDescriptor fd1, FileDescriptor fd2) throws ErrnoExcept… in socketpair() argument
410 super.socketpair(domain, type, protocol, fd1, fd2); in socketpair()
413 tagSocket(fd2); in socketpair()
DForwardingOs.java826 …ol, FileDescriptor fd1, FileDescriptor fd2) throws ErrnoException { os.socketpair(domain, type, pr… in socketpair() argument
DOs.java691 …air(int domain, int type, int protocol, FileDescriptor fd1, FileDescriptor fd2) throws ErrnoExcept… in socketpair() argument
DLinux.java261 …air(int domain, int type, int protocol, FileDescriptor fd1, FileDescriptor fd2) throws ErrnoExcept… in socketpair() argument
/libcore/luni/src/test/java/libcore/java/net/
DSocketTest.java552 FileDescriptor fd2 = s.getFileDescriptor$(); in testFileDescriptorStaysSame() local
553 assertSame(fd1, fd2); in testFileDescriptorStaysSame()
554 int fd2Val = fd2.getInt$(); in testFileDescriptorStaysSame()
/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/ojluni/src/main/java/java/util/
DJapaneseImperialCalendar.java525 long fd2 = cachedFixedDate; in add() local
528 if (fd2 != fd) { in add()
1341 long fd2 = jcal.getFixedDate(d1);
1342 yield (int) (fd2 - fd1);
/libcore/luni/src/main/java/android/system/
DOs.java839 …FileDescriptor fd1, FileDescriptor fd2) throws ErrnoException { Libcore.os.socketpair(domain, type… in socketpair() argument