/external/ltp/testcases/kernel/syscalls/vmsplice/ |
D | vmsplice01.c | 51 static int fd_out; variable 77 fd_out = SAFE_OPEN(cleanup, TESTFILE, O_RDONLY); in check_file() 78 SAFE_READ(cleanup, 1, fd_out, vmsplicebuffer, TEST_BLOCK_SIZE); in check_file() 90 close(fd_out); in check_file() 91 fd_out = 0; in check_file() 99 int fd_out; in vmsplice_test() local 107 fd_out = SAFE_OPEN(cleanup, TESTFILE, O_WRONLY | O_CREAT | O_TRUNC, 0644); in vmsplice_test() 133 ret = splice(pipes[0], NULL, fd_out, &offset, written, 0); in vmsplice_test() 141 close(fd_out); in vmsplice_test() 142 fd_out = 0; in vmsplice_test() [all …]
|
/external/ltp/testcases/kernel/syscalls/splice/ |
D | splice01.c | 48 static int fd_in, fd_out; variable 73 fd_out = SAFE_OPEN(cleanup, TESTFILE2, O_RDONLY); in check_file() 74 SAFE_READ(cleanup, 1, fd_out, splicebuffer, TEST_BLOCK_SIZE); in check_file() 86 close(fd_out); in check_file() 87 fd_out = 0; in check_file() 97 fd_out = SAFE_OPEN(cleanup, TESTFILE2, O_WRONLY | O_CREAT | O_TRUNC, 0666); in splice_test() 103 ret = splice(pipes[0], NULL, fd_out, NULL, TEST_BLOCK_SIZE, 0); in splice_test() 108 close(fd_out); in splice_test() 112 fd_out = 0; in splice_test() 153 if (fd_out > 0 && close(fd_out)) in cleanup()
|
/external/ltp/testcases/kernel/syscalls/tee/ |
D | tee01.c | 52 static int fd_in, fd_out; variable 78 fd_out = SAFE_OPEN(cleanup, TESTFILE2, O_RDONLY); in check_file() 79 SAFE_READ(cleanup, 1, fd_out, teebuffer, TEST_BLOCK_SIZE); in check_file() 91 close(fd_out); in check_file() 92 fd_out = 0; in check_file() 102 fd_out = SAFE_OPEN(cleanup, TESTFILE2, O_WRONLY | O_CREAT | O_TRUNC, 0777); in tee_test() 115 ret = splice(pipe2[0], NULL, fd_out, NULL, TEST_BLOCK_SIZE, 0); in tee_test() 123 close(fd_out); in tee_test() 126 fd_out = 0; in tee_test() 167 if (fd_out > 0 && close(fd_out)) in cleanup()
|
/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-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/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/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 ltp_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/v8/tools/ |
D | android-run.py | 50 (fd_out, outname) = tempfile.mkstemp() 55 stdout=fd_out, 59 os.close(fd_out)
|
/external/libbrillo/brillo/ |
D | file_utils.cc | 97 base::ScopedFD* fd_out) { in TouchFileInternal() argument 125 if (fd_out) { in TouchFileInternal() 126 fd_out->swap(scoped_fd); in TouchFileInternal()
|
/external/libbrillo/brillo/dbus/ |
D | dbus_method_invoker_unittest.cc | 140 dbus::FileDescriptor fd_out; in EchoFD() local 142 EXPECT_TRUE(ExtractMethodCallResults(response.get(), nullptr, &fd_out)); in EchoFD() 143 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()
|
D | packet.c | 290 ssh_packet_set_connection(struct ssh *ssh, int fd_in, int fd_out) in ssh_packet_set_connection() argument 308 state->connection_out = fd_out; in ssh_packet_set_connection()
|
/external/libevent/include/event2/ |
D | event.h | 1041 struct event_base **base_out, evutil_socket_t *fd_out, short *events_out,
|
/external/libevent/ |
D | event.c | 1915 …onst struct event *event, struct event_base **base_out, evutil_socket_t *fd_out, short *events_out… in event_get_assignment() argument 1921 if (fd_out) in event_get_assignment() 1922 *fd_out = event->ev_fd; in event_get_assignment()
|
/external/compiler-rt/include/sanitizer/ |
D | linux_syscall_hooks.h | 1668 #define __sanitizer_syscall_pre_splice(fd_in, off_in, fd_out, off_out, len, \ argument 1671 (long)(fd_out), (long)(off_out), \ 1673 #define __sanitizer_syscall_post_splice(res, fd_in, off_in, fd_out, off_out, \ argument 1676 (long)(fd_out), (long)(off_out), \ 2960 void __sanitizer_syscall_pre_impl_splice(long fd_in, long off_in, long fd_out, 2963 long fd_out, long off_out, long len,
|
/external/valgrind/drd/tests/ |
D | tsan_unittest.cpp | 4769 int fd_out = -1; variable 4776 IGNORE_RETURN_VALUE(write(fd_out, str, strlen(str) + 1)); in Writer() 4794 fd_out = creat(out_name, O_WRONLY | S_IRWXU); in Run() 4803 CHECK(fd_out >= 0); in Run() 4811 close(fd_out); in Run()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_common_syscalls.inc | 2637 PRE_SYSCALL(splice)(long fd_in, void *off_in, long fd_out, void *off_out, 2640 POST_SYSCALL(splice)(long res, long fd_in, void *off_in, long fd_out,
|