/external/chromium_org/third_party/libjingle/source/talk/base/ |
linuxfdwalk_unittest.cc | 77 int fd2 = open("/dev/null", O_WRONLY); local 78 EXPECT_LE(0, fd2); 84 EXPECT_TRUE(fds.insert(fd2).second); 89 EXPECT_EQ(0, close(fd2));
|
/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);
|
/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;
|
/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);
|
/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));
|
/bionic/libc/kernel/common/linux/ |
sync.h | 24 __s32 fd2; member in struct:sync_merge_data
|
/external/chromium_org/base/posix/ |
file_descriptor_shuffle_unittest.cc | 27 fd2(in_fd2) { 33 other.fd2 == fd2; 38 int fd2; member in struct:base::Action
|
/external/clang/test/CXX/special/class.inhctor/ |
p3.cpp | 22 D2 fd2() { return 1; } // expected-error {{no viable conversion}} function
|
/external/oprofile/libutil++/ |
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/chromium/base/ |
file_descriptor_shuffle_unittest.cc | 30 fd2(in_fd2) { 36 other.fd2 == fd2; 41 int fd2; member in struct:Action
|
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/ |
kernel_object_test.cc | 107 int fd2 = proxy.AllocateFD(handle_b); local 114 EXPECT_EQ(1, fd2); 124 EXPECT_EQ(0, proxy.AcquireHandle(fd2, &handle_b)); 149 proxy.FreeFD(fd2);
|
kernel_proxy_test.cc | 291 int fd1, fd2, fd3; local 318 fd2 = ki_open("/foo/bar", O_RDWR | O_CREAT); 319 ASSERT_NE(-1, fd2); 327 EXPECT_EQ(5, ki_write(fd2, "WORLD", 5)); 338 EXPECT_EQ(0, ki_close(fd2)); 349 fd2 = ki_open("/foo/bar", O_RDONLY); 350 ASSERT_NE(-1, fd2); 351 len = ki_read(fd2, text, sizeof(text)); 384 int fd2 = ki_dup(fd); local 385 ASSERT_GT(fd2, -1) [all...] |
/external/chromium_org/third_party/ots/test/ |
idempotent.cc | 72 int fd2 = open("out2.ttf", local 74 if (fd1 < 0 || fd2 < 0) { 79 (write(fd2, result2, len2) < 0)) { 82 close(fd2); 86 close(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);
|
/system/extras/tests/ext4/ |
rand_emmc_perf.c | 185 int fd, fd2; local 246 fd2 = open("/dev/urandom", O_RDONLY); 247 if (fd2 < 0) { 250 if (read(fd2, &seed, sizeof(seed)) != sizeof(seed)) { 253 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/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
|
/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);
|
/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);
|
/hardware/samsung_slsi/exynos5/gralloc/ |
gralloc.cpp | 237 int err, planes, fd, fd1, fd2 = 0; local 305 err = ion_alloc_fd(ionfd, chroma_size, 0, heap_mask, ion_flags, &fd2); 309 *hnd = new private_handle_t(fd, fd1, fd2, luma_size, usage, w, h, 375 if (hnd->fd2 >= 0) 376 close(hnd->fd2); 395 if (hnd->fd2 >= 0) 396 close(hnd->fd2);
|
/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),
|
/system/core/sh/ |
input.c | 436 int fd2; local 442 fd2 = copyfd(fd, 10); 444 if (fd2 < 0) 446 fd = fd2;
|
/external/chromium_org/native_client_sdk/src/libraries/ppapi_simple/ |
ps_instance.cc | 227 int fd2 = open(getenv("PS_STDERR"), O_WRONLY); local 228 dup2(fd2, 2);
|
/external/chromium_org/third_party/freetype/src/cff/ |
cffload.c | 734 FT_Byte fd2; local 744 fd2 = *p++; 749 fd = fd2; 754 fdselect->cache_fd = fd2; [all...] |