Home
last modified time | relevance | path

Searched refs:scope (Results 1 - 10 of 10) sorted by relevance

/commonlibrary/ets_utils/js_sys_module/timer/
H A Dtimer.cpp127 napi_handle_scope scope = nullptr; in TimerCallback() local
128 napi_open_handle_scope(env, &scope); in TimerCallback()
129 if (scope == nullptr) { in TimerCallback()
152 napi_close_handle_scope(env, scope); in TimerCallback()
160 napi_close_handle_scope(env, scope); in TimerCallback()
165 napi_close_handle_scope(env, scope); in TimerCallback()
168 napi_close_handle_scope(env, scope); in TimerCallback()
240 Helper::ObjectScope<napi_value> scope(argv, true); in SetTimeoutInner()
/commonlibrary/ets_utils/js_util_module/util/
H A Djs_base64.cpp515 napi_handle_scope scope = nullptr; in EndStdEncode() local
516 napi_open_handle_scope(env, &scope); in EndStdEncode()
517 if (scope == nullptr) { in EndStdEncode()
533 napi_close_handle_scope(env, scope); in EndStdEncode()
548 napi_handle_scope scope = nullptr; in EndStdEncodeToString() local
549 napi_open_handle_scope(env, &scope); in EndStdEncodeToString()
550 if (scope == nullptr) { in EndStdEncodeToString()
558 napi_close_handle_scope(env, scope); in EndStdEncodeToString()
749 napi_handle_scope scope = nullptr; in EndStdDecode() local
750 napi_open_handle_scope(env, &scope); in EndStdDecode()
[all...]
/commonlibrary/ets_utils/js_concurrent_module/taskpool/test/
H A Dtest_taskpool.cpp200 ExceptionScope scope(env); in HWTEST_F()
213 ExceptionScope scope(env); in HWTEST_F()
284 ExceptionScope scope(env); in HWTEST_F()
322 ExceptionScope scope(env); in HWTEST_F()
335 ExceptionScope scope(env); in HWTEST_F()
357 ExceptionScope scope(env); in HWTEST_F()
379 ExceptionScope scope(env); in HWTEST_F()
425 ExceptionScope scope(env); in HWTEST_F()
438 ExceptionScope scope(env); in HWTEST_F()
840 ExceptionScope scope(en in HWTEST_F()
[all...]
H A Dtest.cpp739 ExceptionScope scope(env); in ReleaseWorkerHandles()
759 ExceptionScope scope(env); in DebuggerOnPostTask()
794 ExceptionScope scope(env); in PerformTask()
829 ExceptionScope scope(env); in NotifyHandleTaskResult()
848 ExceptionScope scope(env); in TaskResultCallback()
881 ExceptionScope scope(env); in HandleFunctionException()
/commonlibrary/ets_utils/js_concurrent_module/utils/locks/
H A Dlock_request.cpp271 napi_handle_scope scope = nullptr; in HandleRequestTimeout() local
272 napi_open_handle_scope(env_, &scope); in HandleRequestTimeout()
273 if (scope == nullptr) { in HandleRequestTimeout()
281 napi_close_handle_scope(env_, scope); in HandleRequestTimeout()
/commonlibrary/ets_utils/js_concurrent_module/worker/
H A Dworker.cpp425 ObjectScope<napi_value> scope(argv, true); in CommonPostMessage()
509 ObjectScope<napi_value> scope(args, true); in RegisterGlobalCallObject()
540 ObjectScope<napi_value> scope(args, true); in UnregisterGlobalCallObject()
593 ObjectScope<napi_value> scope(args, true); in AddListener()
642 ObjectScope<napi_value> scope(args, true); in RemoveListener()
804 ObjectScope<napi_value> scope(argv, true); in CommonPostMessageToHost()
854 ObjectScope<napi_value> scope(args, true); in GlobalCall()
1025 ObjectScope<napi_value> scope(args, true); in ParentPortAddEventListener()
1123 ObjectScope<napi_value> scope(args, true); in ParentPortRemoveEventListener()
1440 HandleScope scope(hostEnv in HostOnMessageInner()
1939 napi_handle_scope scope = nullptr; WorkerOnMessageInner() local
[all...]
/commonlibrary/ets_utils/js_sys_module/console/
H A Dconsole.cpp130 Helper::ObjectScope<napi_value> scope(argv, true); in MakeLogContent()
193 Helper::ObjectScope<napi_value> scope(argv, true); in GetTimerOrCounterName()
245 Helper::ObjectScope<napi_value> scope(argv, true); in Dir()
608 Helper::ObjectScope<napi_value> scope(argv, true); in Table()
751 Helper::ObjectScope<napi_value> scope(argv, true); in Assert()
/commonlibrary/ets_utils/js_concurrent_module/taskpool/
H A Dtaskpool.cpp219 ObjectScope<napi_value> scope(args, true); in Execute()
430 napi_handle_scope scope = nullptr; in HandleTaskResultCallback() local
431 NAPI_CALL_RETURN_VOID(task->env_, napi_open_handle_scope(task->env_, &scope)); in HandleTaskResultCallback()
473 NAPI_CALL_RETURN_VOID(task->env_, napi_close_handle_scope(task->env_, scope)); in HandleTaskResultCallback()
H A Dtask_group.cpp84 ObjectScope<napi_value> scope(args, true); in AddTask()
H A Dtask.cpp53 ObjectScope<napi_value> scope(args, true); in TaskConstructor()
485 HandleScope scope(env, status); in AddDependency()
573 HandleScope scope(env, status); in RemoveDependency()

Completed in 20 milliseconds