/foundation/graphic/graphic_3d/lume/metaobject/include/meta/api/ |
D | event_handler.h | 57 EventHandler(const Event<EventType>& event, const typename EventType::InterfaceTypePtr& func, in META_BEGIN_NAMESPACE() 60 Subscribe(event, func, queue); in META_BEGIN_NAMESPACE() 65 …const Event<EventType>& event, const typename EventType::InterfaceTypePtr& func, const BASE_NS::Ui… in META_BEGIN_NAMESPACE() 67 Subscribe(event, func, queueId); in META_BEGIN_NAMESPACE() 70 EventHandler(const BASE_NS::shared_ptr<IEvent>& event, const ICallable::Ptr& func) in META_BEGIN_NAMESPACE() 72 TypelessSubscribe(event, func); in META_BEGIN_NAMESPACE() 75 template<typename EventType, typename Func, in META_BEGIN_NAMESPACE() 76 typename = EnableIfCanInvokeWithArguments<Func, typename EventType::FunctionType>> in META_BEGIN_NAMESPACE() 77 EventHandler(const Event<EventType>& event, Func func, const ITaskQueue::Ptr& queue = nullptr) in META_BEGIN_NAMESPACE() 79 Subscribe(event, BASE_NS::move(func), queue); in META_BEGIN_NAMESPACE() [all …]
|
D | iteration.h | 34 * @param func Function that is called for each element, can mutate the element value 38 template<typename Iterable, typename Func> 40 …const BASE_NS::shared_ptr<Iterable>& c, Func&& func, TraversalType traversal = TraversalType::NO_H… 44 [f = BASE_NS::forward<Func>(func)](Internal::IterationArgType<Func>& arg) { 55 * @param func Function that is called for each element, cannot mutate the element value 59 template<typename Iterable, typename Func> 61 …const BASE_NS::shared_ptr<Iterable>& c, Func&& func, TraversalType traversal = TraversalType::NO_H… 65 [f = BASE_NS::forward<Func>(func)](const Internal::IterationArgType<Func>& arg) { 77 * @param func Function that is called for each element, can mutate the element value 81 template<typename Iterable, typename Func> [all …]
|
D | timer.h | 48 template<typename Func> in META_BEGIN_NAMESPACE() 49 Timer(const TimeSpan& interval, Func func, TimerType type, const ITaskQueue::Ptr& queue) in META_BEGIN_NAMESPACE() 51 Start(interval, BASE_NS::move(func), type, queue); in META_BEGIN_NAMESPACE() 57 template<typename Func> in META_BEGIN_NAMESPACE() 58 Timer(const TimeSpan& interval, Func func, TimerType type, const BASE_NS::Uid& queueId) in META_BEGIN_NAMESPACE() 60 Start(interval, BASE_NS::move(func), type, queueId); in META_BEGIN_NAMESPACE() 74 * @param func Callable entity (e.g. lambda) which is called. in META_BEGIN_NAMESPACE() 76 …queue Queue to which the timer task is posted to (this dictates on what thread the func is called). in META_BEGIN_NAMESPACE() 78 template<typename Func> in META_BEGIN_NAMESPACE() 79 bool Start(const TimeSpan& interval, Func func, TimerType type, const ITaskQueue::Ptr& queue) in META_BEGIN_NAMESPACE() [all …]
|
D | deferred_callback.h | 29 template<typename Func> 34 QueueTask(Func func) : func_(BASE_NS::move(func)) {} in QueueTask() argument 43 Func func_; 46 template<typename Func, typename Interface, typename Signature = typename Interface::FunctionType> 52 template<typename Func, typename Interface, typename... Args> 53 class DeferredCallable<Func, Interface, void(Args...)> : public IntroduceInterfaces<Interface> { 68 DeferredCallable(Func func, const ITaskQueue::Ptr& q) in DeferredCallable() argument 69 : control_(new ControlBlock<Func>(BASE_NS::move(func))), queue_(q) in DeferredCallable() 93 BASE_NS::shared_ptr<ControlBlock<Func>> control_; 99 * @param func Callable entity which is invoked. [all …]
|
D | future.h | 30 template<typename Func> in META_BEGIN_NAMESPACE() 36 ContinuationFunction(Func func) : func_(BASE_NS::move(func)) {} in META_BEGIN_NAMESPACE() 50 Func func_; in META_BEGIN_NAMESPACE() 57 template<typename Func> 58 IFutureContinuation::Ptr CreateContinuation(Func func) in CreateContinuation() argument 60 return IFutureContinuation::Ptr(new ContinuationFunction(BASE_NS::move(func))); in CreateContinuation() 95 …IFuture::Ptr Then(const IFutureContinuation::Ptr& func, const BASE_NS::shared_ptr<ITaskQueue>& que… 97 return fut_ ? fut_->Then(func, queue) : nullptr; 99 …template<typename Func, typename = EnableIfCanInvokeWithArguments<Func, IFutureContinuation::Funct… 100 auto Then(Func func, const BASE_NS::shared_ptr<ITaskQueue>& queue) [all …]
|
/foundation/communication/dsoftbus/core/common/dfx/event/src/ |
D | softbus_event_virtual.c | 21 void ConnEventInner(int32_t scene, int32_t stage, const char *func, int32_t line, ConnEventExtra *e… in ConnEventInner() argument 25 (void)func; in ConnEventInner() 30 void ConnAlarmInner(int32_t scene, int32_t type, const char *func, int32_t line, ConnAlarmExtra *ex… in ConnAlarmInner() argument 33 (void)func; in ConnAlarmInner() 38 void ConnStatsInner(int32_t scene, const char *func, int32_t line, ConnStatsExtra *extra) in ConnStatsInner() argument 41 (void)func; in ConnStatsInner() 46 void ConnAuditInner(int32_t scene, const char *func, int32_t line, ConnAuditExtra *extra) in ConnAuditInner() argument 49 (void)func; in ConnAuditInner() 54 void DiscEventInner(int32_t scene, int32_t stage, const char *func, int32_t line, DiscEventExtra *e… in DiscEventInner() argument 58 (void)func; in DiscEventInner() [all …]
|
D | conn_event.c | 21 void ConnEventInner(int32_t scene, int32_t stage, const char *func, int32_t line, ConnEventExtra *e… in ConnEventInner() argument 23 if (func == NULL || extra == NULL) { in ConnEventInner() 24 COMM_LOGE(COMM_DFX, "func or extra is NUll"); in ConnEventInner() 31 .func = func, in ConnEventInner() 38 void ConnAlarmInner(int32_t scene, int32_t type, const char *func, int32_t line, ConnAlarmExtra *ex… in ConnAlarmInner() argument 47 .func = func, in ConnAlarmInner() 54 void ConnAuditInner(int32_t scene, const char *func, int32_t line, ConnAuditExtra *extra) in ConnAuditInner() argument 56 if (func == NULL || extra == NULL) { in ConnAuditInner() 57 COMM_LOGE(COMM_DFX, "func or extra is NUll"); in ConnAuditInner() 64 .func = func, in ConnAuditInner()
|
D | trans_event.c | 21 void TransEventInner(int32_t scene, int32_t stage, const char *func, int32_t line, TransEventExtra … in TransEventInner() argument 23 if (func == NULL ||extra == NULL) { in TransEventInner() 24 COMM_LOGE(COMM_DFX, "func or extra is NUll"); in TransEventInner() 31 .func = func, in TransEventInner() 38 void TransAlarmInner(int32_t scene, int32_t type, const char *func, int32_t line, TransAlarmExtra *… in TransAlarmInner() argument 44 .func = func, in TransAlarmInner() 51 void TransAuditInner(int32_t scene, const char *func, int32_t line, TransAuditExtra *extra) in TransAuditInner() argument 53 if (func == NULL || extra == NULL) { in TransAuditInner() 54 COMM_LOGE(COMM_DFX, "func or extra is NUll"); in TransAuditInner() 61 .func = func, in TransAuditInner()
|
D | lnn_event.c | 21 void LnnEventInner(int32_t scene, int32_t stage, const char *func, int32_t line, LnnEventExtra *ext… in LnnEventInner() argument 23 if (func == NULL || extra == NULL) { in LnnEventInner() 24 COMM_LOGE(COMM_DFX, "func or extra is NUll"); in LnnEventInner() 31 .func = func, in LnnEventInner() 38 void LnnAlarmInner(int32_t scene, int32_t type, const char *func, int32_t line, LnnAlarmExtra *extr… in LnnAlarmInner() argument 44 .func = func, in LnnAlarmInner() 51 void LnnAuditInner(int32_t scene, const char *func, int32_t line, LnnAuditExtra *extra) in LnnAuditInner() argument 53 if (func == NULL || extra == NULL) { in LnnAuditInner() 54 COMM_LOGE(COMM_DFX, "func or extra is NUll"); in LnnAuditInner() 60 .func = func, in LnnAuditInner()
|
/foundation/arkui/ace_engine_lite/frameworks/src/core/components/ |
D | canvas_component.h | 71 static jerry_value_t GetContext(const jerry_value_t func, 76 static jerry_value_t FillStyleSetter(const jerry_value_t func, 81 static jerry_value_t FillStyleGetter(const jerry_value_t func, 86 static jerry_value_t StrokeStyleSetter(const jerry_value_t func, 91 static jerry_value_t StrokeStyleGetter(const jerry_value_t func, 96 static jerry_value_t LineWidthSetter(const jerry_value_t func, 101 static jerry_value_t LineWidthGetter(const jerry_value_t func, 106 static jerry_value_t FontSetter(const jerry_value_t func, 111 static jerry_value_t FontGetter(const jerry_value_t func, 116 static jerry_value_t TextAlignSetter(const jerry_value_t func, [all …]
|
/foundation/ability/dmsfwk/services/dtbschedmgr/test/unittest/ |
D | distributed_radar_test.cpp | 47 * @tc.type: FUNC 52 bool ret = DmsRadar::GetInstance().RegisterSoftbusCallbackRes(FUNC, ERR_OK); 60 * @tc.type: FUNC 65 bool ret = DmsRadar::GetInstance().RegisterSoftbusCallbackRes(FUNC, ERR_NO); 73 * @tc.type: FUNC 78 bool ret = DmsRadar::GetInstance().RegisterFocusedRes(FUNC, ERR_OK); 86 * @tc.type: FUNC 91 bool ret = DmsRadar::GetInstance().RegisterFocusedRes(FUNC, ERR_NO); 99 * @tc.type: FUNC 104 bool ret = DmsRadar::GetInstance().DmsFocused(FUNC, NORMAL); [all …]
|
/foundation/ability/dmsfwk/services/dtbschedmgr/src/ |
D | distributed_radar.cpp | 25 bool DmsRadar::RegisterFocusedRes(const std::string& func, int32_t errCode) in RegisterFocusedRes() argument 35 FUNC, func, in RegisterFocusedRes() 46 FUNC, func, in RegisterFocusedRes() 60 bool DmsRadar::RegisterSoftbusCallbackRes(const std::string& func, int32_t errCode) in RegisterSoftbusCallbackRes() argument 70 FUNC, func, in RegisterSoftbusCallbackRes() 82 FUNC, func, in RegisterSoftbusCallbackRes() 97 bool DmsRadar::DmsFocused(const std::string& func, std::string focusMode) in DmsFocused() argument 104 FUNC, func, in DmsFocused() 117 bool DmsRadar::NormalFocusedGetAccessTokenIdRes(const std::string& func, int32_t errCode) in NormalFocusedGetAccessTokenIdRes() argument 127 FUNC, func, in NormalFocusedGetAccessTokenIdRes() [all …]
|
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/api/internal/ |
D | iteration.h | 28 template<template<typename> class InterableCallable, typename Iterable, typename Func> in META_BEGIN_NAMESPACE() 29 IterationResult IterateImpl(const Iterable& ite, Func&& func, IterateStrategy is) in META_BEGIN_NAMESPACE() 35 return CallIterate<InterableCallable>(ite, BASE_NS::forward<Func>(func), is); in META_BEGIN_NAMESPACE() 42 return DepthFirstOrderIterate<InterableCallable>(ite, func, is); in META_BEGIN_NAMESPACE() 45 return BreadthFirstOrderIterate<InterableCallable>(ite, func, is); in META_BEGIN_NAMESPACE() 50 template<typename Iterable, typename Func, typename = DisableIfCallable<Func>> in META_BEGIN_NAMESPACE() 51 IterationResult Iterate(const BASE_NS::shared_ptr<Iterable>& c, Func&& func, IterateStrategy is) in META_BEGIN_NAMESPACE() 53 …ateImpl<IIterableCallable>(interface_pointer_cast<IIterable>(c), BASE_NS::forward<Func>(func), is); in META_BEGIN_NAMESPACE() 57 IterationResult Iterate(const BASE_NS::shared_ptr<Iterable>& c, const ICallable::Ptr& func, Iterate… in META_BEGIN_NAMESPACE() 59 return IterateImpl<IIterableCallable>(interface_pointer_cast<IIterable>(c), *func, is); in META_BEGIN_NAMESPACE() [all …]
|
D | iteration_types.h | 27 template<typename Func> in META_BEGIN_NAMESPACE() 41 template<template<typename> class Intf, typename Func> in META_BEGIN_NAMESPACE() 42 class IterationCallable : public IntroduceInterfaces<Intf<IterationArgType<Func>>> { in META_BEGIN_NAMESPACE() 44 IterationCallable(Func f) : func_(BASE_NS::move(f)) {} in META_BEGIN_NAMESPACE() 47 Func func_; in META_BEGIN_NAMESPACE() 49 using ArgType = typename IntroduceInterfaces<Intf<IterationArgType<Func>>>::ArgType; in META_BEGIN_NAMESPACE() 64 template<typename Func> in META_BEGIN_NAMESPACE() 65 auto MakeIterationCallable(Func f) in META_BEGIN_NAMESPACE() 67 return ICallable::Ptr(new IterationCallable<IIterableCallable, Func>(BASE_NS::move(f))); in META_BEGIN_NAMESPACE() 69 template<typename Func> in META_BEGIN_NAMESPACE() [all …]
|
/foundation/ability/dmsfwk/services/dtbschedmgr/include/ |
D | distributed_radar.h | 42 const std::string FUNC = "FUNC"; variable 143 bool RegisterSoftbusCallbackRes(const std::string& func, int32_t errCode); 144 bool RegisterFocusedRes(const std::string& func, int32_t errCode); 145 bool DmsFocused(const std::string& func, std::string focusMode); 146 bool NormalFocusedGetAccessTokenIdRes(const std::string& func, int32_t errCode); 147 bool NormalFocusedSendEventRes(const std::string& func, int32_t errCode); 148 bool SetFocusedState(const std::string& func); 149 bool ChangeStateFocusedGetAccessTokenIdRes(const std::string& func, int32_t errCode); 150 bool ChangeStateFocusedSendEventRes(const std::string& func, int32_t errCode); 151 bool DmsUnfocused(const std::string& func); [all …]
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/platform/ohos/ |
D | rs_system_properties_test.cpp | 41 * @tc.type:FUNC 52 * @tc.type:FUNC 63 * @tc.type:FUNC 74 * @tc.type:FUNC 85 * @tc.type:FUNC 97 * @tc.type:FUNC 108 * @tc.type:FUNC 120 * @tc.type:FUNC 132 * @tc.type:FUNC 144 * @tc.type:FUNC [all …]
|
/foundation/window/window_manager/dm/test/unittest/ |
D | display_manager_agent_proxy_test.cpp | 63 * @tc.type: FUNC 77 std::function<void()> func = [&]() variable 82 func(); 90 * @tc.type: FUNC 101 std::function<void()> func = [&]() variable 106 func(); 114 * @tc.type: FUNC 124 std::function<void()> func = [&]() variable 129 func(); 136 * @tc.type: FUNC [all …]
|
/foundation/resourceschedule/ffrt/interfaces/kits/cpp/ |
D | task.h | 226 inline ffrt_function_header_t* create_function_wrapper(T&& func, 237 f->closure = std::forward<T>(func); 244 * @param func Indicates a task executor function closure. 248 static inline void submit(std::function<void()>&& func) in submit() argument 250 return ffrt_submit_base(create_function_wrapper(std::move(func)), nullptr, nullptr, nullptr); in submit() 256 * @param func Indicates a task executor function closure. 261 static inline void submit(std::function<void()>&& func, std::initializer_list<dependence> in_deps) in submit() argument 264 return ffrt_submit_base(create_function_wrapper(std::move(func)), &in, nullptr, nullptr); in submit() 270 * @param func Indicates a task executor function closure. 276 static inline void submit(std::function<void()>&& func, std::initializer_list<dependence> in_deps, in submit() argument [all …]
|
D | queue.h | 84 inline queue_attr& callback(const std::function<void()>& func) in callback() argument 86 ffrt_queue_attr_set_callback(this, create_function_wrapper(func, ffrt_function_kind_queue)); in callback() 133 * @param func Indicates a task executor function closure. 137 inline void submit(const std::function<void()>& func) in submit() argument 139 … ffrt_queue_submit(queue_handle, create_function_wrapper(func, ffrt_function_kind_queue), nullptr); in submit() 145 * @param func Indicates a task executor function closure. 150 inline void submit(const std::function<void()>& func, const task_attr& attr) in submit() argument 152 … ffrt_queue_submit(queue_handle, create_function_wrapper(func, ffrt_function_kind_queue), &attr); in submit() 158 * @param func Indicates a task executor function closure. 162 inline void submit(std::function<void()>&& func) in submit() argument [all …]
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/web/ |
D | web_model_ng.cpp | 109 auto func = jsCallback; in SetOnCommonDialog() local 110 …auto uiCallback = [func](const std::shared_ptr<BaseEventInfo>& info) -> bool { return func(info.ge… in SetOnCommonDialog() 118 auto func = jsCallback; in SetOnConsoleLog() local 119 auto onConsole = [func](const std::shared_ptr<BaseEventInfo>& info) -> bool { in SetOnConsoleLog() 123 …context->PostSyncEvent([func, info, &result]() { result = func(info.get()); }, "ArkUIWebConsoleLog… in SetOnConsoleLog() 133 auto func = jsCallback; in SetOnPageStart() local 134 auto uiCallback = [func](const std::shared_ptr<BaseEventInfo>& info) { func(info.get()); }; in SetOnPageStart() 142 auto func = jsCallback; in SetOnPageFinish() local 143 auto uiCallback = [func](const std::shared_ptr<BaseEventInfo>& info) { func(info.get()); }; in SetOnPageFinish() 151 auto func = jsCallback; in SetOnProgressChange() local [all …]
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/animation/ |
D | rs_render_particle_test.cpp | 52 * @tc.type: FUNC 66 * @tc.type: FUNC 80 * @tc.type: FUNC 94 * @tc.type: FUNC 108 * @tc.type: FUNC 122 * @tc.type: FUNC 136 * @tc.type: FUNC 150 * @tc.type: FUNC 164 * @tc.type: FUNC 178 * @tc.type: FUNC [all …]
|
/foundation/window/window_manager/utils/test/unittest/ |
D | window_property_test.cpp | 54 * @tc.type: FUNC 76 * @tc.type: FUNC 95 * @tc.type: FUNC 132 * @tc.type: FUNC 158 * @tc.type: FUNC 174 * @tc.type: FUNC 201 * @tc.type: FUNC 209 std::function<void()> func = [&]() { in __anonfe5bb8ce0202() variable 213 func(); 220 * @tc.type: FUNC [all …]
|
/foundation/distributedhardware/device_manager/services/service/include/ |
D | idevice_manager_service_impl.h | 38 * @tc.type: FUNC 45 * @tc.type: FUNC 52 * @tc.type: FUNC 60 * @tc.type: FUNC 68 * @tc.type: FUNC 75 * @tc.type: FUNC 82 * @tc.type: FUNC 89 * @tc.type: FUNC 97 * @tc.type: FUNC 104 * @tc.type: FUNC [all …]
|
/foundation/ability/ability_runtime/services/common/src/ |
D | ability_manager_radar.cpp | 32 bool ContinueRadar::ClickIconContinue(const std::string& func) in ClickIconContinue() argument 39 FUNC, func, in ClickIconContinue() 50 bool ContinueRadar::ClickIconStartAbility(const std::string& func, int32_t errCode) in ClickIconStartAbility() argument 60 FUNC, func, in ClickIconStartAbility() 70 FUNC, func, in ClickIconStartAbility() 83 bool ContinueRadar::ClickIconRecvOver(const std::string& func) in ClickIconRecvOver() argument 91 FUNC, func, in ClickIconRecvOver() 102 bool ContinueRadar::SaveDataContinue(const std::string& func) in SaveDataContinue() argument 109 FUNC, func, in SaveDataContinue() 120 bool ContinueRadar::SaveDataRes(const std::string& func) in SaveDataRes() argument [all …]
|
/foundation/ability/dmsfwk/services/dtbschedmgr/test/unittest/dfx/ |
D | dms_continue_time_dumper_test.cpp | 77 * @tc.desc: test SetBeginTime func 78 * @tc.type: FUNC 92 * @tc.desc: test SetEndTime func 93 * @tc.type: FUNC 107 * @tc.desc: test SetDurationTime func 108 * @tc.type: FUNC 122 * @tc.desc: test SetStrTime func 123 * @tc.type: FUNC 136 * @tc.desc: test SetDurationName func 137 * @tc.type: FUNC [all …]
|