Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/test/Analysis/
H A Dblock-in-critical-section.cpp26 void getc() {} in getc() function
44 getc(); // expected-warning {{Call to blocking function 'getc' inside of critical section}} in testBlockInCriticalSectionWithStdMutex()
54 getc(); // expected-warning {{Call to blocking function 'getc' inside of critical section}} in testBlockInCriticalSectionWithPthreadMutex()
62 getc(); // expected-warning {{Call to blocking function 'getc' inside of critical section}} in testBlockInCriticalSectionWithPthreadMutex()
72 getc(); // expected-warning {{Call to blocking function 'getc' inside of critical section}} in testBlockInCriticalSectionC11Locks()
80 getc(); // expected-warning {{Call to blocking function 'getc' inside of critical section}} in testBlockInCriticalSectionC11Locks()
88 getc(); // expected-warning {{Call to blocking function 'getc' inside of critical section}} in testBlockInCriticalSectionC11Locks()
H A Dstd-c-library-functions-eof.c13 int getc(FILE *);
17 while ((x = getc(fp)) != EOF) { in test_getc()
22 int y = getc(fp); in test_getc()
H A Dstd-c-library-functions.c71 int getc(FILE *);
74 while ((x = getc(fp)) != EOF) { in test_getc()
H A Dconversion.c202 typedef struct FILE {} FILE; int getc(FILE *stream);
216 while ((c = getc(cin)) != '\n') { in libraryFunction2()
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Derr_typecheck_assign_const.cpp80 const C &getc(); // expected-note{{function 'getc' which returns const-qualified type 'const C &' d…
85getc().b.a.z = 5; // expected-error{{cannot assign to return value because function 'getc' return… in test7()
/llvm-project-15.0.7/libcxx/test/std/depr/depr.c.headers/
H A Dstdio_h.pass.cpp15 #ifdef getc
16 #error getc is defined
158 static_assert((std::is_same<decltype(getc(fp)), int>::value), ""); in main()
/llvm-project-15.0.7/compiler-rt/test/sanitizer_common/TestCases/Posix/
H A Dfgetc_ungetc_getc.cpp15 assert(getc(fp) == 'X'); in main()
/llvm-project-15.0.7/libcxx/include/
H A Dstdio.h111 #undef getc
H A Dcstdio74 int getc(FILE* stream);
130 using ::getc _LIBCPP_USING_IF_EXISTS;
H A D__std_stream122 int __c = getc(__file_);
149 int __c = getc(__file_);
/llvm-project-15.0.7/llvm/test/Transforms/LICM/
H A Dsinking.ll641 ; CHECK-NEXT: [[C1:%.*]] = call i1 @getc()
672 %c1 = call i1 @getc()
687 ; CHECK-NEXT: [[C0:%.*]] = call i1 @getc()
690 ; CHECK-NEXT: [[C1:%.*]] = call i1 @getc()
728 %c0 = call i1 @getc()
731 %c1 = call i1 @getc()
735 %c2 = call i1 @getc()
738 %c3 = call i1 @getc()
789 %c0 = call i1 @getc()
793 %c1 = call i1 @getc()
[all …]
/llvm-project-15.0.7/llvm/test/CodeGen/Thumb2/
H A D2010-06-21-TailMergeBug.ll90 %1 = tail call i32 @getc(%struct.FILE* %0) nounwind ; <i32> [#uses=0]
121 declare i32 @getc(%struct.FILE* nocapture) nounwind
/llvm-project-15.0.7/libc/docs/
H A Dstdio.rst89 (f)getc
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/cert/
H A Derr33-c.rst55 * getc()
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/symbolizer/scripts/
H A Dglobal_symbols.txt79 getc U
/llvm-project-15.0.7/libcxx/test/std/input.output/file.streams/c.files/
H A Dcstdio.pass.cpp124 static_assert((std::is_same<decltype(std::getc(fp)), int>::value), ""); in main()
/llvm-project-15.0.7/llvm/test/Transforms/InferFunctionAttrs/
H A Dno-proto.ll489 ; CHECK: declare void @getc(...)
490 declare void @getc(...)
H A Dannotate.ll556 ; CHECK: declare noundef i32 @getc(%opaque* nocapture noundef) [[NOFREE_NOUNWIND]]
557 declare i32 @getc(%opaque*)
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DTargetLibraryInfo.def904 /// int getc(FILE *stream);
905 TLI_DEFINE_ENUM_INTERNAL(getc)
906 TLI_DEFINE_STRING_INTERNAL("getc")
/llvm-project-15.0.7/llvm/test/tools/llvm-tli-checker/
H A Dps4-tli-check.yaml537 - Name: getc
/llvm-project-15.0.7/clang/docs/
H A DModules.rst391 * ``<stdio.h>`` defines a macro ``getc`` (and exports its ``#define``)
394 …and a source file that imports both modules *in any order* will not see ``getc`` defined as a macr…
/llvm-project-15.0.7/clang/docs/analyzer/
H A Dcheckers.rst2393 …pace``, ``isupper``, ``isxdigit``, ``memchr``, ``memrchr``, ``sscanf``, ``getc``, ``getc_unlocked`…
2495 Applies to: ``lock, unlock, sleep, getc, fgets, read, recv, pthread_mutex_lock,``
/llvm-project-15.0.7/clang/include/clang/Tooling/Inclusions/
H A DCSymbolMap.inc509 SYMBOL(getc, None, <stdio.h>)
H A DStdSymbolMap.inc415 SYMBOL(getc, std::, <cstdio>)
/llvm-project-15.0.7/compiler-rt/lib/dfsan/
H A Dlibc_ubuntu1404_abilist.txt1841 fun:getc=uninstrumented