Home
last modified time | relevance | path

Searched refs:lseek (Results 1 – 25 of 28) sorted by relevance

12

/llvm-project-15.0.7/libc/test/src/unistd/
H A Dlseek_test.cpp36 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 DCMakeLists.txt33 libc.src.unistd.lseek
/llvm-project-15.0.7/libc/test/src/unistd/testdata/
H A DCMakeLists.txt4 file(GENERATE OUTPUT lseek.test CONTENT "lseek test")
/llvm-project-15.0.7/clang/test/Analysis/
H A Derrno-stdlibraryfunctions.c15 off_t lseek(int fildes, off_t offset, int whence);
31 off_t result = lseek(fildes, offset, 0); in errno_lseek()
H A Dstd-c-library-functions-POSIX.c203 off_t lseek(int fildes, off_t offset, int whence);
/llvm-project-15.0.7/libc/src/unistd/linux/
H A DCMakeLists.txt28 lseek
30 lseek.cpp
32 ../lseek.h
H A Dlseek.cpp20 LLVM_LIBC_FUNCTION(off_t, lseek, (int fd, off_t offset, int whence)) {
/llvm-project-15.0.7/libc/src/unistd/
H A DCMakeLists.txt20 lseek
23 .${LIBC_TARGET_OS}.lseek
H A Dlseek.h16 off_t lseek(int fd, off_t offset, int whence);
/llvm-project-15.0.7/llvm/test/CodeGen/Generic/
H A D2006-02-12-InsertLibcall.ll11 %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 DFile.cpp376 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 Dsanitizer_solaris.cpp189 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 Dsanitizer_linux.cpp806 return internal_syscall(SYSCALL(lseek), fd, offset, whence); in internal_lseek()
H A Dsanitizer_common_syscalls.inc1691 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 Dfile.cpp389 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 DHost.cpp416 Size = ::lseek(FD, 0, SEEK_END); in runAndGetCommandOutput()
418 ::lseek(FD, 0, SEEK_SET); in runAndGetCommandOutput()
H A DPath.cpp1375 lseek(FD, 0, SEEK_SET); in TEST_F()
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/symbolizer/scripts/
H A Dglobal_symbols.txt98 lseek U
/llvm-project-15.0.7/llvm/lib/Support/
H A Draw_ostream.cpp644 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 Dentrypoints.txt101 libc.src.unistd.lseek
/llvm-project-15.0.7/libc/spec/
H A Dposix.td275 "lseek",
/llvm-project-15.0.7/llvm/lib/Support/Unix/
H A DPath.inc998 // 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 Dlibfbsdvmcore-hacks.patch62 + if (lseek(kd->pmfd, pa, 0) == -1 && errno != 0) {
/llvm-project-15.0.7/libc/config/linux/x86_64/
H A Dentrypoints.txt106 libc.src.unistd.lseek
/llvm-project-15.0.7/compiler-rt/lib/dfsan/
H A Ddone_abilist.txt180 fun:lseek=discard

12