Home
last modified time | relevance | path

Searched refs:fd2 (Results 1 – 25 of 52) sorted by relevance

123

/external/clang/test/Sema/
Dzvector.c21 vector double fd, fd2; variable
61 fd = fd2; in foo()
80 sc = fd2; // expected-error {{incompatible type}} in foo()
90 uc = fd2; // expected-error {{incompatible type}} in foo()
100 bc = fd2; // expected-error {{incompatible type}} in foo()
125 ul = (vector unsigned long long)fd2; in foo()
134 uc = (vector unsigned char)fd2; in foo()
138 us = (vector unsigned short)fd2; in foo()
142 ui = (vector unsigned int)fd2; in foo()
169 ++fd2; in foo()
[all …]
/external/libdrm/tests/nouveau/
Dthreaded.c78 int err, fd, fd2; in main() local
88 fd2 = drmOpenWithType("nouveau", NULL, DRM_NODE_RENDER); in main()
94 fd2 = open(device, O_RDWR); in main()
96 fd2 = fd = -errno; in main()
104 if (fd2 < 0) { in main()
122 err = nouveau_device_wrap(fd2, 0, &nvdev2); in main()
144 close(fd2); in main()
147 drmClose(fd2); in main()
/external/bison/lib/
Dfseterr.c59 int fd2; in fseterr()
64 fd2 = dup (fd); in fseterr()
65 if (fd2 >= 0) in fseterr()
70 if (dup2 (fd2, fd) < 0) in fseterr()
73 close (fd2); in fseterr()
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,
/external/valgrind/none/tests/
Dfdleak_cmsg.c38 int s, fd1, fd2; in server() local
42 fd2 = DO( open(fileb, O_RDWR | O_CREAT | O_TRUNC, 0750) ); in server()
72 ((int *)CMSG_DATA(cmsg))[1] = fd2; in server()
86 int s, fd1 = -1, fd2 = -1, size, count = 0, ret; in client() local
136 fd2 = ((int *)CMSG_DATA(cmsg))[1]; in client()
143 if (fd2 != -1) write(fd2, "Yeah 2\n", 8); in client()
Dpth_cancel2.c52 int *fd2=(int *)arg; in io() local
57 async_cancel_safe_write(*fd2,buf,amt); in io()
58 async_cancel_safe_read(*fd2,buf,amt); in io()
/external/compiler-rt/test/tsan/
Dfd_dup_norace2.cc44 int fd2 = open("/dev/urandom", O_RDONLY); in main() local
45 if (fd == -1 || fd2 == -1) in main()
49 if (dup2(fd2, fd) == -1) in main()
54 if (close(fd2) == -1) in main()
Dfd_dup_race.cc21 int fd2 = open("/dev/random", O_RDONLY); in main() local
22 if (fd == -1 || fd2 == -1) in main()
26 if (dup2(fd2, fd) == -1) in main()
/external/clang/test/CodeGen/
Dzvector.c20 volatile vector double fd, fd2; variable
58 fd = fd2; in test_assign()
95 fd = +fd2; in test_pos()
116 fd = -fd2; in test_neg()
153 ++fd2; in test_preinc()
190 fd2++; in test_postinc()
227 --fd2; in test_predec()
264 fd2--; in test_postdec()
374 fd = fd + fd2; in test_add()
452 fd += fd2; in test_add_assign()
[all …]
/external/valgrind/memcheck/tests/linux/
Dsyscalls-2007.c38 int fd, fd2; in main() local
48 fd2 = eventfd (5, 0); in main()
49 eventfd_read (fd2, &ev); in main()
52 pfd[1].fd = fd2; in main()
Dsys-openat.c14 __attribute__((unused)) int fd2 = openat (0x12345678, "/tmp/abc", O_RDONLY); in main() local
/external/valgrind/memcheck/tests/
Dfile_locking.c80 int fd2; in main() local
102 fd2 = open_lock_and_map("child", filename); in main()
103 if (fd2 >= 0) in main()
105 close(fd2); in main()
/external/webrtc/webrtc/base/
Dlinuxfdwalk_unittest.cc60 int fd2 = open("/dev/null", O_WRONLY); in TEST() local
61 EXPECT_LE(0, fd2); in TEST()
67 EXPECT_TRUE(fds.insert(fd2).second); in TEST()
72 EXPECT_EQ(0, close(fd2)); in TEST()
/external/liblzf/
Dlzf.c371 int fd, fd2; in run_file() local
410 fd2 = open_out (oname); in run_file()
411 if (fd2 == -1) in run_file()
421 rc = compress_fd (fd, fd2); in run_file()
428 rc = uncompress_fd (fd, fd2); in run_file()
435 fchmod (fd2, mystat.st_mode); in run_file()
440 close (fd2); in run_file()
/external/autotest/client/tests/aio_dio_bugs/src/
Daio-dio-invalidate-failure.c99 int fd2; in main() local
109 fd2 = open(argv[1], O_RDWR, 0644); in main()
118 spin_buffered(fd2); in main()
/external/elfutils/src/
Dfindtextrel.c317 int fd2 = -1; in process_file() local
391 fd2 = open (difname, O_RDONLY); in process_file()
392 if (fd2 != -1 in process_file()
393 && (elf2 = elf_begin (fd2, ELF_C_READ_MMAP, NULL)) != NULL) in process_file()
484 if (fd2 != -1) in process_file()
485 close (fd2); in process_file()
/external/libdaemon/libdaemon/
Ddfork.c61 int fd2; in _null_open() local
63 if ((fd2 = open("/dev/null", f)) < 0) in _null_open()
66 if (fd2 == fd) in _null_open()
69 if (dup2(fd2, fd) < 0) in _null_open()
72 close(fd2); in _null_open()
/external/libchrome/base/posix/
Dfile_descriptor_shuffle_unittest.cc27 fd2(in_fd2) { in Action()
33 other.fd2 == fd2; in operator ==()
38 int fd2; member
/external/kernel-headers/original/uapi/linux/
Dsync.h24 __s32 fd2; /* fd of second fence */ member
/external/clang/test/CXX/special/class.inhctor/
Dp3.cpp22 D2 fd2() { return 1; } // expected-error {{no viable conversion}} in fd2() function
/external/libdrm/amdgpu/
Damdgpu_device.c85 int fd2 = PTR_TO_UINT(key2); in fd_compare() local
87 char *name2 = drmGetPrimaryDeviceNameFromFd(fd2); in fd_compare()
/external/toybox/lib/
Dportability.h142 int linkat(int fd1, const char *path1, int fd2, const char *path2, int flag);
/external/bison/linux-lib/
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/freetype/src/cff/
Dcffload.c741 FT_Byte fd2; in cff_fd_select_get() local
751 fd2 = *p++; in cff_fd_select_get()
756 fd = fd2; in cff_fd_select_get()
761 fdselect->cache_fd = fd2; in cff_fd_select_get()
/external/pdfium/third_party/freetype/src/cff/
Dcffload.c741 FT_Byte fd2; in cff_fd_select_get() local
751 fd2 = *p++; in cff_fd_select_get()
756 fd = fd2; in cff_fd_select_get()
761 fdselect->cache_fd = fd2; in cff_fd_select_get()

123