Lines Matching refs:thisVar

54     napi_value thisVar = nullptr;
57 napi_get_cb_info(env, cbinfo, &argc, args, &thisVar, nullptr);
77 Task* task = GenerateTask(env, thisVar, func, name, args, argc);
79 napi_wrap(env, thisVar, task, TaskDestructor, nullptr, nullptr);
80 napi_create_reference(env, thisVar, 0, &task->taskRef_);
84 return thisVar;
89 auto thisVar = TaskConstructor(env, cbinfo);
91 napi_unwrap(env, thisVar, reinterpret_cast<void**>(&task));
93 return thisVar;
264 napi_value thisVar;
265 napi_get_cb_info(env, cbinfo, &argc, args, &thisVar, nullptr);
267 if (NapiHelper::HasNameProperty(env, thisVar, CLONE_LIST_STR)) {
277 napi_unwrap(env, thisVar, reinterpret_cast<void**>(&task));
286 napi_set_named_property(env, thisVar, TRANSFERLIST_STR, undefined);
301 napi_set_named_property(env, thisVar, TRANSFERLIST_STR, undefined);
313 napi_set_named_property(env, thisVar, TRANSFERLIST_STR, args[0]);
321 napi_value thisVar;
322 napi_get_cb_info(env, cbinfo, &argc, args, &thisVar, nullptr);
324 if (NapiHelper::HasNameProperty(env, thisVar, TRANSFERLIST_STR)) {
337 napi_unwrap(env, thisVar, reinterpret_cast<void**>(&task));
346 napi_set_named_property(env, thisVar, CLONE_LIST_STR, undefined);
357 napi_set_named_property(env, thisVar, CLONE_LIST_STR, args[0]);
390 napi_value thisVar;
393 napi_get_cb_info(env, cbinfo, &argc, nullptr, &thisVar, nullptr);
394 napi_value id = NapiHelper::GetNameProperty(env, thisVar, "taskId");
401 napi_get_cb_info(env, cbinfo, &argc, args, &thisVar, nullptr);
411 napi_value napiTaskId = NapiHelper::GetNameProperty(env, thisVar, "taskId");
705 napi_value thisVar;
712 napi_get_cb_info(env, cbinfo, &argc, args, &thisVar, nullptr);
722 napi_unwrap(env, thisVar, reinterpret_cast<void**>(&task));
742 napi_value thisVar;
749 napi_get_cb_info(env, cbinfo, &argc, args, &thisVar, nullptr);
760 napi_unwrap(env, thisVar, reinterpret_cast<void**>(&task));
792 napi_value thisVar;
799 napi_get_cb_info(env, cbinfo, &argc, args, &thisVar, nullptr);
810 napi_unwrap(env, thisVar, reinterpret_cast<void**>(&task));
830 napi_value thisVar;
837 napi_get_cb_info(env, cbinfo, &argc, args, &thisVar, nullptr);
848 napi_unwrap(env, thisVar, reinterpret_cast<void**>(&task));
867 napi_value thisVar = nullptr;
868 napi_get_cb_info(env, cbinfo, nullptr, nullptr, &thisVar, nullptr);
870 napi_unwrap(env, thisVar, reinterpret_cast<void**>(&task));
884 napi_value thisVar = nullptr;
886 napi_get_cb_info(env, cbinfo, nullptr, nullptr, &thisVar, nullptr);
887 napi_unwrap(env, thisVar, reinterpret_cast<void**>(&task));
913 napi_value thisVar = nullptr;
915 napi_get_cb_info(env, cbinfo, nullptr, nullptr, &thisVar, nullptr);
916 napi_unwrap(env, thisVar, reinterpret_cast<void**>(&task));