Home
last modified time | relevance | path

Searched refs:FuncType (Results 1 - 11 of 11) sorted by relevance

/base/update/updateservice/napi/include/
H A Dnapi_auto_register.h27 using FuncType = std::function<std::shared_ptr<INTERFACE>()>;
37 bool RegisterType(uint32_t functionType, FuncType type) in RegisterType()
50 FuncType function = createMap_[functionType]; in GetPtr()
62 std::unordered_map<uint32_t, FuncType> createMap_;
67 explicit NapiAutoRegister(uint32_t FuncType) in NapiAutoRegister() argument
69 Container<INTERFACE>::Instance().RegisterType(FuncType, []() { return std::make_shared<T>(); }); in NapiAutoRegister()
/base/web/webview/ohos_nweb/src/
H A Dnweb_crashpad_handler_main.cpp49 using FuncType = int (*)(int argc, char* argv[]); in main()
50 FuncType crashpadHandlerFunc = reinterpret_cast<FuncType>(dlsym(handle, "CrashpadHandlerMain")); in main()
/base/hiviewdfx/hilog/interfaces/js/kits/napi/src/common/napi/
H A Dutil.h108 template <typename FuncType,
111 typename Traits = function_traits<FuncType>,
113 ReturnT do_call(FuncType& func, VecType& args, indices<I...>) in do_call()
120 typename FuncType,
122 typename Traits = function_traits<FuncType>,
124 ReturnT unpack_caller(FuncType& func, VecType& args) in unpack_caller()
/base/telephony/ril_adapter/services/hril/include/
H A Dhril_base.h75 template<typename FuncType, typename... ParamTypes>
77 HDI::Ril::V1_1::RilRadioResponseInfo &responseInfo, FuncType &&_func, ParamTypes &&... _args);
78 template<typename FuncType, typename... ParamTypes>
79 inline int32_t Notify(int32_t notifyType, const HRilErrNumber error, FuncType &&_func, ParamTypes &&... _args);
188 template<typename FuncType, typename... ParamTypes>
189 inline int32_t HRilBase::Response(HDI::Ril::V1_1::RilRadioResponseInfo &responseInfo, FuncType &&_func, in Response()
201 template<typename FuncType, typename... ParamTypes>
202 inline int32_t HRilBase::Notify(int32_t notifyType, const HRilErrNumber error, FuncType &&_func, ParamTypes &&... _args) in Notify()
H A Dhril_manager.h248 template<typename ClassTypePtr, typename FuncType, typename... ParamTypes>
250 const std::string _module, ClassTypePtr &_obj, FuncType &&_func, ParamTypes &&... _args);
/base/location/services/utils/lbsutils/include/
H A Ddynamic_library_loader.h25 template<typename FuncType>
27 typedef FuncType* (*funcEntry)();
/base/startup/appspawn/modules/nweb_adapter/
H A Dnwebspawn_adapter.cpp143 using FuncType = void (*)(const char *cmd); in RunChildProcessor()
145 FuncType funcNWebRenderMain = reinterpret_cast<FuncType>(dlsym(nwebRenderHandle, "NWebRenderMain")); in RunChildProcessor()
/base/telephony/core_service/services/tel_ril/include/
H A Dtel_ril_base.h64 template<typename FuncType, typename... ParamTypes>
65 inline int32_t Request(const char *funcName, const AppExecFwk::InnerEvent::Pointer &response, FuncType &&_func,
113 template<typename FuncType, typename... ParamTypes>
115 FuncType &&_func, ParamTypes &&... _args) in Request()
H A Dtel_ril_callback.h286 template<typename FuncType, typename ModuleFuncType, typename... ParamTypes>
287 inline int32_t Response(const HDI::Ril::V1_1::RilRadioResponseInfo responseInfo, FuncType &&_func, in Response()
300 template<typename FuncType, typename ModuleFuncType, typename... ParamTypes>
301 inline int32_t Notify(const HDI::Ril::V1_1::RilRadioResponseInfo responseInfo, FuncType &&_func, in Notify()
325 template<typename FuncType, typename ModuleFuncType, typename... ParamTypes>
327 int32_t slotId, FuncType &&_func, ModuleFuncType _moduleFunc, ParamTypes &&... _args) const in TaskSchedule()
341 template<typename FuncType, typename ModuleFuncType, typename... ParamTypes>
342 inline int32_t Execute(int32_t slotId, FuncType &&_func, ModuleFuncType _moduleFunc, ParamTypes &&... _args) const in Execute()
H A Dtel_ril_manager.h342 template<typename ResponsePtr, typename ClassTypePtr, typename FuncType, typename... ParamTypes>
343 inline int32_t TaskSchedule(ResponsePtr &_result, const std::string _module, ClassTypePtr _obj, FuncType &&_func, in TaskSchedule()
/base/telephony/ril_adapter/services/hril/src/
H A Dhril_manager.cpp102 template<typename ClassTypePtr, typename FuncType, typename... ParamTypes>
104 const std::string module, ClassTypePtr &_obj, FuncType &&_func, ParamTypes &&... _args) in TaskSchedule()

Completed in 13 milliseconds