/foundation/arkui/ace_engine_lite/frameworks/src/core/directive/ |
D | descriptor_utils.cpp | 31 JSValue DescriptorUtils::CreateIfDescriptor(JSValue getter, JSValue render) in CreateIfDescriptor() argument 33 return CreateDescriptor(DESCRIPTOR_ATTR_IF, getter, render); in CreateIfDescriptor() 36 JSValue DescriptorUtils::CreateForDescriptor(JSValue getter, JSValue render) in CreateForDescriptor() argument 38 return CreateDescriptor(DESCRIPTOR_ATTR_FOR, getter, render); in CreateForDescriptor() 43 JSValue getter = JSObject::Get(descriptor, DESCRIPTOR_ATTR_GETTER); in CreateDescriptorWatcher() local 50 JSValue watcher = CreateWatcher(getter, DirectiveWatcherCallback::Handler, options); in CreateDescriptorWatcher() 52 JSRelease(getter); in CreateDescriptorWatcher() 69 JSValue getter = JSObject::Get(descriptor, DESCRIPTOR_ATTR_GETTER); in IsIfDescriptorShown() local 70 JSValue condition = CallWithRootAbilitySlice(getter); in IsIfDescriptorShown() 73 JSRelease(getter); in IsIfDescriptorShown() [all …]
|
D | descriptor_utils.h | 36 static JSValue CreateIfDescriptor(JSValue getter, JSValue render); 44 static JSValue CreateForDescriptor(JSValue getter, JSValue render); 175 static JSValue CreateDescriptor(const char * const type, JSValue getter, JSValue render);
|
/foundation/arkui/ace_engine/frameworks/core/animation/ |
D | property_animatable_helper.h | 33 BorderEdgeHelper(Setter setter, Getter getter) : setter_(setter), getter_(getter) {} in BorderEdgeHelper() argument 89 BorderRadiusHelper(Setter setter, Getter getter) : setter_(setter), getter_(getter) {} in BorderRadiusHelper() argument 120 DimensionHelper(Setter setter, Getter getter) : setter_(setter), getter_(getter) {} in DimensionHelper() argument
|
D | property_animatable.h | 92 auto& getter = getterIter->second; in AddPropertyAnimation() local 93 if (!getter) { in AddPropertyAnimation() 98 initValue = getter(); in AddPropertyAnimation()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/backuprule/ |
D | backup_rule_manager.cpp | 38 …kupRuleManager::RegisterPlugin(const std::string &backupRule, std::function<BackupRule *()> getter) in RegisterPlugin() argument 40 getters_.ComputeIfAbsent(backupRule, [&getter](const auto &) mutable { in RegisterPlugin() 41 return std::move(getter); in RegisterPlugin()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/udmf/permission/ |
D | checker_manager.cpp | 27 void CheckerManager::RegisterChecker(const std::string &checker, std::function<Checker *()> getter) in RegisterChecker() argument 29 getters_.ComputeIfAbsent(checker, [&getter](const auto &) { in RegisterChecker() 30 return move(getter); in RegisterChecker()
|
/foundation/arkui/ace_engine_lite/frameworks/src/core/base/ |
D | lazy_load_manager.cpp | 88 jerry_value_t getter) in AddLazyLoadWatcher() argument 91 AddLazyLoadWatcher(nativeElement, attrName, getter, K_UNKNOWN); in AddLazyLoadWatcher() 96 jerry_value_t getter, in AddLazyLoadWatcher() argument 99 if (nativeElement == UNDEFINED || attrName == UNDEFINED || getter == UNDEFINED) { in AddLazyLoadWatcher() 103 LazyLoadWatcher *watcher = new LazyLoadWatcher(nativeElement, attrName, getter, keyId); in AddLazyLoadWatcher()
|
D | lazy_load_watcher.cpp | 21 jerry_value_t getter, in LazyLoadWatcher() argument 25 getter_(jerry_acquire_value(getter)), in LazyLoadWatcher()
|
D | lazy_load_manager.h | 47 …void AddLazyLoadWatcher(jerry_value_t nativeElement, jerry_value_t attrName, jerry_value_t getter); 52 …Watcher(jerry_value_t nativeElement, jerry_value_t attrName, jerry_value_t getter, uint16_t keyId);
|
/foundation/multimedia/av_session/frameworks/js/napi/session/src/ |
D | napi_async_callback.cpp | 54 if (context->getter) { in AfterWorkCallback() 56 context->getter(context->env, argc, argv); in AfterWorkCallback() 72 void NapiAsyncCallback::Call(napi_ref method, NapiArgsGetter getter) in Call() argument 80 work->data = new DataContext{env_, method, std::move(getter)}; in Call()
|
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/common/include/ |
D | js_uv_queue.h | 33 UvCallback(CallbackGetter getter) : getter_(std::move(getter)) {} in UvCallback() 50 CallbackGetter getter; member
|
/foundation/arkui/napi/interfaces/inner_api/napi/ |
D | native_common.h | 88 #define DECLARE_NAPI_GETTER(name, getter) \ argument 90 (name), nullptr, nullptr, (getter), nullptr, nullptr, napi_default, nullptr \ 98 #define DECLARE_NAPI_GETTER_SETTER(name, getter, setter) \ argument 100 (name), nullptr, nullptr, (getter), (setter), nullptr, napi_default, nullptr \
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/checker/ |
D | checker_manager.cpp | 43 void CheckerManager::RegisterPlugin(const std::string &checker, std::function<Checker *()> getter) in RegisterPlugin() argument 45 getters_.ComputeIfAbsent(checker, [&getter](const auto &) mutable { in RegisterPlugin() 46 return std::move(getter); in RegisterPlugin()
|
/foundation/multimedia/av_session/frameworks/js/napi/session/include/ |
D | napi_async_callback.h | 36 void Call(napi_ref method, NapiArgsGetter getter = NapiArgsGetter()); 44 NapiArgsGetter getter; member
|
/foundation/distributeddatamgr/preferences/frameworks/js/napi/common/src/ |
D | uv_queue.cpp | 37 void UvQueue::AsyncCall(NapiCallbackGetter getter, NapiArgsGenerator genArgs) in AsyncCall() argument 39 if (loop_ == nullptr || !getter) { in AsyncCall() 49 work->data = new UvEntry{ env_, getter, std::move(genArgs) }; in AsyncCall()
|
/foundation/distributeddatamgr/kv_store/frameworks/jskitsimpl/distributedkvstore/src/ |
D | uv_queue.cpp | 36 void UvQueue::AsyncCall(NapiCallbackGetter getter, NapiArgsGenerator genArgs) in AsyncCall() argument 38 if (loop_ == nullptr || !getter) { in AsyncCall() 48 work->data = new UvEntry{ env_, getter, std::move(genArgs) }; in AsyncCall()
|
/foundation/distributeddatamgr/kv_store/frameworks/jskitsimpl/distributeddata/src/ |
D | uv_queue.cpp | 36 void UvQueue::AsyncCall(NapiCallbackGetter getter, NapiArgsGenerator genArgs) in AsyncCall() argument 38 if (loop_ == nullptr || !getter) { in AsyncCall() 48 work->data = new UvEntry{ env_, getter, std::move(genArgs) }; in AsyncCall()
|
/foundation/arkui/ace_engine_lite/frameworks/module_manager/ |
D | module_manager.h | 74 void SetProductModulesGetter(ProductModulesGetter getter); 81 void SetPrivateModulesGetter(PrivateModulesGetter getter); 88 void SetBundleNameGetter(BundleNameGetter getter);
|
D | module_manager.cpp | 333 void ModuleManager::SetProductModulesGetter(ProductModulesGetter getter) in SetProductModulesGetter() argument 335 productModulesGetter_ = getter; in SetProductModulesGetter() 338 void ModuleManager::SetPrivateModulesGetter(PrivateModulesGetter getter) in SetPrivateModulesGetter() argument 340 privateModulesGetter_ = getter; in SetPrivateModulesGetter() 343 void ModuleManager::SetBundleNameGetter(BundleNameGetter getter) in SetBundleNameGetter() argument 345 bundleNameGetter_ = getter; in SetBundleNameGetter()
|
/foundation/arkui/ace_engine_lite/frameworks/packages/runtime-core/src/observer/ |
D | observer.js | 24 export function Observer(context, getter, callback, meta) { argument 26 this._getter = getter;
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/ |
D | bindings_implementation.inl | 87 …d JSClassImpl<C, ImplDetail>::CustomProperty(const char* name, MemberFunctionGetCallback<T> getter, argument 92 getFunctions_.emplace(nextFreeId_, new FunctionBinding(name, MethodOptions::NONE, getter)); 96 functions_.emplace(nextFreeId_, new FunctionBinding(name, MethodOptions::NONE, getter)); 102 ImplDetail<C>::CustomProperty(name, getter, getFuncId, setFuncId); 106 void JSClassImpl<C, ImplDetail>::CustomProperty(const char* name, FunctionGetCallback getter, argument 109 ImplDetail<C>::CustomProperty(name, getter, setter); 114 …id JSClassImpl<C, ImplDetail>::CustomProperty(const char* name, JSMemberFunctionCallback<T> getter, argument 119 getFunctions_.emplace(nextFreeId_, new FunctionBinding(name, MethodOptions::NONE, getter)); 121 functions_.emplace(nextFreeId_, new FunctionBinding(name, MethodOptions::NONE, getter)); 126 ImplDetail<C>::CustomProperty(name, getter, getFuncId, setFuncId);
|
D | bindings_implementation.h | 303 static void CustomProperty(const char* name, MemberFunctionGetCallback<T> getter, 306 static void CustomProperty(const char* name, FunctionGetCallback getter, 310 static void CustomProperty(const char* name, JSMemberFunctionCallback<T> getter,
|
/foundation/arkui/ace_engine_lite/frameworks/packages/runtime-core/src/core/ |
D | index.js | 62 ViewModel.prototype.$watch = function(getter, callback, meta) { argument 63 return new Observer(this, getter, callback, meta);
|
/foundation/distributeddatamgr/distributedfile/interfaces/kits/napi/common/napi/ |
D | n_val.h | 71 static napi_property_descriptor DeclareNapiGetter(const char *name, napi_callback getter); 74 napi_callback getter,
|
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/src/common/napi/ |
D | n_val.h | 106 static napi_property_descriptor DeclareNapiGetter(const char *name, napi_callback getter); 111 napi_callback getter, napi_callback setter);
|