| /llvm-project-15.0.7/clang/test/Analysis/ |
| H A D | block-in-critical-section.cpp | 27 void fgets() {} in fgets() function 45 fgets(); // expected-warning {{Call to blocking function 'fgets' inside of critical section}} in testBlockInCriticalSectionWithStdMutex() 55 fgets(); // expected-warning {{Call to blocking function 'fgets' inside of critical section}} in testBlockInCriticalSectionWithPthreadMutex() 63 fgets(); // expected-warning {{Call to blocking function 'fgets' inside of critical section}} in testBlockInCriticalSectionWithPthreadMutex() 73 fgets(); // expected-warning {{Call to blocking function 'fgets' inside of critical section}} in testBlockInCriticalSectionC11Locks() 81 fgets(); // expected-warning {{Call to blocking function 'fgets' inside of critical section}} in testBlockInCriticalSectionC11Locks() 89 fgets(); // expected-warning {{Call to blocking function 'fgets' inside of critical section}} in testBlockInCriticalSectionC11Locks()
|
| H A D | taint-checker-callback-order-without-definition.c | 12 char *fgets(char *s, int n, FILE *fp); // no-definition 22 (void)fgets(buf, 42, fp); // Trigger taint propagation. in top()
|
| H A D | taint-checker-callback-order-has-definition.c | 14 char *fgets(char *s, int n, FILE *fp) { in fgets() function 27 (void)fgets(buf, 42, fp); // Trigger taint propagation. in top()
|
| /llvm-project-15.0.7/lldb/test/API/python_api/process/io/ |
| H A D | main.c | 6 if (fgets(line, sizeof(line), stdin)) { in main() 10 if (fgets(line, sizeof(line), stdin)) { in main() 14 if (fgets(line, sizeof(line), stdin)) { in main()
|
| /llvm-project-15.0.7/compiler-rt/test/sanitizer_common/TestCases/Posix/ |
| H A D | funopen.cpp | 61 assert(fgets(buf, sizeof(buf), fp)); in main() 76 assert(fgets(buf, sizeof(buf), fp)); in main() 86 assert(fgets(buf, sizeof(buf), fp)); in main()
|
| H A D | fgets.cpp | 11 char *s = fgets(buf, sizeof(buf), fp); in main()
|
| /llvm-project-15.0.7/lldb/test/API/commands/process/launch/ |
| H A D | main.cpp | 9 fgets (buffer, sizeof (buffer), stdin); in main() 13 fgets (buffer, sizeof (buffer), stdin); in main()
|
| /llvm-project-15.0.7/compiler-rt/test/sanitizer_common/TestCases/NetBSD/ |
| H A D | funopen2.cpp | 69 assert(fgets(buf, sizeof(buf), fp)); in main() 84 assert(fgets(buf, sizeof(buf), fp)); in main() 95 assert(fgets(buf, sizeof(buf), fp)); in main()
|
| /llvm-project-15.0.7/lldb/test/API/macosx/corefile-default-ptrauth/ |
| H A D | create-corefile.c | 49 while (fgets (buf, sizeof(buf), nm)) { in main() 67 while (fgets (buf, sizeof(buf), dwarfdump)) { in main()
|
| /llvm-project-15.0.7/lldb/test/API/commands/command/script/import/ |
| H A D | main.c | 10 while (fgets(line, sizeof(line), stdin)) { // Waiting to be attached... in main()
|
| /llvm-project-15.0.7/llvm/tools/llvm-c-test/ |
| H A D | helpers.c | 24 while (fgets(line, sizeof(line), stdin)) { in llvm_tokenize_stdin()
|
| /llvm-project-15.0.7/compiler-rt/test/msan/ |
| H A D | fgets_fputs.cpp | 14 if (!fgets(&c, 1, fp)) in test_fgets()
|
| /llvm-project-15.0.7/compiler-rt/test/asan/TestCases/Posix/ |
| H A D | fgets_fputs.cpp | 15 fgets(buf, sizeof(buf) + 1, fp); // BOOM in test_fgets()
|
| /llvm-project-15.0.7/llvm/test/Transforms/LoopRotate/ |
| H A D | preserve-mssa.ll | 33 %call1 = call i8* @fgets(i8* %call, i32 8192, i8* %f) 45 declare dso_local i8* @fgets(i8*, i32, i8* nocapture) local_unnamed_addr
|
| /llvm-project-15.0.7/compiler-rt/test/asan/TestCases/Linux/ |
| H A D | stack-overflow-sigbus.cpp | 53 while (fgets(a, sizeof a, f)) { in main()
|
| /llvm-project-15.0.7/compiler-rt/test/dfsan/ |
| H A D | release_shadow_space.c | 26 while (fgets(buf, sizeof(buf), f) != NULL) { in get_rss_kb()
|
| /llvm-project-15.0.7/libcxx/include/ |
| H A D | cstdio | 71 char* fgets(char* restrict s, int n, FILE* restrict stream); 127 using ::fgets _LIBCPP_USING_IF_EXISTS;
|
| /llvm-project-15.0.7/lldb/test/API/python_api/lldbutil/iter/ |
| H A D | main.cpp | 96 if (fgets (line, sizeof(line), stdin)) in main()
|
| /llvm-project-15.0.7/libc/docs/ |
| H A D | stdio.rst | 90 fgets
|
| /llvm-project-15.0.7/lldb/examples/scripting/ |
| H A D | dictionary.c | 149 while (!done && fgets(buffer, sizeof(buffer), stdin)) { in main()
|
| /llvm-project-15.0.7/compiler-rt/lib/fuzzer/ |
| H A D | FuzzerUtilPosix.cpp | 100 while (fgets(TmpBuffer, sizeof(TmpBuffer), Pipe)) in ExecuteCommand()
|
| H A D | FuzzerUtilWindows.cpp | 179 while (fgets(TmpBuffer, sizeof(TmpBuffer), Pipe)) in ExecuteCommand()
|
| /llvm-project-15.0.7/llvm/test/CodeGen/X86/ |
| H A D | postra-licm.ll | 82 %2 = call ptr @fgets(ptr undef, i32 50, ptr %0) nounwind ; <ptr> [#uses=0] 138 declare ptr @fgets(ptr, i32, ptr nocapture) nounwind
|
| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/cert/ |
| H A D | err33-c.rst | 32 * fgets()
|
| /llvm-project-15.0.7/lldb/source/Host/linux/ |
| H A D | HostInfoLinux.cpp | 116 if (fgets(distribution_id, sizeof(distribution_id) - 1, file) != in GetDistributionId()
|