Home
last modified time | relevance | path

Searched full:testfunction (Results 1 – 25 of 92) sorted by relevance

1234

/external/armnn/src/armnnTestUtils/
DUnitTests.hpp79 void RunTestFunction(const char* testName, TFuncPtr testFunction, Args... args) in RunTestFunction() argument
87 auto testResult = (*testFunction)(workloadFactory, memoryManager, args...); in RunTestFunction()
95 void RunTestFunctionUsingTensorHandleFactory(const char* testName, TFuncPtr testFunction, Args... a… in RunTestFunctionUsingTensorHandleFactory() argument
105 auto testResult = (*testFunction)(workloadFactory, memoryManager, tensorHandleFactory, args...); in RunTestFunctionUsingTensorHandleFactory()
111 #define ARMNN_SIMPLE_TEST_CASE(TestName, TestFunction) \ argument
114 TestFunction(); \
117 #define ARMNN_AUTO_TEST_CASE(TestName, TestFunction, ...) \ argument
120 RunTestFunction<FactoryType>(#TestName, &TestFunction, ##__VA_ARGS__); \
123 #define ARMNN_AUTO_TEST_FIXTURE(TestName, Fixture, TestFunction, ...) \ argument
126 RunTestFunction<FactoryType>(#TestName, &TestFunction, ##__VA_ARGS__); \
[all …]
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/
Dreduce_utils_test.cc25 void TestFunction(const std::vector<int>& axis_in, in TestFunction() function
52 TestFunction(axis_in, shape_in, expected_axis_out, expected_shape_out); in TEST()
60 TestFunction(axis_in, shape_in, expected_axis_out, expected_shape_out); in TEST()
68 TestFunction(axis_in, shape_in, expected_axis_out, expected_shape_out); in TEST()
76 TestFunction(axis_in, shape_in, expected_axis_out, expected_shape_out); in TEST()
84 TestFunction(axis_in, shape_in, expected_axis_out, expected_shape_out); in TEST()
92 TestFunction(axis_in, shape_in, expected_axis_out, expected_shape_out); in TEST()
100 TestFunction(axis_in, shape_in, expected_axis_out, expected_shape_out); in TEST()
108 TestFunction(axis_in, shape_in, expected_axis_out, expected_shape_out); in TEST()
116 TestFunction(axis_in, shape_in, expected_axis_out, expected_shape_out); in TEST()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/
DvktTestCaseUtil.hpp239 FunctionInstance0::Function testFunction) in createFunctionCase() argument
241 …eFactory1<FunctionInstance0, FunctionInstance0::Function>(testCtx, type, name, desc, testFunction); in createFunctionCase()
249 FunctionInstance0::Function testFunction) in createFunctionCase() argument
251 …ctionInstance0::Function, FunctionSupport0>(testCtx, type, name, desc, testFunction, checkSupport); in createFunctionCase()
259 FunctionInstance0::Function testFunction) in createFunctionCaseWithPrograms() argument
262 testCtx, type, name, desc, FunctionPrograms0(initPrograms), testFunction); in createFunctionCaseWithPrograms()
271 FunctionInstance0::Function testFunction) in createFunctionCaseWithPrograms() argument
274 testCtx, type, name, desc, FunctionPrograms0(initPrograms), testFunction, checkSupport); in createFunctionCaseWithPrograms()
282 typename FunctionInstance1<Arg0>::Function testFunction, in createFunctionCase() argument
286 testCtx, type, name, desc, typename FunctionInstance1<Arg0>::Args(testFunction, arg0)); in createFunctionCase()
[all …]
/external/cronet/buildtools/third_party/libc++/trunk/test/std/utilities/format/format.tuple/
Dformat.functions.tests.h30 template <class CharT, class TestFunction, class ExceptionTest, class TupleOrPair>
31 void test_tuple_or_pair_int_int(TestFunction check, ExceptionTest check_exception, TupleOrPair&& in…
77 template <class CharT, class TestFunction, class ExceptionTest, class TupleOrPair>
78 void test_tuple_or_pair_int_string(TestFunction check, ExceptionTest check_exception, TupleOrPair&&…
124 template <class CharT, class TestFunction, class TupleOrPair>
125 void test_escaping(TestFunction check, TupleOrPair&& input) {
149 template <class CharT, class TestFunction, class ExceptionTest>
150 void test_pair_int_int(TestFunction check, ExceptionTest check_exception) {
154 template <class CharT, class TestFunction, class ExceptionTest>
155 void test_pair_int_string(TestFunction check, ExceptionTest check_exception) {
[all …]
/external/google-breakpad/src/common/
Ddwarf_cu_to_module_unittest.cc254 void TestFunction(int i, const string &name,
592 void CUFixtureBase::TestFunction(int i, const string &name, in TestFunction() function in CUFixtureBase
639 #define TestFunction(a,b,c,d) TRACE(TestFunction((a),(b),(c),(d))) macro
662 TestFunction(0, "function1", 0x938cf8c07def4d34ULL, 0x55592d727f6cd01fLL); in TEST_F()
679 TestFunction(0, "function1", 0x938cf8c07def4d34ULL, 0x55592d727f6cd01fLL); in TEST_F()
694 TestFunction(0, "n::f(int)", 0x938cf8c07def4d34ULL, 0x55592d727f6cd01fLL); in TEST_F()
735 TestFunction(0, "inline-name", in TEST_F()
751 TestFunction(0, "inline-name", in TEST_F()
769 TestFunction(0, "abstract-instance", in TEST_F()
787 TestFunction(0, "<name omitted>", in TEST_F()
[all …]
/external/cronet/buildtools/third_party/libc++/trunk/test/std/utilities/format/format.range/format.range.fmtstr/
Dformat.functions.tests.h59 template <class CharT, class TestFunction, class ExceptionTest>
60 void test_string(TestFunction check, ExceptionTest check_exception, auto&& input) { in test_string()
103 template <class CharT, class TestFunction, class ExceptionTest>
104 void test_string(TestFunction check, ExceptionTest check_exception) { in test_string()
117 template <class CharT, class TestFunction, class ExceptionTest>
118 void test_range_string(TestFunction check, ExceptionTest check_exception, auto&& input) { in test_range_string()
214 template <class CharT, class TestFunction, class ExceptionTest>
215 void test_range_string(TestFunction check, ExceptionTest check_exception) { in test_range_string()
244 template <class CharT, class TestFunction, class ExceptionTest>
245 void test_debug_string(TestFunction check, ExceptionTest check_exception, auto&& input) { in test_debug_string()
[all …]
/external/deqp/modules/gles31/functional/
Des31fFboSRGBWriteControlTests.cpp209 struct TestFunction struct
211 explicit TestFunction (const bool hasFunctionValue) in TestFunction() argument
213 TestFunction (const char* const functionNameValue, const char* const functionDefinition) in TestFunction() argument
217 ~TestFunction (void) {} in ~TestFunction() argument
224 TestFunction getFunctionBlendLinearToSRGBCheck (void) in getFunctionBlendLinearToSRGBCheck()
260 TestFunction testFunction(functionName, functionDefinition); in getFunctionBlendLinearToSRGBCheck() local
262 return testFunction; in getFunctionBlendLinearToSRGBCheck()
350 : testFunction (false) {} in TestRenderPassConfig()
360 , testFunction (false) in TestRenderPassConfig()
367 TestFunction testFunctionValue, in TestRenderPassConfig()
[all …]
/external/tensorflow/tensorflow/c/experimental/ops/gen/cpp/renderers/
Drenderer_test.cc36 BlockOpen("void TestFunction()"); in TEST()
48 BlockClose(" // comment ending TestFunction"); in TEST()
59 void TestFunction() { in TEST()
68 } // comment ending TestFunction in TEST()
/external/cronet/buildtools/third_party/libc++/trunk/test/std/containers/container.adaptors/container.adaptors.format/
Dformat.functions.tests.h29 template <class CharT, class TestFunction, class ExceptionTest>
30 void test_char_default(TestFunction check, ExceptionTest check_exception, auto&& input) { in test_char_default()
133 template <class CharT, class TestFunction, class ExceptionTest>
134 void test_char_string(TestFunction check, ExceptionTest check_exception, auto&& input) { in test_char_string()
186 template <class CharT, class TestFunction, class ExceptionTest>
187 void test_char_escaped_string(TestFunction check, ExceptionTest check_exception, auto&& input) { in test_char_escaped_string()
237 template <class CharT, class TestFunction, class ExceptionTest>
238 void test_char(TestFunction check, ExceptionTest check_exception) { in test_char()
268 template <class TestFunction, class ExceptionTest>
269 void test_char_to_wchar(TestFunction check, ExceptionTest check_exception) { in test_char_to_wchar()
[all …]
/external/cronet/buildtools/third_party/libc++/trunk/test/std/utilities/format/format.range/format.range.formatter/
Dformat.functions.tests.h33 template <class CharT, class TestFunction, class ExceptionTest>
34 void test_char_default(TestFunction check, ExceptionTest check_exception, auto&& input) { in test_char_default()
137 template <class CharT, class TestFunction, class ExceptionTest>
138 void test_char_string(TestFunction check, ExceptionTest check_exception, auto&& input) { in test_char_string()
190 template <class CharT, class TestFunction, class ExceptionTest>
191 void test_char_escaped_string(TestFunction check, ExceptionTest check_exception, auto&& input) { in test_char_escaped_string()
241 template <class CharT, class TestFunction, class ExceptionTest>
242 void test_char(TestFunction check, ExceptionTest check_exception) { in test_char()
270 template <class TestFunction, class ExceptionTest> in test_char()
271 void test_char_to_wchar(TestFunction check, ExceptionTest check_exception) { in test_char()
[all …]
/external/pigweed/pw_perf_test/
Dstate_test.cc33 void TestFunction() { in TestFunction() function
44 TestFunction(); in TEST()
55 TestFunction(); in TEST()
/external/cronet/buildtools/third_party/libc++/trunk/test/std/utilities/format/format.range/format.range.fmtset/
Dformat.functions.tests.h27 template <class CharT, class TestFunction, class ExceptionTest>
28 void test_char_default(TestFunction check, ExceptionTest check_exception) { in test_char_default()
134 template <class CharT, class TestFunction, class ExceptionTest>
135 void test_char_string(TestFunction check, [[maybe_unused]] ExceptionTest check_exception) { in test_char_string()
193 template <class CharT, class TestFunction, class ExceptionTest>
194 void test_char_escaped_string(TestFunction check, [[maybe_unused]] ExceptionTest check_exception) { in test_char_escaped_string()
246 template <class CharT, class TestFunction, class ExceptionTest>
247 void test_char(TestFunction check, ExceptionTest check_exception) { in test_char()
258 template <class TestFunction, class ExceptionTest>
259 void test_char_to_wchar(TestFunction check, ExceptionTest check_exception) { in test_char_to_wchar()
[all …]
/external/libaom/test/
Dav1_convolve_test.cc75 T TestFunction() const { return test_func_; } in TestFunction() function in __anonf24301ee0111::TestParam
79 TestFunction() == other.TestFunction(); in operator ==()
142 bool same_fn = av1_convolve_x_sr_c == p.TestFunction(); in TEST_F()
166 bool same_fn = av1_highbd_convolve_x_sr_c == p.TestFunction(); in TEST_F()
364 convolve_x_func test_func = GetParam().TestFunction(); in TestConvolve()
393 convolve_x_func test_func = GetParam().TestFunction(); in TestConvolveSpeed()
478 GetParam().TestFunction()(input, width, test, kOutputStride, width, height, in TestConvolve()
506 highbd_convolve_x_func test_func = GetParam().TestFunction(); in TestConvolveSpeed()
581 GetParam().TestFunction()(input, width, test, kOutputStride, width, height, in TestConvolve()
609 GetParam().TestFunction()(input, width, test, kOutputStride, width, in TestConvolveSpeed()
[all …]
/external/selinux/libsepol/cil/test/unit/
DCuTest.h64 typedef void (*TestFunction)(CuTest *); typedef
69 TestFunction function;
76 void CuTestInit(CuTest* t, const char* name, TestFunction function);
77 CuTest* CuTestNew(const char* name, TestFunction function);
/external/cronet/base/debug/
Dallocation_trace_perftest.cc82 using TestFunction = typedef in base::debug::AllocationTraceRecorderPerfTest
86 static TestFunction GetTestFunction(HandlerFunctionSelector handler_function);
122 AllocationTraceRecorderPerfTest::TestFunction
139 TestFunction test_function = GetTestFunction(handler_function); in PerformTest()
/external/cronet/buildtools/third_party/libc++/trunk/test/std/utilities/format/format.range/format.range.fmtmap/
Dformat.functions.tests.h25 template <class CharT, class TestFunction, class ExceptionTest>
26 void test_char(TestFunction check, ExceptionTest check_exception) { in test_char()
132 template <class TestFunction, class ExceptionTest>
133 void test_char_to_wchar(TestFunction check, ExceptionTest check_exception) { in test_char_to_wchar()
238 template <class CharT, class TestFunction, class ExceptionTest>
239 void test_bool(TestFunction check, ExceptionTest check_exception) { in test_bool()
339 template <class CharT, class TestFunction, class ExceptionTest>
340 void test_int(TestFunction check, ExceptionTest check_exception, auto&& input) { in test_int()
433 template <class CharT, class TestFunction, class ExceptionTest>
434 void test_int(TestFunction check, ExceptionTest check_exception) { in test_int()
[all …]
/external/icu/icu4c/source/tools/ctestfw/
Duperf.cpp365 UPerfFunction* testFunction = this->runIndexedTest( index, true, name, par ); in runTestLoop() local
368 if(testFunction==NULL){ in runTestLoop()
372 ops = testFunction->getOperationsPerIteration(); in runTestLoop()
401 t = testFunction->time(loops,&status); in runTestLoop()
423 t = testFunction->time(loops, &status); in runTestLoop()
432 events = testFunction->getEventsPerIteration(); in runTestLoop()
466 delete testFunction; in runTestLoop()
/external/cronet/third_party/icu/source/tools/ctestfw/
Duperf.cpp365 UPerfFunction* testFunction = this->runIndexedTest( index, true, name, par ); in runTestLoop() local
368 if(testFunction==NULL){ in runTestLoop()
372 ops = testFunction->getOperationsPerIteration(); in runTestLoop()
401 t = testFunction->time(loops,&status); in runTestLoop()
423 t = testFunction->time(loops, &status); in runTestLoop()
432 events = testFunction->getEventsPerIteration(); in runTestLoop()
466 delete testFunction; in runTestLoop()
/external/compiler-rt/test/BlocksRuntime/
Drecursive-block.c31 voidVoid testFunction() { in testFunction() function
47 voidVoid block = testFunction(); in main()
/external/vixl/test/
Dtest-runner.h38 typedef void(TestFunction)(); typedef
118 TestFunction* callback_;
121 void set_callback(TestFunction* callback);
/external/cronet/buildtools/third_party/libc++/trunk/test/std/utilities/format/format.functions/
Dformat_tests.h25 // TestFunction must be callable as check(expected-result, string-to-format, args-to-format...)
81 template <class CharT, class W, class U, class TestFunction, class ExceptionTest>
82 void format_test_string(const W& world, const U& universe, TestFunction check, ExceptionTest check_… in format_test_string()
203 template <class CharT, class TestFunction>
204 void format_test_string_unicode([[maybe_unused]] TestFunction check) { in format_test_string_unicode()
298 template <class CharT, class TestFunction, class ExceptionTest>
299 void format_string_tests(TestFunction check, ExceptionTest check_exception) { in format_string_tests()
320 template <class CharT, class TestFunction, class ExceptionTest>
321 void format_test_bool(TestFunction check, ExceptionTest check_exception) { in format_test_bool()
377 template <class CharT, class TestFunction, class ExceptionTest>
[all …]
/external/angle/src/libANGLE/renderer/vulkan/
Dvk_format_utils.cpp144 SupportTest testFunction = HasNonRenderableTextureFormatSupport; in initImageFallback() local
152 testFunction = HasNonFilterableTextureFormatSupport; in initImageFallback()
155 int i = FindSupportedFormat(renderer, info, skip, static_cast<uint32_t>(numInfo), testFunction); in initImageFallback()
160 if (testFunction != HasNonFilterableTextureFormatSupport && in initImageFallback()
165 testFunction = HasFullTextureFormatSupport; in initImageFallback()
166 i = FindSupportedFormat(renderer, info, skip, static_cast<uint32_t>(numInfo), testFunction); in initImageFallback()
/external/python/cpython3/Lib/test/
Dtest_capi.py42 def testfunction(self): function
49 testfunction = _testcapi.instancemethod(testfunction) variable in InstanceMethod
56 self.assertTrue(inst.testfunction() is inst)
57 self.assertEqual(inst.testfunction.__doc__, testfunction.__doc__)
58 self.assertEqual(InstanceMethod.testfunction.__doc__, testfunction.__doc__)
60 InstanceMethod.testfunction.attribute = "test"
61 self.assertEqual(testfunction.attribute, "test")
62 self.assertRaises(AttributeError, setattr, inst.testfunction, "attribute", "test")
/external/cronet/buildtools/third_party/libc++/trunk/test/std/containers/sequences/vector.bool/vector.bool.fmt/
Dformat.functions.tests.h16 template <class CharT, class TestFunction, class ExceptionTest>
17 void format_test_vector_bool(TestFunction check, ExceptionTest check_exception, auto&& input) { in format_test_vector_bool()
114 template <class CharT, class TestFunction, class ExceptionTest>
115 void format_tests(TestFunction check, ExceptionTest check_exception) { in format_tests()
/external/skia/tests/
DPathOpsExtendedTest.cpp324 const char* testFunction, bool twoPaths, std::string& out) { in appendTest() argument
352 out += testFunction; in appendTest()
399 const char testFunction[] = "testSimplify(reporter, path);"; in testSimplify() local
400 appendTest(pathStr, pathPrefix, nameSuffix, testFunction, false, str); in testSimplify()
673 const char testFunction[] = "testSimplify(path);"; in outputProgress() local
680 appendTest(pathStr, pathPrefix, nameSuffix, testFunction, false, fPathStr); in outputProgress()
684 const char testFunction[] = "testOp(path);"; in outputProgress() local
687 appendTest(pathStr, nullptr, nameSuffix, testFunction, true, fPathStr); in outputProgress()

1234