Searched refs:fd1 (Results 1 - 25 of 85) sorted by last modified time

1234

/external/webrtc/webrtc/base/
H A Dlinuxfdwalk_unittest.cc58 int fd1 = open("/dev/null", O_RDONLY); local
59 EXPECT_LE(0, fd1);
66 EXPECT_TRUE(fds.insert(fd1).second);
71 EXPECT_EQ(0, close(fd1));
H A Dphysicalsocketserver.cc899 int fd1 = afd_[0];
912 close(fd1);
/external/valgrind/memcheck/tests/
H A Dfile_locking.c79 int fd1; local
89 if ((fd1 = open_lock_and_map("parent", filename)) >= 0)
122 close(fd1);
/external/valgrind/memcheck/tests/linux/
H A Dsys-openat.c12 __attribute__((unused)) int fd1 = openat (dfd, "abc", O_RDONLY); local
/external/valgrind/memcheck/tests/solaris/
H A Dscalar.stderr.exp38 Syscall param linkat(fd1) contains uninitialised byte(s)
/external/valgrind/none/tests/
H A Dfdleak_cmsg.c38 int s, fd1, fd2; local
41 fd1 = DO( open(filea, O_RDWR | O_CREAT | O_TRUNC, 0750) );
71 ((int *)CMSG_DATA(cmsg))[0] = fd1;
86 int s, fd1 = -1, fd2 = -1, size, count = 0, ret; local
135 fd1 = ((int *)CMSG_DATA(cmsg))[0];
142 if (fd1 != -1) write(fd1, "Yeah 1\n", 8);
/external/valgrind/coregrind/m_syswrap/
H A Dsyswrap-generic.c1467 Int fd1 = ((Int*)arg3)[0]; local
1471 if (!ML_(fd_allowed)(fd1, "socketcall.socketpair", tid, True) ||
1473 VG_(close)(fd1);
1479 ML_(record_fd_open_nameless)(tid, fd1);
H A Dsyswrap-solaris.c1798 /* int linkat(int fd1, const char *path1, int fd2,
1805 Int fd1 = (Int) ARG1; local
1809 fd1, ARG2, (HChar *) ARG2, fd2, ARG4, (HChar *) ARG4, SARG5);
1810 PRE_REG_READ5(long, "linkat", int, fd1, const char *, path1,
1815 /* Be strict but ignore fd1/fd2 for absolute path1/path2. */
1816 if (fd1 != VKI_AT_FDCWD
1819 && !ML_(fd_allowed)(fd1, "linkat", tid, False)) {
/external/toybox/lib/
H A Dportability.h115 int linkat(int fd1, const char *path1, int fd2, const char *path2, int flag);
/external/strace/tests/
H A Dredirect-fds.test39 fd1="$LOG.fd1"
51 rm -f "$LOG" "$fd0" "$fd1" "$fd2"
64 check_fd "$fd0" "$fd1" "$fd2"
65 check_fd '' "$fd1" "$fd2"
67 check_fd "$fd0" "$fd1" ''
69 check_fd '' "$fd1" ''
H A Dbtrfs.c1655 int fd1, fd2; local
1660 fd1 = openat(btrfs_test_dir_fd, "file1", O_RDWR|O_CREAT, 0600);
1661 if (fd1 < 0)
1668 if (write(fd1, buf, sizeof(buf)) < 0)
1669 perror_msg_and_fail("write: fd1");
1670 if (write(fd1, buf, sizeof(buf)) < 0)
1671 perror_msg_and_fail("write: fd1");
1696 ", dest_count=%hu, info=", fd1,
1713 ioctl(fd1, BTRFS_IOC_FILE_EXTENT_SAME, argsp);
1728 close(fd1);
[all...]
/external/strace/tests-m32/
H A Dbtrfs.c1655 int fd1, fd2; local
1660 fd1 = openat(btrfs_test_dir_fd, "file1", O_RDWR|O_CREAT, 0600);
1661 if (fd1 < 0)
1668 if (write(fd1, buf, sizeof(buf)) < 0)
1669 perror_msg_and_fail("write: fd1");
1670 if (write(fd1, buf, sizeof(buf)) < 0)
1671 perror_msg_and_fail("write: fd1");
1696 ", dest_count=%hu, info=", fd1,
1713 ioctl(fd1, BTRFS_IOC_FILE_EXTENT_SAME, argsp);
1728 close(fd1);
[all...]
H A Dredirect-fds.test39 fd1="$LOG.fd1"
51 rm -f "$LOG" "$fd0" "$fd1" "$fd2"
64 check_fd "$fd0" "$fd1" "$fd2"
65 check_fd '' "$fd1" "$fd2"
67 check_fd "$fd0" "$fd1" ''
69 check_fd '' "$fd1" ''
/external/strace/tests-mx32/
H A Dbtrfs.c1655 int fd1, fd2; local
1660 fd1 = openat(btrfs_test_dir_fd, "file1", O_RDWR|O_CREAT, 0600);
1661 if (fd1 < 0)
1668 if (write(fd1, buf, sizeof(buf)) < 0)
1669 perror_msg_and_fail("write: fd1");
1670 if (write(fd1, buf, sizeof(buf)) < 0)
1671 perror_msg_and_fail("write: fd1");
1696 ", dest_count=%hu, info=", fd1,
1713 ioctl(fd1, BTRFS_IOC_FILE_EXTENT_SAME, argsp);
1728 close(fd1);
[all...]
H A Dredirect-fds.test39 fd1="$LOG.fd1"
51 rm -f "$LOG" "$fd0" "$fd1" "$fd2"
64 check_fd "$fd0" "$fd1" "$fd2"
65 check_fd '' "$fd1" "$fd2"
67 check_fd "$fd0" "$fd1" ''
69 check_fd '' "$fd1" ''
/external/robolectric/v3/runtime/
H A Dandroid-all-5.1.1_r9-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...
H A Dandroid-all-5.0.0_r2-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...
H A Dandroid-all-4.2.2_r1.2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...
H A Dandroid-all-4.3_r2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...
H A Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...
/external/python/cpython2/Lib/multiprocessing/
H A Dconnection.py196 fd1, fd2 = os.pipe()
197 c1 = _multiprocessing.Connection(fd1, writable=False)
/external/python/cpython2/Lib/test/
H A Dtest_posix.py236 fd1 = os.open(test_support.TESTFN,
241 os.close(fd1)
H A Dtest_tempfile.py449 (fd1, name1) = self.make_temp()
450 os.close(fd1)
/external/python/cpython2/Modules/
H A Dposixmodule.c609 _PyVerify_fd_dup2(int fd1, int fd2) argument
611 if (!_PyVerify_fd(fd1))
5522 int fd1, fd2, fd3; local
5581 fd1 = _open_osfhandle((Py_intptr_t)hChildStdinWrDup, mode);
5582 f1 = _fdopen(fd1, "w");
5592 fd1 = _open_osfhandle((Py_intptr_t)hChildStdoutRdDup, mode);
5593 f1 = _fdopen(fd1, "r");
5603 fd1 = _open_osfhandle((Py_intptr_t)hChildStdoutRdDup, mode);
5604 f1 = _fdopen(fd1, "rb");
5614 fd1
[all...]
/external/python/cpython2/Python/
H A Ddup2.c8 * Check to make sure that fd1 is a valid open file descriptor.
10 * Duplicate fd1 onto fd2; checking to make sure fd2 is a valid fd.
20 dup2(int fd1, int fd2) argument
22 if (fd1 != fd2) {
23 if (fcntl(fd1, F_GETFL) < 0)
27 if (fcntl(fd1, F_DUPFD, fd2) < 0)

Completed in 417 milliseconds

1234