/external/ltp/include/lapi/ |
tee.h | 27 ssize_t tee(int fd_in, int fd_out, size_t len, unsigned int flags) 29 return ltp_syscall(__NR_tee, fd_in, fd_out, len, flags);
|
splice.h | 28 ssize_t splice(int fd_in, loff_t *off_in, int fd_out, 32 fd_out, off_out, len, flags);
|
/external/strace/tests/ |
tee.c | 42 const long int fd_out = (long int) 0xdeadbeeffffffffeULL; local 46 long rc = syscall(__NR_tee, fd_in, fd_out, len, flags); 48 (int) fd_in, (int) fd_out, len,
|
copy_file_range.c | 43 const long int fd_out = (long int) 0xdeadbeeffffffffe; local 52 fd_in, off_in, fd_out, off_out, len, flags); 55 (int) fd_in, *off_in, (int) fd_out, *off_out, len, flags,
|
splice.c | 42 const long int fd_out = (long int) 0xdeadbeeffffffffeULL; local 51 fd_in, off_in, fd_out, off_out, len, flags); 53 (int) fd_in, *off_in, (int) fd_out, *off_out, len,
|
/external/strace/tests-m32/ |
tee.c | 42 const long int fd_out = (long int) 0xdeadbeeffffffffeULL; local 46 long rc = syscall(__NR_tee, fd_in, fd_out, len, flags); 48 (int) fd_in, (int) fd_out, len,
|
copy_file_range.c | 43 const long int fd_out = (long int) 0xdeadbeeffffffffe; local 52 fd_in, off_in, fd_out, off_out, len, flags); 55 (int) fd_in, *off_in, (int) fd_out, *off_out, len, flags,
|
splice.c | 42 const long int fd_out = (long int) 0xdeadbeeffffffffeULL; local 51 fd_in, off_in, fd_out, off_out, len, flags); 53 (int) fd_in, *off_in, (int) fd_out, *off_out, len,
|
/external/strace/tests-mx32/ |
tee.c | 42 const long int fd_out = (long int) 0xdeadbeeffffffffeULL; local 46 long rc = syscall(__NR_tee, fd_in, fd_out, len, flags); 48 (int) fd_in, (int) fd_out, len,
|
copy_file_range.c | 43 const long int fd_out = (long int) 0xdeadbeeffffffffe; local 52 fd_in, off_in, fd_out, off_out, len, flags); 55 (int) fd_in, *off_in, (int) fd_out, *off_out, len, flags,
|
splice.c | 42 const long int fd_out = (long int) 0xdeadbeeffffffffeULL; local 51 fd_in, off_in, fd_out, off_out, len, flags); 53 (int) fd_in, *off_in, (int) fd_out, *off_out, len,
|
/external/ltp/testcases/kernel/syscalls/vmsplice/ |
vmsplice01.c | 51 static int fd_out; variable 77 fd_out = SAFE_OPEN(cleanup, TESTFILE, O_RDONLY); 78 SAFE_READ(cleanup, 1, fd_out, vmsplicebuffer, TEST_BLOCK_SIZE); 90 close(fd_out); 91 fd_out = 0; 99 int fd_out; local 107 fd_out = SAFE_OPEN(cleanup, TESTFILE, O_WRONLY | O_CREAT | O_TRUNC, 0644); 133 ret = splice(pipes[0], NULL, fd_out, &offset, written, 0); 141 close(fd_out); 142 fd_out = 0 [all...] |
/external/ltp/testcases/kernel/syscalls/splice/ |
splice01.c | 48 static int fd_in, fd_out; variable 73 fd_out = SAFE_OPEN(cleanup, TESTFILE2, O_RDONLY); 74 SAFE_READ(cleanup, 1, fd_out, splicebuffer, TEST_BLOCK_SIZE); 86 close(fd_out); 87 fd_out = 0; 97 fd_out = SAFE_OPEN(cleanup, TESTFILE2, O_WRONLY | O_CREAT | O_TRUNC, 0666); 103 ret = splice(pipes[0], NULL, fd_out, NULL, TEST_BLOCK_SIZE, 0); 105 tst_brkm(TBROK | TERRNO, cleanup, "splice(pipe, fd_out) failed"); 108 close(fd_out); 112 fd_out = 0 [all...] |
/external/ltp/testcases/kernel/syscalls/tee/ |
tee01.c | 52 static int fd_in, fd_out; variable 78 fd_out = SAFE_OPEN(cleanup, TESTFILE2, O_RDONLY); 79 SAFE_READ(cleanup, 1, fd_out, teebuffer, TEST_BLOCK_SIZE); 91 close(fd_out); 92 fd_out = 0; 102 fd_out = SAFE_OPEN(cleanup, TESTFILE2, O_WRONLY | O_CREAT | O_TRUNC, 0777); 115 ret = splice(pipe2[0], NULL, fd_out, NULL, TEST_BLOCK_SIZE, 0); 117 tst_brkm(TBROK | TERRNO, cleanup, "splice(pipe2, fd_out) failed"); 123 close(fd_out); 126 fd_out = 0 [all...] |
/device/generic/goldfish-opengl/system/egl/ |
goldfish_sync.h | 49 int* fd_out) { 60 if (fd_out) *fd_out = info.fence_fd_out;
|
egl.cpp | 426 int* fd_out) { 448 fd_out); 451 *fd_out, queue_work_err); 463 static void createGoldfishOpenGLNativeSync(int* fd_out) { 470 fd_out); [all...] |
/external/libbrillo/brillo/ |
file_utils.cc | 88 // Handles common touch functionality but also provides an optional |fd_out| 90 // use the fd rather than the path. |fd_out| will only be set if a new file 92 // If |fd_out| is null, this function will close the file, otherwise it's 93 // expected that |fd_out| will close the file when it goes out of scope. 97 base::ScopedFD* fd_out) { 125 if (fd_out) { 126 fd_out->swap(scoped_fd);
|
/external/v8/tools/ |
android-run.py | 50 (fd_out, outname) = tempfile.mkstemp() 55 stdout=fd_out, 59 os.close(fd_out)
|
/frameworks/av/media/mtp/ |
MtpFfsHandle.h | 32 int spliceReadHandle(int fd, int fd_out, int len);
|
/build/make/tools/ijar/ |
zip.cc | 201 fd_out(fd), 254 int fd_out; // file descriptor for the output file member in class:devtools_ijar::OutputZipFile 934 if (fd_out > 0) { 936 if (ftruncate(fd_out, GetSize()) < 0) { 937 return error("ftruncate(fd_out, GetSize()): %s", strerror(errno)); 939 if (close(fd_out) < 0) { 940 return error("close(fd_out): %s", strerror(errno)); 942 fd_out = -1; 982 int fd_out = open(zip_file, O_CREAT|O_RDWR|O_TRUNC, 0644); local 983 if (fd_out < 0) [all...] |
/external/openssh/ |
opacket.c | 231 packet_set_connection(int fd_in, int fd_out) 233 active_state = ssh_packet_set_connection(active_state, fd_in, fd_out);
|
sftp-client.c | 72 int fd_out; member in struct:sftp_conn 117 if (atomiciov6(writev, conn->fd_out, iov, 2, 173 debug3("Sent message fd %d T:%u I:%u", conn->fd_out, code, id); 192 debug3("Sent message fd %d T:%u I:%u", conn->fd_out, code, id); 376 do_init(int fd_in, int fd_out, u_int transfer_buflen, u_int num_requests, 387 ret->fd_out = fd_out; [all...] |
/external/libbrillo/brillo/dbus/ |
dbus_method_invoker_unittest.cc | 140 dbus::FileDescriptor fd_out; local 142 EXPECT_TRUE(ExtractMethodCallResults(response.get(), nullptr, &fd_out)); 143 return fd_out;
|
/external/libevent/include/event2/ |
event.h | [all...] |
/frameworks/native/libs/vr/libpdx_uds/ |
remote_method_tests.cpp | 281 int GetFile(const std::string& path, int mode, LocalHandle* fd_out) { 283 InvokeRemoteMethodInPlace<TestInterface::GetFile>(fd_out, path, mode); 316 int PushChannel(LocalChannelHandle* fd_out) { 317 auto status = InvokeRemoteMethodInPlace<TestInterface::PushChannel>(fd_out); [all...] |