/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_ethtool.c | 259 u64 (*getter)(const char *payload); member 266 .getter = mlxsw_reg_ppcnt_a_frames_transmitted_ok_get, 270 .getter = mlxsw_reg_ppcnt_a_frames_received_ok_get, 274 .getter = mlxsw_reg_ppcnt_a_frame_check_sequence_errors_get, 278 .getter = mlxsw_reg_ppcnt_a_alignment_errors_get, 282 .getter = mlxsw_reg_ppcnt_a_octets_transmitted_ok_get, 286 .getter = mlxsw_reg_ppcnt_a_octets_received_ok_get, 290 .getter = mlxsw_reg_ppcnt_a_multicast_frames_xmitted_ok_get, 294 .getter = mlxsw_reg_ppcnt_a_broadcast_frames_xmitted_ok_get, 298 .getter 558 u64 (*getter)(struct mlxsw_sp_port *mlxsw_sp_port); global() member [all...] |
/foundation/arkui/ace_engine_lite/frameworks/src/core/directive/ |
H A D | descriptor_utils.cpp | 23 const char * const DescriptorUtils::DESCRIPTOR_ATTR_GETTER = "getter"; 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() 88 JSValue getter = JSObject::Get(descriptor, DESCRIPTOR_ATTR_GETTER); RenderForDescriptor() local 208 CreateDescriptor(const char * const type, JSValue getter, JSValue render) CreateDescriptor() argument [all...] |
H A D | descriptor_utils.h | 31 * @brief Create a descriptor object of if directive, which like { if: true, getter, render }. 32 * @param getter The getter function. 36 static JSValue CreateIfDescriptor(JSValue getter, JSValue render); 39 * @brief Create a descriptor object of for directive, which like { for: true, getter, render }. 40 * @param Getter the getter function. 44 static JSValue CreateForDescriptor(JSValue getter, JSValue render); 78 * like { if: true, rendered: {}, getter, render }. 87 * like { for: true, rendered: [...], getter, render }. 148 * @brief getter propert [all...] |
/foundation/multimedia/av_session/frameworks/js/napi/session/include/ |
H A D | napi_async_callback.h | 38 void Call(napi_ref& method, NapiArgsGetter getter = NapiArgsGetter()); 40 void CallWithFlag(napi_ref& method, std::shared_ptr<bool> isValid, NapiArgsGetter getter = NapiArgsGetter()); 44 NapiArgsGetter getter = NapiArgsGetter()); 56 NapiArgsGetter getter; member 62 NapiArgsGetter getter; member 68 NapiArgsGetter getter; member
|
/foundation/multimedia/av_session/frameworks/js/napi/session/src/ |
H A D | napi_async_callback.cpp | 60 if (context->getter) { in AfterWorkCallback() 62 context->getter(context->env, argc, argv); in AfterWorkCallback() 94 if (context->getter) { in AfterWorkCallbackWithFlag() 96 context->getter(context->env, argc, argv); in AfterWorkCallbackWithFlag() 135 if (context->getter) { in AfterWorkCallbackWithFunc() 137 context->getter(context->env, argc, argv); in AfterWorkCallbackWithFunc() 168 void NapiAsyncCallback::Call(napi_ref& method, NapiArgsGetter getter) in Call() argument 176 work->data = new DataContext{env_, method, std::move(getter)}; in Call() 181 void NapiAsyncCallback::CallWithFlag(napi_ref& method, std::shared_ptr<bool> isValid, NapiArgsGetter getter) in CallWithFlag() argument 189 work->data = new DataContextWithFlag { env_, method, isValid, std::move(getter) }; in CallWithFlag() 195 CallWithFunc(napi_ref& method, std::shared_ptr<bool> isValid, const std::function<bool()>& checkCallbackValid, NapiArgsGetter getter) CallWithFunc() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_ethtool.c | 266 u64 (*getter)(const char *payload); member 273 .getter = mlxsw_reg_ppcnt_a_frames_transmitted_ok_get, 277 .getter = mlxsw_reg_ppcnt_a_frames_received_ok_get, 281 .getter = mlxsw_reg_ppcnt_a_frame_check_sequence_errors_get, 285 .getter = mlxsw_reg_ppcnt_a_alignment_errors_get, 289 .getter = mlxsw_reg_ppcnt_a_octets_transmitted_ok_get, 293 .getter = mlxsw_reg_ppcnt_a_octets_received_ok_get, 297 .getter = mlxsw_reg_ppcnt_a_multicast_frames_xmitted_ok_get, 301 .getter = mlxsw_reg_ppcnt_a_broadcast_frames_xmitted_ok_get, 305 .getter 565 u64 (*getter)(struct mlxsw_sp_port *mlxsw_sp_port); global() member [all...] |
/foundation/arkui/ace_engine/frameworks/core/animation/ |
H A 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
|
/foundation/arkui/ace_engine_lite/frameworks/src/core/base/ |
H A D | lazy_load_manager.cpp | 88 jerry_value_t getter)
in AddLazyLoadWatcher() 91 AddLazyLoadWatcher(nativeElement, attrName, getter, K_UNKNOWN);
in AddLazyLoadWatcher() 96 jerry_value_t getter,
in AddLazyLoadWatcher() 99 if (nativeElement == UNDEFINED || attrName == UNDEFINED || getter == UNDEFINED) {
in AddLazyLoadWatcher() 103 LazyLoadWatcher *watcher = new LazyLoadWatcher(nativeElement, attrName, getter, keyId);
in AddLazyLoadWatcher() 86 AddLazyLoadWatcher(jerry_value_t nativeElement, jerry_value_t attrName, jerry_value_t getter) AddLazyLoadWatcher() argument 94 AddLazyLoadWatcher(jerry_value_t nativeElement, jerry_value_t attrName, jerry_value_t getter, uint16_t keyId) AddLazyLoadWatcher() argument
|
H A D | lazy_load_watcher.cpp | 21 jerry_value_t getter,
in LazyLoadWatcher() 25 getter_(jerry_acquire_value(getter)),
in LazyLoadWatcher() 19 LazyLoadWatcher(jerry_value_t nativeElement, jerry_value_t attrName, jerry_value_t getter, uint16_t keyId) LazyLoadWatcher() argument
|
H A D | lazy_load_manager.h | 47 void AddLazyLoadWatcher(jerry_value_t nativeElement, jerry_value_t attrName, jerry_value_t getter);
52 void AddLazyLoadWatcher(jerry_value_t nativeElement, jerry_value_t attrName, jerry_value_t getter, uint16_t keyId);
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/backuprule/ |
H A D | backup_rule_manager.cpp | 38 void BackupRuleManager::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/CastEngine/castengine_cast_framework/interfaces/kits/js/src/ |
H A D | napi_callback.cpp | 57 if (context->getter) { in AfterWorkCallback() 59 context->getter(context->env, argc, argv); in AfterWorkCallback() 81 void NapiCallback::Call(napi_ref method, NapiArgsGetter getter) in Call() argument 99 work->data = new DataContext { env_, method, std::move(getter) }; in Call()
|
H A D | napi_cast_session_listener.cpp | 39 void NapiCastSessionListener::HandleEvent(int32_t event, NapiArgsGetter getter) in HandleEvent() argument 47 callback_->Call(*ref, getter); in HandleEvent() 89 NapiArgsGetter getter = [eventType, dataBuf, len](napi_env env, int &argc, napi_value *argv) { in OnRemoteCtrlEvent() local 97 HandleEvent(EVENT_REMOTE_CTRL, getter); in OnRemoteCtrlEvent()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/udmf/permission/ |
H A 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/napi/native_engine/ |
H A D | native_sendable.cpp | 71 if (propertyDescriptor.getter != nullptr || propertyDescriptor.setter != nullptr) { in InitSendablePropertiesInfo() 75 if (propertyDescriptor.getter != nullptr) { in InitSendablePropertiesInfo() 77 NapiNativeCreateSendableFunction(env, "getter", propertyDescriptor.getter, propertyDescriptor.data); in InitSendablePropertiesInfo() 146 if (propertyDescriptor.getter != nullptr || propertyDescriptor.setter != nullptr) { in NapiDefineSendabledProperty() 150 if (propertyDescriptor.getter != nullptr) { in NapiDefineSendabledProperty() 152 NapiNativeCreateSendableFunction(env, "getter", propertyDescriptor.getter, propertyDescriptor.data); in NapiDefineSendabledProperty()
|
/foundation/arkui/napi/interfaces/inner_api/napi/ |
H A D | native_common.h | 111 #define DECLARE_NAPI_GETTER(name, getter) \ 113 (name), nullptr, nullptr, (getter), nullptr, nullptr, napi_default, nullptr \ 121 #define DECLARE_NAPI_GETTER_SETTER(name, getter, setter) \ 123 (name), nullptr, nullptr, (getter), (setter), nullptr, napi_default, nullptr \
|
/foundation/arkui/ace_engine_lite/frameworks/module_manager/ |
H A D | module_manager.h | 70 * @brief Set product modules getter hook. 74 void SetProductModulesGetter(ProductModulesGetter getter); 77 * @brief Set private modules getter hook. 81 void SetPrivateModulesGetter(PrivateModulesGetter getter); 84 * @brief Set bundle name getter hook. 88 void SetBundleNameGetter(BundleNameGetter getter);
|
H A 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/distributeddatamgr/kv_store/frameworks/jskitsimpl/distributeddata/src/ |
H A 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/distributedkvstore/src/ |
H A 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/preferences/frameworks/js/napi/common/src/ |
H A D | uv_queue.cpp | 37 void UvQueue::AsyncCall(NapiCallbackGetter getter, NapiArgsGenerator genArgs, bool sendable) in AsyncCall() argument 39 if (loop_ == nullptr || !getter) { in AsyncCall() 48 work->data = new (std::nothrow) UvEntry{ env_, getter, std::move(genArgs), sendable }; in AsyncCall()
|
/foundation/arkui/napi/interfaces/inner_api/cjffi/ark_interop/ |
H A D | ark_interop_object.cpp | 110 ARKTS_ASSERT_V(accessor.getter == undefined || ARKTS_IsCallable(env, accessor.getter), "getter not callable"); in ARKTS_DefineAccessors() 111 ARKTS_ASSERT_V(accessor.getter != undefined || accessor.setter != undefined, "getter and setter is undefined"); in ARKTS_DefineAccessors() 117 auto handledGetter = accessor.getter != undefined ? BIT_CAST(accessor.getter, Local<JSValueRef>) : handledUndef; in ARKTS_DefineAccessors()
|
/kernel/linux/linux-5.10/drivers/clk/sunxi/ |
H A D | clk-sun9i-core.c | 71 .getter = sun9i_a80_get_pll4_factors, 125 .getter = sun9i_a80_get_gt_factors, 180 .getter = sun9i_a80_get_ahb_factors, 206 .getter = sun9i_a80_get_ahb_factors, 263 .getter = sun9i_a80_get_apb1_factors,
|
/kernel/linux/linux-6.6/drivers/clk/sunxi/ |
H A D | clk-sun9i-core.c | 71 .getter = sun9i_a80_get_pll4_factors, 125 .getter = sun9i_a80_get_gt_factors, 180 .getter = sun9i_a80_get_ahb_factors, 206 .getter = sun9i_a80_get_ahb_factors, 263 .getter = sun9i_a80_get_apb1_factors,
|
/foundation/CastEngine/castengine_cast_framework/interfaces/kits/js/include/ |
H A D | napi_callback.h | 40 void Call(napi_ref method, NapiArgsGetter getter); 48 NapiArgsGetter getter; member
|