Home
last modified time | relevance | path

Searched +full:func +full:- (Results 1 – 25 of 1104) sorted by relevance

12345678910>>...45

/freebsd/contrib/llvm-project/compiler-rt/lib/rtsan/tests/
H A Drtsan_test_interceptors.cpp1 //===--- rtsan_test_interceptors.cpp - Realtime Sanitizer -------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 //===----------------------------------------------------------------------===//
47 ::testing::UnitTest::GetInstance()->current_test_info(); in SetUp()
49 test_info->name() + ".txt"; in SetUp()
69 auto Func = []() { EXPECT_NE(nullptr, malloc(1)); }; in TEST() local
70 ExpectRealtimeDeath(Func, "malloc"); in TEST()
71 ExpectNonRealtimeSurvival(Func); in TEST()
76 auto Func = [ptr_1]() { EXPECT_NE(nullptr, realloc(ptr_1, 8)); }; in TEST() local
[all …]
H A Drtsan_test_functional.cpp1 //===--- rtsan_test.cpp - Realtime Sanitizer --------------------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
13 //===----------------------------------------------------------------------===//
45 auto Func = [&vec]() { vec.push_back(0.4f); }; in TEST() local
46 ExpectRealtimeDeath(Func); in TEST()
48 ExpectNonRealtimeSurvival(Func); in TEST()
54 auto Func = [&allocated_ptr]() { allocated_ptr.reset(); }; in TEST() local
55 ExpectRealtimeDeath(Func); in TEST()
57 ExpectNonRealtimeSurvival(Func); in TEST()
[all …]
/freebsd/contrib/arm-optimized-routines/math/test/testcases/directed/
H A Dpowf.tst1 ; powf.tst - Directed test cases for powf
3 ; Copyright (c) 2007-2019, Arm Limited.
4 ; SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception
6 func=powf op1=7f800001 op2=7f800001 result=7fc00001 errno=0 status=i
7 func=powf op1=7f800001 op2=ff800001 result=7fc00001 errno=0 status=i
8 func=powf op1=7f800001 op2=7fc00001 result=7fc00001 errno=0 status=i
9 func=powf op1=7f800001 op2=ffc00001 result=7fc00001 errno=0 status=i
10 func=powf op1=7f800001 op2=7f800000 result=7fc00001 errno=0 status=i
11 func=powf op1=7f800001 op2=40800000 result=7fc00001 errno=0 status=i
12 func=powf op1=7f800001 op2=40400000 result=7fc00001 errno=0 status=i
[all …]
H A Dlog1pf.tst3 ; Copyright (c) 2009-2024, Arm Limited.
4 ; SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception
6 func=log1pf op1=7fc00001 result=7fc00001 errno=0
7 func=log1pf op1=ffc00001 result=7fc00001 errno=0
8 func=log1pf op1=7f800001 result=7fc00001 errno=0 status=i
9 func=log1pf op1=ff800001 result=7fc00001 errno=0 status=i
10 func=log1pf op1=ff810000 result=7fc00001 errno=0 status=i
11 func=log1pf op1=7f800000 result=7f800000 errno=0
16 func=log1pf op1=00000000 result=00000000 errno=0
17 func=log1pf op1=80000000 result=80000000 errno=0
[all …]
H A Dlogf.tst1 ; logf.tst - Directed test cases for logf
3 ; Copyright (c) 2007-2019, Arm Limited.
4 ; SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception
6 func=logf op1=7fc00001 result=7fc00001 errno=0
7 func=logf op1=ffc00001 result=7fc00001 errno=0
8 func=logf op1=7f800001 result=7fc00001 errno=0 status=i
9 func=logf op1=ff800001 result=7fc00001 errno=0 status=i
10 func=logf op1=ff810000 result=7fc00001 errno=0 status=i
11 func=logf op1=7f800000 result=7f800000 errno=0
12 func=logf op1=ff800000 result=7fc00001 errno=EDOM status=i
[all …]
H A Dlog10f.tst3 ; Copyright (c) 2007-2024, Arm Limited.
4 ; SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception
6 func=log10f op1=7fc00001 result=7fc00001 errno=0
7 func=log10f op1=ffc00001 result=7fc00001 errno=0
8 func=log10f op1=7f800001 result=7fc00001 errno=0 status=i
9 func=log10f op1=ff800001 result=7fc00001 errno=0 status=i
10 func=log10f op1=ff810000 result=7fc00001 errno=0 status=i
11 func=log10f op1=7f800000 result=7f800000 errno=0
12 func=log10f op1=3f800000 result=00000000 errno=0
13 func=log10f op1=ff800000 result=7fc00001 errno=EDOM status=i
[all …]
H A Datan2f.tst3 ; Copyright (c) 1999-2024, Arm Limited.
4 ; SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception
6 func=atan2f op1=7f800001 op2=7f800001 result=7fc00001 errno=0 status=i
7 func=atan2f op1=7f800001 op2=ff800001 result=7fc00001 errno=0 status=i
8 func=atan2f op1=7f800001 op2=7fc00001 result=7fc00001 errno=0 status=i
9 func=atan2f op1=7f800001 op2=ffc00001 result=7fc00001 errno=0 status=i
10 func=atan2f op1=7f800001 op2=7f800000 result=7fc00001 errno=0 status=i
11 func=atan2f op1=7f800001 op2=ff800000 result=7fc00001 errno=0 status=i
12 func=atan2f op1=7f800001 op2=00000000 result=7fc00001 errno=0 status=i
13 func=atan2f op1=7f800001 op2=80000000 result=7fc00001 errno=0 status=i
[all …]
H A Dsincosf.tst3 ; Copyright (c) 2007-2019, Arm Limited.
4 ; SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception
7 func=sincosf_sinf op1=7fc00001 result=7fc00001 errno=0
8 func=sincosf_sinf op1=ffc00001 result=7fc00001 errno=0
9 func=sincosf_sinf op1=7f800001 result=7fc00001 errno=0 status=i
10 func=sincosf_sinf op1=ff800001 result=7fc00001 errno=0 status=i
11 func=sincosf_sinf op1=7f800000 result=7fc00001 errno=EDOM status=i
12 func=sincosf_sinf op1=ff800000 result=7fc00001 errno=EDOM status=i
13 func=sincosf_sinf op1=00000000 result=00000000 errno=0
14 func=sincosf_sinf op1=80000000 result=80000000 errno=0
[all …]
H A Datan2.tst3 ; Copyright (c) 1999-2024, Arm Limited.
4 ; SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception
6 func=atan2 op1=7ff00000.00000001 op2=7ff00000.00000001 result=7ff80000.00000001 errno=0 status=i
7 func=atan2 op1=7ff00000.00000001 op2=fff00000.00000001 result=7ff80000.00000001 errno=0 status=i
8 func=atan2 op1=7ff00000.00000001 op2=7ff00000.00000000 result=7ff80000.00000001 errno=0 status=i
9 func=atan2 op1=7ff00000.00000001 op2=fff00000.00000000 result=7ff80000.00000001 errno=0 status=i
10 func=atan2 op1=7ff00000.00000001 op2=00000000.00000000 result=7ff80000.00000001 errno=0 status=i
11 func=atan2 op1=7ff00000.00000001 op2=80000000.00000000 result=7ff80000.00000001 errno=0 status=i
12 func=atan2 op1=7ff00000.00000001 op2=3ff00000.00000000 result=7ff80000.00000001 errno=0 status=i
13 func=atan2 op1=7ff00000.00000001 op2=bff00000.00000000 result=7ff80000.00000001 errno=0 status=i
[all …]
H A Dexpm1f.tst3 ; Copyright (c) 2009-2024, Arm Limited.
4 ; SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception
6 func=expm1f op1=7fc00001 result=7fc00001 errno=0
7 func=expm1f op1=ffc00001 result=7fc00001 errno=0
8 func=expm1f op1=7f800001 result=7fc00001 errno=0 status=i
9 func=expm1f op1=ff800001 result=7fc00001 errno=0 status=i
10 func=expm1f op1=7f800000 result=7f800000 errno=0
11 func=expm1f op1=7f7fffff result=7f800000 errno=ERANGE status=ox
12 func=expm1f op1=ff800000 result=bf800000 errno=0
13 func=expm1f op1=ff7fffff result=bf800000 errno=0
[all …]
H A Dcbrtf.tst3 ; Copyright (c) 2009-2024, Arm Limited.
4 ; SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception
6 func=cbrtf op1=7f800000 result=7f800000 errno=0
7 func=cbrtf op1=ff800000 result=ff800000 errno=0
8 func=cbrtf op1=7f800001 result=7fc00001 errno=0 status=i
9 func=cbrtf op1=7fc00001 result=7fc00001 errno=0
10 func=cbrtf op1=00000000 result=00000000 errno=0
11 func=cbrtf op1=00000001 result=26a14517.cc7 errno=0
12 func=cbrtf op1=00000002 result=26cb2ff5.29f errno=0
13 func=cbrtf op1=00000003 result=26e89768.579 errno=0
[all …]
H A Dexp.tst3 ; Copyright (c) 2018-2019, Arm Limited.
4 ; SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception
6 func=exp op1=7ff80000.00000001 result=7ff80000.00000001 errno=0
7 func=exp op1=fff80000.00000001 result=7ff80000.00000001 errno=0
8 func=exp op1=7ff00000.00000001 result=7ff80000.00000001 errno=0 status=i
9 func=exp op1=fff00000.00000001 result=7ff80000.00000001 errno=0 status=i
10 func=exp op1=7ff00000.00000000 result=7ff00000.00000000 errno=0
11 func=exp op1=fff00000.00000000 result=00000000.00000000 errno=0
12 func=exp op1=7fefffff.ffffffff result=7ff00000.00000000 errno=ERANGE status=ox
13 func=exp op1=ffefffff.ffffffff result=00000000.00000000 errno=ERANGE status=ux
[all …]
H A Dexp2.tst3 ; Copyright (c) 2018-2019, Arm Limited.
4 ; SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception
6 func=exp2 op1=7ff80000.00000001 result=7ff80000.00000001 errno=0
7 func=exp2 op1=fff80000.00000001 result=7ff80000.00000001 errno=0
8 func=exp2 op1=7ff00000.00000001 result=7ff80000.00000001 errno=0 status=i
9 func=exp2 op1=fff00000.00000001 result=7ff80000.00000001 errno=0 status=i
10 func=exp2 op1=7ff00000.00000000 result=7ff00000.00000000 errno=0
11 func=exp2 op1=fff00000.00000000 result=00000000.00000000 errno=0
12 func=exp2 op1=7fefffff.ffffffff result=7ff00000.00000000 errno=ERANGE status=ox
13 func=exp2 op1=ffefffff.ffffffff result=00000000.00000000 errno=ERANGE status=ux
[all …]
H A Dlog2f.tst1 ; log2f.tst - Directed test cases for log2f
3 ; Copyright (c) 2017-2019, Arm Limited.
4 ; SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception
6 func=log2f op1=7fc00001 result=7fc00001 errno=0
7 func=log2f op1=ffc00001 result=7fc00001 errno=0
8 func=log2f op1=7f800001 result=7fc00001 errno=0 status=i
9 func=log2f op1=ff800001 result=7fc00001 errno=0 status=i
10 func=log2f op1=ff810000 result=7fc00001 errno=0 status=i
11 func=log2f op1=7f800000 result=7f800000 errno=0
12 func=log2f op1=ff800000 result=7fc00001 errno=EDOM status=i
[all …]
H A Dexp2f.tst1 ; exp2f.tst - Directed test cases for exp2f
3 ; Copyright (c) 2017-2019, Arm Limited.
4 ; SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception
6 func=exp2f op1=7fc00001 result=7fc00001 errno=0
7 func=exp2f op1=ffc00001 result=7fc00001 errno=0
8 func=exp2f op1=7f800001 result=7fc00001 errno=0 status=i
9 func=exp2f op1=ff800001 result=7fc00001 errno=0 status=i
10 func=exp2f op1=7f800000 result=7f800000 errno=0
11 func=exp2f op1=7f7fffff result=7f800000 errno=ERANGE status=ox
12 func=exp2f op1=ff800000 result=00000000 errno=0
[all …]
H A Dsinf.tst1 ; sinf.tst - Directed test cases for SP sine
3 ; Copyright (c) 2007-2019, Arm Limited.
4 ; SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception
7 func=sinf op1=7fc00001 result=7fc00001 errno=0
8 func=sinf op1=ffc00001 result=7fc00001 errno=0
9 func=sinf op1=7f800001 result=7fc00001 errno=0 status=i
10 func=sinf op1=ff800001 result=7fc00001 errno=0 status=i
11 func=sinf op1=7f800000 result=7fc00001 errno=EDOM status=i
12 func=sinf op1=ff800000 result=7fc00001 errno=EDOM status=i
13 func=sinf op1=00000000 result=00000000 errno=0
[all …]
/freebsd/contrib/libucl/src/
H A Ducl_emitter.c86 #define UCL_EMIT_IDENT_TOP_OBJ(ctx, obj) ((ctx)->top != (obj) || \
87 ((ctx)->id == UCL_EMIT_JSON_COMPACT || (ctx)->id == UCL_EMIT_JSON))
96 ucl_add_tabs (const struct ucl_emitter_functions *func, unsigned int tabs, in ucl_add_tabs() argument
100 func->ucl_emitter_append_character (' ', tabs * 4, func->ud); in ucl_add_tabs()
113 const struct ucl_emitter_functions *func = ctx->func; in ucl_emitter_print_key() local
119 if (ctx->id == UCL_EMIT_CONFIG) { in ucl_emitter_print_key()
120 if (obj->flags & UCL_OBJECT_NEED_KEY_ESCAPE) { in ucl_emitter_print_key()
121 ucl_elt_string_write_json (obj->key, obj->keylen, ctx); in ucl_emitter_print_key()
124 func->ucl_emitter_append_len (obj->key, obj->keylen, func->ud); in ucl_emitter_print_key()
127 if (obj->type != UCL_OBJECT && obj->type != UCL_ARRAY) { in ucl_emitter_print_key()
[all …]
H A Ducl_emitter_utils.c45 .func = NULL,
51 .func = NULL,
57 .func = NULL,
63 .func = NULL,
69 .func = NULL,
107 const struct ucl_emitter_functions *func = ctx->func; in ucl_elt_string_write_json() local
109 func->ucl_emitter_append_character ('"', 1, func->ud); in ucl_elt_string_write_json()
116 func->ucl_emitter_append_len (c, len, func->ud); in ucl_elt_string_write_json()
120 func->ucl_emitter_append_len ("\\n", 2, func->ud); in ucl_elt_string_write_json()
123 func->ucl_emitter_append_len ("\\r", 2, func->ud); in ucl_elt_string_write_json()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/interception/
H A Dinterception.h1 //===-- interception.h ------------------------------------------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
12 //===----------------------------------------------------------------------===//
72 // ---------------------
80 // function "func", the interceptor implementation is in ___interceptor_func,
82 // aliased (via a trampoline) by weak wrapper function "func".
86 // - provide a non-weak function "func" that performs interception;
87 // - if __interceptor_func exists, call it to perform the real functionality;
88 // - if it does not exist, figure out the real function and call it instead.
[all …]
/freebsd/contrib/netbsd-tests/fs/common/
H A Dh_fsmacros.h3 /*-
37 #include <atf-c.h>
106 #define ATF_TC_FSADD(fs,type,func,desc) \ argument
107 ATF_TC(fs##_##func); \
108 ATF_TC_HEAD(fs##_##func,tc) \
111 atf_tc_set_md_var(tc, "X-fs.type", #fs); \
112 atf_tc_set_md_var(tc, "X-fs.mntname", type); \
114 void *fs##func##tmp; \
116 ATF_TC_BODY(fs##_##func,tc) \
120 FSTEST_CONSTRUCTOR(tc,fs,fs##func##tmp); \
[all …]
/freebsd/sys/sys/
H A Dsdt.h1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright 2006-2008 John Birrell <jb@FreeBSD.org>
91 #define SDT_PROBE_DEFINE(prov, mod, func, name) argument
92 #define SDT_PROBE_DECLARE(prov, mod, func, name) argument
94 #define SDT_PROBE(prov, mod, func, name, arg0, arg1, arg2, arg3, arg4) argument
95 #define SDT_PROBE_ARGTYPE(prov, mod, func, name, num, type, xtype) argument
97 #define SDT_PROBE_DEFINE0(prov, mod, func, name) argument
98 #define SDT_PROBE_DEFINE1(prov, mod, func, name, arg0) argument
99 #define SDT_PROBE_DEFINE2(prov, mod, func, name, arg0, arg1) argument
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_interceptors.h41 return UNLIKELY(cur_thread_init()->in_symbolizer); in in_symbolizer()
46 return !thr->is_inited || thr->ignore_interceptors || thr->in_ignored_lib; in MustIgnoreInterceptor()
51 #define SCOPED_INTERCEPTOR_RAW(func, ...) \ argument
53 ScopedInterceptor si(thr, #func, GET_CALLER_PC()); \
58 // c80604f7a3 ("tsan: remove real func check from interceptors")
60 // SanitizerCommon-tsan-powerpc64le-Linux :: Linux/ptrace.cpp
64 # define CHECK_REAL_FUNC(func) \ argument
65 if (REAL(func) == 0) { \
66 Report("FATAL: ThreadSanitizer: failed to intercept %s\n", #func); \
70 # define CHECK_REAL_FUNC(func) DCHECK(REAL(func)) argument
[all …]
/freebsd/contrib/openpam/misc/
H A Dgendoc.pl1 #!/usr/bin/perl -w
2 #-
3 # Copyright (c) 2002-2003 Networks Associates Technology, Inc.
4 # Copyright (c) 2004-2017 Dag-Erling Smørgrav
9 # Network Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035
51 DARPA/SPAWAR contract N66001-01-C-8035
56 .An Dag-Erling Sm\\(/orgrav Aq Mt des\@des.dev .",
58 .An Dag-Erling Sm\\(/orgrav Aq Mt des\@des.dev .",
60 .An Dag-Erling Sm\\(/orgrav Aq Mt des\@des.dev .",
105 my $func;
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DInterpFrame.cpp1 //===--- InterpFrame.cpp - Call Frame implementation for the VM -*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
25 InterpFrame::InterpFrame(InterpState &S, const Function *Func, in InterpFrame() argument
27 : Caller(Caller), S(S), Depth(Caller ? Caller->Depth + 1 : 0), Func(Func), in InterpFrame()
30 if (!Func) in InterpFrame()
33 unsigned FrameSize = Func->getFrameSize(); in InterpFrame()
38 for (auto &Scope : Func->scopes()) { in InterpFrame()
42 B->invokeCtor(); in InterpFrame()
48 InterpFrame::InterpFrame(InterpState &S, const Function *Func, CodePtr RetPC, in InterpFrame() argument
[all …]
H A DFunctionPointer.h1 //===--- FunctionPointer.h - Types for the constexpr VM ---------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
22 const Function *Func;
26 FunctionPointer(const Function *Func) : Func(Func), Valid(true) { in FunctionPointer() argument
27 assert(Func); in FunctionPointer()
31 : Func(reinterpret_cast<const Function *>(IntVal)), Valid(false) {} in Func() function
33 const Function *getFunction() const { return Func; } in getFunction()
34 bool isZero() const { return !Func; } in isZero()
37 if (!Func || !Valid) in isWeak()
[all …]

12345678910>>...45