Home
last modified time | relevance | path

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

/base/update/updateservice/frameworks/js/napi/client/
Dupdate_module.cpp292 static bool DefineClass(napi_env env, napi_value exports, const NativeClass& nativeClass) in DefineClass() argument
294 const std::string& className = nativeClass.className; in DefineClass()
297 nativeClass.constructor, nullptr, nativeClass.descSize, nativeClass.desc, &result); in DefineClass()
304 status = napi_create_reference(env, result, refCount, nativeClass.constructorRef); in DefineClass()
315 NativeClass nativeClass = { in DefineRestorer() local
322 return DefineClass(env, exports, nativeClass); in DefineRestorer()
335 NativeClass nativeClass = { in DefineLocalUpdater() local
342 return DefineClass(env, exports, nativeClass); in DefineLocalUpdater()
367 NativeClass nativeClass = { in DefineUpdateClient() local
374 return DefineClass(env, exports, nativeClass); in DefineUpdateClient()