Searched refs:fd1 (Results 1 - 17 of 17) sorted by relevance

/external/linux-tools-perf/src/tools/perf/tests/
H A Dbp_signal.c29 static int fd1; variable
54 ioctl(fd1, PERF_EVENT_IOC_DISABLE, 0);
130 * fd1 - breakpoint event on test_function with SIGIO
139 * - fd1 event breakpoint hit -> count1 == 1
153 fd1 = bp_event(test_function, 1);
156 ioctl(fd1, PERF_EVENT_IOC_ENABLE, 0);
160 * Kick off the test by trigering 'fd1'
165 ioctl(fd1, PERF_EVENT_IOC_DISABLE, 0);
168 count1 = bp_count(fd1);
171 close(fd1);
[all...]
/external/valgrind/memcheck/tests/linux/
H A Dsys-openat.c12 __attribute__((unused)) int fd1 = openat (dfd, "abc", O_RDONLY); local
/external/valgrind/none/tests/
H A Dfdleak_cmsg.c38 int s, fd1, fd2; local
41 fd1 = DO( open(filea, O_RDWR | O_CREAT | O_TRUNC, 0750) );
71 ((int *)CMSG_DATA(cmsg))[0] = fd1;
86 int s, fd1 = -1, fd2 = -1, size, count = 0, ret; local
135 fd1 = ((int *)CMSG_DATA(cmsg))[0];
142 if (fd1 != -1) write(fd1, "Yeah 1\n", 8);
/external/valgrind/memcheck/tests/
H A Dfile_locking.c79 int fd1; local
89 if ((fd1 = open_lock_and_map("parent", filename)) >= 0)
122 close(fd1);
/external/clang/test/CXX/special/class.inhctor/
H A Dp3.cpp12 D1 fd1() { return 1; } function
/external/lldb/examples/interposing/darwin/fd_interposing/
H A DFDInterposing.cpp935 dup2$__interposed__ (int fd1, int fd2) argument
945 StringSP dup2_close_description_sp(new String ("pid=%i: dup2 (fd1=%i, fd2=%i) -> will close (fd=%i)", pid, fd1, fd2, fd2));
949 const int fd = ::dup2(fd1, fd2);
951 StringSP description_sp(new String ("pid=%i: dup2 (fd1=%i, fd2=%i) -> fd=%i", pid, fd1, fd2, fd));
961 return ::dup2(fd1, 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 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,
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));
/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/CodeGen/
H A Datomic-ops.c169 struct S fd1(struct S *a) { function
170 // CHECK-LABEL: @fd1
/external/toybox/lib/
H A Dportability.h142 int linkat(int fd1, const char *path1, int fd2, const char *path2, int flag);
/external/libxml2/
H A Druntest.c609 int fd1, fd2; local
613 fd1 = open(r1, RD_FLAGS);
614 if (fd1 < 0)
618 close(fd1);
622 res1 = read(fd1, bytes1, 4096);
625 close(fd1);
632 close(fd1);
637 close(fd1);
/external/elfutils/src/src/
H A Delfcmp.c162 int fd1; local
164 Elf *elf1 = open_file (fname1, &fd1, &ebl1);
651 close (fd1);
/external/valgrind/coregrind/m_syswrap/
H A Dsyswrap-generic.c1383 Int fd1 = ((Int*)arg3)[0]; local
1387 if (!ML_(fd_allowed)(fd1, "socketcall.socketpair", tid, True) ||
1389 VG_(close)(fd1);
1395 ML_(record_fd_open_nameless)(tid, fd1);

Completed in 5493 milliseconds