Home
last modified time | relevance | path

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

123

/llvm-project-15.0.7/clang/test/Analysis/
H A Dblock-in-critical-section.cpp27 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 Dtaint-checker-callback-order-without-definition.c12 char *fgets(char *s, int n, FILE *fp); // no-definition
22 (void)fgets(buf, 42, fp); // Trigger taint propagation. in top()
H A Dtaint-checker-callback-order-has-definition.c14 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 Dmain.c6 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 Dfunopen.cpp61 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 Dfgets.cpp11 char *s = fgets(buf, sizeof(buf), fp); in main()
/llvm-project-15.0.7/lldb/test/API/commands/process/launch/
H A Dmain.cpp9 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 Dfunopen2.cpp69 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 Dcreate-corefile.c49 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 Dmain.c10 while (fgets(line, sizeof(line), stdin)) { // Waiting to be attached... in main()
/llvm-project-15.0.7/llvm/tools/llvm-c-test/
H A Dhelpers.c24 while (fgets(line, sizeof(line), stdin)) { in llvm_tokenize_stdin()
/llvm-project-15.0.7/compiler-rt/test/msan/
H A Dfgets_fputs.cpp14 if (!fgets(&c, 1, fp)) in test_fgets()
/llvm-project-15.0.7/compiler-rt/test/asan/TestCases/Posix/
H A Dfgets_fputs.cpp15 fgets(buf, sizeof(buf) + 1, fp); // BOOM in test_fgets()
/llvm-project-15.0.7/llvm/test/Transforms/LoopRotate/
H A Dpreserve-mssa.ll33 %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 Dstack-overflow-sigbus.cpp53 while (fgets(a, sizeof a, f)) { in main()
/llvm-project-15.0.7/compiler-rt/test/dfsan/
H A Drelease_shadow_space.c26 while (fgets(buf, sizeof(buf), f) != NULL) { in get_rss_kb()
/llvm-project-15.0.7/libcxx/include/
H A Dcstdio71 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 Dmain.cpp96 if (fgets (line, sizeof(line), stdin)) in main()
/llvm-project-15.0.7/libc/docs/
H A Dstdio.rst90 fgets
/llvm-project-15.0.7/lldb/examples/scripting/
H A Ddictionary.c149 while (!done && fgets(buffer, sizeof(buffer), stdin)) { in main()
/llvm-project-15.0.7/compiler-rt/lib/fuzzer/
H A DFuzzerUtilPosix.cpp100 while (fgets(TmpBuffer, sizeof(TmpBuffer), Pipe)) in ExecuteCommand()
H A DFuzzerUtilWindows.cpp179 while (fgets(TmpBuffer, sizeof(TmpBuffer), Pipe)) in ExecuteCommand()
/llvm-project-15.0.7/llvm/test/CodeGen/X86/
H A Dpostra-licm.ll82 %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 Derr33-c.rst32 * fgets()
/llvm-project-15.0.7/lldb/source/Host/linux/
H A DHostInfoLinux.cpp116 if (fgets(distribution_id, sizeof(distribution_id) - 1, file) != in GetDistributionId()

123