Searched defs:dup2 (Results 1 - 25 of 36) sorted by relevance

12

/external/python/cpython2/Python/
H A Ddup2.c2 * Public domain dup2() lookalike
6 * dup2 performs the following functions:
20 dup2(int fd1, int fd2) function
/external/bison/lib/
H A Ddup2.c30 # undef dup2 macro
48 /* If fd is closed, mingw hangs on dup2 (fd, fd). If fd is open,
49 dup2 (fd, fd) returns 0, but all further attempts to use fd in
50 future dup2 calls will hang. */
71 result = dup2 (fd, desired_fd);
86 # define dup2 ms_windows_dup2 macro
96 /* On Linux kernels 2.6.26-2.6.29, dup2 (fd, fd) returns -EBADF.
97 On Cygwin 1.5.x, dup2 (1, 1) returns 0.
98 On Haiku, dup2 (fd, fd) mistakenly clears FD_CLOEXEC. */
103 result = dup2 (f
138 dup2 (int fd, int desired_fd) function
[all...]
H A Dspawni.c66 # define dup2 __dup2 macro
268 if (dup2 (new_fd, action->action.open_action.fd)
270 /* The 'dup2' call failed. */
281 if (dup2 (action->action.dup2_action.fd,
284 /* The 'dup2' call failed. */
/external/python/cpython2/Lib/
H A Dposixfile.py15 f.dup2(fd)
107 def dup2(self, fd): member in class:_posixfile_
113 posix.dup2(self._file_.fileno(), fd)
/external/libusb/tests/
H A Dtestlib.c39 #define dup2 _dup2 macro
85 IGNORE_RETVAL(dup2(ctx->old_stdout, STDOUT_FILENO));
89 IGNORE_RETVAL(dup2(ctx->old_stderr, STDERR_FILENO));
135 if ((dup2(ctx->null_fd, STDOUT_FILENO) < 0) ||
136 (dup2(ctx->null_fd, STDERR_FILENO) < 0)) {
/external/proguard/src/proguard/evaluation/
H A DTracedStack.java252 public void dup2() method in class:TracedStack
254 super.dup2();
263 actualProducerStack.dup2();
H A DStack.java424 public void dup2() method in class:Stack
/external/fmtlib/fmt/
H A Dposix.cc178 void fmt::File::dup2(int fd) { function in class:fmt::File
180 FMT_RETRY(result, FMT_POSIX_CALL(dup2(fd_, fd)));
187 void fmt::File::dup2(int fd, ErrorCode &ec) FMT_NOEXCEPT {
189 FMT_RETRY(result, FMT_POSIX_CALL(dup2(fd_, fd)));
/external/bison/darwin-lib/
H A Dunistd.h88 They also declare access(), chmod(), close(), dup(), dup2(), isatty(),
653 <http://pubs.opengroup.org/onlinepubs/9699919799/functions/dup2.html>. */
656 # define dup2 rpl_dup2
658 _GL_FUNCDECL_RPL (dup2, int, (int oldfd, int newfd));
659 _GL_CXXALIAS_RPL (dup2, int, (int oldfd, int newfd));
662 _GL_FUNCDECL_SYS (dup2, int, (int oldfd, int newfd));
664 _GL_CXXALIAS_SYS (dup2, int, (int oldfd, int newfd));
666 _GL_CXXALIASWARN (dup2); variable
668 # undef dup2 macro
670 _GL_WARN_ON_USE (dup2, "dup
[all...]
/external/bison/linux-lib/
H A Dunistd.h88 They also declare access(), chmod(), close(), dup(), dup2(), isatty(),
653 <http://pubs.opengroup.org/onlinepubs/9699919799/functions/dup2.html>. */
656 # define dup2 rpl_dup2
658 _GL_FUNCDECL_RPL (dup2, int, (int oldfd, int newfd));
659 _GL_CXXALIAS_RPL (dup2, int, (int oldfd, int newfd));
662 _GL_FUNCDECL_SYS (dup2, int, (int oldfd, int newfd));
664 _GL_CXXALIAS_SYS (dup2, int, (int oldfd, int newfd));
666 _GL_CXXALIASWARN (dup2); variable
668 # undef dup2 macro
670 _GL_WARN_ON_USE (dup2, "dup
[all...]
/external/fmtlib/test/
H A Dposix-mock-test.cc148 int test::dup2(int fildes, int fildes2) { function in class:test
149 EMULATE_EINTR(dup2, -1);
150 return ::FMT_POSIX(dup2(fildes, fildes2));
374 EXPECT_RETRY(f1.dup2(f2.descriptor()), dup2,
384 f1.dup2(f2.descriptor(), ec);
/external/valgrind/coregrind/
H A Dm_libcfile.c481 SysRes VG_(dup2) ( Int oldfd, Int newfd ) function
484 /* We only have dup3, that means we have to mimic dup2.
486 dup3 always returns an error, but dup2 returns only an
/external/python/cpython2/Objects/
H A Dsetobject.c2399 PyObject *elem=NULL, *dup=NULL, *t, *f, *dup2, *x; local
2446 dup2 = PySet_New(dup);
2447 assert(PySet_Clear(dup2) == 0);
2448 assert(PySet_Size(dup2) == 0);
2449 Py_DECREF(dup2);
2471 dup2 = PySet_New(NULL);
2472 assert(_PySet_Update(dup2, dup) == 0);
2473 assert(PySet_Size(dup2) == 3);
2474 assert(_PySet_Update(dup2, dup) == 0);
2475 assert(PySet_Size(dup2)
[all...]
/external/google-breakpad/src/third_party/lss/
H A Dlinux_syscall_support.h2986 // The dup2 syscall has been deprecated on aarch64. We polyfill it below.
2987 LSS_INLINE _syscall2(int, dup2, int, s,
3959 LSS_INLINE int LSS_NAME(dup2)(int s, int d) { function
/external/jarjar/lib/
H A Dasm-commons-4.0.jarMETA-INF/MANIFEST.MF org/objectweb/asm/commons/AdviceAdapter.class " package org.objectweb.asm ...
/external/owasp/sanitizer/tools/findbugs/lib/
H A Dasm-commons-3.3.jarMETA-INF/MANIFEST.MF org/objectweb/asm/commons/AdviceAdapter.class " package org.objectweb.asm ...
/external/r8/deps/
H A Dasm-commons-5.1.jarMETA-INF/MANIFEST.MF org/ org/objectweb/ org/objectweb/asm/ org/objectweb/asm/commons/ org/objectweb/asm/ ...
/external/jacoco/
H A Dasm-debug-all-5.0.1.jarMETA-INF/MANIFEST.MF org/ org/objectweb/ org/objectweb/asm/ org/objectweb/asm/AnnotationVisitor.class AnnotationVisitor ...
/external/guice/lib/build/
H A Dcglib-3.1.jarMETA-INF/ META-INF/MANIFEST.MF net/ net/sf/ net/sf/cglib/ net/sf/cglib/beans/ ...
H A Dbnd-0.0.384.jarMETA-INF/MANIFEST.MF LICENSE OSGI-OPT/ OSGI-OPT/bnd.bnd OSGI-OPT/ ...
/external/proguard/lib/
H A Dproguard.jarMETA-INF/ META-INF/MANIFEST.MF proguard/ proguard/DuplicateClassPrinter.class DuplicateClassPrinter.java package proguard ...
/external/guice/extensions/persist/lib/
H A Dcglib-nodep-3.0.jarMETA-INF/MANIFEST.MF LICENSE NOTICE net/sf/cglib/beans/BeanCopier$BeanCopierKey.class BeanCopier. ...
/external/testng/lib-supplied/
H A Dguice-2.0.jarMETA-INF/ META-INF/MANIFEST.MF LICENSE NOTICE org/ org/testng/ org/testng/guice/ org/testng/ ...
/external/junit-params/lib/
H A Dassertj-core-1.7.1.jarMETA-INF/MANIFEST.MF META-INF/maven/ META-INF/maven/org.assertj/ META- ...
/external/robolectric/v1/lib/test/
H A Dmockito-core-1.8.5.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/mockito/ org/mockito/asm/ org/mockito/asm/signature/ ...

Completed in 2085 milliseconds

12