/external/ltp/testcases/kernel/syscalls/vmsplice/ |
D | vmsplice01.c | 45 static int fd_out; variable 53 fd_out = SAFE_OPEN(TESTFILE, O_RDONLY); in check_file() 54 SAFE_READ(1, fd_out, vmsplicebuffer, TEST_BLOCK_SIZE); in check_file() 66 SAFE_CLOSE(fd_out); in check_file() 74 int fd_out; in vmsplice_test() local 81 fd_out = SAFE_OPEN(TESTFILE, O_WRONLY | O_CREAT | O_TRUNC, 0644); in vmsplice_test() 108 ret = splice(pipes[0], NULL, fd_out, &offset, written, 0); in vmsplice_test() 116 SAFE_CLOSE(fd_out); in vmsplice_test() 136 if (fd_out > 0) in cleanup() 137 SAFE_CLOSE(fd_out); in cleanup()
|
/external/ltp/testcases/kernel/syscalls/splice/ |
D | splice01.c | 43 static int fd_in, fd_out; variable 50 fd_out = SAFE_OPEN(TESTFILE2, O_RDONLY); in check_file() 51 SAFE_READ(1, fd_out, splicebuffer, TEST_BLOCK_SIZE); in check_file() 63 SAFE_CLOSE(fd_out); in check_file() 72 fd_out = SAFE_OPEN(TESTFILE2, O_WRONLY | O_CREAT | O_TRUNC, 0666); in splice_test() 79 ret = splice(pipes[0], NULL, fd_out, NULL, TEST_BLOCK_SIZE, 0); in splice_test() 84 SAFE_CLOSE(fd_out); in splice_test() 114 if (fd_out > 0) in cleanup() 115 SAFE_CLOSE(fd_out); in cleanup()
|
/external/ltp/testcases/kernel/syscalls/tee/ |
D | tee01.c | 45 static int fd_in, fd_out; variable 53 fd_out = SAFE_OPEN(TESTFILE2, O_RDONLY); in check_file() 54 SAFE_READ(1, fd_out, teebuffer, TEST_BLOCK_SIZE); in check_file() 66 SAFE_CLOSE(fd_out); in check_file() 76 fd_out = SAFE_OPEN(TESTFILE2, O_WRONLY | O_CREAT | O_TRUNC, 0777); in tee_test() 89 ret = splice(pipe2[0], NULL, fd_out, NULL, TEST_BLOCK_SIZE, 0); in tee_test() 97 SAFE_CLOSE(fd_out); in tee_test() 126 if (fd_out > 0) in cleanup() 127 SAFE_CLOSE(fd_out); in cleanup()
|
/external/ltp/testcases/kernel/syscalls/copy_file_range/ |
D | copy_file_range01.c | 146 int fd_in, fd_out, ret; in test_one() local 170 fd_out = SAFE_OPEN(TEST_FILE_2, O_CREAT | O_WRONLY | O_TRUNC, 0644); in test_one() 177 TEST(tst_syscall(__NR_copy_file_range, fd_in, off_in, fd_out, in test_one() 182 SAFE_CLOSE(fd_out); in test_one() 195 ret |= check_file_offset("(out)", fd_out, len, off_out_ori, off_out); in test_one() 201 SAFE_CLOSE(fd_out); in test_one()
|
/external/strace/tests-mx32/ |
D | tee.c | 42 const long int fd_out = (long int) 0xdeadbeeffffffffeULL; in main() local 46 long rc = syscall(__NR_tee, fd_in, fd_out, len, flags); in main() 48 (int) fd_in, (int) fd_out, len, in main()
|
D | splice.c | 43 const long int fd_out = (long int) 0xdeadbeeffffffffeULL; in main() local 52 fd_in, off_in, fd_out, off_out, len, flags); in main() 54 (int) fd_in, *off_in, (int) fd_out, *off_out, len, in main()
|
D | copy_file_range.c | 44 const long int fd_out = (long int) 0xdeadbeeffffffffe; in main() local 53 fd_in, off_in, fd_out, off_out, len, flags); in main() 56 (int) fd_in, *off_in, (int) fd_out, *off_out, len, flags, in main()
|
/external/strace/tests/ |
D | tee.c | 42 const long int fd_out = (long int) 0xdeadbeeffffffffeULL; in main() local 46 long rc = syscall(__NR_tee, fd_in, fd_out, len, flags); in main() 48 (int) fd_in, (int) fd_out, len, in main()
|
D | splice.c | 43 const long int fd_out = (long int) 0xdeadbeeffffffffeULL; in main() local 52 fd_in, off_in, fd_out, off_out, len, flags); in main() 54 (int) fd_in, *off_in, (int) fd_out, *off_out, len, in main()
|
D | copy_file_range.c | 44 const long int fd_out = (long int) 0xdeadbeeffffffffe; in main() local 53 fd_in, off_in, fd_out, off_out, len, flags); in main() 56 (int) fd_in, *off_in, (int) fd_out, *off_out, len, flags, in main()
|
/external/strace/tests-m32/ |
D | tee.c | 42 const long int fd_out = (long int) 0xdeadbeeffffffffeULL; in main() local 46 long rc = syscall(__NR_tee, fd_in, fd_out, len, flags); in main() 48 (int) fd_in, (int) fd_out, len, in main()
|
D | splice.c | 43 const long int fd_out = (long int) 0xdeadbeeffffffffeULL; in main() local 52 fd_in, off_in, fd_out, off_out, len, flags); in main() 54 (int) fd_in, *off_in, (int) fd_out, *off_out, len, in main()
|
D | copy_file_range.c | 44 const long int fd_out = (long int) 0xdeadbeeffffffffe; in main() local 53 fd_in, off_in, fd_out, off_out, len, flags); in main() 56 (int) fd_in, *off_in, (int) fd_out, *off_out, len, flags, in main()
|
/external/u-boot/tools/ |
D | mksunxiboot.c | 68 int fd_in, fd_out; in main() local 125 fd_out = open(argv[2], O_WRONLY | O_CREAT, 0666); in main() 126 if (fd_out < 0) { in main() 167 count = write(fd_out, &img, le32_to_cpu(img.header.length)); in main() 174 close(fd_out); in main()
|
/external/v8/tools/ |
D | android-run.py | 50 (fd_out, outname) = tempfile.mkstemp() 55 stdout=fd_out, 59 os.close(fd_out)
|
/external/ltp/include/lapi/ |
D | tee.h | 27 ssize_t tee(int fd_in, int fd_out, size_t len, unsigned int flags) in tee() argument 29 return tst_syscall(__NR_tee, fd_in, fd_out, len, flags); in tee()
|
D | splice.h | 28 ssize_t splice(int fd_in, loff_t *off_in, int fd_out, in splice() argument 32 fd_out, off_out, len, flags); in splice()
|
/external/bcc/src/cc/ |
D | bcc_elf.c | 47 static int openelf(const char *path, Elf **elf_out, int *fd_out) { in openelf() argument 48 *fd_out = open(path, O_RDONLY); in openelf() 49 if (*fd_out < 0) in openelf() 52 if (openelf_fd(*fd_out, elf_out) == -1) { in openelf() 53 close(*fd_out); in openelf()
|
/external/libbrillo/brillo/ |
D | file_utils.cc | 103 base::ScopedFD* fd_out) { in TouchFileInternal() argument 129 if (fd_out) { in TouchFileInternal() 130 fd_out->swap(scoped_fd); in TouchFileInternal()
|
/external/libbrillo/brillo/dbus/ |
D | dbus_method_invoker_unittest.cc | 172 base::ScopedFD fd_out; in EchoFD() local 174 EXPECT_TRUE(ExtractMethodCallResults(response.get(), nullptr, &fd_out)); in EchoFD() 175 return fd_out; in EchoFD()
|
/external/openssh/ |
D | opacket.c | 231 packet_set_connection(int fd_in, int fd_out) in packet_set_connection() argument 233 active_state = ssh_packet_set_connection(active_state, fd_in, fd_out); in packet_set_connection()
|
D | sftp-client.c | 79 int fd_out; member 124 if (atomiciov6(writev, conn->fd_out, iov, 2, in send_msg() 180 debug3("Sent message fd %d T:%u I:%u", conn->fd_out, code, id); in send_string_request() 199 debug3("Sent message fd %d T:%u I:%u", conn->fd_out, code, id); in send_string_attrs_request() 383 do_init(int fd_in, int fd_out, u_int transfer_buflen, u_int num_requests, in do_init() argument 394 ret->fd_out = fd_out; in do_init()
|
/external/libchrome/base/files/ |
D | file_util_posix.cc | 415 ScopedFD fd_out(raw_fds[0]); in CreateLocalNonBlockingPipe() 417 if (!SetCloseOnExec(fd_out.get())) in CreateLocalNonBlockingPipe() 421 if (!SetNonBlocking(fd_out.get())) in CreateLocalNonBlockingPipe() 425 fds[0] = fd_out.release(); in CreateLocalNonBlockingPipe()
|
/external/libevent/include/event2/ |
D | event.h | 1391 struct event_base **base_out, evutil_socket_t *fd_out, short *events_out,
|
/external/mesa3d/src/intel/vulkan/ |
D | anv_allocator.c | 1315 struct anv_bo *bo_in, int *fd_out) in anv_bo_cache_export() argument 1324 *fd_out = fd; in anv_bo_cache_export()
|