Searched refs:dup2 (Results 1 - 22 of 22) sorted by relevance

/openjdk7/jdk/test/java/nio/channels/spi/SelectorProvider/inheritedChannel/
H A DLauncher.c158 dup2(serviceFd, STDIN_FILENO);
159 dup2(serviceFd, STDOUT_FILENO);
160 dup2(serviceFd, STDERR_FILENO);
/openjdk7/jdk/src/solaris/classes/sun/nio/ch/
H A DInheritedChannel.java56 * simple dup2 operation for each of the standard streams.
62 dup2(devnull, 0);
63 dup2(devnull, 1);
64 dup2(devnull, 2);
230 private static native void dup2(int fd, int fd2) throws IOException; method in class:InheritedChannel
/openjdk7/jdk/src/solaris/native/java/io/
H A Dio_util_md.c114 dup2(devnull, fd);
/openjdk7/jdk/src/solaris/native/sun/net/sdp/
H A DSdpSupport.c118 RESTARTABLE(dup2(s, fd), res);
120 JNU_ThrowIOExceptionWithLastError(env, "dup2");
/openjdk7/jdk/src/solaris/native/java/net/
H A Dnet_util_md.h74 #define NET_Dup2 dup2
H A Dbsd_close.c189 * Close or dup2 a file descriptor ensuring that all threads blocked on
193 * fd1 >= 0 => dup2(fd1, fd2)
230 rv = dup2(fd1, fd2);
247 * Wrapper for dup2 - same semantics as dup2 system call except
H A Dlinux_close.c172 * Close or dup2 a file descriptor ensuring that all threads blocked on
176 * fd1 >= 0 => dup2(fd1, fd2)
213 rv = dup2(fd1, fd2);
230 * Wrapper for dup2 - same semantics as dup2 system call except
/openjdk7/jdk/src/solaris/native/sun/nio/ch/
H A DInheritedChannel.c115 if (dup2(fd, fd2) < 0) {
116 JNU_ThrowIOExceptionWithLastError(env, "dup2 failed");
H A DFileDispatcherImpl.c256 if (dup2(preCloseFD, fd) < 0)
257 JNU_ThrowIOExceptionWithLastError(env, "dup2 failed");
H A DSctpNet.c308 if (dup2(preCloseFD, fd) < 0)
309 JNU_ThrowIOExceptionWithLastError(env, "dup2 failed");
/openjdk7/jdk/src/share/native/com/sun/java/util/jar/pack/
H A Ddefines.h109 #define dup2(a,b) _dup2(a,b) macro
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/jvm/
H A DByteCodes.java134 dup2 = 92, field in interface:ByteCodes
H A DItems.java287 code.emitop0(width() == 2 ? dup2 : dup);
326 code.emitop0(dup2);
H A DCode.java744 case dup2:
2083 mnem[dup2] = "dup2";
/openjdk7/hotspot/src/share/vm/interpreter/
H A DtemplateTable.hpp218 static void dup2();
H A DbytecodeInterpreter.hpp519 static void dup2(intptr_t *tos);
H A DbytecodeInterpreter.cpp1125 dup2(topOfStack);
3001 void BytecodeInterpreter::dup2(intptr_t *tos) { function in class:BytecodeInterpreter
H A DtemplateTable.cpp353 def(Bytecodes::_dup2 , ____|____|____|____, vtos, vtos, dup2 , _ );
/openjdk7/jdk/src/solaris/native/java/lang/
H A DUNIXProcess_md.c373 RESTARTABLE(dup2(fd_from, fd_to), err);
/openjdk7/hotspot/src/cpu/x86/vm/
H A DtemplateTable_x86_32.cpp1126 void TemplateTable::dup2() { function in class:TemplateTable
H A DtemplateTable_x86_64.cpp1146 void TemplateTable::dup2() { function in class:TemplateTable
/openjdk7/hotspot/src/cpu/sparc/vm/
H A DtemplateTable_sparc.cpp1050 void TemplateTable::dup2() {

Completed in 109 milliseconds