Home
last modified time | relevance | path

Searched refs:ref (Results 1 – 9 of 9) sorted by relevance

/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/hcs/
DNodeTools.js273 let ref = NodeTools.lookup(pn);
274 if (ref == null) {
284 } else if (ref.nodeType_ == NodeType.TEMPLETE) {
291 } else if (ref.nodeType_ == NodeType.DELETE) {
298 } else if (NodeTools.isElders(pn, ref)) {
309 if (ref.nodeType_ == NodeType.COPY) {
313 let tref = NodeTools.copyNode(ref, pn.parent_);
319 pn.nodeType_ = ref.nodeType_;
320 pn.name_ = ref.name_;
321 pn.ref_ = ref.ref_;
[all …]
Dast.js446 setRefPath(ref) { argument
447 this.refNodePath_ = ref;
525 nodeRefExpand(ref) { argument
526 if (ref == null) {
532 return ref.move(this);
534 nodeCopyExpand(ref) { argument
535 if (ref == null) {
542 return this.copy(ref, false);
911 let ref;
917 ref = lookup(current, current.child_.stringValue());
[all …]
/drivers/hdf_core/framework/support/platform/src/can/
Dcan_msg.c23 struct HdfSRef ref; member
70 HdfSRefAcquire(&holder->ref); in CanMsgGet()
82 HdfSRefRelease(&holder->ref); in CanMsgPut()
98 holder = CONTAINER_OF(sref, struct CanMsgHolder, ref); in CanMsgHolderOnLastPut()
122 HdfSRefConstruct(&holder->ref, &g_canMsgExtListener); in CanMsgPoolObtainMsg()
/drivers/hdf_core/framework/tools/hc-gen/test/29_node_copy_nested_ei/
Dgolden_binary_compile_result.txt3 [Error] only allow ref base node, ./29_node_copy_nested_ei/case.hcs:5 ref invalid node which is no…
Dgolden_text_compile_result.txt3 [Error] only allow ref base node, ./29_node_copy_nested_ei/case.hcs:5 ref invalid node which is no…
/drivers/hdf_core/framework/support/platform/src/fwk/
Dplatform_device.c33 device = CONTAINER_OF(sref, struct PlatformDevice, ref); in PlatformDeviceOnLastPut()
135 HdfSRefConstruct(&device->ref, &g_platObjListener); in PlatformDeviceInit()
159 HdfSRefAcquire(&device->ref); in PlatformDeviceGet()
166 HdfSRefRelease(&device->ref); in PlatformDevicePut()
173 return HdfSRefCount(&device->ref); in PlatformDeviceRefCount()
/drivers/hdf_core/framework/tools/hc-gen/src/
Dast.cpp548 void ConfigNode::SetRefPath(const std::string &ref) in SetRefPath() argument
550 refNodePath_ = ref; in SetRefPath()
639 bool ConfigNode::NodeRefExpand(const std::shared_ptr<AstObject> &ref) in NodeRefExpand() argument
641 if (ref == nullptr) { in NodeRefExpand()
645 return ref->Move(std::shared_ptr<AstObject>(this, [](AstObject *p) { in NodeRefExpand()
650 bool ConfigNode::NodeCopyExpand(const std::shared_ptr<AstObject> &ref) in NodeCopyExpand() argument
652 if (ref == nullptr) { in NodeCopyExpand()
656 return Copy(ref, false); in NodeCopyExpand()
1032 std::shared_ptr<AstObject> ref; in NodeExpandDelete() local
1054 std::shared_ptr<AstObject> ref = Lookup(current, current->child_->StringValue()); in NodeExpandTermRef() local
[all …]
Dast.h172 void SetRefPath(const std::string &ref);
201 bool NodeRefExpand(const std::shared_ptr<AstObject> &ref);
203 bool NodeCopyExpand(const std::shared_ptr<AstObject> &ref);
/drivers/hdf_core/framework/support/platform/include/fwk/
Dplatform_device.h35 struct HdfSRef ref; /* used for reference count */ member