Home
last modified time | relevance | path

Searched refs:fd1 (Results 1 – 13 of 13) sorted by relevance

/libcore/ojluni/src/main/java/sun/nio/ch/
DPollSelectorImpl.java45 private int fd1; field in PollSelectorImpl
59 fd1 = (int) pipeFds; in PollSelectorImpl()
62 pollWrapper.initInterrupt(fd0, fd1); in PollSelectorImpl()
71 FileDispatcherImpl.closeIntFD(fd1); in PollSelectorImpl()
110 FileDispatcherImpl.closeIntFD(fd1); in implCloseInterrupt()
112 fd1 = -1; in implCloseInterrupt()
DPollArrayWrapper.java56 void initInterrupt(int fd0, int fd1) { in initInterrupt() argument
57 interruptFD = fd1; in initInterrupt()
/libcore/ojluni/src/main/native/
Dlinux_close.cpp66 static int closefd(int fd1, int fd2) { in closefd() argument
76 if (fd1 < 0) { in closefd()
79 rv = dup2(fd1, fd2); in closefd()
DLinuxWatchService.c140 (JNIEnv* env, jclass clazz, jint fd1, jint fd2) in Java_sun_nio_fs_LinuxWatchService_poll() argument
145 ufds[0].fd = fd1; in Java_sun_nio_fs_LinuxWatchService_poll()
/libcore/ojluni/src/main/java/java/net/
DPlainSocketImpl.java262 FileDescriptor fd1 = new FileDescriptor(); in getMarkerFD() local
265 Libcore.os.socketpair(AF_UNIX, SOCK_STREAM, 0, fd1, fd2); in getMarkerFD()
268 Libcore.os.shutdown(fd1, SHUT_RDWR); in getMarkerFD()
276 return fd1; in getMarkerFD()
/libcore/luni/src/test/java/libcore/java/net/
DSocketTest.java478 FileDescriptor fd1 = s.getFileDescriptor$(); in testFileDescriptorStaysSame() local
479 assertNotNull(fd1); in testFileDescriptorStaysSame()
480 int fd1Val = fd1.getInt$(); in testFileDescriptorStaysSame()
485 assertSame(fd1, fd2); in testFileDescriptorStaysSame()
491 assertSame(fd1, fd3); in testFileDescriptorStaysSame()
/libcore/luni/src/main/java/libcore/io/
DBlockGuardOs.java377 …@Override public void socketpair(int domain, int type, int protocol, FileDescriptor fd1, FileDescr… in socketpair() argument
378 super.socketpair(domain, type, protocol, fd1, fd2); in socketpair()
380 tagSocket(fd1); in socketpair()
DForwardingOs.java218 …, int protocol, FileDescriptor fd1, FileDescriptor fd2) throws ErrnoException { os.socketpair(doma… in socketpair() argument
DOs.java186 …public void socketpair(int domain, int type, int protocol, FileDescriptor fd1, FileDescriptor fd2)… in socketpair() argument
DLinux.java259 …public native void socketpair(int domain, int type, int protocol, FileDescriptor fd1, FileDescript… 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.java643 …t protocol, FileDescriptor fd1, FileDescriptor fd2) throws ErrnoException { Libcore.os.socketpair(… in socketpair() argument
/libcore/ojluni/src/main/java/java/util/
DJapaneseImperialCalendar.java1352 long fd1 = jcal.getFixedDate(d1); in getActualMaximum()
1357 value = (int)(fd2 - fd1); in getActualMaximum()