Lines Matching defs:context
245 static void CallJSCallBack(napi_env env, napi_value tsfn_cb, void* context, void* data)
250 EXPECT_EQ(((CallJsCbData_t*)context)->id, CALL_JS_CB_DATA_TEST_ID);
363 static void CallJSSlowCallBack(napi_env env, napi_value tsfn_cb, void* context, void* data)
384 static void ThreadSafeCallJs(napi_env env, napi_value tsfn_cb, void* context, void* data)
389 jsData = (CallJsCbData*)context;
399 static void Threadfinalcb(napi_env env, void* finalizeData, void* context)
404 GTEST_LOG_(INFO) << "context->id" << ((FinalCbData*)context)->id;
406 jsData = (CallJsCbData*)context;
7124 * @tc.name : Call napi_get_threadsafe_function_context to get the context value passed by creat
7126 * 2.Call napi_create_threadsafe_function and the value passed in context is number
7127 * 3.Call napi_get_threadsafe_function_context to get context
7159 * @tc.name : Call napi_get_threadsafe_function_context to get the context value passed by creat
7162 * 3.Call napi_get_threadsafe_function_context to get context when the contextresult is
7191 * @tc.name : Call napi_get_threadsafe_function_context to get the context value passed by creat
7194 * 3.Call napi_get_threadsafe_function_context to get context when the result is nullptr
7224 * @tc.name : Call napi_get_threadsafe_function_context to get the context value passed by creat
7226 * 2.Call napi_create_threadsafe_function and the value passed in context is a string
7227 * 3.Call napi_get_threadsafe_function_context to get context
7265 * @tc.name : Call napi_get_threadsafe_function_context to get the context value passed by creat
7267 * 2.Call napi_create_threadsafe_function and the value passed in context is a special
7269 * 3.Call napi_get_threadsafe_function_context to get context 4.Call napi_release_threadsafe_function to
7307 * @tc.name : Call napi_get_threadsafe_function_context to get the context value passed by creat
7309 * 2.Call napi_create_threadsafe_function and the value of the incoming context is a
7311 * 3.Call napi_get_threadsafe_function_context to get context 4.Call napi_release_threadsafe_function
8574 * the parameter context enters a valid parameter connext,
8578 * 3.parameter context input valid parameter connext.
8615 * the parameter context is input the valid parameter connext,
8619 * 3.parameter context input valid parameter connext.
8654 * the parameter context enters a valid parameter connext,
8658 * 3.parameter context input valid parameter connext.
8696 * the parameter context input valid parameter connext,
8700 * 3.parameter context input valid parameter connext.
8737 * the parameter context is empty, and the parameter result is a valid parameter,