Home
last modified time | relevance | path

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

12345678910>>...592

/external/python/cpython3/Misc/
Dstable_abi.toml18 # - function: A function that must be kept available (and exported, i.e. not
146 [function.PyType_FromSpec]
388 [function.PyArg_Parse]
390 [function.PyArg_ParseTuple]
392 [function.PyArg_ParseTupleAndKeywords]
394 [function.PyArg_UnpackTuple]
396 [function.PyArg_VaParse]
398 [function.PyArg_VaParseTupleAndKeywords]
400 [function.PyArg_ValidateKeywordArguments]
404 [function.PyBool_FromLong]
[all …]
/external/libchrome/ui/gfx/geometry/
Dcubic_bezier_unittest.cc15 CubicBezier function(0.25, 0.0, 0.75, 1.0); in TEST() local
19 EXPECT_NEAR(function.Solve(0), 0, epsilon); in TEST()
20 EXPECT_NEAR(function.Solve(0.05), 0.01136, epsilon); in TEST()
21 EXPECT_NEAR(function.Solve(0.1), 0.03978, epsilon); in TEST()
22 EXPECT_NEAR(function.Solve(0.15), 0.079780, epsilon); in TEST()
23 EXPECT_NEAR(function.Solve(0.2), 0.12803, epsilon); in TEST()
24 EXPECT_NEAR(function.Solve(0.25), 0.18235, epsilon); in TEST()
25 EXPECT_NEAR(function.Solve(0.3), 0.24115, epsilon); in TEST()
26 EXPECT_NEAR(function.Solve(0.35), 0.30323, epsilon); in TEST()
27 EXPECT_NEAR(function.Solve(0.4), 0.36761, epsilon); in TEST()
[all …]
/external/cronet/tot/third_party/libc++/src/test/std/utilities/function.objects/func.wrap/func.wrap.func/
Dnoncopyable_return_type.pass.cpp45 std::function<NonCopyable()> f1a = []() { return NonCopyable(); }; in test()
46 std::function<NonCopyable()> f2a = +[]() { return NonCopyable(); }; in test()
47 std::function<NonCopyable()> f3a = LargeLambda(); in test()
48 std::function<NonCopyable()> f4a = std::ref(f1a); in test()
49 std::function<NonCopyable(int)> f1b = [](int) { return NonCopyable(); }; in test()
50 std::function<NonCopyable(int)> f2b = +[](int) { return NonCopyable(); }; in test()
51 std::function<NonCopyable(int)> f3b = LargeLambda(); in test()
52 std::function<NonCopyable(int)> f4b = std::ref(f1b); in test()
62 std::function<const NonCopyable()> f1a = []() { return NonCopyable(); }; in const_test()
63 std::function<const NonCopyable()> f2a = +[]() { return NonCopyable(); }; in const_test()
[all …]
/external/cronet/stable/third_party/libc++/src/test/std/utilities/function.objects/func.wrap/func.wrap.func/
Dnoncopyable_return_type.pass.cpp45 std::function<NonCopyable()> f1a = []() { return NonCopyable(); }; in test()
46 std::function<NonCopyable()> f2a = +[]() { return NonCopyable(); }; in test()
47 std::function<NonCopyable()> f3a = LargeLambda(); in test()
48 std::function<NonCopyable()> f4a = std::ref(f1a); in test()
49 std::function<NonCopyable(int)> f1b = [](int) { return NonCopyable(); }; in test()
50 std::function<NonCopyable(int)> f2b = +[](int) { return NonCopyable(); }; in test()
51 std::function<NonCopyable(int)> f3b = LargeLambda(); in test()
52 std::function<NonCopyable(int)> f4b = std::ref(f1b); in test()
62 std::function<const NonCopyable()> f1a = []() { return NonCopyable(); }; in const_test()
63 std::function<const NonCopyable()> f2a = +[]() { return NonCopyable(); }; in const_test()
[all …]
/external/cronet/stable/third_party/libc++/src/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/
Ddeduct_ptr.pass.cpp35 std::function a = f0; in main()
36 ASSERT_SAME_TYPE(decltype(a), std::function<R()>); in main()
38 std::function b = &f0; in main()
39 ASSERT_SAME_TYPE(decltype(b), std::function<R()>); in main()
42 std::function c{f0}; in main()
43 ASSERT_SAME_TYPE(decltype(c), std::function<R()>); in main()
45 std::function d{&f0}; in main()
46 ASSERT_SAME_TYPE(decltype(d), std::function<R()>); in main()
50 std::function a = f1; in main()
51 ASSERT_SAME_TYPE(decltype(a), std::function<R(A1)>); in main()
[all …]
Ddeduct_F.pass.cpp55 std::function g0 = f0_##N{}; \ in main()
56 ASSERT_SAME_TYPE(decltype(g0), std::function<R()>); \ in main()
58 std::function g1 = f1_##N{}; \ in main()
59 ASSERT_SAME_TYPE(decltype(g1), std::function<R(A1)>); \ in main()
61 std::function g2 = f2_##N{}; \ in main()
62 ASSERT_SAME_TYPE(decltype(g2), std::function<R(A1, A2)>); \ in main()
64 std::function g3 = f3_##N{}; \ in main()
65 ASSERT_SAME_TYPE(decltype(g3), std::function<R(A1, A2, A3)>); \ in main()
68 std::function g4{f0_##N{}}; \ in main()
69 ASSERT_SAME_TYPE(decltype(g4), std::function<R()>); \ in main()
[all …]
/external/cronet/tot/third_party/libc++/src/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/
Ddeduct_ptr.pass.cpp35 std::function a = f0; in main()
36 ASSERT_SAME_TYPE(decltype(a), std::function<R()>); in main()
38 std::function b = &f0; in main()
39 ASSERT_SAME_TYPE(decltype(b), std::function<R()>); in main()
42 std::function c{f0}; in main()
43 ASSERT_SAME_TYPE(decltype(c), std::function<R()>); in main()
45 std::function d{&f0}; in main()
46 ASSERT_SAME_TYPE(decltype(d), std::function<R()>); in main()
50 std::function a = f1; in main()
51 ASSERT_SAME_TYPE(decltype(a), std::function<R(A1)>); in main()
[all …]
Ddeduct_F.pass.cpp55 std::function g0 = f0_##N{}; \ in main()
56 ASSERT_SAME_TYPE(decltype(g0), std::function<R()>); \ in main()
58 std::function g1 = f1_##N{}; \ in main()
59 ASSERT_SAME_TYPE(decltype(g1), std::function<R(A1)>); \ in main()
61 std::function g2 = f2_##N{}; \ in main()
62 ASSERT_SAME_TYPE(decltype(g2), std::function<R(A1, A2)>); \ in main()
64 std::function g3 = f3_##N{}; \ in main()
65 ASSERT_SAME_TYPE(decltype(g3), std::function<R(A1, A2, A3)>); \ in main()
68 std::function g4{f0_##N{}}; \ in main()
69 ASSERT_SAME_TYPE(decltype(g4), std::function<R()>); \ in main()
[all …]
/external/stg/test_cases/diff_tests/function/expected/
Dparameters_cc.elf_elf_plain1 function symbol '_Z3f01iii' was removed
3 function symbol '_Z3f02iii' was removed
5 function symbol '_Z3f03iii' was removed
7 function symbol '_Z3f09iii' was removed
9 function symbol '_Z3f10iii' was removed
11 function symbol '_Z3f11iii' was removed
13 function symbol '_Z3f12iii' was removed
15 function symbol '_ZN1S3f01Eiii' was removed
17 function symbol '_ZN1S3f02Eiii' was removed
19 function symbol '_ZN1S3f03Eiii' was removed
[all …]
Dparameters_cc.elf_elf_small1 function symbol '_Z3f01iii' was removed
3 function symbol '_Z3f02iii' was removed
5 function symbol '_Z3f03iii' was removed
7 function symbol '_Z3f09iii' was removed
9 function symbol '_Z3f10iii' was removed
11 function symbol '_Z3f11iii' was removed
13 function symbol '_Z3f12iii' was removed
15 function symbol '_ZN1S3f01Eiii' was removed
17 function symbol '_ZN1S3f02Eiii' was removed
19 function symbol '_ZN1S3f03Eiii' was removed
[all …]
Dparameters_cc.elf_elf_flat1 function symbol '_Z3f01iii' was removed
3 function symbol '_Z3f02iii' was removed
5 function symbol '_Z3f03iii' was removed
7 function symbol '_Z3f09iii' was removed
9 function symbol '_Z3f10iii' was removed
11 function symbol '_Z3f11iii' was removed
13 function symbol '_Z3f12iii' was removed
15 function symbol '_ZN1S3f01Eiii' was removed
17 function symbol '_ZN1S3f02Eiii' was removed
19 function symbol '_ZN1S3f03Eiii' was removed
[all …]
Dparameters_cc.o_o_flat1 function symbol 'int f01(int, int, int)' {_Z3f01iii} was removed
3 function symbol 'int f02(int, int, int)' {_Z3f02iii} was removed
5 function symbol 'int f03(int, int, int)' {_Z3f03iii} was removed
7 function symbol 'int f09(int, int, int)' {_Z3f09iii} was removed
9 function symbol 'int f10(int, int, int)' {_Z3f10iii} was removed
11 function symbol 'int f11(int, int, int)' {_Z3f11iii} was removed
13 function symbol 'int f12(int, int, int)' {_Z3f12iii} was removed
15 function symbol 'int S::f01(struct S*, int, int, int)' {_ZN1S3f01Eiii} was removed
17 function symbol 'int S::f02(struct S*, int, int, int)' {_ZN1S3f02Eiii} was removed
19 function symbol 'int S::f03(struct S*, int, int, int)' {_ZN1S3f03Eiii} was removed
[all …]
Dparameters_cc.o_o_plain1 function symbol 'int f01(int, int, int)' {_Z3f01iii} was removed
3 function symbol 'int f02(int, int, int)' {_Z3f02iii} was removed
5 function symbol 'int f03(int, int, int)' {_Z3f03iii} was removed
7 function symbol 'int f09(int, int, int)' {_Z3f09iii} was removed
9 function symbol 'int f10(int, int, int)' {_Z3f10iii} was removed
11 function symbol 'int f11(int, int, int)' {_Z3f11iii} was removed
13 function symbol 'int f12(int, int, int)' {_Z3f12iii} was removed
15 function symbol 'int S::f01(struct S*, int, int, int)' {_ZN1S3f01Eiii} was removed
17 function symbol 'int S::f02(struct S*, int, int, int)' {_ZN1S3f02Eiii} was removed
19 function symbol 'int S::f03(struct S*, int, int, int)' {_ZN1S3f03Eiii} was removed
[all …]
Dparameters_cc.o_o_small1 function symbol 'int f01(int, int, int)' {_Z3f01iii} was removed
3 function symbol 'int f02(int, int, int)' {_Z3f02iii} was removed
5 function symbol 'int f03(int, int, int)' {_Z3f03iii} was removed
7 function symbol 'int f09(int, int, int)' {_Z3f09iii} was removed
9 function symbol 'int f10(int, int, int)' {_Z3f10iii} was removed
11 function symbol 'int f11(int, int, int)' {_Z3f11iii} was removed
13 function symbol 'int f12(int, int, int)' {_Z3f12iii} was removed
15 function symbol 'int S::f01(struct S*, int, int, int)' {_ZN1S3f01Eiii} was removed
17 function symbol 'int S::f02(struct S*, int, int, int)' {_ZN1S3f02Eiii} was removed
19 function symbol 'int S::f03(struct S*, int, int, int)' {_ZN1S3f03Eiii} was removed
[all …]
/external/tensorflow/tensorflow/compiler/tf2xla/
Dxla_jit_compiled_cpu_function_test.cc178 XlaCompiledCpuFunction function(jit->StaticData()); in TEST() local
181 *static_cast<int32*>(function.arg_data(0)) = 10; in TEST()
182 *static_cast<int32*>(function.arg_data(1)) = 32; in TEST()
183 EXPECT_TRUE(function.Run()); in TEST()
184 EXPECT_EQ(function.error_msg(), ""); in TEST()
185 EXPECT_EQ(*static_cast<int32*>(function.result_data(0)), 42); in TEST()
188 *static_cast<int32*>(function.arg_data(0)) = 100; in TEST()
189 *static_cast<int32*>(function.arg_data(1)) = 320; in TEST()
190 EXPECT_TRUE(function.Run()); in TEST()
191 EXPECT_EQ(function.error_msg(), ""); in TEST()
[all …]
/external/openthread/third_party/mbedtls/repo/scripts/mbedtls_dev/
Dc_wrapper_generator.py115 function: FunctionInfo,
125 return c_declare(function.return_type, wrapper_name, '')
150 def _underlying_function_name(self, function: FunctionInfo) -> str:
155 return function.name
157 def _return_variable_name(self, function: FunctionInfo) -> str:
162 function: FunctionInfo,
170 call = '({})({})'.format(self._underlying_function_name(function),
172 if function.returns_void():
175 ret_name = self._return_variable_name(function)
176 ret_decl = c_declare(function.return_type, ret_name, '')
[all …]
/external/python/cpython3/Lib/test/dtracedata/
Dcall_stack.d.expected1 function-entry:call_stack.py:start:23
2 function-entry: call_stack.py:function_1:1
3 function-entry: call_stack.py:function_3:9
4 function-return: call_stack.py:function_3:10
5 function-return: call_stack.py:function_1:2
6 function-entry: call_stack.py:function_2:5
7 function-entry: call_stack.py:function_1:1
8 function-entry: call_stack.py:function_3:9
9 function-return: call_stack.py:function_3:10
10 function-return: call_stack.py:function_1:2
[all …]
/external/ComputeLibrary/src/core/
DValidate.cpp26 arm_compute::Status arm_compute::error_on_mismatching_windows(const char *function, const char *fil… in error_on_mismatching_windows() argument
34 ARM_COMPUTE_RETURN_ERROR_ON_LOC(full[i].start() != win[i].start(), function, file, line); in error_on_mismatching_windows()
35 ARM_COMPUTE_RETURN_ERROR_ON_LOC(full[i].end() != win[i].end(), function, file, line); in error_on_mismatching_windows()
36 ARM_COMPUTE_RETURN_ERROR_ON_LOC(full[i].step() != win[i].step(), function, file, line); in error_on_mismatching_windows()
41 arm_compute::Status arm_compute::error_on_invalid_subwindow(const char *function, const char *file,… in error_on_invalid_subwindow() argument
49 ARM_COMPUTE_RETURN_ERROR_ON_LOC(full[i].start() > sub[i].start(), function, file, line); in error_on_invalid_subwindow()
50 ARM_COMPUTE_RETURN_ERROR_ON_LOC(full[i].end() < sub[i].end(), function, file, line); in error_on_invalid_subwindow()
51 ARM_COMPUTE_RETURN_ERROR_ON_LOC(full[i].step() != sub[i].step(), function, file, line); in error_on_invalid_subwindow()
52 …PUTE_RETURN_ERROR_ON_LOC((sub[i].start() - full[i].start()) % sub[i].step(), function, file, line); in error_on_invalid_subwindow()
57 arm_compute::Status arm_compute::error_on_window_not_collapsable_at_dimension(const char *function,… in error_on_window_not_collapsable_at_dimension() argument
[all …]
/external/selinux/libselinux/
DAndroid.bp46 "-Wno-error=unused-function",
266 "--allowlist-function=fgetfilecon",
267 "--allowlist-function=fgetfilecon_raw",
268 "--allowlist-function=freecon",
269 "--allowlist-function=fsetfilecon",
270 "--allowlist-function=getcon",
271 "--allowlist-function=getfilecon",
272 "--allowlist-function=getpeercon",
273 "--allowlist-function=getpidcon",
274 "--allowlist-function=getprevcon",
[all …]
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/
Dgraph-function-name-bug.pbtxt3 # This test is tailored to reproduce b/141617294. In particular, the function
15 function {
20 function {
25 function {
30 function {
35 function {
40 function {
45 function {
50 function {
55 function {
[all …]
/external/angle/src/tests/gl_tests/
DShadowSamplerFunctionsTest.cpp37 const char *FunctionName(FunctionType function) in FunctionName() argument
39 switch (function) in FunctionName()
72 constexpr bool IsProj(FunctionType function) in IsProj() argument
74 switch (function) in IsProj()
90 constexpr bool HasBias(FunctionType function) in HasBias() argument
92 switch (function) in HasBias()
104 constexpr bool HasLOD(FunctionType function) in HasLOD() argument
106 switch (function) in HasLOD()
118 constexpr bool HasGrad(FunctionType function) in HasGrad() argument
120 switch (function) in HasGrad()
[all …]
/external/rust/android-crates-io/crates/quiche/deps/boringssl/linux-ppc64le/crypto/test/
Dtrampoline-ppc.S22 .type abi_test_trampoline,@function
340 .type abi_test_clobber_r0,@function
349 .type abi_test_clobber_r2,@function
358 .type abi_test_clobber_r3,@function
367 .type abi_test_clobber_r4,@function
376 .type abi_test_clobber_r5,@function
385 .type abi_test_clobber_r6,@function
394 .type abi_test_clobber_r7,@function
403 .type abi_test_clobber_r8,@function
412 .type abi_test_clobber_r9,@function
[all …]
/external/openscreen/third_party/boringssl/linux-ppc64le/crypto/test/
Dtrampoline-ppc.S22 .type abi_test_trampoline,@function
340 .type abi_test_clobber_r0,@function
349 .type abi_test_clobber_r2,@function
358 .type abi_test_clobber_r3,@function
367 .type abi_test_clobber_r4,@function
376 .type abi_test_clobber_r5,@function
385 .type abi_test_clobber_r6,@function
394 .type abi_test_clobber_r7,@function
403 .type abi_test_clobber_r8,@function
412 .type abi_test_clobber_r9,@function
[all …]
/external/clang/test/CXX/temp/temp.decls/temp.variadic/
Dexample-function.cpp7 template<typename Signature> class function;
28 class function<R (Args...)> { class
31 function() : invoker (0) { } in function() function in function
32 function(const function& other) : invoker(0) { in function() function in function
37 template<typename F> function(const F& f) : invoker(0) { in function() function in function
41 ~function() { in ~function()
46 function& operator=(const function& other) { in operator =()
47 function(other).swap(*this); in operator =()
52 function& operator=(const F& f) { in operator =()
53 function(f).swap(*this); in operator =()
[all …]
/external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/Passes/
DPassBuilder.h389 const std::function<void(FunctionPassManager &, OptimizationLevel)> &C) { in registerPeepholeEPCallback()
403 const std::function<void(LoopPassManager &, OptimizationLevel)> &C) { in registerLateLoopOptimizationsEPCallback()
413 const std::function<void(LoopPassManager &, OptimizationLevel)> &C) { in registerLoopOptimizerEndEPCallback()
423 const std::function<void(FunctionPassManager &, OptimizationLevel)> &C) { in registerScalarOptimizerLateEPCallback()
434 const std::function<void(CGSCCPassManager &, OptimizationLevel)> &C) { in registerCGSCCOptimizerLateEPCallback()
445 const std::function<void(FunctionPassManager &, OptimizationLevel)> &C) { in registerVectorizerStartEPCallback()
455 const std::function<void(ModulePassManager &, OptimizationLevel)> &C) { in registerPipelineStartEPCallback()
464 const std::function<void(ModulePassManager &, OptimizationLevel)> &C) { in registerPipelineEarlySimplificationEPCallback()
473 const std::function<void(ModulePassManager &, OptimizationLevel)> &C) { in registerOptimizerEarlyEPCallback()
482 const std::function<void(ModulePassManager &, OptimizationLevel)> &C) { in registerOptimizerLastEPCallback()
[all …]

12345678910>>...592