| /llvm-project-15.0.7/compiler-rt/test/asan/TestCases/Posix/ |
| H A D | asan-sigbus.cpp | 39 assert(ftruncate(fd, 0) == 0); in main()
|
| /llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_solaris.cpp | 114 DECLARE__REAL_AND_INTERNAL(uptr, ftruncate, fd_t fd, uptr size) { in DECLARE__REAL_AND_INTERNAL() argument 115 return ftruncate(fd, size); in DECLARE__REAL_AND_INTERNAL()
|
| H A D | sanitizer_mac.cpp | 374 return ftruncate(fd, size); in internal_ftruncate()
|
| H A D | sanitizer_linux.cpp | 275 HANDLE_EINTR(res, (sptr)internal_syscall(SYSCALL(ftruncate), fd, in internal_ftruncate()
|
| H A D | sanitizer_common_syscalls.inc | 883 PRE_SYSCALL(ftruncate)(long fd, long length) {} 885 POST_SYSCALL(ftruncate)(long res, long fd, long length) {}
|
| H A D | sanitizer_syscalls_netbsd.inc | 1576 PRE_SYSCALL(ftruncate)(long long fd_, long long PAD_, long long length_) { 1579 POST_SYSCALL(ftruncate)
|
| /llvm-project-15.0.7/compiler-rt/test/profile/ContinuousSyncMode/ |
| H A D | darwin-proof-of-concept.c | 42 if (0 != ftruncate(fd, cnts_len + data_len)) { in create_tmpfile()
|
| /llvm-project-15.0.7/compiler-rt/lib/profile/ |
| H A D | InstrProfilingPort.h | 33 #define COMPILER_RT_FTRUNCATE(f, l) ftruncate(fileno(f), l)
|
| /llvm-project-15.0.7/libcxx/test/support/ |
| H A D | filesystem_test_helper.h | 37 inline int ftruncate(int fd, off_t length) { return ::_chsize(fd, length); } in ftruncate() function 74 using ::ftruncate; 191 auto large_file_ftruncate = utils::ftruncate;
|
| /llvm-project-15.0.7/libcxx/src/filesystem/ |
| H A D | posix_compat.h | 287 int ftruncate(int fd, off_t length) { in ftruncate() function 495 using ::ftruncate;
|
| H A D | operations.cpp | 603 if (detail::ftruncate(fd.fd, to_size) == -1) { in posix_ftruncate()
|
| /llvm-project-15.0.7/llvm/lib/ExecutionEngine/Orc/TargetProcess/ |
| H A D | ExecutorSharedMemoryMapperService.cpp | 73 if (ftruncate(SharedMemoryFile, Size) < 0) in reserve()
|
| /llvm-project-15.0.7/flang/runtime/ |
| H A D | file.cpp | 252 return ::ftruncate(fd, at); in openfile_ftruncate()
|
| /llvm-project-15.0.7/llvm/lib/Support/Unix/ |
| H A D | Path.inc | 595 // Use ftruncate as a fallback. It may or may not allocate space. At least on 597 if (::ftruncate(FD, Size) == -1)
|
| /llvm-project-15.0.7/compiler-rt/lib/dfsan/ |
| H A D | libc_ubuntu1404_abilist.txt | 1800 fun:ftruncate=uninstrumented
|
| /llvm-project-15.0.7/openmp/runtime/src/ |
| H A D | kmp_runtime.cpp | 6735 if (ftruncate(fd1, SHM_SIZE) == -1) { in __kmp_register_library_startup()
|