/external/oprofile/libutil++/ |
child_reader.cpp | 29 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;
|
child_reader.h | 88 // return false when eof condition is reached on fd1. fd2 can have 92 int fd1; member in class:child_reader
|
/system/core/include/sync/ |
sync.h | 29 int sync_merge(const char *name, int fd1, int fd2);
|
/system/core/toolbox/ |
cmp.c | 13 int fd1, fd2; local 50 fd1 = open(argv[optind], O_RDONLY); 51 if(fd1 < 0) { 63 res1 = read(fd1, &buf1, sizeof(buf1));
|
newfs_msdos.c | 272 int ch, fd, fd1; local 497 fd1 = -1; 505 if ((fd1 = open(bname, O_RDONLY)) == -1 || fstat(fd1, &sb)) 629 if (!x && lseek(fd1, opt_ofs, SEEK_SET)) 633 if ((n = read(fd1, img, bpb.bps)) == -1)
|
/external/valgrind/main/none/tests/ |
fdleak_cmsg.c | 38 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/ |
file_locking.c | 79 int fd1; local 89 if ((fd1 = open_lock_and_map("parent", filename)) >= 0) 122 close(fd1);
|
/external/clang/test/CXX/special/class.inhctor/ |
p3.cpp | 12 D1 fd1() { return 1; } function
|
/system/core/libsync/ |
sync.c | 36 int sync_merge(const char *name, int fd1, int fd2) 44 err = ioctl(fd1, SYNC_IOC_MERGE, &data);
|
/external/qemu/android/utils/ |
timezone.c | 178 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/ |
file_descriptor_shuffle_unittest.cc | 29 fd1(in_fd1), 35 other.fd1 == fd1 && 40 int fd1; member in struct:Action
|
/system/bluetooth/tools/ |
asocket_test.c | 610 int fd1, fd2; local 616 fd1 = _socket(type); 617 if (fd1 < 0) goto error; 619 if (_bind(fd1, type) < 0) goto error; 621 if (_listen(fd1, type) < 0) goto error; 623 a1.fd = fd1;
|
socktest.c | 682 int fd1, fd2; local 688 fd1 = _socket(type); 689 if (fd1 < 0) goto error; 691 if (_bind(fd1, type) < 0) goto error; 693 if (_listen(fd1, type) < 0) goto error; 695 a1.fd = fd1;
|
/system/core/init/ |
builtins.c | 644 int fd1 = -1, fd2 = -1; local 655 if ((fd1 = open(args[1], O_RDONLY)) < 0) 667 rc = read(fd1, p, brtr); 695 if (fd1 >= 0) 696 close(fd1);
|
/external/qemu/ |
sockets.h | 386 int socket_pair(int *fd1, int *fd2);
|
sockets.c | 1440 socket_pair(int *fd1, int *fd2) [all...] |
/sdk/emulator/opengl/tests/event_injector/ |
sockets.h | 394 int socket_pair(int *fd1, int *fd2);
|
/external/elfutils/src/ |
elfcmp.c | 155 int fd1; local 157 Elf *elf1 = open_file (fname1, &fd1, &ebl1); 509 close (fd1);
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
BitmapRegionDecoderTest.java | 235 FileDescriptor fd1 = pfd1.getFileDescriptor(); local 236 decoder = BitmapRegionDecoder.newInstance(fd1, false);
|
/external/qemu/hw/ |
pc.c | 274 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) [all...] |
/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/lib/gcc/arm-eabi/4.4.3/plugin/include/ |
libiberty.h | 171 extern int fdmatch (int fd1, int fd2);
|
/prebuilts/gcc/darwin-x86/arm/arm-linux-androideabi-4.6/lib/gcc/arm-linux-androideabi/4.6.x-google/plugin/include/ |
libiberty.h | 183 extern int fdmatch (int fd1, int fd2);
|
/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/lib/gcc/arm-eabi/4.6.x-google/plugin/include/ |
libiberty.h | 183 extern int fdmatch (int fd1, int fd2);
|
/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/lib/gcc/arm-linux-androideabi/4.6.x-google/plugin/include/ |
libiberty.h | 183 extern int fdmatch (int fd1, int fd2);
|
/external/dbus/dbus/ |
dbus-sysdeps.h | 396 dbus_bool_t _dbus_full_duplex_pipe (int *fd1,
|