/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
|
/hardware/samsung_slsi/exynos5/include/ |
gralloc_priv.h | 76 int fd1; member in struct:private_handle_t 106 fd(fd), fd1(-1), fd2(-1), magic(sMagic), flags(flags), size(size), 115 private_handle_t(int fd, int fd1, int size, int flags, int w, 117 fd(fd), fd1(fd1), fd2(-1), magic(sMagic), flags(flags), size(size), 127 private_handle_t(int fd, int fd1, int fd2, int size, int flags, int w, 129 fd(fd), fd1(fd1), fd2(fd2), magic(sMagic), flags(flags), size(size),
|
/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);
|
/system/core/include/sync/ |
sync.h | 46 int sync_merge(const char *name, int fd1, int fd2);
|
/libcore/luni/src/main/java/java/nio/ |
PipeImpl.java | 39 FileDescriptor fd1 = new FileDescriptor(); local 41 Libcore.os.socketpair(AF_UNIX, SOCK_STREAM, 0, fd1, fd2); 45 this.sink = new PipeSinkChannel(selectorProvider, fd1);
|
/external/clang/test/CXX/special/class.inhctor/ |
p3.cpp | 12 D1 fd1() { return 1; } function
|
/system/core/libsync/ |
sync.c | 37 int sync_merge(const char *name, int fd1, int fd2) 45 err = ioctl(fd1, SYNC_IOC_MERGE, &data);
|
/hardware/samsung_slsi/exynos5/gralloc/ |
gralloc.cpp | 221 int err, planes, fd, fd1, fd2 = 0; local 285 err = ion_alloc_fd(ionfd, chroma_size, 0, heap_mask, ion_flags, &fd1); 293 *hnd = new private_handle_t(fd, fd1, fd2, luma_size, usage, w, h, 296 *hnd = new private_handle_t(fd, fd1, luma_size, usage, w, h, format, 303 close(fd1); 347 if (hnd->fd1 >= 0) 348 close(hnd->fd1); 367 if (hnd->fd1 >= 0) 368 close(hnd->fd1);
|
mapper.cpp | 114 if (hnd->fd1 >= 0) { 115 ret = ion_import(getIonFd(module), hnd->fd1, &hnd->handle1); 117 ALOGE("error importing handle1 %d %x\n", hnd->fd1, hnd->format); 180 if (hnd->fd1 >= 0) 181 ion_sync_fd(getIonFd(module), hnd->fd1);
|
/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
|
/libcore/luni/src/main/java/libcore/io/ |
BlockGuardOs.java | 184 @Override public void socketpair(int domain, int type, int protocol, FileDescriptor fd1, FileDescriptor fd2) throws ErrnoException { 185 os.socketpair(domain, type, protocol, fd1, fd2); 186 tagSocket(fd1);
|
/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 | 659 int fd1 = -1, fd2 = -1; local 670 if ((fd1 = open(args[1], O_RDONLY)) < 0) 682 rc = read(fd1, p, brtr); 710 if (fd1 >= 0) 711 close(fd1);
|
/external/qemu/ |
sockets.h | 386 int socket_pair(int *fd1, int *fd2);
|
/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...] |
/prebuilts/gcc/darwin-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);
|