/external/valgrind/main/memcheck/tests/linux/ |
H A D | sys-openat.c | 14 __attribute__((unused)) int fd2 = openat (0x12345678, "/tmp/abc", O_RDONLY); local
|
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/chromium_org/third_party/webrtc/base/ |
H A D | linuxfdwalk_unittest.cc | 60 int fd2 = open("/dev/null", O_WRONLY); local 61 EXPECT_LE(0, fd2); 67 EXPECT_TRUE(fds.insert(fd2).second); 72 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/clang/test/CXX/special/class.inhctor/ |
H A D | p3.cpp | 22 D2 fd2() { return 1; } // expected-error {{no viable conversion}} function
|
/external/kernel-headers/original/uapi/linux/ |
H A D | sync.h | 19 * @fd2: file descriptor of second fence 24 __s32 fd2; /* fd of second fence */ member in struct:sync_merge_data 78 * the sync_pts in both the calling fd and sync_merge_data.fd2. Returns the
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/tests/ |
H A D | bp_signal.c | 30 static int fd2; variable 55 ioctl(fd2, PERF_EVENT_IOC_DISABLE, 0); 134 * fd2 - breakpoint event on sig_handler without SIGIO 141 * - fd2 event breakpoint hit -> count2 == 1 154 fd2 = bp_event(sig_handler, 0); 157 ioctl(fd2, PERF_EVENT_IOC_ENABLE, 0); 166 ioctl(fd2, PERF_EVENT_IOC_DISABLE, 0); 169 count2 = bp_count(fd2); 172 close(fd2);
|
/external/oprofile/libutil++/ |
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/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/chromium_org/native_client_sdk/src/tests/nacl_io_test/ |
H A D | kernel_object_test.cc | 105 int fd2 = proxy.AllocateFD(handle_b, ""); local 112 EXPECT_EQ(1, fd2); 122 EXPECT_EQ(0, proxy.AcquireHandle(fd2, &handle_b)); 147 proxy.FreeFD(fd2);
|
H A D | kernel_proxy_test.cc | 289 int fd1, fd2, fd3, fd4, fd5; local 303 fd2 = ki_open("../example", O_RDONLY, 0); 304 EXPECT_NE(-1, fd2); 305 EXPECT_EQ(0, ki_fchdir(fd2)); 344 int fd1, fd2, fd3; local 371 fd2 = ki_open("/foo/bar", O_RDWR | O_CREAT, 0777); 372 ASSERT_NE(-1, fd2); 380 EXPECT_EQ(5, ki_write(fd2, "WORLD", 5)); 391 EXPECT_EQ(0, ki_close(fd2)); 402 fd2 413 int fd1, fd2; local 476 int fd2 = ki_dup(fd); local [all...] |
/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/chromium_org/media/cast/test/utility/ |
H A D | tap_proxy.cc | 309 int fd2 = tun_alloc(argv[2], IFF_TAP); local 313 media::cast::test::QueueManager qm1(fd1, fd2, in_pipe.Pass()); 314 media::cast::test::QueueManager qm2(fd2, fd1, out_pipe.Pass());
|
/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 | 179 int fd1, fd2, result = 0; local 198 fd2 = open( path, O_RDONLY ); 199 if (fd2 < 0) { 214 ret = HANDLE_EINTR(read(fd2, &temp[1], 1)); 227 close(fd2);
|
/external/elfutils/0.153/src/ |
H A D | findtextrel.c | 325 int fd2 = -1; local 393 fd2 = open64 (difname, O_RDONLY); 394 if (fd2 != -1 395 && (elf2 = elf_begin (fd2, ELF_C_READ_MMAP, NULL)) != NULL) 486 if (fd2 != -1) 487 close (fd2);
|
H A D | elfcmp.c | 175 int fd2; local 177 Elf *elf2 = open_file (fname2, &fd2, &ebl2); 659 close (fd2);
|
/external/chromium_org/ipc/ |
H A D | ipc_channel_posix.cc | 210 bool SocketPair(int* fd1, int* fd2) { argument 229 *fd2 = pipe_fds[1];
|
/external/chromium_org/native_client_sdk/src/examples/demo/nacl_io_demo/ |
H A D | nacl_io_demo.c | 323 int fd2 = open("/dev/jspipe2", O_RDWR | O_NONBLOCK); local 325 int nfds = larger_int_of(fd1, fd2); 331 FD_SET(fd2, &readfds); 341 if (FD_ISSET(fd2, &readfds)) 342 EchoInput(fd2); 349 close(fd2);
|
/external/chromium_org/native_client_sdk/src/libraries/ppapi_simple/ |
H A D | ps_instance.cc | 246 int fd2 = open(getenv("PS_STDERR"), O_WRONLY); local 247 dup2(fd2, 2);
|
/external/chromium_org/third_party/freetype/src/cff/ |
H A D | cffload.c | 734 FT_Byte fd2; local 744 fd2 = *p++; 749 fd = fd2; 754 fdselect->cache_fd = fd2;
|
/external/freetype/src/cff/ |
H A D | cffload.c | 741 FT_Byte fd2; local 751 fd2 = *p++; 756 fd = fd2; 761 fdselect->cache_fd = fd2;
|
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/cff/ |
H A D | cffload.c | 734 FT_Byte fd2; local 744 fd2 = *p++; 749 fd = fd2; 754 fdselect->cache_fd = fd2;
|