Home
last modified time | relevance | path

Searched refs:Helper (Results 1 – 17 of 17) sorted by relevance

/commonlibrary/ets_utils/js_sys_module/console/
Dconsole.cpp130 Helper::ObjectScope<napi_value> scope(argv, true); in MakeLogContent()
134 if (!Helper::NapiHelper::IsString(argv[i])) { in MakeLogContent()
143 char* stringValue = Helper::NapiHelper::GetString(env, argv[i]); in MakeLogContent()
149 Helper::CloseHelp::DeletePointer(stringValue, true); in MakeLogContent()
178 size_t argc = Helper::NapiHelper::GetCallbackInfoArgc(env, info); in ConsoleLog()
180 return Helper::NapiHelper::GetUndefinedValue(env); in ConsoleLog()
186 return Helper::NapiHelper::GetUndefinedValue(env); in ConsoleLog()
195 Helper::ObjectScope<napi_value> scope(argv, true); in GetTimerOrCounterName()
197 if (!Helper::NapiHelper::IsString(argv[0])) { in GetTimerOrCounterName()
201 Helper::ErrorHelper::ThrowError(env, Helper::ErrorHelper::TYPE_ERROR, in GetTimerOrCounterName()
[all …]
/commonlibrary/ets_utils/js_sys_module/timer/
Dtimer.cpp30 Helper::NapiHelper::DeleteReference(env_, callback_); in ~TimerCallbackInfo()
32 Helper::NapiHelper::DeleteReference(env_, argv_[idx]); in ~TimerCallbackInfo()
34 Helper::CloseHelp::DeletePointer(argv_, true); in ~TimerCallbackInfo()
56 napi_value globalObj = Helper::NapiHelper::GetGlobalObject(env); in RegisterTime()
98 Helper::CloseHelp::DeletePointer(callbackInfo, false); in ClearTimer()
100 return Helper::NapiHelper::GetUndefinedValue(env); in ClearTimer()
119 napi_value callback = Helper::NapiHelper::GetReferenceValue(env, callbackInfo->callback_); in TimerCallback()
120 napi_value undefinedValue = Helper::NapiHelper::GetUndefinedValue(env); in TimerCallback()
124 callbackArgv[idx] = Helper::NapiHelper::GetReferenceValue(env, callbackInfo->argv_[idx]); in TimerCallback()
129 Helper::CloseHelp::DeletePointer(callbackArgv, true); in TimerCallback()
[all …]
Dtimer.h44 uv_loop_t* loop = Commonlibrary::Concurrent::Common::Helper::NapiHelper::GetLibUV(env_); in TimerCallbackInfo()
/commonlibrary/ets_utils/js_concurrent_module/worker/
Dworker_runner.cpp25 Common::Helper::CloseHelp::DeletePointer(workerInnerRunner_, false); in ~WorkerRunner()
Dworker.h33 using namespace Commonlibrary::Concurrent::Common::Helper;
Dworker_new.h33 using namespace Commonlibrary::Concurrent::Common::Helper;
/commonlibrary/ets_utils/js_concurrent_module/taskpool/
Dtask_runner.cpp21 using namespace Commonlibrary::Concurrent::Common::Helper;
Dtask_group.cpp25 using namespace Commonlibrary::Concurrent::Common::Helper;
Dtask.cpp26 using namespace Commonlibrary::Concurrent::Common::Helper;
Dworker.h35 using namespace Commonlibrary::Concurrent::Common::Helper;
Dtaskpool.cpp26 using namespace Commonlibrary::Concurrent::Common::Helper;
/commonlibrary/ets_utils/js_concurrent_module/common/helper/
Dconcurrent_helper.h38 namespace Commonlibrary::Concurrent::Common::Helper {
Dobject_helper.h19 namespace Commonlibrary::Concurrent::Common::Helper {
Dnapi_helper.h23 namespace Commonlibrary::Concurrent::Common::Helper {
Derror_helper.h31 namespace Commonlibrary::Concurrent::Common::Helper {
Dnapi_helper.cpp20 namespace Commonlibrary::Concurrent::Common::Helper { namespace
/commonlibrary/ets_utils/js_concurrent_module/test/
Dtest_concurrent.cpp35 using namespace Commonlibrary::Concurrent::Common::Helper;