Home
last modified time | relevance | path

Searched refs:SEEK_SET (Results 1 – 25 of 39) sorted by relevance

12

/llvm-project-15.0.7/compiler-rt/test/sanitizer_common/TestCases/Posix/
H A Dfseek.cpp15 int rv = fseek(fp, 10, SEEK_SET); in main()
24 rv = fseeko(fp, 15, SEEK_SET); in main()
H A Dfunopen.cpp41 assert(whence == SEEK_SET); in f_seek()
85 assert(fseek(fp, 100, SEEK_SET) == 0); in main()
/llvm-project-15.0.7/libc/test/src/stdio/
H A Dfopencookie_test.cpp63 if (whence == SEEK_SET) { in seek_ss()
113 ASSERT_EQ(0, __llvm_libc::fseek(f, 0, SEEK_SET)); in TEST()
145 ASSERT_EQ(0, __llvm_libc::fseek(f, 0, SEEK_SET)); in TEST()
214 ASSERT_EQ(__llvm_libc::fseek(f, 0, SEEK_SET), 0); in TEST()
239 ASSERT_EQ(__llvm_libc::fseek(f, 0, SEEK_SET), 0); in TEST()
H A Dfileop_test.cpp88 ASSERT_EQ(__llvm_libc::fseek(file, 0, SEEK_SET), 0); in TEST()
/llvm-project-15.0.7/compiler-rt/test/msan/Linux/
H A Dfopencookie.cpp54 fseek(f, 100, SEEK_SET); in main()
61 fseek(f, 100, SEEK_SET); in main()
/llvm-project-15.0.7/lldb/test/API/macosx/lc-note/kern-ver-str/
H A Dcreate-empty-corefile.cpp169 ::fseeko (f, 0, SEEK_SET); in get_uuid_from_binary()
213 ::fseeko (f, file_offset, SEEK_SET); in get_uuid_from_binary()
221 ::fseeko (f, file_offset, SEEK_SET); in get_uuid_from_binary()
310 fseek (f, header_and_load_cmd_room, SEEK_SET); in main()
/llvm-project-15.0.7/clang/test/Analysis/
H A Dstream-error.c143 int rc = fseek(F, 0, SEEK_SET); in error_fseek()
175 int rc = fseek(F, 0, SEEK_SET); in error_indeterminate()
193 int rc = fseek(F, 0, SEEK_SET); in error_indeterminate_clearerr()
H A Dstream.c84 fseek(p, 1, SEEK_SET); // no-warning in f_seek()
/llvm-project-15.0.7/compiler-rt/test/sanitizer_common/TestCases/NetBSD/
H A Dfunopen2.cpp43 assert(whence == SEEK_SET); in f_seek()
94 assert(fseek(fp, 100, SEEK_SET) == 0); in main()
/llvm-project-15.0.7/lldb/test/API/macosx/lc-note/firmware-corefile/
H A Dcreate-empty-corefile.cpp216 ::fseeko(f, 0, SEEK_SET); in get_uuid_from_binary()
260 ::fseeko(f, file_offset, SEEK_SET); in get_uuid_from_binary()
267 ::fseeko(f, file_offset, SEEK_SET); in get_uuid_from_binary()
387 fseek(f, header_and_load_cmd_room, SEEK_SET); in main()
/llvm-project-15.0.7/libc/test/src/__support/File/
H A Dfile_test.cpp99 if (whence == SEEK_SET) in str_seek()
263 f->seek(0, SEEK_SET); in TEST()
336 ASSERT_EQ(f->seek(0, SEEK_SET), 0); in TEST()
367 ASSERT_EQ(f->seek(0, SEEK_SET), 0); in TEST()
394 ASSERT_EQ(f->seek(0, SEEK_SET), 0); in TEST()
411 ASSERT_EQ(f->seek(0, SEEK_SET), 0); in TEST()
H A Dplatform_file_test.cpp45 ASSERT_EQ(file->seek(0, SEEK_SET), 0); in TEST()
/llvm-project-15.0.7/libc/include/llvm-libc-macros/
H A Dfile-seek-macros.h12 #define SEEK_SET 0 macro
/llvm-project-15.0.7/compiler-rt/lib/fuzzer/standalone/
H A DStandaloneFuzzTargetMain.c32 fseek(f, 0, SEEK_SET); in main()
/llvm-project-15.0.7/compiler-rt/test/profile/Linux/
H A Dinstrprof-merge-vp.c74 fseek(File, 0, SEEK_SET); in main()
/llvm-project-15.0.7/libcxx/test/std/depr/depr.c.headers/
H A Dstdio_h.pass.cpp67 #ifndef SEEK_SET
68 #error SEEK_SET not defined
/llvm-project-15.0.7/compiler-rt/lib/profile/
H A DInstrProfilingUtil.c140 s_flock.l_whence = SEEK_SET; in lprofLockFd()
165 s_flock.l_whence = SEEK_SET; in lprofUnlockFd()
/llvm-project-15.0.7/lldb/source/Host/posix/
H A DLockFilePosix.cpp24 fl.l_whence = SEEK_SET; in fileLock()
/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()
/llvm-project-15.0.7/libcxx/test/std/input.output/file.streams/c.files/
H A Dcstdio.pass.cpp48 #ifndef SEEK_SET
49 #error SEEK_SET not defined
/llvm-project-15.0.7/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.copy_file/
H A Dcopy_file_large.pass.cpp78 TEST_REQUIRE(std::fseek(dest_file, sendfile_size_limit, SEEK_SET) == 0); in TEST_CASE()
/llvm-project-15.0.7/flang/runtime/
H A Dfile.cpp387 return ::lseek64(fd_, at, SEEK_SET) == at; in RawSeek()
389 return ::lseek(fd_, at, SEEK_SET) == at; in RawSeek()
/llvm-project-15.0.7/clang/test/Analysis/Inputs/
H A Dsystem-header-simulator.h18 #define SEEK_SET 0 /* Seek from beginning of file. */ macro
/llvm-project-15.0.7/compiler-rt/lib/fuzzer/dataflow/
H A DDataFlow.cpp169 fseek(In, 0, SEEK_SET); in main()
/llvm-project-15.0.7/llvm/lib/Support/
H A Draw_ostream.cpp806 pos = ::_lseeki64(FD, off, SEEK_SET); in seek()
808 pos = ::lseek64(FD, off, SEEK_SET); in seek()
810 pos = ::lseek(FD, off, SEEK_SET); in seek()

12