Searched refs:testFunc (Results 1 - 5 of 5) sorted by relevance
/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/test/src/ |
H A D | layer_context.cpp | 56 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()
|
/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/test/include/ |
H A D | layer_context.h | 38 SurfaceError DrawBuffer(TestFunc testFunc);
|
/foundation/arkui/napi/test/unittest/ |
H A D | test_napi_threadsafe.cpp | 605 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/window/window_manager/wm/test/unittest/ |
H A D | window_adapter_test.cpp | 267 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()
|
/foundation/window/window_manager/window_scene/test/unittest/ |
H A D | session_manager_test.cpp | 377 auto testFunc = []() { return; }; in HWTEST_F() local 378 sm_->RegisterWindowManagerRecoverCallbackFunc(testFunc); in HWTEST_F()
|
Completed in 5 milliseconds