Searched refs:FuncType (Results 1 - 11 of 11) sorted by relevance
/base/update/updateservice/napi/include/ |
H A D | napi_auto_register.h | 27 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 D | nweb_crashpad_handler_main.cpp | 49 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 D | util.h | 108 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 D | hril_base.h | 75 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 D | hril_manager.h | 248 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 D | dynamic_library_loader.h | 25 template<typename FuncType> 27 typedef FuncType* (*funcEntry)();
|
/base/startup/appspawn/modules/nweb_adapter/ |
H A D | nwebspawn_adapter.cpp | 143 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 D | tel_ril_base.h | 64 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 D | tel_ril_callback.h | 286 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 D | tel_ril_manager.h | 342 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 D | hril_manager.cpp | 102 template<typename ClassTypePtr, typename FuncType, typename... ParamTypes> 104 const std::string module, ClassTypePtr &_obj, FuncType &&_func, ParamTypes &&... _args) in TaskSchedule()
|
Completed in 13 milliseconds