HomeSort by relevance Sort by last modified time
    Searched refs:fd2 (Results 1 - 25 of 62) sorted by null

1 2 3

  /external/bison/lib/
fseterr.c 59 int fd2;
64 fd2 = dup (fd);
65 if (fd2 >= 0)
70 if (dup2 (fd2, fd) < 0)
73 close (fd2);
  /external/valgrind/main/memcheck/tests/linux/
syscalls-2007.c 38 int fd, fd2; local
48 fd2 = eventfd (5, 0);
49 eventfd_read (fd2, &ev);
52 pfd[1].fd = fd2;
  /system/extras/tests/ext4/
rand_emmc_perf.c 45 int fd, fd2, write_mode = 0, iops = 0; local
91 fd2 = open("/dev/urandom", O_RDONLY);
92 if (fd2 < 0) {
95 if (read(fd2, &seed, sizeof(seed)) != sizeof(seed)) {
98 close(fd2);
  /external/oprofile/libutil++/
child_reader.cpp 29 fd1(-1), fd2(-1),
114 fd2 = pstderr[0];
128 FD_SET(fd2, &read_fs);
130 if (select(max(fd1, fd2) + 1, &read_fs, 0, 0, 0) >= 0) {
139 if (FD_ISSET(fd2, &read_fs)) {
145 ssize_t temp = read(fd2, buf2 + end2, sz_buf2 - end2);
248 if (fd2 != -1) {
249 close(fd2);
250 fd2 = -1;
child_reader.h 88 // return false when eof condition is reached on fd1. fd2 can have
93 int fd2; member in class:child_reader
  /external/valgrind/main/memcheck/tests/
file_locking.c 80 int fd2; local
102 fd2 = open_lock_and_map("child", filename);
103 if (fd2 >= 0)
105 close(fd2);
  /system/core/toolbox/
cmp.c 13 int fd1, fd2; local
56 fd2 = open(argv[optind+1], O_RDONLY);
57 if(fd2 < 0) {
64 res2 = read(fd2, &buf2, sizeof(buf2));
  /external/valgrind/main/none/tests/
pth_cancel2.c 52 int *fd2=(int *)arg; local
57 async_cancel_safe_write(*fd2,buf,amt);
58 async_cancel_safe_read(*fd2,buf,amt);
fdleak_cmsg.c 38 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);
  /hardware/samsung_slsi/exynos5/include/
gralloc_priv.h 80 int fd2; member in struct:private_handle_t
111 fd(fd), fd1(-1), fd2(-1), magic(sMagic), flags(flags), size(size),
123 fd(fd), fd1(fd1), fd2(-1), magic(sMagic), flags(flags), size(size),
133 private_handle_t(int fd, int fd1, int fd2, int size, int flags, int w,
135 fd(fd), fd1(fd1), fd2(fd2), magic(sMagic), flags(flags), size(size),
  /external/webkit/Tools/wx/build/
waf_extensions.py 51 (fd2, filename2) = tempfile.mkstemp()
52 os.write(fd2, ' '.join(t2))
53 os.close(fd2)
  /system/core/libsync/
sync.c 37 int sync_merge(const char *name, int fd1, int fd2)
42 data.fd2 = fd2;
  /bionic/libc/kernel/common/linux/
sync.h 24 __s32 fd2; member in struct:sync_merge_data
  /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 40 FileDescriptor fd2 = new FileDescriptor(); local
41 Libcore.os.socketpair(AF_UNIX, SOCK_STREAM, 0, fd1, fd2);
46 this.source = new PipeSourceChannel(selectorProvider, fd2);
  /external/clang/test/CXX/special/class.inhctor/
p3.cpp 22 D2 fd2() { return 1; } // expected-error {{no viable conversion}} function
  /external/liblzf/
lzf.c 371 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);
  /hardware/samsung_slsi/exynos5/gralloc/
mapper.cpp 119 if (hnd->fd2 >= 0) {
120 ret = ion_import(getIonFd(module), hnd->fd2, &hnd->handle2);
122 ALOGE("error importing handle2 %d %x\n", hnd->fd2, hnd->format);
182 if (hnd->fd2 >= 0)
183 ion_sync_fd(getIonFd(module), hnd->fd2);
gralloc.cpp 224 int err, planes, fd, fd1, fd2 = 0; local
292 err = ion_alloc_fd(ionfd, chroma_size, 0, heap_mask, ion_flags, &fd2);
296 *hnd = new private_handle_t(fd, fd1, fd2, luma_size, usage, w, h,
362 if (hnd->fd2 >= 0)
363 close(hnd->fd2);
382 if (hnd->fd2 >= 0)
383 close(hnd->fd2);
  /external/qemu/android/utils/
timezone.c 178 int fd1, fd2, result = 0; local
197 fd2 = open( path, O_RDONLY );
198 if (fd2 < 0) {
213 do { ret = read(fd2, &temp[1], 1); } while (ret < 0 && errno == EINTR);
226 close(fd2);
  /external/elfutils/src/
findtextrel.c 309 int fd2 = -1; local
377 fd2 = open64 (difname, O_RDONLY);
378 if (fd2 != -1
379 && (elf2 = elf_begin (fd2, ELF_C_READ_MMAP, NULL)) != NULL)
470 if (fd2 != -1)
471 close (fd2);
  /external/chromium/base/
file_descriptor_shuffle_unittest.cc 30 fd2(in_fd2) {
36 other.fd2 == fd2;
41 int fd2; member in struct:Action
  /system/core/sh/
input.c 436 int fd2; local
442 fd2 = copyfd(fd, 10);
444 if (fd2 < 0)
446 fd = fd2;
  /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);
187 tagSocket(fd2);
  /external/kernel-headers/original/linux/
sync.h 341 * @fd2: file descriptor of second fence
346 __s32 fd2; /* fd of second fence */ member in struct:sync_merge_data
400 * the sync_pts in both the calling fd and sync_merge_data.fd2. Returns the

Completed in 1055 milliseconds

1 2 3