Home
last modified time | relevance | path

Searched +full:- +full:f (Results 1 – 25 of 1239) sorted by relevance

12345678910>>...50

/llvm-project/clang/test/Analysis/
H A Dstream-error.c1 // RUN: %clang_analyze_cc1 -verify %s \
2 // RUN: -analyzer-checker=core \
3 // RUN: -analyzer-checker=unix.Stream \
4 // RUN: -analyzer-config unix.Stream:Pedantic=true \
5 // RUN: -analyzer-checker=debug.StreamTester \
6 // RUN: -analyze
18 FILE *F = fopen("file", "r"); error_fopen() local
27 FILE *F = fdopen(fd, "r"); error_fdopen() local
36 FILE *F = fopen("file", "r"); error_freopen() local
48 FILE *F = fopen("file", "r"); stream_error_feof() local
63 FILE *F = fopen("file", "r"); stream_error_ferror() local
78 FILE *F = tmpfile(); error_fread() local
103 FILE *F = tmpfile(); error_fwrite() local
120 FILE *F = tmpfile(); error_fgetc() local
142 FILE *F = tmpfile(); error_fgets() local
165 FILE *F = fdopen(fd, "w"); error_fputc() local
183 FILE *F = tmpfile(); error_fputs() local
201 FILE *F = tmpfile(); error_fprintf() local
218 FILE *F = tmpfile(); error_fscanf() local
243 FILE *F = tmpfile(); error_ungetc() local
263 FILE *F = tmpfile(); error_getdelim() local
285 FILE *F = tmpfile(); error_getline() local
307 FILE *F = tmpfile(); write_after_eof_is_allowed() local
322 freadwrite_zerosize(FILE * F) freadwrite_zerosize() argument
334 freadwrite_zerosize_eofstate(FILE * F) freadwrite_zerosize_eofstate() argument
342 FILE *F = fopen("file", "r"); error_fread_fwrite_zerosize() local
364 FILE *F = fopen("file", "r"); error_fseek() local
390 FILE *F = fopen("file", "r"); error_fseeko() local
407 FILE *F = fopen("file", "r"); error_fseek_0() local
436 FILE *F = fopen("file", "r"); error_fseeko_0() local
456 FILE *F = fopen("file", "r"); error_ftell() local
481 FILE *F = fopen("file", "r"); error_ftello() local
506 FILE *F = fopen("file", "r"); error_fileno() local
567 FILE *F = fopen("file", "r+"); error_indeterminate() local
585 FILE *F = fopen("file", "r+"); error_indeterminate_clearerr() local
606 FILE *F = fopen("file", "r+"); error_indeterminate_feof1() local
620 FILE *F = fopen("file", "r+"); error_indeterminate_feof2() local
[all...]
H A Didentical-expressions.cpp
/llvm-project/libcxx/test/std/utilities/charconv/charconv.msvc/
H A Dfloat_general_precision_to_chars_test_cases.hpp2 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
15 // - if P > X >= -4, the conversion is with style f (or F) and precision P - (X + 1).
16 // - otherwise, the conversion is with style e (or E) and precision P - 1."
19 // and the decimal-point character is removed if there is no fractional portion remaining."
23 {0.0f, chars_format::general, 4, "0"},
24 {-0.0f, chars_format::general, 4, "-0"},
26 {-float_inf, chars_format::general, 4, "-inf"},
28 {-float_nan, chars_format::general, 4, "-nan(ind)"},
30 {-float_nan_payload, chars_format::general, 4, "-nan"},
31 {1.729f, chars_format::general, 4, "1.729"},
[all …]
H A Dfloat_fixed_precision_to_chars_test_cases.hpp2 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
8 // Boost Software License - Version 1.0 - August 17th, 2003
14 // Software, and to permit third-parties to whom the Software is furnished to
21 // works are solely in the form of machine-executable object code generated by
26 // FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
49 {0.0f, chars_format::fixed, 4, "0.0000"},
50 {-0.0f, chars_format::fixed, 4, "-0.0000"},
52 {-float_inf, chars_format::fixed, 4, "-inf"},
54 {-float_nan, chars_format::fixed, 4, "-nan(ind)"},
56 {-float_nan_payload, chars_format::fixed, 4, "-nan"},
[all …]
H A Dfloat_scientific_precision_to_chars_test_cases.hpp2 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
8 // Boost Software License - Version 1.0 - August 17th, 2003
14 // Software, and to permit third-parties to whom the Software is furnished to
21 // works are solely in the form of machine-executable object code generated by
26 // FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
49 {0.0f, chars_format::scientific, 4, "0.0000e+00"},
50 {-0.0f, chars_format::scientific, 4, "-0.0000e+00"},
52 {-float_inf, chars_format::scientific, 4, "-inf"},
54 {-float_nan, chars_format::scientific, 4, "-nan(ind)"},
56 {-float_nan_payload, chars_format::scientific, 4, "-nan"},
[all …]
/llvm-project/libcxx/test/std/localization/locale.categories/category.ctype/locale.ctype.byname/
H A Dis_1.pass.cpp1 //===----------------------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
15 // REQUIRES: locale.en_US.UTF-8
16 // XFAIL: no-wide-characters
19 // XFAIL: LIBCXX-ANDROID-FIXME
33 typedef std::ctype<wchar_t> F; in main() typedef
34 const F& f = std::use_facet<F>(l); in main() local
36 assert(f.is(F::space, L' ')); in main()
37 assert(!f.is(F::space, L'A')); in main()
[all …]
H A Dis_many.pass.cpp1 //===----------------------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
15 // REQUIRES: locale.en_US.UTF-8
16 // XFAIL: no-wide-characters
19 // XFAIL: LIBCXX-ANDROID-FIXME
36 typedef std::ctype<wchar_t> F; in main() typedef
37 const F& f = std::use_facet<F>(l); in main() local
39 std::vector<F::mask> m(in.size()); in main()
40 const wchar_t* h = f.is(in.data(), in.data() + in.size(), m.data()); in main()
[all …]
/llvm-project/llvm/lib/Transforms/Utils/
H A DBuildLibCalls.cpp1 //===- BuildLibCalls.cpp - Utility builder for libcalls --------
52 setDoesNotAccessMemory(Function & F) setDoesNotAccessMemory() argument
60 setOnlyAccessesInaccessibleMemory(Function & F) setOnlyAccessesInaccessibleMemory() argument
68 setOnlyReadsMemory(Function & F) setOnlyReadsMemory() argument
76 setOnlyWritesMemory(Function & F) setOnlyWritesMemory() argument
84 setOnlyAccessesArgMemory(Function & F) setOnlyAccessesArgMemory() argument
92 setOnlyAccessesInaccessibleMemOrArgMem(Function & F) setOnlyAccessesInaccessibleMemOrArgMem() argument
100 setDoesNotThrow(Function & F) setDoesNotThrow() argument
108 setRetDoesNotAlias(Function & F) setRetDoesNotAlias() argument
116 setDoesNotCapture(Function & F,unsigned ArgNo) setDoesNotCapture() argument
124 setDoesNotAlias(Function & F,unsigned ArgNo) setDoesNotAlias() argument
132 setOnlyReadsMemory(Function & F,unsigned ArgNo) setOnlyReadsMemory() argument
140 setOnlyWritesMemory(Function & F,unsigned ArgNo) setOnlyWritesMemory() argument
148 setRetNoUndef(Function & F) setRetNoUndef() argument
158 setArgsNoUndef(Function & F) setArgsNoUndef() argument
170 setArgNoUndef(Function & F,unsigned ArgNo) setArgNoUndef() argument
178 setRetAndArgsNoUndef(Function & F) setRetAndArgsNoUndef() argument
185 setReturnedArg(Function & F,unsigned ArgNo) setReturnedArg() argument
193 setNonLazyBind(Function & F) setNonLazyBind() argument
200 setDoesNotFreeMemory(Function & F) setDoesNotFreeMemory() argument
207 setWillReturn(Function & F) setWillReturn() argument
215 setAlignedAllocParam(Function & F,unsigned ArgNo) setAlignedAllocParam() argument
222 setAllocatedPointerParam(Function & F,unsigned ArgNo) setAllocatedPointerParam() argument
229 setAllocSize(Function & F,unsigned ElemSizeArg,std::optional<unsigned> NumElemsArg) setAllocSize() argument
238 setAllocFamily(Function & F,StringRef Family) setAllocFamily() argument
245 setAllocKind(Function & F,AllocFnKind K) setAllocKind() argument
255 Function *F = M->getFunction(Name); inferNonMandatoryLibFuncAttrs() local
261 inferNonMandatoryLibFuncAttrs(Function & F,const TargetLibraryInfo & TLI) inferNonMandatoryLibFuncAttrs() argument
1243 setArgExtAttr(Function & F,unsigned ArgNo,const TargetLibraryInfo & TLI,bool Signed=true) setArgExtAttr() argument
1250 setRetExtAttr(Function & F,const TargetLibraryInfo & TLI,bool Signed=true) setRetExtAttr() argument
1258 markRegisterParameterAttributes(Function * F) markRegisterParameterAttributes() argument
1309 Function *F = cast<Function>(C.getCallee()); getOrInsertLibFunc() local
1379 if (auto *F = dyn_cast<Function>(GV)) isLibFuncEmittable() local
1454 if (const Function *F = emitLibCall() local
1538 if (const Function *F = emitMemCpyChk() local
1714 if (const Function *F = emitUnaryFloatFnCallHelper() local
1764 if (const Function *F = emitBinaryFloatFnCallHelper() local
1815 if (const Function *F = emitPutChar() local
1833 if (const Function *F = emitPutS() local
1847 FunctionCallee F = getOrInsertLibFunc(M, *TLI, LibFunc_fputc, IntTy, emitFPutC() local
1867 FunctionCallee F = getOrInsertLibFunc(M, *TLI, LibFunc_fputs, IntTy, emitFPutS() local
1887 FunctionCallee F = getOrInsertLibFunc(M, *TLI, LibFunc_fwrite, emitFWrite() local
1916 if (const Function *F = emitMalloc() local
1936 if (const auto *F = emitCalloc() local
1956 if (const Function *F = emitHotColdNew() local
1977 if (const Function *F = emitHotColdNewNoThrow() local
1997 if (const Function *F = emitHotColdNewAligned() local
2020 if (const Function *F = emitHotColdNewAlignedNoThrow() local
[all...]
/llvm-project/libc/test/src/math/smoke/
H A Dpowf_test.cpp1 //===-- Unittests for powf --------
[all...]
/llvm-project/lldb/unittests/Utility/
H A DFlagsTest.cpp1 //===-- FlagsTest.cpp -----------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
23 Flags f; in TEST() local
26 EXPECT_EQ(32U, f.GetBitSize()); in TEST()
30 Flags f; in TEST() local
31 f.Reset(0x3); in TEST()
32 EXPECT_EQ(0x3U, f.Get()); in TEST()
36 Flags f; in TEST() local
37 f.Reset(0x3); in TEST()
[all …]
/llvm-project/libcxx/test/std/numerics/rand/rand.util/rand.util.canonical/
H A Dgenerate_canonical.pass.cpp1 //===----------------------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
26 typedef float F; in main() typedef
28 F f = std::generate_canonical<F, 0>(r); in main() local
29 assert(f == truncate_fp((16807 - E::min()) / (static_cast<F>(E::max() - E::min()) + F(1)))); in main()
33 typedef float F; in main() typedef
35 F f = std::generate_canonical<F, 1>(r); in main() local
36 assert(f == truncate_fp((16807 - E::min()) / (static_cast<F>(E::max() - E::min()) + F(1)))); in main()
40 typedef float F; in main() typedef
[all …]
/llvm-project/libclc/generic/lib/math/
H A Dtables.cl28 (float2)(0x0.000000p+0f, 0x0.000000p+0f),
29 (float2)(0x1.fe0000p-8f, 0x1.535882p-23f),
30 (float2)(0x1.fc0000p-7f, 0x1.5161f8p-20f),
[all...]
/llvm-project/llvm/test/Analysis/MustExecute/
H A Dmust_be_executed_context.ll2 ; RUN: opt < %s -passes=print-mustexecute -disable-output 2>&1 | FileCheck %s --check
3 ; RUN: opt < %s -passes=print-must-be-executed-contexts -disable-output 2>&1 | FileCheck %s --check
13 ; F();
19 ; A | A, B, E, F
20 ; B | A, B, E, F
21 ; C | A, B, C, D, E, F
22 ; D | A, B, C, D, E, F
23 ; E | A, B, E, F
24 ; F | A, B, E, F
25 ; G | A, B, E, F, G
[all …]
/llvm-project/clang/test/Parser/
H A Dnested_function_prototype_overflow.cpp1 // RUN: %clang_cc1 %s -fsyntax-only
2 // RUN: not %clang_cc1 %s -fsyntax-only -DFAIL 2>&1 | FileCheck %s
4f)(void (*f)(void (*f)(void (*f)(void (*f)(void (*f)(void (*f)(void (*f)(void (*f)(void (*f)(void …
6 void (*f)()
/llvm-project/libcxx/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.formatted.print/
H A Dlocale-specific_form.pass.cpp1 //===----------
[all...]
/llvm-project/libcxx/test/std/input.output/file.streams/fstreams/filebuf.virtuals/
H A Dunderflow.pass.cpp1 //===----------------------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 // REQUIRES: locale.en_US.UTF-8
44 test_buf<char> f; in main() local
45 assert(f.open("underflow.dat", std::ios_base::in) != 0); in main()
46 assert(f.is_open()); in main()
47 assert(f.eback() == 0); in main()
48 assert(f.gptr() == 0); in main()
49 assert(f.egptr() == 0); in main()
[all …]
H A Doverflow.pass.cpp1 //===----------------------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 // REQUIRES: locale.en_US.UTF-8
43 test_buf<char> f; in main() local
44 assert(f.open("overflow.dat", std::ios_base::out) != 0); in main()
45 assert(f.is_open()); in main()
46 assert(f.pbase() == 0); in main()
47 assert(f.pptr() == 0); in main()
48 assert(f.epptr() == 0); in main()
[all …]
/llvm-project/llvm/test/CodeGen/RISCV/rvv/
H A Dvfncvt-rod-f-f.ll2 ; RUN: sed 's/iXLen/i32/g' %s | llc -mtriple=riscv32 -mattr=+v,+zvfh \
3 ; RUN: -verify-machineinstrs -target-abi=ilp32d | FileCheck %s
4 ; RUN: sed 's/iXLen/i64/g' %s | llc -mtriple=riscv64 -mattr=+v,+zvfh \
5 ; RUN: -verify-machineinstr
[all...]
/llvm-project/llvm/test/MC/Hexagon/instructions/
H A Dnv_st.s1 # RUN: llvm-mc -triple=hexagon -filetype=obj -o - %s | llvm-objdump -d - | FileCheck %s
4 # Store new-value byte
5 # CHECK: 1f 40 7f 70
6 # CHECK-NEXT: 82 f5 b1 3b
9 # CHECK: 1f 40 7f 70
10 # CHECK-NEXT: 11 c2 a0 48
13 # CHECK: 1f 40 7f 70
14 # CHECK-NEXT: 15 c2 b1 a1
17 # CHECK: 1f 40 7f 70
18 # CHECK-NEXT: 02 e2 b1 a9
[all …]
/llvm-project/llvm/test/tools/llvm-xray/X86/
H A Dgraph-diff-simple.txt1 #RUN: llvm-xray graph-diff -o - -c min -b min -m %S/Inputs/simple-instrmap.yaml \
2 #RUN: %S/Inputs/graph-diff-A.yaml %S/Inputs/graph-diff-B.yaml \
3 #RUN: | FileCheck %s -check-prefix=VCEC
4 #RUN: llvm-xray graph-diff -o - -c min -m %S/Inputs/simple-instrmap.yaml \
5 #RUN: %S/Inputs/graph-diff-A.yaml %S/Inputs/graph-diff-B.yaml \
6 #RUN: | FileCheck %s -check-prefix=EC
7 #RUN: llvm-xray graph-diff -o - -b min -m %S/Inputs/simple-instrmap.yaml \
8 #RUN: %S/Inputs/graph-diff-A.yaml %S/Inputs/graph-diff-B.yaml \
9 #RUN: | FileCheck %s -check-prefix=VC
10 #RUN: llvm-xray graph-diff -o - -e min -v min -m %S/Inputs/simple-instrmap.yaml \
[all …]
/llvm-project/compiler-rt/lib/tsan/tests/unit/
H A Dtsan_flags_test.cpp1 //===-- tsan_flags_test.cpp -----------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
11 //===----------------------------------------------------------------------===//
21 Flags f; in TEST() local
22 InitializeFlags(&f, 0); in TEST()
23 InitializeFlags(&f, ""); in TEST()
27 Flags f; in TEST() local
29 f.enable_annotations = false; in TEST()
30 InitializeFlags(&f, ""); in TEST()
[all …]
/llvm-project/libcxx/test/std/localization/locale.categories/category.ctype/locale.ctype/locale.ctype.members/
H A Dis_many.pass.cpp1 //===----------------------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
15 // XFAIL: no-wide-characters
30 typedef std::ctype<wchar_t> F; in main() typedef
31 const F& f = std::use_facet<F>(l); in main() local
33 std::vector<F::mask> m(in.size()); in main()
34 const wchar_t* h = f.is(in.data(), in.data() + in.size(), m.data()); in main()
38 assert( (m[0] & F::space)); in main()
39 assert( (m[0] & F::print)); in main()
[all …]
/llvm-project/libcxx/test/std/localization/locale.categories/category.ctype/facet.ctype.special/facet.ctype.char.members/
H A Dis_many.pass.cpp1 //===----------------------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
28 typedef std::ctype<char> F; in main() typedef
29 const F& f = std::use_facet<F>(l); in main() local
31 std::vector<F::mask> m(in.size()); in main()
32 const char* h = f.is(in.data(), in.data() + in.size(), m.data()); in main()
36 assert( (m[0] & F::space)); in main()
37 assert( (m[0] & F::print)); in main()
38 assert(!(m[0] & F::cntrl)); in main()
[all …]
/llvm-project/clang/test/PCH/
H A Dcxx-key-functions.cpp1 // RUN: %clang_cc1 -x c++ -include %s -emit-llvm-only %s
2 // RUN: %clang_cc1 -x c++ -emit-pch %s -o %t
3 // RUN: %clang_cc1 -include-pch %t -emit-llvm-only %s
8 struct S00 { virtual void f(); };
9 struct S01 { virtual void f(); };
10 struct S02 { virtual void f(); };
11 struct S03 { virtual void f(); };
12 struct S04 { virtual void f(); };
13 struct S05 { virtual void f(); };
14 struct S06 { virtual void f(); };
[all …]
/llvm-project/libcxx/test/std/utilities/meta/meta.trans/meta.trans.other/
H A Dresult_of11.pass.cpp1 //===----------------------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
15 // ADDITIONAL_COMPILE_FLAGS: -D_LIBCPP_ENABLE_CXX20_REMOVED_TYPE_TRAITS
16 // ADDITIONAL_COMPILE_FLAGS: -D_LIBCPP_DISABLE_DEPRECATION_WARNINGS
26 TEST_CLANG_DIAGNOSTIC_IGNORED("-Wdeprecated-volatile")
27 TEST_GCC_DIAGNOSTIC_IGNORED("-Wvolatile")
37 struct F {}; struct
38 struct FD : public F {};
72 typedef char F::*PMD; in main()
[all …]

12345678910>>...50