Home
last modified time | relevance | path

Searched refs:refCount (Results 1 – 10 of 10) sorted by relevance

/base/web/webview/interfaces/kits/napi/webviewcontroller/
Dwebview_javascript_result_callback.h46 napi_env env, int32_t containerScopeId, napi_value value, size_t refCount = 1)
48 return std::make_shared<JavaScriptOb>(env, containerScopeId, value, refCount);
51 … napi_env env, int32_t containerScopeId, napi_value value, int32_t holder, size_t refCount = 1)
55 return std::make_shared<JavaScriptOb>(env, containerScopeId, value, holders, refCount);
58 JavaScriptOb(napi_env env, int32_t containerScopeId, napi_value value, size_t refCount = 1)
59 … : env_(env), containerScopeId_(containerScopeId), isStrongRef_(refCount != 0), namesCount_(1) in env_()
61 napi_status s = napi_create_reference(env, value, refCount, &objRef_); in env_()
68 …nv env, int32_t containerScopeId, napi_value value, std::set<int32_t> holders, size_t refCount = 1)
69 …: env_(env), containerScopeId_(containerScopeId), isStrongRef_(refCount != 0), namesCount_(0), hol… in env_()
72 napi_status s = napi_create_reference(env, value, refCount, &objRef_); in env_()
[all …]
/base/update/updateservice/frameworks/js/napi/update/src/
Drestorer.cpp32 constexpr int32_t refCount = 1; // 新引用的初始引用计数 in Restorer() local
33 napi_create_reference(env, thisVar, refCount, &thisReference); in Restorer()
Dlocal_updater.cpp60 constexpr int32_t refCount = 1; // 新引用的初始引用计数 in LocalUpdater() local
61 napi_create_reference(env, thisVar, refCount, &thisReference); in LocalUpdater()
Dupdate_module.cpp270 constexpr int32_t refCount = 1; // 新引用的初始引用计数 in DefineClass() local
271 status = napi_create_reference(env, result, refCount, nativeClass.constructorRef); in DefineClass()
Dupdate_client.cpp50 constexpr int32_t refCount = 1; // 新引用的初始引用计数 in UpdateClient() local
51 napi_create_reference(env, thisVar, refCount, &thisReference); in UpdateClient()
/base/update/updater/services/flashd/daemon/
Ddaemon_updater.cpp38 FLASHD_LOGI("~DaemonUpdater refCount %d", refCount); in ~DaemonUpdater()
143 refCount++; in CheckCommand()
209 FLASHD_LOGI("~InvalidDaemon refCount %d", refCount); in ~InvalidDaemon()
/base/msdp/device_status/frameworks/js/napi/interaction/drag/src/
Djs_drag_context.cpp77 uint32_t refCount = 0; in CreateInstance() local
78 status = napi_reference_ref(env, jsContext->contextRef_, &refCount); in CreateInstance()
/base/sensors/sensor/vibration_convert/interfaces/js/src/
Dvibrator_convert_js.cpp63 uint32_t refCount = 0; in CreateInstance() local
64 status = napi_reference_ref(env, vConvert->contextRef_, &refCount); in CreateInstance()
/base/msdp/device_status/frameworks/js/napi/interaction/cooperate/src/
Djs_cooperate_context.cpp288 uint32_t refCount = ZERO_PARAM; in CreateInstance() local
289 status = napi_reference_ref(env, jsContext->contextRef_, &refCount); in CreateInstance()
/base/msdp/device_status/frameworks/js/napi/interaction/coordination/src/
Djs_coordination_context.cpp370 uint32_t refCount = 0; in CreateInstance() local
371 status = napi_reference_ref(env, jsContext->contextRef_, &refCount); in CreateInstance()