| /llvm-project-15.0.7/libc/test/src/unistd/ |
| H A D | lseek_test.cpp | 36 ASSERT_THAT(__llvm_libc::lseek(fd, 0, SEEK_SET), Succeeds(0)); in TEST() 43 ASSERT_THAT(__llvm_libc::lseek(fd, -LSEEK_TEST_SIZE, SEEK_END), Succeeds(0)); in TEST() 59 EXPECT_THAT(__llvm_libc::lseek(fd, -1, SEEK_CUR), Fails(EINVAL)); in TEST()
|
| H A D | CMakeLists.txt | 33 libc.src.unistd.lseek
|
| /llvm-project-15.0.7/libc/test/src/unistd/testdata/ |
| H A D | CMakeLists.txt | 4 file(GENERATE OUTPUT lseek.test CONTENT "lseek test")
|
| /llvm-project-15.0.7/clang/test/Analysis/ |
| H A D | errno-stdlibraryfunctions.c | 15 off_t lseek(int fildes, off_t offset, int whence); 31 off_t result = lseek(fildes, offset, 0); in errno_lseek()
|
| H A D | std-c-library-functions-POSIX.c | 203 off_t lseek(int fildes, off_t offset, int whence);
|
| /llvm-project-15.0.7/libc/src/unistd/linux/ |
| H A D | CMakeLists.txt | 28 lseek 30 lseek.cpp 32 ../lseek.h
|
| H A D | lseek.cpp | 20 LLVM_LIBC_FUNCTION(off_t, lseek, (int fd, off_t offset, int whence)) {
|
| /llvm-project-15.0.7/libc/src/unistd/ |
| H A D | CMakeLists.txt | 20 lseek 23 .${LIBC_TARGET_OS}.lseek
|
| H A D | lseek.h | 16 off_t lseek(int fd, off_t offset, int whence);
|
| /llvm-project-15.0.7/llvm/test/CodeGen/Generic/ |
| H A D | 2006-02-12-InsertLibcall.ll | 11 %tmp.111.i = call i64 @lseek( i32 0, i64 %tmp.114.i, i32 1 ) ; <i64> [#uses=0] 60 declare i64 @lseek(i32, i64, i32)
|
| /llvm-project-15.0.7/lldb/source/Host/common/ |
| H A D | File.cpp | 376 result = ::lseek(m_descriptor, offset, SEEK_SET); in SeekFromStart() 402 result = ::lseek(m_descriptor, offset, SEEK_CUR); in SeekFromCurrent() 428 result = ::lseek(m_descriptor, offset, SEEK_END); in SeekFromEnd() 657 long cur = ::lseek(m_descriptor, 0, SEEK_CUR); in Read() 713 long cur = ::lseek(m_descriptor, 0, SEEK_CUR); in Write() 716 long after = ::lseek(m_descriptor, 0, SEEK_CUR); in Write()
|
| /llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_solaris.cpp | 189 DECLARE__REAL_AND_INTERNAL64(uptr, lseek, fd_t fd, OFF_T offset, int whence) { in DECLARE__REAL_AND_INTERNAL64() argument 190 return _REAL64(lseek)(fd, offset, whence); in DECLARE__REAL_AND_INTERNAL64()
|
| H A D | sanitizer_linux.cpp | 806 return internal_syscall(SYSCALL(lseek), fd, offset, whence); in internal_lseek()
|
| H A D | sanitizer_common_syscalls.inc | 1691 PRE_SYSCALL(lseek)(long fd, long offset, long origin) {} 1693 POST_SYSCALL(lseek)(long res, long fd, long offset, long origin) {}
|
| /llvm-project-15.0.7/flang/runtime/ |
| H A D | file.cpp | 389 return ::lseek(fd_, at, SEEK_SET) == at; in RawSeek() 397 std::int64_t at{::lseek(fd_, 0, SEEK_END)}; in RawSeekToEnd()
|
| /llvm-project-15.0.7/llvm/unittests/Support/ |
| H A D | Host.cpp | 416 Size = ::lseek(FD, 0, SEEK_END); in runAndGetCommandOutput() 418 ::lseek(FD, 0, SEEK_SET); in runAndGetCommandOutput()
|
| H A D | Path.cpp | 1375 lseek(FD, 0, SEEK_SET); in TEST_F()
|
| /llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/symbolizer/scripts/ |
| H A D | global_symbols.txt | 98 lseek U
|
| /llvm-project-15.0.7/llvm/lib/Support/ |
| H A D | raw_ostream.cpp | 644 off_t loc = ::lseek(FD, 0, SEEK_CUR); in raw_fd_ostream() 810 pos = ::lseek(FD, off, SEEK_SET); in seek()
|
| /llvm-project-15.0.7/libc/config/linux/aarch64/ |
| H A D | entrypoints.txt | 101 libc.src.unistd.lseek
|
| /llvm-project-15.0.7/libc/spec/ |
| H A D | posix.td | 275 "lseek",
|
| /llvm-project-15.0.7/llvm/lib/Support/Unix/ |
| H A D | Path.inc | 998 // calling write(). Instead we need to use lseek() to set offset to EOF after 1084 * calling write(). Instead we need to use lseek() to set offset to EOF after 1087 if ((Flags & OF_Append) && lseek(ResultFD, 0, SEEK_END) == -1) 1207 if (lseek(FD, Offset, SEEK_SET) == -1)
|
| /llvm-project-15.0.7/lldb/test/API/functionalities/postmortem/FreeBSDKernel/tools/ |
| H A D | libfbsdvmcore-hacks.patch | 62 + if (lseek(kd->pmfd, pa, 0) == -1 && errno != 0) {
|
| /llvm-project-15.0.7/libc/config/linux/x86_64/ |
| H A D | entrypoints.txt | 106 libc.src.unistd.lseek
|
| /llvm-project-15.0.7/compiler-rt/lib/dfsan/ |
| H A D | done_abilist.txt | 180 fun:lseek=discard
|