| /llvm-project-15.0.7/libc/src/unistd/linux/ |
| H A D | lseek.cpp | 20 LLVM_LIBC_FUNCTION(off_t, lseek, (int fd, off_t offset, int whence)) { 23 long ret = __llvm_libc::syscall(SYS_lseek, fd, offset, whence); 27 whence);
|
| /llvm-project-15.0.7/libc/src/stdio/ |
| H A D | fseek.cpp | 16 LLVM_LIBC_FUNCTION(int, fseek, (::FILE * stream, long offset, int whence)) { 17 return reinterpret_cast<__llvm_libc::File *>(stream)->seek(offset, whence);
|
| H A D | fopencookie.cpp | 42 int seek_func(File *f, long offset, int whence) { in seek_func() argument 49 return cookie_file->ops.seek(cookie_file->cookie, &offset64, whence); in seek_func()
|
| H A D | fseek.h | 16 int fseek(::FILE *stream, long offset, int whence);
|
| /llvm-project-15.0.7/compiler-rt/test/sanitizer_common/TestCases/Posix/ |
| H A D | funopen.cpp | 39 off_t f_seek(void *cookie, off_t off, int whence) { in f_seek() argument 41 assert(whence == SEEK_SET); in f_seek() 42 printf("SEEK CALLED; off=%d, whence=%d\n", (int)off, whence); in f_seek()
|
| /llvm-project-15.0.7/compiler-rt/test/sanitizer_common/TestCases/NetBSD/ |
| H A D | funopen2.cpp | 41 off_t f_seek(void *cookie, off_t off, int whence) { in f_seek() argument 43 assert(whence == SEEK_SET); in f_seek() 44 printf("SEEK CALLED; off=%d, whence=%d\n", (int)off, whence); in f_seek()
|
| /llvm-project-15.0.7/libc/src/__support/File/ |
| H A D | linux_file.cpp | 74 int seek_func(File *f, long offset, int whence) { in seek_func() argument 77 long ret = __llvm_libc::syscall(SYS_lseek, lf->get_fd(), offset, whence); in seek_func() 81 offset, &result, whence); in seek_func()
|
| H A D | file.cpp | 235 int File::seek(long offset, int whence) { in seek() argument 243 } else if (prev_op == FileOp::READ && whence == SEEK_CUR) { in seek() 254 return platform_seek(this, offset, whence); in seek()
|
| H A D | file.h | 179 int seek(long offset, int whence);
|
| /llvm-project-15.0.7/libc/test/src/stdio/ |
| H A D | fopencookie_test.cpp | 60 int seek_ss(void *cookie, off64_t *offset, int whence) { in seek_ss() argument 63 if (whence == SEEK_SET) { in seek_ss() 65 } else if (whence == SEEK_CUR) { in seek_ss() 67 } else if (whence == SEEK_END) { in seek_ss()
|
| /llvm-project-15.0.7/libc/src/unistd/ |
| H A D | lseek.h | 16 off_t lseek(int fd, off_t offset, int whence);
|
| /llvm-project-15.0.7/clang/test/Analysis/ |
| H A D | stream.c | 159 void pr8081(FILE *stream, long offset, int whence) { in pr8081() argument 160 fseek(stream, offset, whence); in pr8081()
|
| H A D | errno-stdlibraryfunctions.c | 15 off_t lseek(int fildes, off_t offset, int whence);
|
| H A D | std-c-library-functions-POSIX.c | 197 int fseeko(FILE *stream, off_t offset, int whence); 203 off_t lseek(int fildes, off_t offset, int whence);
|
| /llvm-project-15.0.7/libc/test/src/__support/File/ |
| H A D | file_test.cpp | 29 static int str_seek(__llvm_libc::File *f, long offset, int whence); 97 int StringFile::str_seek(__llvm_libc::File *f, long offset, int whence) { in str_seek() argument 99 if (whence == SEEK_SET) in str_seek() 101 if (whence == SEEK_CUR) in str_seek() 103 if (whence == SEEK_END) in str_seek()
|
| /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_netbsd.cpp | 286 uptr internal_lseek(fd_t fd, OFF_T offset, int whence) { in internal_lseek() argument 288 return __lseek(fd, 0, offset, whence); in internal_lseek()
|
| H A D | sanitizer_posix.h | 57 uptr internal_lseek(fd_t fd, OFF_T offset, int whence);
|
| /llvm-project-15.0.7/lldb/examples/python/ |
| H A D | file_extract.py | 37 def seek(self, offset, whence=0): argument 39 return self.file.seek(offset, whence)
|
| /llvm-project-15.0.7/compiler-rt/lib/hwasan/ |
| H A D | hwasan_report.cpp | 306 const char *whence; in ShowHeapOrGlobalCandidate() local 309 whence = "inside"; in ShowHeapOrGlobalCandidate() 312 whence = "to the right of"; in ShowHeapOrGlobalCandidate() 315 whence = "to the left of"; in ShowHeapOrGlobalCandidate() 322 untagged_addr, offset, whence, chunk.UsedSize(), chunk.Beg(), in ShowHeapOrGlobalCandidate()
|
| /llvm-project-15.0.7/compiler-rt/test/msan/Linux/ |
| H A D | fopencookie.cpp | 28 static int cookie_seek(void *cookie, off64_t *offset, int whence) { in cookie_seek() argument
|
| /llvm-project-15.0.7/bolt/runtime/ |
| H A D | common.h | 360 uint64_t __lseek(uint64_t fd, uint64_t pos, uint64_t whence) { in __lseek() argument 365 : "D"(fd), "S"(pos), "d"(whence) in __lseek()
|
| /llvm-project-15.0.7/libcxx/include/ |
| H A D | cstdio | 86 int fseek(FILE* stream, long offset, int whence);
|
| /llvm-project-15.0.7/compiler-rt/include/sanitizer/ |
| H A D | netbsd_syscall_hooks.h | 129 #define __sanitizer_syscall_pre_compat_43_olseek(fd, offset, whence) \ argument 131 (long long)(fd), (long long)(offset), (long long)(whence)) 132 #define __sanitizer_syscall_post_compat_43_olseek(res, fd, offset, whence) \ argument 134 res, (long long)(fd), (long long)(offset), (long long)(whence)) 1064 #define __sanitizer_syscall_pre_lseek(fd, PAD, offset, whence) \ argument 1066 (long long)(offset), (long long)(whence)) 1070 (long long)(whence)) 2944 long long whence); 2947 long long whence); 3658 long long offset, long long whence); [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/Analysis/ |
| H A D | TargetLibraryInfo.def | 859 /// int fseek(FILE *stream, long offset, int whence); 862 /// int fseeko(FILE *stream, off_t offset, int whence); 865 /// int fseeko64(FILE *stream, off64_t offset, int whence)
|