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

1 2 3

  /external/linux-tools-perf/perf-3.12.0/tools/perf/tests/
bp_signal.c 29 static int fd1; variable
54 ioctl(fd1, PERF_EVENT_IOC_DISABLE, 0);
130 * fd1 - breakpoint event on test_function with SIGIO
139 * - fd1 event breakpoint hit -> count1 == 1
153 fd1 = bp_event(test_function, 1);
156 ioctl(fd1, PERF_EVENT_IOC_ENABLE, 0);
160 * Kick off the test by trigering 'fd1'
165 ioctl(fd1, PERF_EVENT_IOC_DISABLE, 0);
168 count1 = bp_count(fd1);
171 close(fd1);
    [all...]
  /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 81 int fd1; member in struct:private_handle_t
113 fd(fd), fd1(-1), fd2(-1), magic(sMagic), flags(flags), size(size),
123 private_handle_t(int fd, int fd1, int size, int flags, int w,
125 fd(fd), fd1(fd1), fd2(-1), magic(sMagic), flags(flags), size(size),
135 private_handle_t(int fd, int fd1, int fd2, int size, int flags, int w,
137 fd(fd), fd1(fd1), fd2(fd2), magic(sMagic), flags(flags), size(size),
  /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/chromium_org/third_party/webrtc/base/
linuxfdwalk_unittest.cc 58 int fd1 = open("/dev/null", O_RDONLY); local
59 EXPECT_LE(0, fd1);
66 EXPECT_TRUE(fds.insert(fd1).second);
71 EXPECT_EQ(0, close(fd1));
  /external/valgrind/main/memcheck/tests/linux/
sys-openat.c 12 __attribute__((unused)) int fd1 = openat (dfd, "abc", O_RDONLY); local
  /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));
  /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/chromium_org/third_party/hwcplus/include/sync/
sync.h 46 int sync_merge(const char *name, int fd1, int fd2);
  /system/core/libsync/include/sync/
sync.h 46 int sync_merge(const char *name, int fd1, int fd2);
  /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);
  /hardware/samsung_slsi/exynos5/gralloc/
mapper.cpp 101 if (hnd->fd1 >= 0) {
102 ret = ion_import(getIonFd(module), hnd->fd1, &hnd->handle1);
104 ALOGE("error importing handle1 %d %x\n", hnd->fd1, hnd->format);
167 if (hnd->fd1 >= 0)
168 ion_sync_fd(getIonFd(module), hnd->fd1);
gralloc.cpp 234 int err, planes, fd, fd1, fd2 = 0; local
298 err = ion_alloc_fd(ionfd, chroma_size, 0, heap_mask, ion_flags, &fd1);
306 *hnd = new private_handle_t(fd, fd1, fd2, luma_size, usage, w, h,
309 *hnd = new private_handle_t(fd, fd1, luma_size, usage, w, h, format,
326 close(fd1);
371 if (hnd->fd1 >= 0)
372 close(hnd->fd1);
391 if (hnd->fd1 >= 0)
392 close(hnd->fd1);
  /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/chromium_org/native_client_sdk/src/tests/nacl_io_test/
kernel_proxy_test.cc 289 int fd1, fd2, fd3, fd4, fd5; local
296 fd1 = ki_open("/example", O_RDONLY);
297 EXPECT_NE(-1, fd1);
298 EXPECT_EQ(ki_fchdir(fd1), 0);
344 int fd1, fd2, fd3; local
367 fd1 = ki_open("/foo/bar", O_RDWR | O_CREAT);
368 ASSERT_NE(-1, fd1);
381 EXPECT_EQ(5, ki_write(fd1, "HELLO", 5));
390 EXPECT_EQ(0, ki_close(fd1));
393 fd1 = ki_open("/foo/bar", O_WRONLY | O_APPEND)
413 int fd1, fd2; local
433 int fd1; local
    [all...]
kernel_object_test.cc 98 int fd1 = proxy.AllocateFD(handle_a, "/example"); local
110 EXPECT_EQ(0, fd1);
120 EXPECT_EQ(0, proxy.AcquireHandle(fd1, &handle_a));
151 proxy.FreeFD(fd1);
  /system/core/libsync/
sync.c 37 int sync_merge(const char *name, int fd1, int fd2)
45 err = ioctl(fd1, SYNC_IOC_MERGE, &data);
  /external/chromium_org/native_client_sdk/src/examples/demo/nacl_io_demo/
nacl_io_demo.c 312 int fd1 = open("/dev/jspipe1", O_RDWR | O_NONBLOCK); local
315 int nfds = MAX(fd1, fd2);
320 FD_SET(fd1, &readfds);
329 if (FD_ISSET(fd1, &readfds))
330 EchoInput(fd1);
338 close(fd1);
  /external/qemu/android/utils/
timezone.c 179 int fd1, fd2, result = 0; local
193 fd1 = open( scan->localtime, O_RDONLY );
194 if (fd1 < 0) {
201 close(fd1);
211 ret = HANDLE_EINTR(read(fd1, &temp[0], 1));
228 close(fd1);
  /cts/tests/tests/media/src/android/media/cts/
DecoderTest.java 223 AssetFileDescriptor fd1 = null; local
225 fd1 = mResources.openRawResourceFd(resid);
227 ex1.setDataSource(fd1.getFileDescriptor(), fd1.getStartOffset(), fd1.getLength());
256 ex1.setDataSource(fd1.getFileDescriptor(), fd1.getStartOffset(), fd1.getLength());
276 ex1.setDataSource(fd1.getFileDescriptor(), fd1.getStartOffset(), fd1.getLength())
401 AssetFileDescriptor fd1 = null; local
    [all...]
  /external/clang/test/CXX/special/class.inhctor/
p3.cpp 12 D1 fd1() { return 1; } function
  /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/chromium_org/ipc/
ipc_channel.h 227 IPC_EXPORT bool SocketPair(int* fd1, int* fd2);

Completed in 1005 milliseconds

1 2 3