Home
last modified time | relevance | path

Searched refs:functionType (Results 1 - 4 of 4) sorted by relevance

/base/update/updateservice/napi/include/
H A Dnapi_auto_register.h37 bool RegisterType(uint32_t functionType, FuncType type) in RegisterType() argument
39 if (createMap_.find(functionType) != createMap_.end()) { in RegisterType()
42 return createMap_.emplace(functionType, type).second; in RegisterType()
45 std::shared_ptr<INTERFACE> GetPtr(uint32_t functionType) in GetPtr() argument
47 if (createMap_.find(functionType) == createMap_.end()) { in GetPtr()
50 FuncType function = createMap_[functionType]; in GetPtr()
/base/global/resource_management/interfaces/js/innerkits/core/src/
H A Dresource_manager_napi_context.cpp29 const std::string &methodName, FunctionType functionType) in ContextGetResource()
32 if (functionType == FunctionType::SYNC) { in ContextGetResource()
28 ContextGetResource(napi_env env, napi_callback_info info, const std::string &methodName, FunctionType functionType) ContextGetResource() argument
/base/global/resource_management/interfaces/js/innerkits/core/include/
H A Dresource_manager_napi_context.h35 * @param functionType The function type, async or sync
39 FunctionType functionType);
/base/location/frameworks/native/fence_extension_ability/src/
H A Djs_fence_extension.cpp377 ::napi_valuetype functionType = ::napi_valuetype::napi_function; in GetMethod() local
378 ::napi_status retType = ::napi_typeof(env, method, &functionType); in GetMethod()

Completed in 2 milliseconds