Searched refs:newNode (Results 1 – 7 of 7) sorted by relevance
/drivers/hdf_core/framework/utils/src/hcs_parser/ |
D | hcs_generate_tree.c | 33 struct DeviceResourceNode *newNode = (struct DeviceResourceNode *)(*treeMem); in CreateTreeNode() local 36 newNode->name = start + offset + HCS_PREFIX_LENGTH; in CreateTreeNode() 37 newNode->hashValue = (uint32_t)offset + sizeof(struct HbcHeader); in CreateTreeNode() 39 newNode->parent = parentNode; in CreateTreeNode() 45 parentNode->child = newNode; in CreateTreeNode() 47 curNode->sibling = newNode; in CreateTreeNode() 50 return newNode; in CreateTreeNode() 53 …dateTreeStack(struct TreeStack **treeStack, int32_t *treeLayer, struct DeviceResourceNode *newNode, in UpdateTreeStack() argument 61 (*treeStack)[*treeLayer].node = newNode; in UpdateTreeStack() 89 struct DeviceResourceNode *newNode = NULL; in ParseByteCode() local [all …]
|
/drivers/hdf_core/framework/model/network/wifi/platform/src/message/nodes/ |
D | local_node.c | 263 LocalMessageNode *newNode = NULL; in CreateLocalNode() local 270 newNode = (LocalMessageNode *)OsalMemCalloc(sizeof(LocalMessageNode)); in CreateLocalNode() 271 if (newNode == NULL) { in CreateLocalNode() 276 newNode->status = ME_STATUS_STOPPED; in CreateLocalNode() 277 newNode->Init = InitLocalNode; in CreateLocalNode() 278 newNode->CreateRemoteService = CreateLocalNodeService; in CreateLocalNode() 279 newNode->SyncService = NULL; in CreateLocalNode() 280 newNode->NotifyServiceAdd = NULL; in CreateLocalNode() 281 newNode->NotifyServiceDel = NULL; in CreateLocalNode() 283 ret = OsalMutexInit(&newNode->mutex); in CreateLocalNode() [all …]
|
/drivers/peripheral/camera/vdi_base/common/pipeline_core/pipeline_impl/src/builder/ |
D | stream_pipeline_builder.cpp | 36 … std::shared_ptr<INode> newNode = NodeFactory::Instance().CreateShared(nodeName, it.name_, in Build() local 38 if (newNode == nullptr) { in Build() 44 newNode->SetCallBack(hostStreamMgr_->GetBufferCb(it.streamId_)); in Build() 46 pipeline_->nodes_.push_back(newNode); in Build() 59 std::shared_ptr<IPort> port = newNode->GetPort(portSpec.info_.name_); in Build()
|
/drivers/hdf_core/framework/core/host/src/ |
D | hdf_device_object.c | 183 struct HdfDeviceNode *newNode = NULL; in HdfDeviceObjectAlloc() local 196 newNode = (struct HdfDeviceNode *)HdfObjectManagerGetObject(HDF_OBJECT_ID_DEVICE_SERVICE); in HdfDeviceObjectAlloc() 197 if (newNode == NULL) { in HdfDeviceObjectAlloc() 200 newNode->driverName = HdfStringCopy(driverName); in HdfDeviceObjectAlloc() 201 if (newNode->driverName == NULL) { in HdfDeviceObjectAlloc() 202 HdfDeviceNodeFreeInstance(newNode); in HdfDeviceObjectAlloc() 206 newNode->hostService = parentDevNode->hostService; in HdfDeviceObjectAlloc() 207 newNode->device = parentDevNode->device; in HdfDeviceObjectAlloc() 209 return &newNode->deviceObject; in HdfDeviceObjectAlloc()
|
/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/hcs/ |
D | ModifyNode.js | 87 let newNode = NodeTools.createNewNode( 93 node.value_.push(newNode); 94 newNode.parent_ = node; 95 return newNode;
|
/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/ |
D | AttrEditor.js | 97 let newNode = ModifyNode.addChildNode(this.root_, this.node_); 98 this.callCallback('change_current_select', newNode); 101 let newNode = ModifyNode.addChildAttr(this.root_, this.node_); 102 this.callCallback('change_current_select', newNode);
|
D | MainEditor.js | 1991 syncOpenStatus(newNode, oldParentNode) { argument 1994 if (newNode.name_ === oldParentNode.value_[i].name_) { 2001 newNode.isOpen_ = oldNode.isOpen_; 2003 for (let j = 0; j < newNode.value_.length; ++j) { 2004 this.syncOpenStatus(newNode.value_[j], oldNode);
|