Home
last modified time | relevance | path

Searched refs:testFunc (Results 1 - 25 of 34) sorted by relevance

12

/test/xts/acts/commonlibrary/ark_runtime/ark_runtime_jsvm_test/entry/src/main/cpp/jsvmtest/unittests/
H A Dtest_wasm.cpp390 JSVM_Value testFunc; local
392 testFunc = jsvm::GetProperty(exports, jsvm::Str("test_global_i32"));
393 result = jsvm::Call(testFunc, jsvm::Undefined(), {});
396 testFunc = jsvm::GetProperty(exports, jsvm::Str("test_global_i64"));
397 result = jsvm::Call(testFunc, jsvm::Undefined(), {});
400 testFunc = jsvm::GetProperty(exports, jsvm::Str("test_global_f32"));
401 result = jsvm::Call(testFunc, jsvm::Undefined(), {});
407 testFunc = jsvm::GetProperty(exports, jsvm::Str("test_global_f64"));
408 result = jsvm::Call(testFunc, jsvm::Undefined(), {});
416 JSVM_Value testFunc; local
426 JSVM_Value testFunc; global() local
452 JSVM_Value testFunc; global() local
544 JSVM_Value testFunc; global() local
577 JSVM_Value testFunc; global() local
895 JSVM_Value testFunc; global() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/
H A DvktTestCaseUtil.hpp325 FunctionInstance0::Function testFunc) in addFunctionCase()
327 group->addChild(createFunctionCase(group->getTestContext(), tcu::NODETYPE_SELF_VALIDATE, name, testFunc)); in addFunctionCase()
333 FunctionInstance0::Function testFunc) in addFunctionCase()
335 group->addChild(createFunctionCase(group->getTestContext(), tcu::NODETYPE_SELF_VALIDATE, name, checkSupport, testFunc)); in addFunctionCase()
341 FunctionInstance0::Function testFunc) in addFunctionCaseWithPrograms()
343 group->addChild(createFunctionCaseWithPrograms(group->getTestContext(), tcu::NODETYPE_SELF_VALIDATE, name, initPrograms, testFunc)); in addFunctionCaseWithPrograms()
350 FunctionInstance0::Function testFunc) in addFunctionCaseWithPrograms()
352 group->addChild(createFunctionCaseWithPrograms(group->getTestContext(), tcu::NODETYPE_SELF_VALIDATE, name, checkSupport, initPrograms, testFunc)); in addFunctionCaseWithPrograms()
358 typename FunctionInstance1<Arg0>::Function testFunc, in addFunctionCase()
361 group->addChild(createFunctionCase<Arg0>(group->getTestContext(), tcu::NODETYPE_SELF_VALIDATE, name, testFunc, arg in addFunctionCase()
323 addFunctionCase(tcu::TestCaseGroup* group, const std::string& name, FunctionInstance0::Function testFunc) addFunctionCase() argument
330 addFunctionCase(tcu::TestCaseGroup* group, const std::string& name, FunctionSupport0::Function checkSupport, FunctionInstance0::Function testFunc) addFunctionCase() argument
338 addFunctionCaseWithPrograms(tcu::TestCaseGroup* group, const std::string& name, FunctionPrograms0::Function initPrograms, FunctionInstance0::Function testFunc) addFunctionCaseWithPrograms() argument
346 addFunctionCaseWithPrograms(tcu::TestCaseGroup* group, const std::string& name, FunctionSupport0::Function checkSupport, FunctionPrograms0::Function initPrograms, FunctionInstance0::Function testFunc) addFunctionCaseWithPrograms() argument
356 addFunctionCase(tcu::TestCaseGroup* group, const std::string& name, typename FunctionInstance1<Arg0>::Function testFunc, Arg0 arg0) addFunctionCase() argument
365 addFunctionCase(tcu::TestCaseGroup* group, const std::string& name, typename FunctionSupport1<Arg0>::Function checkSupport, typename FunctionInstance1<Arg0>::Function testFunc, Arg0 arg0) addFunctionCase() argument
375 addFunctionCase(tcu::TestCaseGroup* group, tcu::TestNodeType type, const std::string& name, typename FunctionInstance1<Arg0>::Function testFunc, Arg0 arg0) addFunctionCase() argument
385 addFunctionCaseWithPrograms(tcu::TestCaseGroup* group, const std::string& name, typename FunctionPrograms1<Arg0>::Function initPrograms, typename FunctionInstance1<Arg0>::Function testFunc, Arg0 arg0) addFunctionCaseWithPrograms() argument
395 addFunctionCaseWithPrograms(tcu::TestCaseGroup* group, const std::string& name, typename FunctionSupport1<Arg0>::Function checkSupport, typename FunctionPrograms1<Arg0>::Function initPrograms, typename FunctionInstance1<Arg0>::Function testFunc, Arg0 arg0) addFunctionCaseWithPrograms() argument
406 addFunctionCaseWithPrograms(tcu::TestCaseGroup* group, tcu::TestNodeType type, const std::string& name, typename FunctionPrograms1<Arg0>::Function initPrograms, typename FunctionInstance1<Arg0>::Function testFunc, Arg0 arg0) addFunctionCaseWithPrograms() argument
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/
H A DvktTestCaseUtil.hpp334 FunctionInstance0::Function testFunc) in addFunctionCase()
336 group->addChild(createFunctionCase(group->getTestContext(), tcu::NODETYPE_SELF_VALIDATE, name, desc, testFunc)); in addFunctionCase()
343 FunctionInstance0::Function testFunc) in addFunctionCase()
345 group->addChild(createFunctionCase(group->getTestContext(), tcu::NODETYPE_SELF_VALIDATE, name, desc, checkSupport, testFunc)); in addFunctionCase()
352 FunctionInstance0::Function testFunc) in addFunctionCaseWithPrograms()
354 group->addChild(createFunctionCaseWithPrograms(group->getTestContext(), tcu::NODETYPE_SELF_VALIDATE, name, desc, initPrograms, testFunc)); in addFunctionCaseWithPrograms()
362 FunctionInstance0::Function testFunc) in addFunctionCaseWithPrograms()
364 group->addChild(createFunctionCaseWithPrograms(group->getTestContext(), tcu::NODETYPE_SELF_VALIDATE, name, desc, checkSupport, initPrograms, testFunc)); in addFunctionCaseWithPrograms()
371 typename FunctionInstance1<Arg0>::Function testFunc, in addFunctionCase()
374 group->addChild(createFunctionCase<Arg0>(group->getTestContext(), tcu::NODETYPE_SELF_VALIDATE, name, desc, testFunc, arg in addFunctionCase()
331 addFunctionCase(tcu::TestCaseGroup* group, const std::string& name, const std::string& desc, FunctionInstance0::Function testFunc) addFunctionCase() argument
339 addFunctionCase(tcu::TestCaseGroup* group, const std::string& name, const std::string& desc, FunctionSupport0::Function checkSupport, FunctionInstance0::Function testFunc) addFunctionCase() argument
348 addFunctionCaseWithPrograms(tcu::TestCaseGroup* group, const std::string& name, const std::string& desc, FunctionPrograms0::Function initPrograms, FunctionInstance0::Function testFunc) addFunctionCaseWithPrograms() argument
357 addFunctionCaseWithPrograms(tcu::TestCaseGroup* group, const std::string& name, const std::string& desc, FunctionSupport0::Function checkSupport, FunctionPrograms0::Function initPrograms, FunctionInstance0::Function testFunc) addFunctionCaseWithPrograms() argument
368 addFunctionCase(tcu::TestCaseGroup* group, const std::string& name, const std::string& desc, typename FunctionInstance1<Arg0>::Function testFunc, Arg0 arg0) addFunctionCase() argument
378 addFunctionCase(tcu::TestCaseGroup* group, const std::string& name, const std::string& desc, typename FunctionSupport1<Arg0>::Function checkSupport, typename FunctionInstance1<Arg0>::Function testFunc, Arg0 arg0) addFunctionCase() argument
389 addFunctionCase(tcu::TestCaseGroup* group, tcu::TestNodeType type, const std::string& name, const std::string& desc, typename FunctionInstance1<Arg0>::Function testFunc, Arg0 arg0) addFunctionCase() argument
400 addFunctionCaseWithPrograms(tcu::TestCaseGroup* group, const std::string& name, const std::string& desc, typename FunctionPrograms1<Arg0>::Function initPrograms, typename FunctionInstance1<Arg0>::Function testFunc, Arg0 arg0) addFunctionCaseWithPrograms() argument
411 addFunctionCaseWithPrograms(tcu::TestCaseGroup* group, const std::string& name, const std::string& desc, typename FunctionSupport1<Arg0>::Function checkSupport, typename FunctionPrograms1<Arg0>::Function initPrograms, typename FunctionInstance1<Arg0>::Function testFunc, Arg0 arg0) addFunctionCaseWithPrograms() argument
423 addFunctionCaseWithPrograms(tcu::TestCaseGroup* group, tcu::TestNodeType type, const std::string& name, const std::string& desc, typename FunctionPrograms1<Arg0>::Function initPrograms, typename FunctionInstance1<Arg0>::Function testFunc, Arg0 arg0) addFunctionCaseWithPrograms() argument
[all...]
/base/print/print_fwk/test/unittest/fwk_print_cups_client_test/
H A Dprint_cups_wrapper_test.cpp125 MockTestFunc testFunc = [this](PrintCupsClient &printCupsClient, MockPrintCupsWrapper &mock) { in HWTEST_F() local
132 DoMockTest(testFunc); in HWTEST_F()
144 MockTestFunc testFunc = [this, &cupsDests](PrintCupsClient &printCupsClient, MockPrintCupsWrapper &mock) { in HWTEST_F() local
152 DoMockTest(testFunc); in HWTEST_F()
181 MockTestFunc testFunc = [this](PrintCupsClient &printCupsClient, MockPrintCupsWrapper &mock) { in HWTEST_F() local
187 DoMockTest(testFunc); in HWTEST_F()
199 MockTestFunc testFunc = [this, &cupsDests](PrintCupsClient &printCupsClient, MockPrintCupsWrapper &mock) { in HWTEST_F() local
206 DoMockTest(testFunc); in HWTEST_F()
218 MockTestFunc testFunc = [this, &cupsDests](PrintCupsClient &printCupsClient, MockPrintCupsWrapper &mock) { in HWTEST_F() local
227 DoMockTest(testFunc); in HWTEST_F()
239 MockTestFunc testFunc = [this, &cupsDests](PrintCupsClient &printCupsClient, MockPrintCupsWrapper &mock) { HWTEST_F() local
262 MockTestFunc testFunc = [this, &cupsDests](PrintCupsClient &printCupsClient, MockPrintCupsWrapper &mock) { HWTEST_F() local
301 MockTestFunc testFunc = [this](PrintCupsClient &printCupsClient, MockPrintCupsWrapper &mock) { HWTEST_F() local
318 MockTestFunc testFunc = [this, &cupsDests](PrintCupsClient &printCupsClient, MockPrintCupsWrapper &mock) { HWTEST_F() local
354 MockTestFunc testFunc = [this](PrintCupsClient &printCupsClient, MockPrintCupsWrapper &mock) { HWTEST_F() local
373 MockTestFunc testFunc = [this, &cupsDests](PrintCupsClient &printCupsClient, MockPrintCupsWrapper &mock) { HWTEST_F() local
581 MockTestFunc testFunc = HWTEST_F() local
[all...]
/third_party/typescript/tests/baselines/reference/
H A DnarrowingAssignmentReadonlyRespectsAssertion.js26 function testFunc() { function
40 testFunc();
56 function testFunc() {
71 testFunc();
/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/test/src/
H A Dlayer_context.cpp56 SurfaceError LayerContext::DrawBuffer(TestFunc testFunc) in DrawBuffer() argument
85 DrawBaseLayer(addr, buffer->GetWidth(), buffer->GetHeight(), testFunc); in DrawBuffer()
140 void LayerContext::DrawBaseLayer(void* image, int width, int height, TestFunc testFunc) in DrawBaseLayer() argument
150 testFunc(canvas, width, height); in DrawBaseLayer()
/base/print/print_fwk/test/unittest/fwk_vendor_manager_test/
H A Dvendor_bsuni_driver_test.cpp310 MockTestFunc testFunc = [this](VendorBsuniDriver &vendorDriver, MockBsuniDriver &mockDriver, in HWTEST_F() local
317 DoMockTest(testFunc); in HWTEST_F()
322 MockTestFunc testFunc = [this](VendorBsuniDriver &vendorDriver, MockBsuniDriver &mockDriver, in HWTEST_F() local
329 DoMockTest(testFunc); in HWTEST_F()
334 MockTestFunc testFunc = [this](VendorBsuniDriver &vendorDriver, MockBsuniDriver &mockDriver, in HWTEST_F() local
341 DoMockTest(testFunc); in HWTEST_F()
346 MockTestFunc testFunc = [this](VendorBsuniDriver &vendorDriver, MockBsuniDriver &mockDriver, in HWTEST_F() local
359 DoMockTest(testFunc); in HWTEST_F()
379 MockTestFunc testFunc = [this](VendorBsuniDriver &vendorDriver, MockBsuniDriver &mockDriver, in HWTEST_F() local
421 DoMockTest(testFunc); in HWTEST_F()
[all...]
/third_party/node/test/fixtures/wpt/common/
H A Dsubset-tests-by-key.js68 function subsetTestByKey(key, testFunc, ...args) {
77 return testFunc(...args);
H A Dsubset-tests.js51 function subsetTest(testFunc, ...args) {
54 return testFunc(...args);
/device/board/hisilicon/hispark_taurus/audio_drivers/unittest/src/
H A Dhdf_audio_driver_test.c92 (g_hdfHi3516DirverTestCaseList[i].testFunc != NULL)) { in HdfAudioDriverEntry()
93 result = g_hdfHi3516DirverTestCaseList[i].testFunc(); in HdfAudioDriverEntry()
/third_party/node/test/parallel/
H A Dtest-repl-use-global.js65 function runRepl(useGlobal, testFunc, cb) {
80 testFunc(useGlobal, cb, opts.output));
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
H A DWebGLReadOutsideFramebufferTest.cpp274 void Main2D(TestFunc testFunc, bool zeroOutside) { mainImpl(testFunc, zeroOutside, 0); } in Main2D() argument
276 void Main3D(TestFunc testFunc, bool zeroOutside) in Main3D() argument
278 mainImpl(testFunc, zeroOutside, kReadLayer); in Main3D()
281 void mainImpl(TestFunc testFunc, bool zeroOutside, int readLayer) in mainImpl() argument
303 (this->*testFunc)(x, y, readLayer, &actual); in mainImpl()
/third_party/vk-gl-cts/external/openglcts/modules/common/subgroups/
H A DglcSubgroupsTestsUtils.hpp213 SupportFunction suppFunc, InitFunction initFunc, TestFunction testFunc, Arg0 arg0) in SubgroupFactory()
217 , m_testFunc(testFunc) in SubgroupFactory()
288 TestFunction testFunc, in addFunctionCaseWithPrograms()
291 group->addChild(new SubgroupFactory(group->getContext(), tcu::NODETYPE_SELF_VALIDATE, name, desc, suppFunc, initFunc, testFunc, arg0)); in addFunctionCaseWithPrograms()
212 SubgroupFactory(deqp::Context& context, tcu::TestNodeType type, const std::string& name, const std::string& desc, SupportFunction suppFunc, InitFunction initFunc, TestFunction testFunc, Arg0 arg0) SubgroupFactory() argument
283 addFunctionCaseWithPrograms(deqp::TestCaseGroup* group, const std::string& name, const std::string& desc, SupportFunction suppFunc, InitFunction initFunc, TestFunction testFunc, Arg0 arg0) addFunctionCaseWithPrograms() argument
/foundation/arkui/napi/test/unittest/
H A Dtest_napi_threadsafe.cpp605 napi_value testFunc = nullptr; in CallThreadSafeWithSamePriorityTest() local
606 napi_create_function(env, "jsCallback", NAPI_AUTO_LENGTH, JsCallback, nullptr, &testFunc); in CallThreadSafeWithSamePriorityTest()
608 auto status = napi_create_threadsafe_function(env, testFunc, nullptr, resourceName, in CallThreadSafeWithSamePriorityTest()
654 napi_value testFunc = nullptr; in CallThreadSafeWithDiffPriorityTest() local
655 napi_create_function(env, "jsCallback", NAPI_AUTO_LENGTH, JsCallback, nullptr, &testFunc); in CallThreadSafeWithDiffPriorityTest()
657 auto status = napi_create_threadsafe_function(env, testFunc, nullptr, resourceName, in CallThreadSafeWithDiffPriorityTest()
694 napi_value testFunc = nullptr; in CallThreadSafeWithDiffPriorityMultipleThreadTest() local
695 napi_create_function(env, "jsCallback", NAPI_AUTO_LENGTH, JsCallback, nullptr, &testFunc); in CallThreadSafeWithDiffPriorityMultipleThreadTest()
697 auto status = napi_create_threadsafe_function(env, testFunc, nullptr, resourceName, in CallThreadSafeWithDiffPriorityMultipleThreadTest()
/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/test/include/
H A Dlayer_context.h38 SurfaceError DrawBuffer(TestFunc testFunc);
/foundation/window/window_manager/wm/test/unittest/
H A Dwindow_adapter_test.cpp267 auto testFunc = [] { in HWTEST_F() local
270 windowAdapter.RegisterSessionRecoverCallbackFunc(persistentId, testFunc); in HWTEST_F()
284 auto testFunc = [&ret] { in HWTEST_F() local
293 windowAdapter.RegisterSessionRecoverCallbackFunc(persistentId, testFunc); in HWTEST_F()
/third_party/icu/icu4c/source/i18n/
H A Dlistformatter.cpp79 ContextualHandler(bool (*testFunc)(const UnicodeString& text), in ContextualHandler()
86 test(testFunc), in ContextualHandler()
90 ContextualHandler(bool (*testFunc)(const UnicodeString& text), in ContextualHandler()
94 test(testFunc), in ContextualHandler()
/third_party/node/deps/icu-small/source/i18n/
H A Dlistformatter.cpp79 ContextualHandler(bool (*testFunc)(const UnicodeString& text), in ContextualHandler()
86 test(testFunc), in ContextualHandler()
90 ContextualHandler(bool (*testFunc)(const UnicodeString& text), in ContextualHandler()
94 test(testFunc), in ContextualHandler()
/third_party/skia/third_party/externals/icu/source/i18n/
H A Dlistformatter.cpp79 ContextualHandler(bool (*testFunc)(const UnicodeString& text), in ContextualHandler()
86 test(testFunc), in ContextualHandler()
90 ContextualHandler(bool (*testFunc)(const UnicodeString& text), in ContextualHandler()
94 test(testFunc), in ContextualHandler()
/foundation/window/window_manager/window_scene/test/unittest/
H A Dsession_manager_test.cpp377 auto testFunc = []() { return; }; in HWTEST_F() local
378 sm_->RegisterWindowManagerRecoverCallbackFunc(testFunc); in HWTEST_F()
/third_party/skia/third_party/externals/angle2/src/tests/compiler_tests/
H A DIntermNode_test.cpp66 const ImmutableString name("testFunc"); in createTestFunction()
220 TFunction *testFunc = in TEST_F() local
223 TIntermAggregate *original = TIntermAggregate::CreateFunctionCall(*testFunc, originalSeq); in TEST_F()
/third_party/python/Lib/unittest/
H A Dloader.py229 testFunc = getattr(testCaseClass, attrname)
230 if not callable(testFunc):
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/
H A DvktSpvAsmInstructionTests.cpp6489 vector<string> testFunc; in createOpNameGroup() local
6656 testFunc.push_back("main"); in createOpNameGroup()
6657 testFunc.push_back("func"); in createOpNameGroup()
6659 for(size_t fNdx = 0; fNdx < testFunc.size(); ++fNdx) in createOpNameGroup()
6667 specializations["ID"] = testFunc[fNdx]; in createOpNameGroup()
6674 entryMainGroup->addChild(new SpvAsmComputeShaderCase(testCtx, (testFunc[fNdx] + cases[ndx].name).c_str(), spec)); in createOpNameGroup()
6680 for(size_t fNdx = 0; fNdx < testFunc.size(); ++fNdx) in createOpNameGroup()
6688 specializations["ID"] = testFunc[fNdx]; in createOpNameGroup()
6696 entryNotGroup->addChild(new SpvAsmComputeShaderCase(testCtx, (testFunc[fNdx] + cases[ndx].name).c_str(), spec)); in createOpNameGroup()
6712 vector<string> testFunc; in createOpMemberNameGroup() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/spirv_assembly/
H A DvktSpvAsmInstructionTests.cpp6477 vector<string> testFunc; in createOpNameGroup() local
6644 testFunc.push_back("main"); in createOpNameGroup()
6645 testFunc.push_back("func"); in createOpNameGroup()
6647 for(size_t fNdx = 0; fNdx < testFunc.size(); ++fNdx) in createOpNameGroup()
6655 specializations["ID"] = testFunc[fNdx]; in createOpNameGroup()
6662 entryMainGroup->addChild(new SpvAsmComputeShaderCase(testCtx, (testFunc[fNdx] + cases[ndx].name).c_str(), cases[ndx].name, spec)); in createOpNameGroup()
6668 for(size_t fNdx = 0; fNdx < testFunc.size(); ++fNdx) in createOpNameGroup()
6676 specializations["ID"] = testFunc[fNdx]; in createOpNameGroup()
6684 entryNotGroup->addChild(new SpvAsmComputeShaderCase(testCtx, (testFunc[fNdx] + cases[ndx].name).c_str(), cases[ndx].name, spec)); in createOpNameGroup()
6700 vector<string> testFunc; in createOpMemberNameGroup() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
H A DvktApiDeviceInitializationTests.cpp2747 FunctionInstance0::Function testFunc) in addFunctionCaseInNewSubgroup()
2750 addFunctionCase(subgroup.get(), "basic", testFunc); in addFunctionCaseInNewSubgroup()
2759 FunctionInstance0::Function testFunc) in addFunctionCaseInNewSubgroup()
2762 addFunctionCase(subgroup.get(), "basic", checkSupport, testFunc); in addFunctionCaseInNewSubgroup()
2772 typename FunctionInstance1<Arg0>::Function testFunc, in addFunctionCaseInNewSubgroup()
2776 subgroup->addChild(createFunctionCase<Arg0>(testCtx, tcu::NODETYPE_SELF_VALIDATE, "basic", checkSupport, testFunc, arg0)); in addFunctionCaseInNewSubgroup()
2743 addFunctionCaseInNewSubgroup( tcu::TestContext& testCtx, tcu::TestCaseGroup* group, const std::string& subgroupName, FunctionInstance0::Function testFunc) addFunctionCaseInNewSubgroup() argument
2754 addFunctionCaseInNewSubgroup( tcu::TestContext& testCtx, tcu::TestCaseGroup* group, const std::string& subgroupName, FunctionSupport0::Function checkSupport, FunctionInstance0::Function testFunc) addFunctionCaseInNewSubgroup() argument
2767 addFunctionCaseInNewSubgroup( tcu::TestContext& testCtx, tcu::TestCaseGroup* group, const std::string& subgroupName, typename FunctionSupport1<Arg0>::Function checkSupport, typename FunctionInstance1<Arg0>::Function testFunc, Arg0 arg0) addFunctionCaseInNewSubgroup() argument

Completed in 42 milliseconds

12