/external/bison/lib/ |
H A D | fseterr.c | 59 int fd2; 64 fd2 = dup (fd); 65 if (fd2 >= 0) 70 if (dup2 (fd2, fd) < 0) 73 close (fd2);
|
/external/valgrind/main/memcheck/tests/linux/ |
H A D | syscalls-2007.c | 38 int fd, fd2; local 48 fd2 = eventfd (5, 0); 49 eventfd_read (fd2, &ev); 52 pfd[1].fd = fd2;
|
/external/oprofile/libutil++/ |
H A D | child_reader.cpp | 29 fd1(-1), fd2(-1), 114 fd2 = pstderr[0]; 128 FD_SET(fd2, &read_fs); 130 if (select(max(fd1, fd2) + 1, &read_fs, 0, 0, 0) >= 0) { 139 if (FD_ISSET(fd2, &read_fs)) { 145 ssize_t temp = read(fd2, buf2 + end2, sz_buf2 - end2); 248 if (fd2 != -1) { 249 close(fd2); 250 fd2 = -1;
|
H A D | child_reader.h | 88 // return false when eof condition is reached on fd1. fd2 can have 93 int fd2; member in class:child_reader
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
H A D | linuxfdwalk_unittest.cc | 77 int fd2 = open("/dev/null", O_WRONLY); local 78 EXPECT_LE(0, fd2); 84 EXPECT_TRUE(fds.insert(fd2).second); 89 EXPECT_EQ(0, close(fd2));
|
/external/valgrind/main/memcheck/tests/ |
H A D | file_locking.c | 80 int fd2; local 102 fd2 = open_lock_and_map("child", filename); 103 if (fd2 >= 0) 105 close(fd2);
|
/external/valgrind/main/none/tests/ |
H A D | pth_cancel2.c | 52 int *fd2=(int *)arg; local 57 async_cancel_safe_write(*fd2,buf,amt); 58 async_cancel_safe_read(*fd2,buf,amt);
|
H A D | fdleak_cmsg.c | 38 int s, fd1, fd2; local 42 fd2 = DO( open(fileb, O_RDWR | O_CREAT | O_TRUNC, 0750) ); 72 ((int *)CMSG_DATA(cmsg))[1] = fd2; 86 int s, fd1 = -1, fd2 = -1, size, count = 0, ret; local 136 fd2 = ((int *)CMSG_DATA(cmsg))[1]; 143 if (fd2 != -1) write(fd2, "Yeah 2\n", 8);
|
/external/chromium_org/third_party/ots/test/ |
H A D | idempotent.cc | 72 int fd2 = open("out2.ttf", local 74 if (fd1 < 0 || fd2 < 0) { 79 (write(fd2, result2, len2) < 0)) { 82 close(fd2); 86 close(fd2);
|
/external/clang/test/CXX/special/class.inhctor/ |
H A D | p3.cpp | 22 D2 fd2() { return 1; } // expected-error {{no viable conversion}} function
|
/external/chromium_org/native_client_sdk/src/libraries/nacl_io_test/ |
H A D | kernel_proxy_test.cc | 137 int fd1, fd2, fd3; local 164 fd2 = ki_open("/foo/bar", O_RDONLY | O_CREAT); 165 EXPECT_NE(-1, fd2); 173 EXPECT_EQ(5, ki_write(fd2, "WORLD", 5)); 185 EXPECT_EQ(0, ki_close(fd2)); 198 fd2 = ki_open("/foo/bar", O_RDONLY); 199 EXPECT_NE(-1, fd2); 200 len = ki_read(fd2, text, sizeof(text)); 230 int fd2 = ki_dup(fd); local 231 EXPECT_NE(-1, fd2); [all...] |
H A D | kernel_object_test.cc | 111 int fd2 = proxy->AllocateFD(handle_b); local 118 EXPECT_EQ(1, fd2); 128 EXPECT_EQ(0, proxy->AcquireHandle(fd2, &handle_b)); 153 proxy->FreeFD(fd2);
|
/external/liblzf/ |
H A D | lzf.c | 371 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);
|
/external/qemu/android/utils/ |
H A D | timezone.c | 178 int fd1, fd2, result = 0; local 197 fd2 = open( path, O_RDONLY ); 198 if (fd2 < 0) { 213 do { ret = read(fd2, &temp[1], 1); } while (ret < 0 && errno == EINTR); 226 close(fd2);
|
/external/elfutils/src/ |
H A D | findtextrel.c | 309 int fd2 = -1; local 377 fd2 = open64 (difname, O_RDONLY); 378 if (fd2 != -1 379 && (elf2 = elf_begin (fd2, ELF_C_READ_MMAP, NULL)) != NULL) 470 if (fd2 != -1) 471 close (fd2);
|
H A D | elfcmp.c | 160 int fd2; local 162 Elf *elf2 = open_file (fname2, &fd2, &ebl2); 510 close (fd2);
|
/external/chromium/base/ |
H A D | file_descriptor_shuffle_unittest.cc | 30 fd2(in_fd2) { 36 other.fd2 == fd2; 41 int fd2; member in struct:Action
|
/external/chromium_org/base/posix/ |
H A D | file_descriptor_shuffle_unittest.cc | 27 fd2(in_fd2) { 33 other.fd2 == fd2; 38 int fd2; member in struct:base::Action
|
/external/kernel-headers/original/linux/ |
H A D | sync.h | 341 * @fd2: file descriptor of second fence 346 __s32 fd2; /* fd of second fence */ member in struct:sync_merge_data 400 * the sync_pts in both the calling fd and sync_merge_data.fd2. Returns the
|
H A D | audit.h | 536 extern void __audit_fd_pair(int fd1, int fd2); 552 static inline void audit_fd_pair(int fd1, int fd2) argument 555 __audit_fd_pair(fd1, fd2);
|
/external/chromium_org/net/tools/testserver/ |
H A D | testserver_base.py | 39 def __init__(self, fd1, fd2) : 41 self.__fd2 = fd2
|
/external/qemu/ |
H A D | sockets.h | 386 int socket_pair(int *fd1, int *fd2);
|
/external/chromium_org/native_client_sdk/src/libraries/ppapi_simple/ |
H A D | ps_instance.cc | 207 int fd2 = open(getenv("PS_STDERR"), O_WRONLY); local 208 dup2(fd2, 2);
|
/external/bison/darwin-lib/ |
H A D | stdio.h | 1280 (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 D | unistd.h | 1362 (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,
|