/external/ltp/include/lapi/ |
tee.h | 27 ssize_t tee(int fd_in, int fd_out, size_t len, unsigned int flags) 29 return tst_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 | 44 const long int fd_out = (long int) 0xdeadbeeffffffffe; local 53 fd_in, off_in, fd_out, off_out, len, flags); 56 (int) fd_in, *off_in, (int) fd_out, *off_out, len, flags,
|
splice.c | 43 const long int fd_out = (long int) 0xdeadbeeffffffffeULL; local 52 fd_in, off_in, fd_out, off_out, len, flags); 54 (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 | 44 const long int fd_out = (long int) 0xdeadbeeffffffffe; local 53 fd_in, off_in, fd_out, off_out, len, flags); 56 (int) fd_in, *off_in, (int) fd_out, *off_out, len, flags,
|
splice.c | 43 const long int fd_out = (long int) 0xdeadbeeffffffffeULL; local 52 fd_in, off_in, fd_out, off_out, len, flags); 54 (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 | 44 const long int fd_out = (long int) 0xdeadbeeffffffffe; local 53 fd_in, off_in, fd_out, off_out, len, flags); 56 (int) fd_in, *off_in, (int) fd_out, *off_out, len, flags,
|
splice.c | 43 const long int fd_out = (long int) 0xdeadbeeffffffffeULL; local 52 fd_in, off_in, fd_out, off_out, len, flags); 54 (int) fd_in, *off_in, (int) fd_out, *off_out, len,
|
/external/ltp/testcases/kernel/syscalls/vmsplice/ |
vmsplice01.c | 45 static int fd_out; variable 53 fd_out = SAFE_OPEN(TESTFILE, O_RDONLY); 54 SAFE_READ(1, fd_out, vmsplicebuffer, TEST_BLOCK_SIZE); 66 SAFE_CLOSE(fd_out); 74 int fd_out; local 81 fd_out = SAFE_OPEN(TESTFILE, O_WRONLY | O_CREAT | O_TRUNC, 0644); 108 ret = splice(pipes[0], NULL, fd_out, &offset, written, 0); 116 SAFE_CLOSE(fd_out); 136 if (fd_out > 0) 137 SAFE_CLOSE(fd_out); [all...] |
/external/ltp/testcases/kernel/syscalls/splice/ |
splice01.c | 43 static int fd_in, fd_out; variable 50 fd_out = SAFE_OPEN(TESTFILE2, O_RDONLY); 51 SAFE_READ(1, fd_out, splicebuffer, TEST_BLOCK_SIZE); 63 SAFE_CLOSE(fd_out); 72 fd_out = SAFE_OPEN(TESTFILE2, O_WRONLY | O_CREAT | O_TRUNC, 0666); 79 ret = splice(pipes[0], NULL, fd_out, NULL, TEST_BLOCK_SIZE, 0); 81 tst_brk(TBROK | TERRNO, "splice(pipe, fd_out) failed"); 84 SAFE_CLOSE(fd_out); 114 if (fd_out > 0) 115 SAFE_CLOSE(fd_out); [all...] |
/external/ltp/testcases/kernel/syscalls/tee/ |
tee01.c | 45 static int fd_in, fd_out; variable 53 fd_out = SAFE_OPEN(TESTFILE2, O_RDONLY); 54 SAFE_READ(1, fd_out, teebuffer, TEST_BLOCK_SIZE); 66 SAFE_CLOSE(fd_out); 76 fd_out = SAFE_OPEN(TESTFILE2, O_WRONLY | O_CREAT | O_TRUNC, 0777); 89 ret = splice(pipe2[0], NULL, fd_out, NULL, TEST_BLOCK_SIZE, 0); 91 tst_brk(TBROK | TERRNO, "splice(pipe2, fd_out) failed"); 97 SAFE_CLOSE(fd_out); 126 if (fd_out > 0) 127 SAFE_CLOSE(fd_out); [all...] |
/device/generic/goldfish-opengl/system/egl/ |
goldfish_sync.h | 58 int* fd_out) { 77 if (fd_out) *fd_out = info.fence_fd_out;
|
egl.cpp | 447 int* fd_out) { 469 fd_out); 472 *fd_out, queue_work_err); 484 static void createGoldfishOpenGLNativeSync(int* fd_out) { 491 fd_out); [all...] |
/external/ltp/testcases/kernel/syscalls/copy_file_range/ |
copy_file_range01.c | 146 int fd_in, fd_out, ret; local 170 fd_out = SAFE_OPEN(TEST_FILE_2, O_CREAT | O_WRONLY | O_TRUNC, 0644); 177 TEST(tst_syscall(__NR_copy_file_range, fd_in, off_in, fd_out, 182 SAFE_CLOSE(fd_out); 195 ret |= check_file_offset("(out)", fd_out, len, off_out_ori, off_out); 201 SAFE_CLOSE(fd_out);
|
/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)
|
/external/libbrillo/brillo/dbus/ |
dbus_method_invoker_unittest.cc | 141 base::ScopedFD fd_out; local 143 EXPECT_TRUE(ExtractMethodCallResults(response.get(), nullptr, &fd_out)); 144 return fd_out;
|
/external/libchrome/base/files/ |
file_util_posix.cc | 371 ScopedFD fd_out(raw_fds[0]); 373 if (!SetCloseOnExec(fd_out.get())) 377 if (!SetNonBlocking(fd_out.get())) 381 fds[0] = fd_out.release();
|
/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);
|
/external/compiler-rt/include/sanitizer/ |
linux_syscall_hooks.h | [all...] |
/prebuilts/clang/host/darwin-x86/clang-3289846/lib64/clang/3.8/include/sanitizer/ |
linux_syscall_hooks.h | [all...] |