/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 | 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/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));
|
/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);
|
/system/core/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);
|
/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);
|
/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 | 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);
|
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_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/clang/test/CXX/special/class.inhctor/ |
p3.cpp | 12 D1 fd1() { return 1; } function
|
/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/base/posix/ |
file_descriptor_shuffle_unittest.cc | 26 fd1(in_fd1), 32 other.fd1 == fd1 && 37 int fd1; member in struct:base::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);
|
/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/net/tools/testserver/ |
testserver_base.py | 39 def __init__(self, fd1, fd2) : 40 self.__fd1 = 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);
|
/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);
|