Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/test/Analysis/
H A Dstream.c6 FILE *fp = tmpfile(); in check_fread()
12 FILE *fp = tmpfile(); in check_fwrite()
18 FILE *fp = tmpfile(); in check_fseek()
24 FILE *fp = tmpfile(); in check_ftell()
30 FILE *fp = tmpfile(); in check_rewind()
36 FILE *fp = tmpfile(); in check_fgetpos()
43 FILE *fp = tmpfile(); in check_fsetpos()
50 FILE *fp = tmpfile(); in check_clearerr()
56 FILE *fp = tmpfile(); in check_feof()
62 FILE *fp = tmpfile(); in check_ferror()
[all …]
H A Dstream-note.c6 FILE *F1 = tmpfile(); // expected-note {{Stream opened here}} in check_note_at_correct_open()
11 FILE *F2 = tmpfile(); in check_note_at_correct_open()
H A Dstream-error.c62 FILE *F = tmpfile(); in error_fread()
87 FILE *F = tmpfile(); in error_fwrite()
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_libc_test.cpp117 char tmpfile[128]; in TEST() local
118 temp_file_name(tmpfile, sizeof(tmpfile), "sanitizer_common.fileops.tmp."); in TEST()
174 Unlink(tmpfile); in TEST()
316 char tmpfile[128]; in TEST() local
317 temp_file_name(tmpfile, sizeof(tmpfile), in TEST()
347 char tmpfile[128]; in TEST() local
348 temp_file_name(tmpfile, sizeof(tmpfile), in TEST()
352 EXPECT_EQ(internal_strncmp(tmpfile, path, strlen(tmpfile)), 0); in TEST()
355 Unlink(tmpfile); in TEST()
359 char tmpfile[128]; in TEST() local
[all …]
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/
H A Downing-memory-legacy-functions.cpp22 FILE *tmpfile(void);
35 using ::tmpfile;
121 FILE *File7 = tmpfile(); in test_resource_creators()
123 gsl::owner<FILE *> File8 = tmpfile(); // Ok in test_resource_creators()
189 FILE *TmpFile = tmpfile(); in test_legacy_consumers()
/llvm-project-15.0.7/mlir/utils/clang-tidy/
H A Dapply-clang-tidy.sh55 tmpfile=$(mktemp /tmp/mhlo-temp-checks.XXXXXX)
77 | grep "warning:.*\]$" | sed -r 's#.*\[(.*)]$#\1#' | sort -u > $tmpfile
85 cat $tmpfile | while read check ; do
/llvm-project-15.0.7/clang/utils/
H A Dcreduce-clang-crash.py225 with tempfile.NamedTemporaryFile() as tmpfile:
226 cmd_preprocess = self.get_crash_cmd() + ['-E', '-o', tmpfile.name]
230 if self.check_expected_output(filename=tmpfile.name):
232 shutil.copy(tmpfile.name, self.file_to_reduce)
235 if self.check_expected_output(filename=tmpfile.name):
237 shutil.copy(tmpfile.name, self.file_to_reduce)
/llvm-project-15.0.7/libcxx/include/
H A Dcstdio46 FILE* tmpfile(void);
153 using ::tmpfile _LIBCPP_USING_IF_EXISTS;
/llvm-project-15.0.7/libc/docs/
H A Dstdio.rst58 tmpfile
/llvm-project-15.0.7/clang/test/Analysis/Inputs/
H A Dsystem-header-simulator.h46 FILE *tmpfile(void);
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/cert/
H A Derr33-c.rst126 * tmpfile()
/llvm-project-15.0.7/libcxx/test/std/depr/depr.c.headers/
H A Dstdio_h.pass.cpp120 static_assert((std::is_same<decltype(tmpfile()), FILE*>::value), ""); in main()
/llvm-project-15.0.7/libcxx/test/std/input.output/file.streams/c.files/
H A Dcstdio.pass.cpp147 static_assert((std::is_same<decltype(std::tmpfile()), std::FILE*>::value), ""); in main()
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/
H A Downing-memory.rst90 Defaults to ``::malloc;::aligned_alloc;::realloc;::calloc;::fopen;::freopen;::tmpfile``.
/llvm-project-15.0.7/llvm/test/Transforms/InferFunctionAttrs/
H A Dno-proto.ll918 ; CHECK: declare void @tmpfile(...)
919 declare void @tmpfile(...)
H A Dannotate.ll1006 ; CHECK: declare noalias noundef %opaque* @tmpfile() [[NOFREE_NOUNWIND]]
1007 declare %opaque* @tmpfile()
/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl-old/
H A Dtsan_interceptors_posix.cpp1825 TSAN_INTERCEPTOR(void*, tmpfile, int fake) { in TSAN_INTERCEPTOR() argument
1826 SCOPED_TSAN_INTERCEPTOR(tmpfile, fake); in TSAN_INTERCEPTOR()
1827 void *res = REAL(tmpfile)(fake); in TSAN_INTERCEPTOR()
2881 TSAN_INTERCEPT(tmpfile); in InitializeInterceptors()
/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/
H A Dtsan_interceptors_posix.cpp1825 TSAN_INTERCEPTOR(void*, tmpfile, int fake) { in TSAN_INTERCEPTOR() argument
1826 SCOPED_TSAN_INTERCEPTOR(tmpfile, fake); in TSAN_INTERCEPTOR()
1827 void *res = REAL(tmpfile)(fake); in TSAN_INTERCEPTOR()
2907 TSAN_INTERCEPT(tmpfile); in InitializeInterceptors()
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DTargetLibraryInfo.def1396 /// FILE *tmpfile(void);
1397 TLI_DEFINE_ENUM_INTERNAL(tmpfile)
1398 TLI_DEFINE_STRING_INTERNAL("tmpfile")
/llvm-project-15.0.7/compiler-rt/lib/msan/tests/
H A Dmsan_test.cpp2303 snprintf(tmpfile, sizeof(tmpfile), "/tmp/msan.getmntent.tmp.XXXXXX"); in Create()
2305 fd = mkstemp(tmpfile); in Create()
2320 return tmpfile; in FileName()
2324 char tmpfile[128]; member in TempFstabFile
/llvm-project-15.0.7/lldb/source/Plugins/ScriptInterpreter/Python/
H A DPythonDataObjects.cpp134 FILE *file = llvm::sys::RetryAfterSignal(nullptr, ::tmpfile); in Dump()
/llvm-project-15.0.7/clang/docs/analyzer/
H A Dcheckers.rst2660 Check stream handling functions: ``fopen, tmpfile, fclose, fread, fwrite, fseek, ftell, rewind, fge…
2692 FILE *p = tmpfile();
/llvm-project-15.0.7/clang/include/clang/Tooling/Inclusions/
H A DCSymbolMap.inc821 SYMBOL(tmpfile, None, <stdio.h>)
H A DStdSymbolMap.inc1134 SYMBOL(tmpfile, std::, <cstdio>)
/llvm-project-15.0.7/compiler-rt/lib/dfsan/
H A Dlibc_ubuntu1404_abilist.txt3147 fun:tmpfile=uninstrumented