Home
last modified time | relevance | path

Searched refs:getter (Results 1 – 25 of 79) sorted by relevance

1234

/foundation/arkui/ace_engine_lite/frameworks/src/core/directive/
Ddescriptor_utils.cpp31 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 …]
Ddescriptor_utils.h36 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/
Dproperty_animatable_helper.h33 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
Dproperty_animatable.h92 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/
Dbackup_rule_manager.cpp38 …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/
Dchecker_manager.cpp27 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/
Dlazy_load_manager.cpp88 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()
Dlazy_load_watcher.cpp21 jerry_value_t getter, in LazyLoadWatcher() argument
25 getter_(jerry_acquire_value(getter)), in LazyLoadWatcher()
Dlazy_load_manager.h47 …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/
Dnapi_async_callback.cpp54 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/
Djs_uv_queue.h33 UvCallback(CallbackGetter getter) : getter_(std::move(getter)) {} in UvCallback()
50 CallbackGetter getter; member
/foundation/arkui/napi/interfaces/inner_api/napi/
Dnative_common.h88 #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/
Dchecker_manager.cpp43 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/
Dnapi_async_callback.h36 void Call(napi_ref method, NapiArgsGetter getter = NapiArgsGetter());
44 NapiArgsGetter getter; member
/foundation/distributeddatamgr/preferences/frameworks/js/napi/common/src/
Duv_queue.cpp37 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/
Duv_queue.cpp36 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/
Duv_queue.cpp36 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/
Dmodule_manager.h74 void SetProductModulesGetter(ProductModulesGetter getter);
81 void SetPrivateModulesGetter(PrivateModulesGetter getter);
88 void SetBundleNameGetter(BundleNameGetter getter);
Dmodule_manager.cpp333 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/
Dobserver.js24 export function Observer(context, getter, callback, meta) { argument
26 this._getter = getter;
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/
Dbindings_implementation.inl87 …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);
Dbindings_implementation.h303 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/
Dindex.js62 ViewModel.prototype.$watch = function(getter, callback, meta) { argument
63 return new Observer(this, getter, callback, meta);
/foundation/distributeddatamgr/distributedfile/interfaces/kits/napi/common/napi/
Dn_val.h71 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/
Dn_val.h106 static napi_property_descriptor DeclareNapiGetter(const char *name, napi_callback getter);
111 napi_callback getter, napi_callback setter);

1234