Home
last modified time | relevance | path

Searched +defs:val +defs:node (Results 1 – 25 of 54) sorted by relevance

123

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dscrollable_modifier.cpp22 void SetContentClip(ArkUINodeHandle node, ArkUI_Int32 mode) in SetContentClip()
25 auto val = static_cast<ContentClipMode>(mode); in SetContentClip() local
32 void ResetContentClip(ArkUINodeHandle node) in ResetContentClip()
38 void SetOnReachStartCallBack(ArkUINodeHandle node, void* extraParam) in SetOnReachStartCallBack()
50 void ResetOnReachStartCallBack(ArkUINodeHandle node) in ResetOnReachStartCallBack()
57 void SetOnReachEndCallBack(ArkUINodeHandle node, void* extraParam) in SetOnReachEndCallBack()
69 void ResetOnReachEndCallBack(ArkUINodeHandle node) in ResetOnReachEndCallBack()
H A Dnode_textpicker_modifier.cpp51 void ResetTextPickerBackgroundColor(ArkUINodeHandle node) in ResetTextPickerBackgroundColor()
62 ArkUI_Int32 GetTextPickerCanLoop(ArkUINodeHandle node) in GetTextPickerCanLoop()
69 void SetTextPickerCanLoop(ArkUINodeHandle node, int canLoop) in SetTextPickerCanLoop()
76 void ResetTextPickerCanLoop(ArkUINodeHandle node) in ResetTextPickerCanLoop()
113 void ResetTextPickerSelectedIndex(ArkUINodeHandle node) in ResetTextPickerSelectedIndex()
156 void ResetTextPickerTextStyle(ArkUINodeHandle node) in ResetTextPickerTextStyle()
322 ArkUI_CharPtr GetTextPickerValue(ArkUINodeHandle node) in GetTextPickerValue()
450 void ResetTextPickerDivider(ArkUINodeHandle node) in ResetTextPickerDivider()
465 void ResetTextPickerGradientHeight(ArkUINodeHandle node) in ResetTextPickerGradientHeight()
609 uint32_t val = selectedValues.size() > 0 ? selectedValues.size() - 1 : 0; in SetSelectedInternal() local
[all …]
/ohos5.0/drivers/hdf_core/framework/support/platform/src/fwk/
H A Dplatform_dumper.c19 struct DListHead node; member
46 uint8_t *val = (uint8_t *)(data->data.paddr); in DumperPrintUint8Info() local
90 int8_t *val = (int8_t *)(data->data.paddr); in DumperPrintInt8Info() local
101 int16_t *val = (int16_t *)(data->data.paddr); in DumperPrintInt16Info() local
112 int32_t *val = (int32_t *)(data->data.paddr); in DumperPrintInt32Info() local
135 float *val = (float *)(data->data.paddr); in DumperPrintFloatInfo() local
148 double *val = (double *)(data->data.paddr); in DumperPrintDoubleInfo() local
160 char *val = (char *)(data->data.paddr); in DumperPrintCharInfo() local
172 char *val = (char *)(data->data.paddr); in DumperPrintStringInfo() local
228 static int32_t DumperNodeSetPrintInfo(struct DumperDataMgrNode *node) in DumperNodeSetPrintInfo()
[all …]
/ohos5.0/foundation/communication/netmanager_base/services/netmanagernative/bpf/src/
H A Dbpf_netfirewall.cpp331 UidKey val = (UidKey)userId; in SetFirewallCurrentUserId() local
344 for (const auto &node : srcIp4Map) { in WriteSrcIpv4BpfMap() local
345 Bitmap val = node.bitmap; in WriteSrcIpv4BpfMap() local
364 for (const auto &node : srcIp6Map) { in WriteSrcIpv6BpfMap() local
365 Bitmap val = node.bitmap; in WriteSrcIpv6BpfMap() local
383 for (const auto &node : dstIp4Map) { in WriteDstIpv4BpfMap() local
384 Bitmap val = node.bitmap; in WriteDstIpv4BpfMap() local
403 for (const auto &node : dstIp6Map) { in WriteDstIpv6BpfMap() local
404 Bitmap val = node.bitmap; in WriteDstIpv6BpfMap() local
425 Bitmap val = pair.second; in WriteSrcPortBpfMap() local
[all …]
/ohos5.0/foundation/distributeddatamgr/relational_store/rdbmock/frameworks/native/rdb/
H A Dlru_bucket.h105 auto *node = new(std::nothrow) Node(value); in Set() local
138 auto val = values.begin(); in Update() local
187 auto *node = head_.prev_; in PopBack() local
192 void Update(Node *node, const _Tp &value) in Update()
197 void Remove(Node *node) in Remove()
204 void Insert(Node *prev, Node *node) in Insert()
213 void Delete(Node *node) in Delete()
216 delete node; in Delete() local
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/common/
H A Dlru_bucket.h105 auto *node = new(std::nothrow) Node(value); in Set() local
138 auto val = values.begin(); in Update() local
187 auto *node = head_.prev_; in PopBack() local
192 void Update(Node *node, const _Tp &value) in Update()
197 void Remove(Node *node) in Remove()
204 void Insert(Node *prev, Node *node) in Insert()
213 void Delete(Node *node) in Delete()
216 delete node; in Delete() local
/ohos5.0/foundation/communication/netmanager_base/utils/common_utils/include/
H A Dsuffix_match_trie.h46 T val; member
77 bool Insert(const std::string &key, const T &val) in Insert()
105 bool Update(const std::string &key, const T &val) in Update()
169 TrieNode *node = new TrieNode; in CreateNode() local
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/subscriber_managers/
H A Drdb_subscriber_manager.cpp123 std::vector<ObserverNode> node; in Add() local
212 std::vector<ObserverNode> node; in Enable() local
234 rdbCache_.ForEach([&uri, &context, this](const Key &key, std::vector<ObserverNode> &val) { in Emit()
253 …ch([&uri, &userId, &metaData, &hasObserver, this](const Key &key, std::vector<ObserverNode> &val) { in Emit()
271 for (auto &node : nodes) { in SetObserverNotifyOnEnabled() local
281 rdbCache_.ForEach([&uri, &results](const Key &key, std::vector<ObserverNode> &val) { in GetKeysByUri()
296 rdbCache_.ComputeIfPresent(key, [&rdbPath, &version, &userId, this](const Key &key, auto &val) { in EmitByKey()
318 … RdbSubscriberManager::Notify(const Key &key, int32_t userId, const std::vector<ObserverNode> &val, in Notify()
373 …he_.ForEach([&uri, &context, &subscriberId, this](const Key &key, std::vector<ObserverNode> &val) { in Emit()
/ohos5.0/drivers/hdf_core/framework/test/unittest/platform/virtual/
H A Ddac_virtual.c28 static int32_t VirtualDacWrite(struct DacDevice *device, uint32_t channel, uint32_t val) in VirtualDacWrite()
63 … int32_t VirtualDacReadDrs(struct VirtualDacDevice *virtual, const struct DeviceResourceNode *node) in VirtualDacReadDrs()
87 …t32_t VirtualDacParseAndInit(struct HdfDeviceObject *device, const struct DeviceResourceNode *node) in VirtualDacParseAndInit()
142 static void VirtualDacRemoveByNode(const struct DeviceResourceNode *node) in VirtualDacRemoveByNode()
H A Dadc_virtual.c44 static int32_t VirtualAdcRead(struct AdcDevice *device, uint32_t channel, uint32_t *val) in VirtualAdcRead()
75 … int32_t VirtualAdcReadDrs(struct VirtualAdcDevice *virtual, const struct DeviceResourceNode *node) in VirtualAdcReadDrs()
/ohos5.0/foundation/graphic/graphic_3d/kits/js/src/
H A DMeshJS.cpp78 auto node = interface_pointer_cast<SCENE_NS::IMesh>(GetThisNativeObject(ctx)); in GetSubmesh() local
95 for (const auto& node : subs) { in GetSubmesh() local
99 napi_value val = CreateFromNativeInstance( in GetSubmesh() local
111 auto node = interface_pointer_cast<SCENE_NS::IMesh>(GetThisNativeObject(ctx)); in GetAABB() local
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/util/
H A Dlinked_list.rs77 unsafe fn node(ptr: NonNull<Self>) -> NonNull<Node<Self>> in node() method
87 let node = unsafe { L::node(head_ptr).as_mut() }; in new() localVariable
100 let node = Some(val); in push_front() localVariable
114 let node = head.prev.take().unwrap(); in pop_back() localVariable
153 let node = p.unwrap(); in drain_filtered() localVariable
184 val: usize, field
185 node: Node<Entry>, field
211 unsafe fn node(ptr: NonNull<Self>) -> NonNull<Node<Self>> { in node() method
349 let node = list.pop_back(); in ut_link_list_for_each_mut() localVariable
351 let node = list.pop_back(); in ut_link_list_for_each_mut() localVariable
[all …]
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/nodecontext/
H A Drender_node_parser_util.cpp349 void ParseRenderpass(const string_view name, const json::value& node, in ParseRenderpass()
411 void ParseResources(const string_view name, const json::value& node, RenderNodeGraphInputs::InputRe… in ParseResources()
438 uint64_t val = std::numeric_limits<uint64_t>::max(); in GetUintValue() local
448 int64_t val = std::numeric_limits<int64_t>::max(); in GetIntValue() local
458 float val = std::numeric_limits<float>::max(); in GetFloatValue() local
/ohos5.0/drivers/hdf_core/framework/test/unittest/platform/common/
H A Dsdio_test.c83 uint8_t val; in TestSdioIncrAddrReadAndWriteOneByte() local
169 uint8_t val; in TestSdioFixedAddrReadAndWriteOneByte() local
231 uint8_t val; in TestSdioFunc0ReadAndWriteBytes() local
392 static int32_t SdioTestFillConfig(struct SdioTester *tester, const struct DeviceResourceNode *node) in SdioTestFillConfig()
/ohos5.0/drivers/hdf_core/adapter/platform/gpio/
H A Dgpio_gr5xx.c109 static int32_t GpioDevWrite(struct GpioCntlr *cntlr, uint16_t gpio, uint16_t val) in GpioDevWrite()
130 static int32_t GpioDevRead(struct GpioCntlr *cntlr, uint16_t gpio, uint16_t *val) in GpioDevRead()
312 static uint16_t GetGpioResourceData(const struct DeviceResourceNode *node, const char *resName, uin… in GetGpioResourceData()
332 static int32_t GetGpioDeviceResource(const struct DeviceResourceNode *node) in GetGpioDeviceResource()
/ohos5.0/drivers/hdf_core/adapter/khdf/linux/platform/adc/
H A Dadc_iio_adapter.c53 static int32_t AdcIioRead(struct AdcDevice *device, uint32_t channel, uint32_t *val) in AdcIioRead()
142 static int32_t AdcIioReadDrs(struct AdcIioDevice *adcDevice, const struct DeviceResourceNode *node) in AdcIioReadDrs()
198 …ic int32_t AdcIioParseAndDeviceAdd(struct HdfDeviceObject *device, struct DeviceResourceNode *node) in AdcIioParseAndDeviceAdd()
249 static void AdcIioRemoveByNode(const struct DeviceResourceNode *node) in AdcIioRemoveByNode()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/
H A Drs_uifirst_manager.cpp146 auto node = RSBaseRenderNode::ReinterpretCast<RSSurfaceRenderNode>( in MergeOldDirty() local
194 auto node = surfaceNode->GetParent().lock(); in RenderGroupUpdate() local
226 for (auto& node : toDirtyNodes) { in ProcessForceUpdateNode() local
237 auto node = RSBaseRenderNode::ReinterpretCast<RSSurfaceRenderNode>( in NotifyUIStartingWindow() local
408 auto node = it->second; in DoPurgePendingPostNodes() local
436 for (auto& node : markForceUpdateByUifirst_) { in PurgePendingPostNodes() local
597 const std::shared_ptr<RSRenderNode>& node) in CollectSkipSyncNodeWithDrawableState()
678 for (auto& node : it.second) { in RestoreSkipSyncNode() local
1054 bool RSUifirstManager::NodeIsInCardWhiteList(RSRenderNode& node) in NodeIsInCardWhiteList()
1402 auto& node = iter.second; in UpdateUIFirstLayerInfo() local
[all …]
H A Drs_uni_render_visitor.cpp101 bool IsFirstFrameReadyToDraw(const RSSurfaceRenderNode& node) in IsFirstFrameReadyToDraw()
123 std::string VisibleDataToString(const VisibleData& val) in VisibleDataToString()
250 void RSUniRenderVisitor::CheckColorSpace(RSSurfaceRenderNode& node) in CheckColorSpace()
321 void RSUniRenderVisitor::CheckPixelFormat(RSSurfaceRenderNode& node) in CheckPixelFormat()
1037 void RSUniRenderVisitor::UpdatePrepareClip(RSRenderNode& node) in UpdatePrepareClip()
1076 [](const std::shared_ptr<RSRenderNode>& node) { in IsLeashAndHasMainSubNode()
1094 void RSUniRenderVisitor::QuickPrepareChildren(RSRenderNode& node) in QuickPrepareChildren()
1129 bool RSUniRenderVisitor::InitDisplayInfo(RSDisplayRenderNode& node) in InitDisplayInfo()
1356 void RSUniRenderVisitor::UpdateSrcRect(RSSurfaceRenderNode& node, in UpdateSrcRect()
2465 void RSUniRenderVisitor::CollectEffectInfo(RSRenderNode& node) in CollectEffectInfo()
[all …]
/ohos5.0/drivers/peripheral/usb/ddk/device/src/
H A Dusbfn_cfg_mgr.c176 const struct DeviceResourceNode *node, const struct DeviceResourceIface *drsOps) in UsbFnCfgMgrParseStrings()
257const struct DeviceResourceNode *node, const struct DeviceResourceIface *drsOps, uint8_t *descBuff) in UsbFnCfgMgrParseAccocInterfaceDesc()
281const struct DeviceResourceNode *node, const struct DeviceResourceIface *drsOps, uint8_t *descBuff) in UsbFnCfgMgrParseInterfaceDesc()
306const struct DeviceResourceNode *node, const struct DeviceResourceIface *drsOps, uint8_t *descBuff) in UsbFnCfgMgrParseEndpointDesc()
335const struct DeviceResourceNode *node, const struct DeviceResourceIface *drsOps, uint8_t *descBuff) in UsbFnCfgMgrParseStringDesc()
356const struct DeviceResourceNode *node, const struct DeviceResourceIface *drsOps, uint8_t *descBuff) in UsbFnCfgMgrParseSspIsocEndpointDesc()
514 static int32_t UsbFnCfgMgrParseDescriptor(const struct DeviceResourceNode *node, in UsbFnCfgMgrParseDescriptor()
565 const struct DeviceResourceNode *node, const struct DeviceResourceIface *drsOps) in UsbFnCfgMgrParseDesc()
818 const struct DeviceResourceNode *node, struct UsbFnDeviceDesc *fnDevDesc) in UsbFnCfgMgrParseUsbFnConfigurations()
849 struct UsbFnDeviceDesc *UsbFnCfgMgrGetInstanceFromHCS(const struct DeviceResourceNode *node) in UsbFnCfgMgrGetInstanceFromHCS()
[all …]
/ohos5.0/commonlibrary/rust/ylong_json/src/
H A Dadapter.rs1367 let mut val = 0; in ut_ylong_json_create_bool() localVariable
1374 let mut val = 1; in ut_ylong_json_create_bool() localVariable
1426 let mut val = 0i32; in ut_ylong_json_get_value_from_bool() localVariable
1433 let mut val = 0; in ut_ylong_json_get_value_from_bool() localVariable
1442 let mut val = 0; in ut_ylong_json_get_value_from_bool() localVariable
1467 let mut val = 0; in ut_ylong_json_set_value_to_bool() localVariable
2320 let node = null_mut(); in ut_ylong_json_get_item_from_array_node() localVariable
2425 let node = null_mut(); in ut_ylong_json_replace_item_of_array_node() localVariable
2468 let node = null_mut(); in ut_ylong_json_remove_array_node() localVariable
2550 let node = null_mut(); in ut_ylong_json_delete_array_node() localVariable
[all …]
/ohos5.0/drivers/hdf_core/framework/model/storage/src/mmc/
H A Dmmc_core.c131 uint8_t val; in MmcCntlrSdioRescanHandle() local
807 uint8_t val; in SdioHandlePendingIrq() local
960 #define MMC_PARSE_DEVICE_INFO(node, cntlr) \ argument
966 #define MMC_PARSE_CNTLR_FREQ_INFO(node, cntlr) \ argument
973 #define MMC_PARSE_CNTLR_CAPS_INFO(node, cntlr) \ argument
984 #define MMC_FIND_CONFIG(node, name, cntlr) \ argument
1012 static void MmcCntlrParseCapability(const struct DeviceResourceNode *node, in MmcCntlrParseCapability()
1060 const struct DeviceResourceNode *node = NULL; in MmcCntlrParse() local
/ohos5.0/drivers/hdf_core/framework/model/audio/common/src/
H A Daudio_codec_base.c102 const struct DeviceResourceNode *node = NULL; in CodecGetServiceName() local
133 const struct DeviceResourceNode *node = NULL; in CodecGetDaiName() local
597 int32_t CodecDeviceRegI2cRead(const struct CodecDevice *codec, uint32_t reg, uint32_t *val) in CodecDeviceRegI2cRead()
709 int32_t CodecDeviceReadReg(const struct CodecDevice *codec, uint32_t reg, uint32_t *val) in CodecDeviceReadReg()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/svg/parse/
H A Dsvg_node.cpp347 for (auto& node : children_) { local
404 for (auto& node : children_) { local
596 void SvgNode::UpdateAttrHelper(const std::string& name, const std::string& val)
616 void SvgNode::UpdateAttr(const std::string& name, const Color& val)
622 void SvgNode::UpdateAttr(const std::string& name, const Dimension& val)
628 void SvgNode::UpdateAttr(const std::string& name, const double& val)
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/syntax/
H A Drepeat_node_cache_syntax_test.cpp213 RefPtr<UINode> node = caches.CreateNewNode(2); variable
235 RefPtr<UINode> node = caches.UpdateFromL2(2); variable
498 RefPtr<UINode> node = caches.UINodeHasBeenUpdated("Type1", "Key0", "Key1"); variable
814 RefPtr<UINode> node = caches.CreateNewNode(2); variable
915 std::string val("0"); variable
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/
H A DarkComponent.js178 applyPeer(node, reset) { argument
195 applyPeer(node, reset) { argument
212 applyPeer(node, reset) { argument
257 applyPeer(node, reset) { argument
275 applyPeer(node, reset) { argument
293 applyPeer(node, reset) { argument
342 applyPeer(node, reset) { argument
379 applyPeer(node, reset) { argument
425 applyPeer(node, reset) { argument
442 applyPeer(node, reset) { argument
[all …]

123