Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dnode_list_item_modifier.cpp32 using FuncType = void (*)(void*); in SetOptionBuilder() typedef
33 FuncType func = reinterpret_cast<FuncType>(item->onAction); in SetOptionBuilder()
39 using FuncType = void (*)(void*); in SetOptionBuilder() typedef
40 FuncType func = reinterpret_cast<FuncType>(item->onEnterActionArea); in SetOptionBuilder()
46 using FuncType = void (*)(void*); in SetOptionBuilder() typedef
47 FuncType func = reinterpret_cast<FuncType>(item->onExitActionArea); in SetOptionBuilder()
53 using FuncType = float (*)(int32_t, void*); in SetOptionBuilder() typedef
54 FuncType func = reinterpret_cast<FuncType>(item->onStateChange); in SetOptionBuilder()
76 using FuncType = float (*)(float, void*); in SetListItemSwiperAction() typedef
77 FuncType func = reinterpret_cast<FuncType>(option->onOffsetChange); in SetListItemSwiperAction()
H A Dframe_node_modifier.cpp463 using FuncType = float (*)(int32_t, void*); in SetSystemColorModeChangeEvent() typedef
464 FuncType func = reinterpret_cast<FuncType>(onColorModeChange); in SetSystemColorModeChangeEvent()
486 using FuncType = float (*)(ArkUISystemFontStyleEvent, void*); in SetSystemFontStyleChangeEvent() typedef
487 FuncType func = reinterpret_cast<FuncType>(onFontStyleChange); in SetSystemFontStyleChangeEvent()
H A Dwater_flow_modifier.cpp472 using FuncType = float (*)(int32_t, void*); in SetWaterFlowSectionOptions() typedef
473 FuncType func = reinterpret_cast<FuncType>(sectionData.onGetItemMainSizeByIndex); in SetWaterFlowSectionOptions()
/ohos5.0/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()
/ohos5.0/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...>)
120 typename FuncType,
122 typename Traits = function_traits<FuncType>,
124 ReturnT unpack_caller(FuncType& func, VecType& args)
/ohos5.0/base/telephony/ril_adapter/services/hril/include/
H A Dhril_base.h74 template<typename FuncType, typename... ParamTypes>
76 … HDI::Ril::V1_1::RilRadioResponseInfo &responseInfo, FuncType &&_func, ParamTypes &&... _args);
77 template<typename FuncType, typename... ParamTypes>
78 …inline int32_t Notify(int32_t notifyType, const HRilErrNumber error, FuncType &&_func, ParamTypes …
181 template<typename FuncType, typename... ParamTypes>
182 inline int32_t HRilBase::Response(HDI::Ril::V1_1::RilRadioResponseInfo &responseInfo, FuncType &&_f… in Response()
193 template<typename FuncType, typename... ParamTypes>
194 inline int32_t HRilBase::Notify(int32_t notifyType, const HRilErrNumber error, FuncType &&_func, Pa… in Notify()
H A Dhril_manager.h247 template<typename ClassTypePtr, typename FuncType, typename... ParamTypes>
249 const std::string _module, ClassTypePtr &_obj, FuncType &&_func, ParamTypes &&... _args);
/ohos5.0/base/web/webview/ohos_nweb/src/
H A Dnweb_crashpad_handler_main.cpp49 using FuncType = int (*)(int argc, char* argv[]); in main() typedef
50 FuncType crashpadHandlerFunc = reinterpret_cast<FuncType>(dlsym(handle, "CrashpadHandlerMain")); in main()
/ohos5.0/base/startup/appspawn/modules/nweb_adapter/
H A Dnwebspawn_adapter.cpp137 using FuncType = void (*)(const char *cmd); in RunChildProcessor() typedef
139FuncType funcNWebRenderMain = reinterpret_cast<FuncType>(dlsym(nwebRenderHandle, "NWebRenderMain")… in RunChildProcessor()
/ohos5.0/base/location/services/utils/lbsutils/include/
H A Ddynamic_library_loader.h25 template<typename FuncType>
27 typedef FuncType* (*funcEntry)();
/ohos5.0/base/telephony/core_service/services/tel_ril/include/
H A Dtel_ril_base.h64 template<typename FuncType, typename... ParamTypes>
65 …_t Request(const char *funcName, const AppExecFwk::InnerEvent::Pointer &response, FuncType &&_func,
109 template<typename FuncType, typename... ParamTypes>
111 FuncType &&_func, ParamTypes &&... _args) in Request()
H A Dtel_ril_callback.h283 template<typename FuncType, typename ModuleFuncType, typename... ParamTypes>
284 … inline int32_t Response(const HDI::Ril::V1_1::RilRadioResponseInfo responseInfo, FuncType &&_func, in Response()
297 template<typename FuncType, typename ModuleFuncType, typename... ParamTypes>
298 inline int32_t Notify(const HDI::Ril::V1_1::RilRadioResponseInfo responseInfo, FuncType &&_func, in Notify()
322 template<typename FuncType, typename ModuleFuncType, typename... ParamTypes>
324 int32_t slotId, FuncType &&_func, ModuleFuncType _moduleFunc, ParamTypes &&... _args) const in TaskSchedule()
338 template<typename FuncType, typename ModuleFuncType, typename... ParamTypes>
339 …inline int32_t Execute(int32_t slotId, FuncType &&_func, ModuleFuncType _moduleFunc, ParamTypes &&… in Execute()
H A Dtel_ril_manager.h342 template<typename ResponsePtr, typename ClassTypePtr, typename FuncType, typename... ParamTypes>
343 … TaskSchedule(ResponsePtr &_result, const std::string _module, ClassTypePtr _obj, FuncType &&_func, in TaskSchedule()
/ohos5.0/drivers/peripheral/ril/interfaces/hdi_service/include/
H A Dril_impl.h190 template<typename FuncType, typename... ParamTypes>
191 inline int32_t TaskSchedule(FuncType &&_func, int32_t slotId, ParamTypes &&... _args) const in TaskSchedule()
/ohos5.0/base/telephony/ril_adapter/services/hril/src/
H A Dhril_manager.cpp105 template<typename ClassTypePtr, typename FuncType, typename... ParamTypes>
107 const std::string module, ClassTypePtr &_obj, FuncType &&_func, ParamTypes &&... _args) in TaskSchedule()