/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/include/sync/ |
sync.h | 29 int sync_merge(const char *name, int fd1, int 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);
|
/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 | 36 int sync_merge(const char *name, int fd1, int fd2) 41 data.fd2 = fd2;
|
/bionic/libc/kernel/common/linux/ |
sync.h | 24 __s32 fd2; member in struct:sync_merge_data
|
/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);
|
/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);
|
elfcmp.c | 160 int fd2; local 162 Elf *elf2 = open_file (fname2, &fd2, &ebl2); 510 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;
|
/external/kernel-headers/original/linux/ |
sync.h | 312 * @fd2: file descriptor of second fence 317 __s32 fd2; /* fd of second fence */ member in struct:sync_merge_data 371 * the sync_pts in both the calling fd and sync_merge_data.fd2. Returns the
|
/system/bluetooth/tools/ |
asocket_test.c | 610 int fd1, fd2; local 626 fd2 = _socket(type); 627 if (_connect(fd2, type)) goto error; 629 pthread_create(&t2, NULL, (void *)thread_shutdown, (void *)&fd2); 631 while (1) if (_read(fd2)) break;
|
socktest.c | 682 int fd1, fd2; local 698 fd2 = _socket(type); 699 if (_connect(fd2, type)) goto error; 701 pthread_create(&t2, NULL, (void *)thread_shutdown, (void *)&fd2); 703 while (1) if (_read(fd2)) break;
|
/system/core/init/ |
builtins.c | 644 int fd1 = -1, fd2 = -1; local 658 if ((fd2 = open(args[2], O_WRONLY|O_CREAT|O_TRUNC, 0660)) < 0) 679 rc = write(fd2, p, brtw); 697 if (fd2 >= 0) 698 close(fd2);
|
/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);
|
/external/freetype/src/cff/ |
cffload.c | 733 FT_Byte fd2; local 743 fd2 = *p++; 748 fd = fd2; 753 fdselect->cache_fd = fd2; [all...] |