Searched refs:fd1 (Results 51 - 75 of 85) sorted by relevance

1234

/external/clang/test/CXX/special/class.inhctor/
H A Dp3.cpp15 D1 fd1() { return 1; } function
/external/ltp/testcases/kernel/io/direct_io/
H A Ddiotest4.c186 static int fd1 = -1; variable
558 if ((fd1 = open(filename, O_CREAT | O_EXCL, 0600)) < 0) {
562 close(fd1);
565 if ((fd1 = open(filename, O_DIRECT, 0600)) < 0) {
570 close(fd1);
577 if (fd1 != -1)
/external/linux-kselftest/tools/testing/selftests/sync/
H A Dsync.c68 int sync_merge(const char *name, int fd1, int fd2) argument
77 err = ioctl(fd1, SYNC_IOC_MERGE, &data);
/external/libchrome/base/posix/
H A Dfile_descriptor_shuffle_unittest.cc26 fd1(in_fd1),
32 other.fd1 == fd1 &&
37 int fd1; member in struct:base::Action
/external/libdrm/amdgpu/
H A Damdgpu_device.c85 int fd1 = PTR_TO_UINT(key1); local
87 char *name1 = drmGetPrimaryDeviceNameFromFd(fd1);
/external/toybox/lib/
H A Dportability.h115 int linkat(int fd1, const char *path1, int fd2, const char *path2, int flag);
/external/libxml2/
H A Druntest.c612 int fd1, fd2; local
617 fd1 = open(r1, RD_FLAGS);
618 if (fd1 < 0)
622 close(fd1);
626 res1 = read(fd1, bytes1, 4096);
634 close(fd1);
638 fd1 = open(r1, RD_FLAGS);
639 if (fd1 < 0)
643 close(fd1);
647 res1 = read(fd1, bytes
[all...]
/external/strace/tests/
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...]
/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...]
/external/python/cpython2/Lib/multiprocessing/
H A Dconnection.py196 fd1, fd2 = os.pipe()
197 c1 = _multiprocessing.Connection(fd1, writable=False)
/external/ltp/testcases/kernel/fs/dmapi/
H A Dhandle.c2914 int fd1, fd2; local
2919 if ((fd1 =
2925 close(fd1);
2931 close(fd1);
2936 close(fd1);
2942 if (fd1 == -1 || rc == -1 || fd2 == -1) {
2966 rc = close(fd1);
2985 int fd1, fd2; local
2990 if ((fd1 =
2994 } else if ((rc = dm_fd_to_handle(fd1,
5692 int fd1, fd2; local
[all...]
H A Devent_sd.c2324 int fd1, fd2; local
2338 if ((fd1 =
2343 if (rc == -1 || fd1 == -1) {
2390 rc = close(fd1);
4901 int fd1, fd2; local
4915 if ((fd1 =
4920 if (rc == -1 || fd1 == -1) {
4967 rc = close(fd1);
/external/bison/darwin-lib/
H A Dstdio.h1280 (int fd1, char const *file1, int fd2, char const *file2)
1283 (int fd1, char const *file1, int fd2, char const *file2));
1287 (int fd1, char const *file1, int fd2, char const *file2)
1291 (int fd1, char const *file1, int fd2, char const *file2));
H A Dunistd.h1362 (int fd1, const char *path1, int fd2, const char *path2,
1366 (int fd1, const char *path1, int fd2, const char *path2,
1371 (int fd1, const char *path1, int fd2, const char *path2,
1376 (int fd1, const char *path1, int fd2, const char *path2,
/external/bison/lib/
H A Dunistd.in.h1050 (int fd1, const char *path1, int fd2, const char *path2,
1054 (int fd1, const char *path1, int fd2, const char *path2,
1059 (int fd1, const char *path1, int fd2, const char *path2,
1064 (int fd1, const char *path1, int fd2, const char *path2,
H A Dstdio.in.h968 (int fd1, char const *file1, int fd2, char const *file2)
971 (int fd1, char const *file1, int fd2, char const *file2));
975 (int fd1, char const *file1, int fd2, char const *file2)
979 (int fd1, char const *file1, int fd2, char const *file2));
/external/bison/linux-lib/
H A Dstdio.h1280 (int fd1, char const *file1, int fd2, char const *file2)
1283 (int fd1, char const *file1, int fd2, char const *file2));
1287 (int fd1, char const *file1, int fd2, char const *file2)
1291 (int fd1, char const *file1, int fd2, char const *file2));
H A Dunistd.h1362 (int fd1, const char *path1, int fd2, const char *path2,
1366 (int fd1, const char *path1, int fd2, const char *path2,
1371 (int fd1, const char *path1, int fd2, const char *path2,
1376 (int fd1, const char *path1, int fd2, const char *path2,
/external/clang/test/CodeGen/
H A Datomic-ops.c186 struct S fd1(struct S *a) { function
187 // CHECK-LABEL: @fd1
/external/mesa3d/src/gallium/winsys/radeon/drm/
H A Dradeon_drm_winsys.c692 int fd1 = pointer_to_intptr(key1); local
695 fstat(fd1, &stat1);
/external/elfutils/src/
H A Delfcmp.c162 int fd1; local
164 Elf *elf1 = open_file (fname1, &fd1, &ebl1);
660 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/mesa3d/src/gallium/winsys/virgl/drm/
H A Dvirgl_drm_winsys.c842 int fd1 = pointer_to_intptr(key1); local
845 fstat(fd1, &stat1);
/external/python/cpython2/Lib/test/
H A Dtest_posix.py236 fd1 = os.open(test_support.TESTFN,
241 os.close(fd1)

Completed in 863 milliseconds

1234