Searched defs:fd2 (Results 1 - 25 of 31) sorted by relevance

12

/external/valgrind/main/memcheck/tests/linux/
H A Dsys-openat.c14 __attribute__((unused)) int fd2 = openat (0x12345678, "/tmp/abc", O_RDONLY); local
H A Dsyscalls-2007.c38 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 Dlinuxfdwalk_unittest.cc60 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 Dfile_locking.c80 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 Dpth_cancel2.c52 int *fd2=(int *)arg; local
57 async_cancel_safe_write(*fd2,buf,amt);
58 async_cancel_safe_read(*fd2,buf,amt);
H A Dfdleak_cmsg.c38 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 Dp3.cpp22 D2 fd2() { return 1; } // expected-error {{no viable conversion}} function
/external/kernel-headers/original/uapi/linux/
H A Dsync.h19 * @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 Dbp_signal.c30 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 Dchild_reader.h88 // 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 Dfile_descriptor_shuffle_unittest.cc27 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 Dkernel_object_test.cc105 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 Dkernel_proxy_test.cc289 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 Didempotent.cc72 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 Dtap_proxy.cc309 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 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);
/external/qemu/android/utils/
H A Dtimezone.c179 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 Dfindtextrel.c325 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 Delfcmp.c175 int fd2; local
177 Elf *elf2 = open_file (fname2, &fd2, &ebl2);
659 close (fd2);
/external/chromium_org/ipc/
H A Dipc_channel_posix.cc210 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 Dnacl_io_demo.c323 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 Dps_instance.cc246 int fd2 = open(getenv("PS_STDERR"), O_WRONLY); local
247 dup2(fd2, 2);
/external/chromium_org/third_party/freetype/src/cff/
H A Dcffload.c734 FT_Byte fd2; local
744 fd2 = *p++;
749 fd = fd2;
754 fdselect->cache_fd = fd2;
/external/freetype/src/cff/
H A Dcffload.c741 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 Dcffload.c734 FT_Byte fd2; local
744 fd2 = *p++;
749 fd = fd2;
754 fdselect->cache_fd = fd2;

Completed in 4606 milliseconds

12