/llvm-project/clang/test/Analysis/ |
H A D | stream-stdlibraryfunctionargs.c | 22 FILE *fp = fopen("path", "r"); in test_fopen() local 30 FILE *fp = fdopen(fd, "r"); in test_fdopen() local 38 FILE *fp = tmpfile(); in test_tmpfile() local 46 FILE *fp = tmpfile(); in test_fclose() local 54 FILE *fp = tmpfile(); in test_freopen() local 65 FILE *fp = tmpfile(); in test_fread() local 77 FILE *fp = tmpfile(); in test_fwrite() local 89 FILE *fp = tmpfile(); in test_fseek() local 98 FILE *fp = tmpfile(); in test_ftell() local 107 FILE *fp = tmpfile(); in test_rewind() local [all …]
|
H A D | fread.c | 17 void untracked_stream(FILE *fp) { in untracked_stream() argument 27 FILE *fp = fopen("/home/test", "rb+"); in fgetc_props_taint() local 38 FILE *fp = fopen("/home/test", "rb+"); in fread_props_taint() local 51 FILE *fp = fopen("/home/test", "rb+"); read_one_byte1() local 66 FILE *fp = fopen("/home/test", "rb+"); read_one_byte2() local 81 FILE *fp = fopen("/home/test", "rb+"); read_one_byte3() local 93 FILE *fp = fopen("/home/test", "rb+"); read_many_bytes() local 107 FILE *fp = fopen("/home/test", "rb+"); random_access_read1() local 162 FILE *fp = fopen("/home/test", "rb+"); random_access_read2() local 186 FILE *fp = fopen("/home/test", "rb+"); random_access_read_symbolic_count() local 209 FILE *fp = fopen("/home/test", "rb+"); dynamic_random_access_read() local 265 FILE *fp = fopen("/home/test", "rb+"); compound_read1() local 282 FILE *fp = fopen("/home/test", "rb+"); compound_read2() local 295 FILE *fp = fopen("/home/test", "rb+"); var_read() local 314 FILE *fp = fopen("/home/test", "rb+"); test_large_read() local 331 FILE *fp = fopen("/home/test", "rb+"); test_small_read() local 351 FILE *fp = fopen("/home/test", "rb+"); test_partial_elements_read() local 389 FILE *fp = fopen("/home/test", "rb+"); test_whole_elements_read() local 416 FILE *fp = fopen("/home/test", "rb+"); test_unaligned_start_read() local [all...] |
H A D | stream.c | 17 FILE *fp = tmpfile(); in check_fread() local 23 FILE *fp = tmpfile(); in check_fwrite() local 29 FILE *fp = tmpfile(); in check_fgetc() local 35 FILE *fp in check_fgets() local 42 FILE *fp = tmpfile(); check_fputc() local 48 FILE *fp = tmpfile(); check_fputs() local 54 FILE *fp = tmpfile(); check_fprintf() local 60 FILE *fp = tmpfile(); check_fscanf() local 66 FILE *fp = tmpfile(); check_ungetc() local 72 FILE *fp = tmpfile(); check_fseek() local 78 FILE *fp = tmpfile(); check_fseeko() local 84 FILE *fp = tmpfile(); check_ftell() local 90 FILE *fp = tmpfile(); check_ftello() local 96 FILE *fp = tmpfile(); check_rewind() local 102 FILE *fp = tmpfile(); check_fgetpos() local 109 FILE *fp = tmpfile(); check_fsetpos() local 116 FILE *fp = tmpfile(); check_clearerr() local 122 FILE *fp = tmpfile(); check_feof() local 128 FILE *fp = tmpfile(); check_ferror() local 134 FILE *fp = tmpfile(); check_fileno() local 248 pr7831(FILE * fp) pr7831() argument [all...] |
H A D | stream-non-posix-function.c | 14 …FILE *fp = fopen("file"); // no-leak: This isn't the standard POSIX `fopen`, we don't know the sem… in test_fopen_non_posix() local 18 …FILE *fp = tmpfile("file"); // no-leak: This isn't the standard POSIX `tmpfile`, we don't know the… in test_tmpfile_non_posix() local 22 …FILE *fp = fdopen(fd); // no-leak: This isn't the standard POSIX `fdopen`, we don't know the seman… in test_fdopen_non_posix() local
|
H A D | cfg-openmp.cpp | 25 int x, cond, fp, rd, lin, step_sz, map; in target_s_has_device_addr() local 51 int x, cond, fp, rd, map; in target_t_l_has_device_addr() local 74 int x, cond, fp, rd, map; in target_p_l_has_device_addr() local 134 int x, cond, fp, rd, lin, step_sz, map; in xxx() local 296 int x, cond, fp, rd, lin, step_sz, map; in dpf() local 318 int x, cond, fp, rd, lin, step_sz, map; in dpfs() local 340 int x, cond, fp, rd, lin, step_sz, map; in ds() local 357 int x, cond, fp, rd, lin, step_sz, map; in for_fn() local 377 int x, cond, fp, rd, lin, step_sz, map; in fs() local 397 int x, cond, fp, rd, lin, step_sz, map; in ord() local [all …]
|
H A D | taint-checker-callback-order-has-definition.c | 14 char *fgets(char *s, int n, FILE *fp) { in fgets() argument 20 FILE *fp = fopen(fname, "r"); in top() local [all...] |
H A D | std-c-library-functions.c | 78 void test_getc(FILE *fp) { in test_getc() 86 void test_fgets(FILE *fp) { in test_fgets() 109 void test_fread_fwrite(FILE *fp, int *buf) { in test_fread_fwrite() 125 FILE *fp; in test_fread_uninitialized() local 129 void test_getline(FILE *fp) { in test_getline()
|
/llvm-project/libcxx/test/std/utilities/function.objects/bind/func.bind/func.bind.bind/ |
H A D | invoke_rvalue.pass.cpp | 63 void (*fp)(int) = f_void_1; in test_void_1() local 69 void (*fp)(int) = f_void_1; in test_void_1() local 70 std::bind(fp, 3)(); in test_void_1() local 89 void (A_void_1::*fp)() = &A_void_1::mem1; in test_void_1() local 90 std::bind(fp, _1)(A_void_1()); in test_void_1() local 99 void (A_void_1::*fp)() = &A_void_1::mem1; in test_void_1() local 100 std::bind(fp, A_void_1())(); in test_void_1() local 104 std::bind(fp, &a)(); in test_void_1() local 110 void (A_void_1::*fp)() const = &A_void_1::mem2; in test_void_1() local 111 std::bind(fp, _1)(A_void_1()); in test_void_1() local [all …]
|
H A D | invoke_lvalue.pass.cpp | 65 void (*fp)(int) = f_void_1; in test_void_1() local 67 std::bind(fp, _1)(i); in test_void_1() local 72 void (*fp)(int) = f_void_1; in test_void_1() local 74 std::bind(fp, i)(); in test_void_1() local 95 void (A_void_1::*fp)() = &A_void_1::mem1; in test_void_1() local 97 std::bind(fp, _1)(a); in test_void_1() local 101 std::bind(fp, _1)(ap); in test_void_1() local 106 void (A_void_1::*fp)() = &A_void_1::mem1; in test_void_1() local 108 std::bind(fp, a)(); in test_void_1() local 112 std::bind(fp, ap)(); in test_void_1() local [all …]
|
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/modernize/ |
H A D | use-std-print-absl.cpp | 64 void fprintf_simple(FILE *fp) { in fprintf_simple() argument 70 void fprintf_newline(FILE *fp) { in fprintf_newline() argument 81 void fprintf_no_casts_in_strict_mode(FILE *fp) { in fprintf_no_casts_in_strict_mode() argument 95 fprintf_uses_return_value(FILE * fp,int i) fprintf_uses_return_value() argument [all...] |
H A D | use-std-print-fmt.cpp | 27 void fprintf_simple(FILE *fp) { in fprintf_simple() 33 void fprintf_newline(FILE *fp) { in fprintf_newline()
|
H A D | use-std-print-custom.cpp | 51 void fprintf_simple(FILE *fp) in fprintf_simple() argument 58 void fprintf_newline(FILE *fp) in fprintf_newline() argument
|
/llvm-project/libcxx/test/std/utilities/function.objects/refwrap/refwrap.invoke/ |
H A D | invoke.pass.cpp | 64 void (*fp)(int) = f_void_1; in test_void_1() local 84 void (A_void_1::*fp)() = &A_void_1::mem1; in test_void_1() local 99 void (A_void_1::*fp)() const = &A_void_1::mem2; in test_void_1() local 146 int (*fp)(int) = f_int_1; in test_int_1() local 162 int (A_int_1::*fp)() = &A_int_1::mem1; in test_int_1() local 173 int (A_int_1::*fp)() const = &A_int_1::mem2; in test_int_1() local 184 int A_int_1::*fp = &A_int_1::data_; in test_int_1() local 233 void (*fp)(int, int) = f_void_2; in test_void_2() local 255 void (A_void_2::*fp)(int) = &A_void_2::mem1; in test_void_2() local 270 void (A_void_2::*fp)(int) const = &A_void_2::mem2; in test_void_2() local [all …]
|
/llvm-project/clang/test/CXX/dcl.decl/dcl.meaning/dcl.fct/ |
H A D | p13.cpp | 75 void f5a(auto fp(int)->unk ...) {} // expected-error{{unknown type name 'unk'}} in fp() function 73 void f5a(auto fp(int)->unk ...) {} // expected-error{{unknown type name 'unk'}} fp() function 74 void f5b(auto fp(int)->auto ...) {} // expected-error{{'auto' not allowed in function return type}} fp() function
|
/llvm-project/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.inv/ |
H A D | invoke.pass.cpp | 63 int (*fp)() = f_int_0; in test_int_0() local 101 void (*fp)() = f_void_0; in test_void_0() local 149 void (*fp)(int) = f_void_1; in test_void_1() local 167 void (A_void_1::*fp)() = &A_void_1::mem1; in test_void_1() local 181 void (A_void_1::*fp)() const = &A_void_1::mem2; in test_void_1() local 226 int (*fp)(int) = f_int_1; in test_int_1() local 240 int (A_int_1::*fp)() = &A_int_1::mem1; in test_int_1() local 250 int (A_int_1::*fp)() const = &A_int_1::mem2; in test_int_1() local 260 int A_int_1::*fp = &A_int_1::data_; in test_int_1() local 307 void (*fp)(int, int) = f_void_2; in test_void_2() local [all …]
|
/llvm-project/lld/test/COFF/ |
H A D | gfids-relocations64.s | 48 .globl fp symbol 50 fp: .quad f # DIR32 relocation to function label
|
H A D | gfids-relocations32.s | 59 .globl fp symbol 61 fp: .long f # DIR32 relocation to function label
|
/llvm-project/clang/test/CXX/except/except.spec/ |
H A D | p2-places.cpp | 13 void (*fp)() throw (int); variable 50 void (*fp)() noexcept(false); variable
|
/llvm-project/compiler-rt/test/msan/ |
H A D | fgets_fputs.cpp | 11 FILE *fp = fopen("/dev/zero", "r"); in test_fgets() local 25 FILE *fp = fopen("/dev/null", "w"); in test_fputs() local
|
/llvm-project/libc/test/src/stdio/ |
H A D | fdopen_test.cpp | 29 auto *fp = LIBC_NAMESPACE::fdopen(fd, "w"); in TEST() local 62 auto *fp = LIBC_NAMESPACE::fdopen(fd, "r"); in TEST() local 76 auto *fp = LIBC_NAMESPACE::fdopen(fd, "m+"); in TEST() local
|
/llvm-project/compiler-rt/test/asan/TestCases/Posix/ |
H A D | fgets_fputs.cpp | 13 FILE *fp = fopen(testfile, "r"); in test_fgets() local 22 FILE *fp = fopen("/dev/null", "w"); in test_fputs() local
|
/llvm-project/clang/test/CodeGen/ |
H A D | c11atomics-ios.c | 8 void testFloat(_Atomic(float) *fp) { in testFloat() argument 35 void testComplexFloat(_Atomic(_Complex float) *fp) { in testComplexFloat() argument 87 void testStruct(_Atomic(S) *fp) { in testStruct() argument 131 testPromotedStruct(_Atomic (PS)* fp) testPromotedStruct() argument [all...] |
/llvm-project/lldb/examples/python/ |
H A D | diagnose_unwind.py | 18 def backtrace_print_frame(target, frame_num, addr, fp): argument 163 def print_stack_frame(process, fp): argument
|
/llvm-project/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.call/ |
H A D | p1-0x.cpp | 35 void test_simple_deduction(int *ip, float *fp, double *dp) { in test_simple_deduction() 48 void test_simple_ref_deduction(int *ip, float *fp, double *dp) { in test_simple_ref_deduction() 62 void test_pair_deduction(int *ip, float *fp, double *dp) { in test_pair_deduction()
|
/llvm-project/clang/test/CodeGenObjCXX/ |
H A D | lambda-expressions.mm | 4 typedef int (^fp)(); typedef 26 typedef int (^fp)(); typedef
|