Home
last modified time | relevance | path

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

12345

/external/tensorflow/tensorflow/python/autograph/pyct/common_transformers/
Danf_test.py88 def test_function(): function
92 node, _ = parser.parse_entity(test_function, future_features=())
95 self.assertEqual(test_function(), result.test_function())
99 def test_function(x, y, z): function
108 self.assert_body_anfs_as_expected(expected_result, test_function)
112 def test_function(a, b, c, e, f, g): function
125 self.assert_body_anfs_as_expected(expected_result, test_function)
129 def test_function(b, c, d, e): function
139 self.assert_body_anfs_as_expected(expected_result, test_function)
143 def test_function(call_something, a, b, y, z, c, d, e, f, g, h, i): function
[all …]
/external/tensorflow/tensorflow/python/util/
Dtf_decorator_test.py71 def test_function(x): function
113 self.assertIs(test_function,
114 tf_decorator.TFDecorator('', test_function).decorated_target)
119 test_function).decorator_name)
123 tf_decorator.TFDecorator('', test_function,
133 tf_decorator.TFDecorator('', test_function, '',
138 tf_decorator.TFDecorator('', test_function).__name__)
141 if hasattr(tf_decorator.TFDecorator('', test_function), '__qualname__'):
143 tf_decorator.TFDecorator('', test_function).__qualname__)
147 tf_decorator.TFDecorator('', test_function).__doc__)
[all …]
/external/python/pybind11/tests/
Dtest_constants_and_functions.py12 assert m.test_function() == "test_function()"
13 assert m.test_function(7) == "test_function(7)"
14 assert m.test_function(m.MyEnum.EFirstEntry) == "test_function(enum=1)"
15 assert m.test_function(m.MyEnum.ESecondEntry) == "test_function(enum=2)"
17 assert m.test_function() == "test_function()"
18 assert m.test_function("abcd") == "test_function(char *)"
19 assert m.test_function(1, 1.0) == "test_function(int, float)"
20 assert m.test_function(1, 1.0) == "test_function(int, float)"
21 assert m.test_function(2.0, 2) == "test_function(float, int)"
/external/vixl/test/
Dtest-utils.cc52 void (*test_function)(void); in ExecuteMemory() local
55 VIXL_STATIC_ASSERT(sizeof(buffer) == sizeof(test_function)); in ExecuteMemory()
56 VIXL_STATIC_ASSERT(sizeof(uintptr_t) == sizeof(test_function)); in ExecuteMemory()
59 memcpy(&test_function, &entry_point, sizeof(test_function)); in ExecuteMemory()
74 test_function(); in ExecuteMemory()
/external/libcxx/test/std/utilities/meta/meta.unary/meta.unary.comp/
Dfunction.pass.cpp29 void test_function() in test_function() function
39 test_function<void ()>(); in main()
40 test_function<void (int)>(); in main()
41 test_function<int (double)>(); in main()
42 test_function<int (double, char)>(); in main()
/external/llvm-project/libcxx/test/std/utilities/meta/meta.unary/meta.unary.comp/
Dfunction.pass.cpp30 void test_function() in test_function() function
40 test_function<void ()>(); in main()
41 test_function<void (int)>(); in main()
42 test_function<int (double)>(); in main()
43 test_function<int (double, char)>(); in main()
/external/llvm-project/llvm/test/Transforms/Inline/
Dexternally_available.ll3 define available_externally i32 @test_function() {
4 ; CHECK-NOT: @test_function
13 %A = call i32 @test_function()
15 ; CHECK-NOT: @test_function
23 ; CHECK-NOT: @test_function
/external/llvm/test/Transforms/Inline/
Dexternally_available.ll2 ; RUN: not grep test_function %t
6 ; test_function should not be emitted to the .s file.
7 define available_externally i32 @test_function() {
13 %A = call i32 @test_function()
/external/llvm-project/compiler-rt/test/asan/TestCases/Windows/
Dshadow_conflict_32.cpp12 extern "C" __declspec(dllimport) int test_function();
16 (void *)&test_function); in main()
20 extern "C" __declspec(dllexport) int test_function() { return 0; } in test_function() function
Ddll_host.cpp67 typedef int (*test_function)(); in main() typedef
68 test_function gf = (test_function)GetProcAddress(h, "test_function"); in main()
/external/linux-kselftest/tools/testing/selftests/powerpc/
Dharness.c27 int run_test(int (test_function)(void), char *name) in run_test()
39 exit(test_function()); in run_test()
104 int test_harness(int (test_function)(void), char *name) in test_harness()
123 rc = run_test(test_function, name); in test_harness()
/external/compiler-rt/test/asan/TestCases/Windows/
Ddll_host.cc42 typedef int (*test_function)(); in main() typedef
43 test_function gf = (test_function)GetProcAddress(h, "test_function"); in main()
/external/tensorflow/tensorflow/python/autograph/pyct/
Dtransformer_test.py76 def test_function(a): function
89 node, _ = parser.parse_entity(test_function, future_features=())
135 def test_function(a): function
143 node, _ = parser.parse_entity(test_function, future_features=())
172 def test_function(x, y): function
179 node, _ = parser.parse_entity(test_function, future_features=())
203 def test_function(x): function
209 node, _ = parser.parse_entity(test_function, future_features=())
234 def test_function(x): function
240 node, _ = parser.parse_entity(test_function, future_features=())
/external/llvm/test/Transforms/GlobalDCE/
Dexternally_available.ll3 ; test_function should not be emitted to the .s file.
4 ; CHECK-NOT: test_function
5 define available_externally i32 @test_function() {
/external/libchrome/base/
Dscoped_native_library_unittest.cc36 FARPROC test_function = in TEST() local
38 EXPECT_EQ(0, IsBadCodePtr(test_function)); in TEST()
41 test_function); in TEST()
/external/llvm-project/llvm/test/Transforms/GlobalDCE/
Dexternally_available.ll11 ; test_function should not be emitted to the .s file.
12 ; CHECK-NOT: define {{.*}} @test_function()
13 define available_externally i32 @test_function() {
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dmodernize-use-nullptr-basic.cpp151 void test_function(int *p) {} in test_function() function
156 test_function(0); in test_function_call()
160 test_function(NULL); in test_function_call()
164 test_function(g_null); in test_function_call()
/external/llvm/test/CodeGen/Generic/
Dexternally_available.ll3 ; test_function should not be emitted to the .s file.
4 define available_externally i32 @test_function() {
/external/llvm/test/CodeGen/X86/
Dmisched-code-difference-with-debug.ll27 declare i32 @test_function(%class.C*, i8 signext, i8 signext, i8 signext, ...)
37 …%call = call i32 (%class.C*, i8, i8, i8, ...) @test_function(%class.C* %c, i8 signext 0, i8 signex…
39 …%call2 = call i32 (%class.C*, i8, i8, i8, ...) @test_function(%class.C* %c, i8 signext 0, i8 signe…
53 …%call = call i32 (%class.C*, i8, i8, i8, ...) @test_function(%class.C* %c, i8 signext 0, i8 signex…
56 …%call2 = call i32 (%class.C*, i8, i8, i8, ...) @test_function(%class.C* %c, i8 signext 0, i8 signe…
/external/llvm-project/llvm/test/CodeGen/X86/
Dmisched-code-difference-with-debug.ll28 declare i32 @test_function(%class.C*, i8 signext, i8 signext, i8 signext, ...)
38 …%call = call i32 (%class.C*, i8, i8, i8, ...) @test_function(%class.C* %c, i8 signext 0, i8 signex…
40 …%call2 = call i32 (%class.C*, i8, i8, i8, ...) @test_function(%class.C* %c, i8 signext 0, i8 signe…
54 …%call = call i32 (%class.C*, i8, i8, i8, ...) @test_function(%class.C* %c, i8 signext 0, i8 signex…
57 …%call2 = call i32 (%class.C*, i8, i8, i8, ...) @test_function(%class.C* %c, i8 signext 0, i8 signe…
/external/llvm-project/llvm/test/CodeGen/Generic/
Dexternally_available.ll3 ; test_function should not be emitted to the .s file.
4 define available_externally i32 @test_function() {
/external/libepoxy/test/
Dwgl_core_and_exts.c30 test_function(HDC hdc) in test_function() function
76 make_window_and_test(test_function); in main()
Dwgl_usefontbitmaps.c30 test_function(HDC hdc) in test_function() function
70 make_window_and_test(test_function); in main()
/external/libcxx/test/std/utilities/function.objects/refwrap/refwrap.assign/
Dcopy_assign.pass.cpp38 test_function() in test_function() function
50 test_function(); in main()
/external/llvm-project/libcxx/test/std/utilities/function.objects/refwrap/refwrap.assign/
Dcopy_assign.pass.cpp39 test_function() in test_function() function
51 test_function(); in main()

12345