Home
last modified time | relevance | path

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

1234

/external/tensorflow/tensorflow/python/autograph/pyct/common_transformers/
Danf_test.py84 def test_function(): function
88 node, _ = parser.parse_entity(test_function, future_features=())
91 self.assertEqual(test_function(), result.test_function())
95 def test_function(x, y, z): function
104 self.assert_body_anfs_as_expected(expected_result, test_function)
108 def test_function(a, b, c, e, f, g): function
121 self.assert_body_anfs_as_expected(expected_result, test_function)
125 def test_function(b, c, d, e): function
135 self.assert_body_anfs_as_expected(expected_result, test_function)
139 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.py67 def test_function(x): function
109 self.assertIs(test_function,
110 tf_decorator.TFDecorator('', test_function).decorated_target)
115 test_function).decorator_name)
119 tf_decorator.TFDecorator('', test_function,
129 tf_decorator.TFDecorator('', test_function, '',
134 tf_decorator.TFDecorator('', test_function).__name__)
137 if hasattr(tf_decorator.TFDecorator('', test_function), '__qualname__'):
139 tf_decorator.TFDecorator('', test_function).__qualname__)
143 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/cronet/buildtools/third_party/libc++/trunk/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/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/tensorflow/tensorflow/python/autograph/pyct/
Dtransformer_test.py73 def test_function(a): function
86 node, _ = parser.parse_entity(test_function, future_features=())
132 def test_function(a): function
140 node, _ = parser.parse_entity(test_function, future_features=())
169 def test_function(x, y): function
176 node, _ = parser.parse_entity(test_function, future_features=())
200 def test_function(x): function
206 node, _ = parser.parse_entity(test_function, future_features=())
231 def test_function(x): function
237 node, _ = parser.parse_entity(test_function, future_features=())
/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/mbedtls/scripts/mbedtls_dev/
Dbignum_mod_raw.py37 test_function = "mpi_mod_raw_sub" variable in BignumModRawSub
68 test_function = "mpi_mod_raw_add" variable in BignumModRawAdd
88 test_function = "mpi_mod_raw_to_mont_rep" variable in BignumModRawConvertToMont
101 test_function = "mpi_mod_raw_from_mont_rep" variable in BignumModRawConvertFromMont
Dbignum_core.py34 test_function = "mpi_core_shift_r" variable in BignumCoreShiftR
73 test_function = "mpi_core_ct_uint_table_lookup" variable in BignumCoreCTLookup
114 test_function = "mpi_core_add_and_add_if" variable in BignumCoreAddAndAddIf
134 test_function = "mpi_core_sub" variable in BignumCoreSub
158 test_function = "mpi_core_mla" variable in BignumCoreMLA
240 test_function = "mpi_core_montmul" variable in BignumCoreMontmul
761 test_function = "mpi_core_exp_mod" variable in BignumCoreExpMod
798 test_function = "mpi_core_sub_int" variable in BignumCoreSubInt
/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/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/cronet/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/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/test/CodeGen/Generic/
Dexternally_available.ll3 ; test_function should not be emitted to the .s file.
4 define available_externally i32 @test_function() {
/external/mbedtls/tests/scripts/
Dgenerate_bignum_tests.py141 test_function = "mpi_cmp_mpi" variable in BignumCmp
162 test_function = "mpi_cmp_abs" variable in BignumCmpAbs
173 test_function = "mpi_add_mpi" variable in BignumAdd
/external/cronet/testing/rust_gtest_interop/
Drust_gtest_interop.cc16 void (*test_function)(testing::Test*), in rust_gtest_add_test()
21 auto factory = [=]() { return gtest_factory(test_function); }; in rust_gtest_add_test()
/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/tensorflow/tensorflow/python/keras/
Dcallbacks_v1.py388 if self.merged not in self.model.test_function.fetches:
389 self.model.test_function.fetches.append(self.merged)
390 self.model.test_function.fetch_callbacks[
411 if self.merged in self.model.test_function.fetches:
412 self.model.test_function.fetches.remove(self.merged)
413 if self.merged in self.model.test_function.fetch_callbacks:
414 self.model.test_function.fetch_callbacks.pop(self.merged)
/external/tensorflow/tensorflow/python/keras/engine/
Dtraining.py611 self.test_function = None
1304 if self.test_function is not None:
1305 return self.test_function
1325 def test_function(iterator): function
1331 def test_function(iterator): function
1338 test_function = def_function.function(
1339 test_function, experimental_relax_shapes=True)
1341 self.test_function = test_function
1344 …self.test_function = lambda iterator: self._cluster_coordinator.schedule( # pylint: disable=g-lon…
1345 test_function, args=(iterator,))
[all …]
/external/cronet/buildtools/third_party/libc++/trunk/test/std/utilities/function.objects/refwrap/refwrap.assign/
Dcopy_assign.pass.cpp45 test_function() in test_function() function
57 test_function(); in main()

1234