Home
last modified time | relevance | path

Searched refs:dup (Results 1 – 15 of 15) sorted by relevance

/libcore/luni/src/test/java/libcore/java/nio/channels/
DSelectorTest.java155 FileDescriptor dup = null; in test28318596() local
184 dup = Os.dup(sc.socket().getFileDescriptor$()); in test28318596()
209 if (dup != null) { in test28318596()
210 Os.close(dup); in test28318596()
/libcore/ojluni/src/main/java/sun/security/util/
DDerValue.java265 DerInputBuffer inbuf = in.dup(); in DerValue()
280 buffer = inbuf.dup(); in DerValue()
289 buffer = in.dup(); in DerValue()
DDerInputStream.java159 DerInputBuffer newbuf = buffer.dup(); in subStream()
DDerInputBuffer.java53 DerInputBuffer dup() { in dup() method in DerInputBuffer
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DMulticastSocketTest.java134 MulticastSocket dup = new MulticastSocket(port); in constructorI() local
136 assertTrue(dup.getReuseAddress()); in constructorI()
137 dup.close(); in constructorI()
/libcore/luni/src/main/java/android/system/
DOs.java122 …public static FileDescriptor dup(FileDescriptor oldFd) throws ErrnoException { return Libcore.os.d… in dup() method in Os
/libcore/luni/src/main/java/libcore/io/
DForwardingOs.java96 public FileDescriptor dup(FileDescriptor oldFd) throws ErrnoException { return os.dup(oldFd); } in dup() method in ForwardingOs
DOs.java71 public FileDescriptor dup(FileDescriptor oldFd) throws ErrnoException; in dup() method
DLinux.java71 public native FileDescriptor dup(FileDescriptor oldFd) throws ErrnoException; in dup() method in Linux
/libcore/ojluni/src/main/java/sun/nio/fs/
DUnixNativeDispatcher.java63 static native int dup(int filedes) throws UnixException; in dup() method in UnixNativeDispatcher
DUnixSecureDirectoryStream.java132 newdfd2 = dup(newdfd1); in newDirectoryStream()
DUnixFileSystemProvider.java425 dfd2 = dup(dfd1); in newDirectoryStream()
/libcore/ojluni/src/main/java/java/util/
DFormatter.java3028 Flags dupf = f.dup().remove(Flags.UPPERCASE); in toString()
3385 Flags flags = f.dup().remove(Flags.GROUP);
3460 Flags flags = f.dup().remove(Flags.GROUP);
3693 Flags flags = f.dup().remove(Flags.GROUP);
4533 public Flags dup() {
/libcore/ojluni/src/main/native/
DUnixNativeDispatcher.c340 RESTARTABLE(dup((int)fd), res); in Java_sun_nio_fs_UnixNativeDispatcher_dup()
/libcore/luni/src/main/native/
Dlibcore_io_Linux.cpp1210 int newFd = throwIfMinusOne(env, "dup", TEMP_FAILURE_RETRY(dup(oldFd))); in Linux_dup()
2602 NATIVE_METHOD(Linux, dup, "(Ljava/io/FileDescriptor;)Ljava/io/FileDescriptor;"),