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.cpp67 static int closefd(int fd1, int fd2) { in closefd() argument
77 if (fd1 < 0) { in closefd()
80 rv = dup2(fd1, fd2); in closefd()
DLinuxWatchService.c138 (JNIEnv* env, jclass clazz, jint fd1, jint fd2) in Java_sun_nio_fs_LinuxWatchService_poll() argument
143 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.java554 FileDescriptor fd1 = s.getFileDescriptor$(); in testFileDescriptorStaysSame() local
555 assertNotNull(fd1); in testFileDescriptorStaysSame()
556 int fd1Val = fd1.getInt$(); in testFileDescriptorStaysSame()
561 assertSame(fd1, fd2); in testFileDescriptorStaysSame()
567 assertSame(fd1, fd3); in testFileDescriptorStaysSame()
/libcore/luni/src/main/java/libcore/io/
DBlockGuardOs.java409 …@Override public void socketpair(int domain, int type, int protocol, FileDescriptor fd1, FileDescr… in socketpair() argument
410 super.socketpair(domain, type, protocol, fd1, fd2); in socketpair()
412 tagSocket(fd1); in socketpair()
DForwardingOs.java826 …, int protocol, FileDescriptor fd1, FileDescriptor fd2) throws ErrnoException { os.socketpair(doma… in socketpair() argument
DOs.java691 …public void socketpair(int domain, int type, int protocol, FileDescriptor fd1, FileDescriptor fd2)… in socketpair() argument
DLinux.java261 …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.java839 …t protocol, FileDescriptor fd1, FileDescriptor fd2) throws ErrnoException { Libcore.os.socketpair(… in socketpair() argument
/libcore/ojluni/src/main/java/java/util/
DJapaneseImperialCalendar.java1360 long fd1 = jcal.getFixedDate(d1); in getActualMaximum()
1365 value = (int)(fd2 - fd1); in getActualMaximum()