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

/external/oprofile/libutil++/
H A Dchild_reader.cpp29 fd1(-1), fd2(-1),
113 fd1 = pstdout[0];
127 FD_SET(fd1, &read_fs);
130 if (select(max(fd1, fd2) + 1, &read_fs, 0, 0, 0) >= 0) {
131 if (FD_ISSET(fd1, &read_fs)) {
132 ssize_t temp = read(fd1, buf1, PIPE_BUF);
244 if (fd1 != -1) {
245 close(fd1);
246 fd1 = -1;
H A Dchild_reader.h88 // return false when eof condition is reached on fd1. fd2 can have
92 int fd1; member in class:child_reader
/external/valgrind/main/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/main/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/qemu/android/utils/
H A Dtimezone.c178 int fd1, fd2, result = 0; local
192 fd1 = open( scan->localtime, O_RDONLY );
193 if (fd1 < 0) {
200 close(fd1);
210 do { ret = read(fd1, &temp[0], 1); } while (ret < 0 && errno == EINTR);
227 close(fd1);
/external/chromium/base/
H A Dfile_descriptor_shuffle_unittest.cc29 fd1(in_fd1),
35 other.fd1 == fd1 &&
40 int fd1; member in struct:Action
/external/qemu/
H A Dsockets.h386 int socket_pair(int *fd1, int *fd2);
H A Dsockets.c1441 socket_pair(int *fd1, int *fd2) argument
1450 *fd1 = fds[0];
1501 *fd1 = s1;
/external/elfutils/src/
H A Delfcmp.c155 int fd1; local
157 Elf *elf1 = open_file (fname1, &fd1, &ebl1);
509 close (fd1);
/external/qemu/hw/
H A Dpc.c274 int fd0, fd1, nb; local
333 fd1 = fdctrl_get_drive_type(floppy_controller, 1);
335 val = (cmos_get_fd_drive_type(fd0) << 4) | cmos_get_fd_drive_type(fd1);
342 if (fd1 < 3)
/external/dbus/dbus/
H A Ddbus-sysdeps.h396 dbus_bool_t _dbus_full_duplex_pipe (int *fd1,
H A Ddbus-sysdeps-win.c801 * @param fd1 return location for one end
808 _dbus_full_duplex_pipe (int *fd1, argument
891 *fd1 = socket1;
895 *fd1, socket1, *fd2, socket2);
H A Ddbus-sysdeps-unix.c2925 * @param fd1 return location for one end
2932 _dbus_full_duplex_pipe (int *fd1, argument
2983 *fd1 = fds[0];
2987 *fd1, *fd2);
/external/chromium/third_party/libjingle/source/talk/base/
H A Dphysicalsocketserver.cc660 int fd1 = afd_[0];
673 close(fd1);
/external/chromium/net/tools/testserver/
H A Dtestserver.py1304 def __init__(self, fd1, fd2) :
1305 self.__fd1 = fd1
/external/valgrind/main/coregrind/m_syswrap/
H A Dsyswrap-generic.c1247 Int fd1 = ((Int*)arg3)[0]; local
1251 if (!ML_(fd_allowed)(fd1, "socketcall.socketpair", tid, True) ||
1253 VG_(close)(fd1);
1259 ML_(record_fd_open_nameless)(tid, fd1);

Completed in 795 milliseconds