HomeSort by relevance Sort by last modified time
    Searched defs:fd1 (Results 1 - 25 of 26) sorted by null

1 2

  /external/chromium_org/third_party/libjingle/source/talk/base/
linuxfdwalk_unittest.cc 75 int fd1 = open("/dev/null", O_RDONLY); local
76 EXPECT_LE(0, fd1);
83 EXPECT_TRUE(fds.insert(fd1).second);
88 EXPECT_EQ(0, close(fd1));
  /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/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/chromium_org/base/posix/
file_descriptor_shuffle_unittest.cc 26 fd1(in_fd1),
32 other.fd1 == fd1 &&
37 int fd1; member in struct:base::Action
  /external/clang/test/CXX/special/class.inhctor/
p3.cpp 12 D1 fd1() { return 1; } function
  /external/oprofile/libutil++/
child_reader.h 88 // return false when eof condition is reached on fd1. fd2 can have
92 int fd1; member in class:child_reader
  /external/chromium/base/
file_descriptor_shuffle_unittest.cc 29 fd1(in_fd1),
35 other.fd1 == fd1 &&
40 int fd1; member in struct:Action
  /external/chromium_org/native_client_sdk/src/tests/nacl_io_test/
kernel_object_test.cc 101 int fd1 = proxy.AllocateFD(handle_a); local
113 EXPECT_EQ(0, fd1);
123 EXPECT_EQ(0, proxy.AcquireHandle(fd1, &handle_a));
154 proxy.FreeFD(fd1);
kernel_proxy_test.cc 291 int fd1, fd2, fd3; local
314 fd1 = ki_open("/foo/bar", O_RDWR | O_CREAT);
315 ASSERT_NE(-1, fd1);
328 EXPECT_EQ(5, ki_write(fd1, "HELLO", 5));
337 EXPECT_EQ(0, ki_close(fd1));
340 fd1 = ki_open("/foo/bar", O_WRONLY | O_APPEND);
341 ASSERT_NE(-1, fd1);
342 EXPECT_EQ(5, ki_write(fd1, "WORLD", 5));
  /external/chromium_org/third_party/ots/test/
idempotent.cc 70 int fd1 = open("out1.ttf", local
74 if (fd1 < 0 || fd2 < 0) {
78 if ((write(fd1, result1, len1) < 0) ||
81 close(fd1);
85 close(fd1);
  /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);
  /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/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);
  /hardware/samsung_slsi/exynos5/gralloc/
gralloc.cpp 237 int err, planes, fd, fd1, fd2 = 0; local
301 err = ion_alloc_fd(ionfd, chroma_size, 0, heap_mask, ion_flags, &fd1);
309 *hnd = new private_handle_t(fd, fd1, fd2, luma_size, usage, w, h,
312 *hnd = new private_handle_t(fd, fd1, luma_size, usage, w, h, format,
329 close(fd1);
373 if (hnd->fd1 >= 0)
374 close(hnd->fd1);
393 if (hnd->fd1 >= 0)
394 close(hnd->fd1);
  /hardware/samsung_slsi/exynos5/include/
gralloc_priv.h 79 int fd1; member in struct:private_handle_t
111 fd(fd), fd1(-1), fd2(-1), magic(sMagic), flags(flags), size(size),
121 private_handle_t(int fd, int fd1, int size, int flags, int w,
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/chromium_org/native_client_sdk/src/libraries/ppapi_simple/
ps_instance.cc 224 int fd1 = open(getenv("PS_STDOUT"), O_WRONLY); local
225 dup2(fd1, 1);
  /external/elfutils/src/
elfcmp.c 155 int fd1; local
157 Elf *elf1 = open_file (fname1, &fd1, &ebl1);
509 close (fd1);
  /system/core/init/
builtins.c 705 int fd1 = -1, fd2 = -1; local
716 if ((fd1 = open(args[1], O_RDONLY)) < 0)
728 rc = read(fd1, p, brtr);
756 if (fd1 >= 0)
757 close(fd1);
  /cts/tests/tests/graphics/src/android/graphics/cts/
BitmapRegionDecoderTest.java 265 FileDescriptor fd1 = pfd1.getFileDescriptor(); local
266 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...]
  /frameworks/base/core/java/android/os/
ParcelFileDescriptor.java 399 final FileDescriptor fd1 = new FileDescriptor(); local
400 Libcore.os.socketpair(AF_UNIX, SOCK_STREAM, 0, fd0, fd1);
403 new ParcelFileDescriptor(fd1) };
422 final FileDescriptor fd1 = new FileDescriptor(); local
423 Libcore.os.socketpair(AF_UNIX, SOCK_STREAM, 0, fd0, fd1);
426 new ParcelFileDescriptor(fd1, comm[1]) };
    [all...]
  /external/chromium_org/third_party/sqlite/src/test/
threadtest3.c 804 int fd1; local
808 fd1 = open(zFrom, O_RDONLY);
809 if( fd1<0 ){
816 close(fd1);
826 if( nCopy!=read(fd1, aBuf, nCopy) ){
837 close(fd1);
    [all...]
  /external/valgrind/main/coregrind/m_syswrap/
syswrap-generic.c 1241 Int fd1 = ((Int*)arg3)[0]; local
    [all...]
  /hardware/samsung_slsi/exynos5/exynos_omx/codecs/exynos_codecs/video/exynos5/mfc_v4l2/include/
ExynosVideoApi.h 115 int fd1; member in struct:_ReleaseDPB

Completed in 783 milliseconds

1 2