Lines Matching refs:async_context
1469 + static napi_value CreateMSLiteModelWrapper(napi_env env, MSLiteModelAsyncContext *async_context);
1478 + MSLiteModelAsyncContext *async_context);
2886 …e MSLiteModelNapi::CreateMSLiteModelWrapper(napi_env env, MSLiteModelAsyncContext *async_context) {
2898 + model_info_ = &(async_context->model_info);
2899 + context_ = &(async_context->context);
2910 + auto async_context = static_cast<MSLiteModelAsyncContext *>(data);
2912 + if (async_context != nullptr) {
2913 + if (!async_context->status) {
2914 + valueParam = CreateMSLiteModelWrapper(env, async_context);
2916 + CommonCallbackRoutine(env, async_context, valueParam);
3835 + MSLiteModelAsyncContext *async_context) {
3843 + status = napi_unwrap(env, thisVar, reinterpret_cast<void **>(&(async_context->lite_model)));
3844 + if (status != napi_ok || async_context->lite_model == nullptr) {
3848 + auto modelNapi = async_context->lite_model;