Searched refs:fd2 (Results 1 - 25 of 110) sorted by path

12345

/external/autotest/client/tests/aio_dio_bugs/src/
H A Daio-dio-invalidate-failure.c99 int fd2; local
109 fd2 = open(argv[1], O_RDWR, 0644);
118 spin_buffered(fd2);
/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 Dfseterr.c59 int fd2;
64 fd2 = dup (fd);
65 if (fd2 >= 0)
70 if (dup2 (fd2, fd) < 0)
73 close (fd2);
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));
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,
/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/CXX/special/class.inhctor/
H A Dp3.cpp25 D2 fd2() { return 1; } // expected-error {{no viable conversion}} function
/external/clang/test/CodeGen/
H A Datomic-ops.c198 void fd2(struct S *a, struct S *b) { function
199 // CHECK-LABEL: @fd2
H A Dzvector.c20 volatile vector double fd, fd2; variable
56 // CHECK: [[VAL:%[^ ]+]] = load volatile <2 x double>, <2 x double>* @fd2
58 fd = fd2;
93 // CHECK: [[VAL:%[^ ]+]] = load volatile <2 x double>, <2 x double>* @fd2
95 fd = +fd2;
114 // CHECK: [[VAL:%[^ ]+]] = load volatile <2 x double>, <2 x double>* @fd2
116 fd = -fd2;
151 // CHECK: [[VAL:%[^ ]+]] = load volatile <2 x double>, <2 x double>* @fd2
153 ++fd2;
188 // CHECK: [[VAL:%[^ ]+]] = load volatile <2 x double>, <2 x double>* @fd2
[all...]
/external/clang/test/Sema/
H A Dzvector.c21 vector double fd, fd2; variable
61 fd = fd2;
80 sc = fd2; // expected-error {{incompatible type}}
90 uc = fd2; // expected-error {{incompatible type}}
100 bc = fd2; // expected-error {{incompatible type}}
125 ul = (vector unsigned long long)fd2;
134 uc = (vector unsigned char)fd2;
138 us = (vector unsigned short)fd2;
142 ui = (vector unsigned int)fd2;
169 ++fd2;
735 sc <<= fd2; // expected-error {{integer is required}} local
755 fd <<= fd2; // expected-error {{integer is required}} local
835 sc >>= fd2; // expected-error {{integer is required}} local
855 fd >>= fd2; // expected-error {{integer is required}} local
[all...]
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_interceptors.inc2382 int fd2 = REAL(accept)(fd, addr, addrlen);
2383 if (fd2 >= 0) {
2384 if (fd >= 0) COMMON_INTERCEPTOR_FD_SOCKET_ACCEPT(ctx, fd, fd2);
2388 return fd2;
2407 int fd2 = REAL(accept4)(fd, addr, addrlen, f);
2408 if (fd2 >= 0) {
2409 if (fd >= 0) COMMON_INTERCEPTOR_FD_SOCKET_ACCEPT(ctx, fd, fd2);
2413 return fd2;
/external/compiler-rt/test/tsan/
H A Dfd_dup_norace2.cc44 int fd2 = open("/dev/urandom", O_RDONLY); local
45 if (fd == -1 || fd2 == -1)
49 if (dup2(fd2, fd) == -1)
54 if (close(fd2) == -1)
H A Dfd_dup_race.cc21 int fd2 = open("/dev/random", O_RDONLY); local
22 if (fd == -1 || fd2 == -1)
26 if (dup2(fd2, fd) == -1)
/external/elfutils/src/
H A Delfcmp.c167 int fd2; local
169 Elf *elf2 = open_file (fname2, &fd2, &ebl2);
661 close (fd2);
H A Dfindtextrel.c317 int fd2 = -1; local
391 fd2 = open (difname, O_RDONLY);
392 if (fd2 != -1
393 && (elf2 = elf_begin (fd2, ELF_C_READ_MMAP, NULL)) != NULL)
484 if (fd2 != -1)
485 close (fd2);
/external/freetype/src/cff/
H A Dcffload.c779 FT_Byte fd2; local
789 fd2 = *p++;
794 fd = fd2;
799 fdselect->cache_fd = fd2;
/external/kernel-headers/original/uapi/linux/
H A Dsync_file.h20 * @fd2: file descriptor of second fence
27 __s32 fd2; member in struct:sync_merge_data
82 * the sync_pts in both the calling fd and sync_merge_data.fd2. Returns the
/external/libchrome/base/posix/
H A Dfile_descriptor_shuffle_unittest.cc27 fd2(in_fd2) {
33 other.fd2 == fd2;
38 int fd2; member in struct:base::Action
/external/libdaemon/libdaemon/
H A Ddfork.c61 int fd2; local
63 if ((fd2 = open("/dev/null", f)) < 0)
66 if (fd2 == fd)
69 if (dup2(fd2, fd) < 0)
72 close(fd2);
/external/libdrm/amdgpu/
H A Damdgpu_device.c86 int fd2 = PTR_TO_UINT(key2); local
88 char *name2 = drmGetPrimaryDeviceNameFromFd(fd2);
/external/libdrm/
H A Dlibsync.h51 int32_t fd2; member in struct:sync_merge_data
86 static inline int sync_merge(const char *name, int fd1, int fd2) argument
91 data.fd2 = fd2;
104 /* accumulate fd2 into fd1. If *fd1 is not a valid fd then dup fd2,
121 static inline int sync_accumulate(const char *name, int *fd1, int fd2) argument
125 assert(fd2 >= 0);
128 *fd1 = dup(fd2);
132 ret = sync_merge(name, *fd1, fd2);
[all...]
/external/libdrm/tests/nouveau/
H A Dthreaded.c78 int err, fd, fd2; local
88 fd2 = drmOpenWithType("nouveau", NULL, DRM_NODE_RENDER);
94 fd2 = open(device, O_RDWR);
96 fd2 = fd = -errno;
104 if (fd2 < 0) {
122 err = nouveau_device_wrap(fd2, 0, &nvdev2);
144 close(fd2);
147 drmClose(fd2);
/external/liblzf/
H A Dlzf.c371 int fd, fd2; local
410 fd2 = open_out (oname);
411 if (fd2 == -1)
421 rc = compress_fd (fd, fd2);
428 rc = uncompress_fd (fd, fd2);
435 fchmod (fd2, mystat.st_mode);
440 close (fd2);

Completed in 633 milliseconds

12345