Home
last modified time | relevance | path

Searched refs:fd_out (Results 1 – 25 of 26) sorted by relevance

12

/external/ltp/testcases/kernel/syscalls/vmsplice/
Dvmsplice01.c51 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/
Dsplice01.c48 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/
Dtee01.c52 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/
Dtee.c42 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()
Dsplice.c43 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()
Dcopy_file_range.c44 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/
Dtee.c42 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()
Dsplice.c43 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()
Dcopy_file_range.c44 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/
Dtee.c42 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()
Dsplice.c43 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()
Dcopy_file_range.c44 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/
Dtee.h27 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()
Dsplice.h28 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/
Dandroid-run.py50 (fd_out, outname) = tempfile.mkstemp()
55 stdout=fd_out,
59 os.close(fd_out)
/external/libbrillo/brillo/
Dfile_utils.cc97 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/
Ddbus_method_invoker_unittest.cc140 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/
Dopacket.c231 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()
Dsftp-client.c79 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()
Dpacket.c290 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/
Devent.h1041 struct event_base **base_out, evutil_socket_t *fd_out, short *events_out,
/external/libevent/
Devent.c1915 …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/
Dlinux_syscall_hooks.h1668 #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/
Dtsan_unittest.cpp4769 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/
Dsanitizer_common_syscalls.inc2637 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,

12