Home
last modified time | relevance | path

Searched refs:child (Results 1 – 23 of 23) sorted by relevance

/drivers/hdf_core/framework/support/platform/src/regulator/
Dregulator_tree_mgr.c14 static int RegulatorChildNodeAdd(struct RegulatorTreeInfo *pRegulator, struct RegulatorNode *child) in RegulatorChildNodeAdd() argument
17 CHECK_NULL_PTR_RETURN_VALUE(child, HDF_ERR_INVALID_PARAM); in RegulatorChildNodeAdd()
26 nodeInfo->child = child; in RegulatorChildNodeAdd()
131 if (nodeInfo->child->regulatorInfo.constraints.alwaysOn) { in RegulatorTreeIsChildAlwayson()
133 name, nodeInfo->child->regulatorInfo.name); in RegulatorTreeIsChildAlwayson()
151 if (nodeInfo->child->regulatorInfo.status == REGULATOR_STATUS_ON) { in RegulatorTreeIsChildStatusOn()
153 name, nodeInfo->child->regulatorInfo.name); in RegulatorTreeIsChildStatusOn()
171 if (nodeInfo->child->regulatorInfo.status == REGULATOR_STATUS_ON) { in RegulatorTreeIsAllChildDisable()
172 …HDF_LOGI("RegulatorTreeIsAllChildDisable: %s's child %s on!", name, nodeInfo->child->regulatorInfo… in RegulatorTreeIsAllChildDisable()
190 if (RegulatorTreeChildForceDisable(nodeInfo->child) != HDF_SUCCESS) { in RegulatorTreeChildForceDisable()
[all …]
/drivers/hdf_core/framework/tools/hc-gen/src/
Ddecompile_gen.cpp49 auto child = astObject->Child(); in GetNodeRefPath() local
51 while (child != nullptr) { in GetNodeRefPath()
52 if (child->Type() != PARSEROP_CONFNODE) { in GetNodeRefPath()
53 child = child->Next(); in GetNodeRefPath()
56 if (child->GetHash() == value) { in GetNodeRefPath()
57 return (refPath + child->Name()); in GetNodeRefPath()
59 if (value > child->GetHash() && value < (child->GetHash() + child->GetSize())) { in GetNodeRefPath()
60 astObject = child; in GetNodeRefPath()
64 child = child->Next(); in GetNodeRefPath()
Dast.cpp411 bool AstObject::IsElders(const std::shared_ptr<AstObject> &child) const in IsElders()
413 auto p = child.get(); in IsElders()
430 auto child = node.child_; in ConfigNode() local
431 while (child != nullptr) { in ConfigNode()
432 AstObject::AddChild(AstObjectFactory::Build(child)); in ConfigNode()
433 child = child->Next(); in ConfigNode()
556 auto child = child_; in HasDuplicateChild() local
557 while (child != nullptr) { in HasDuplicateChild()
558 auto sym = symMap.find(child->Name()); in HasDuplicateChild()
560 …Logger().Error() << child->SourceInfo() << "redefined, first definition at " << sym->second->Sourc… in HasDuplicateChild()
[all …]
Dmacro_gen.cpp157 auto child = node->Child(); in GenNodeForeach() local
162 while (child != nullptr) { in GenNodeForeach()
163 if (child->IsNode()) { in GenNodeForeach()
164 Logger().Debug() << " " << child->Name(); in GenNodeForeach()
165 subList.push_back(GenFullName(depth + 1, child, "_")); in GenNodeForeach()
168 child = child->Next(); in GenNodeForeach()
Dbytecode_gen.cpp158 auto child = object->Child(); in CalculateSize() local
160 while (child != nullptr) { in CalculateSize()
161 subSize += child->GetSize(); in CalculateSize()
162 child = child->Next(); in CalculateSize()
Dparser.cpp181 std::shared_ptr<AstObject> child; in ParseNode() local
185 child = ParseTemplate(); in ParseNode()
188 child = ParseNodeAndTerm(); in ParseNode()
195 if (child == nullptr) { in ParseNode()
199 node->AddChild(child); in ParseNode()
Ddecompile.cpp159 auto child = RebuildObject(childOpCode); in RebuildNode() local
160 if (child == nullptr) { in RebuildNode()
164 if (!node->AddChild(child)) { in RebuildNode()
Dtext_gen.cpp696 auto child = nodeObject->Child(); in TemplateVariableGen() local
697 while (child != nullptr) { in TemplateVariableGen()
699 child, in TemplateVariableGen()
709 child = child->Next(); in TemplateVariableGen()
Dast.h83 bool IsElders(const std::shared_ptr<AstObject> &child) const;
/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/hcs/
Dast.js316 child() { method in AstObject
340 isElders(child) { argument
341 let p = child;
379 let child = name.child_;
380 while (child != null) {
381 super.addChild(AstObjectFactory.build(child));
382 child = child.next();
429 let childSrc = srcObj.child();
451 let child = this.child_;
452 while (child != null) {
[all …]
DGenerator.js53 astToObjConfigNode(ret, child, node) { argument
55 child = node.child_;
56 while (child != null) {
57 ret.value_.push(this.astToObj(child, ret));
58 child = child.next_;
67 let child;
86 this.astToObjConfigNode(ret, child, node);
93 child = node.child_;
94 while (child != null) {
95 ret.value_.push(this.astToObj(child, ret));
[all …]
/drivers/hdf_core/framework/support/platform/include/regulator/
Dregulator_tree_mgr.h24 struct RegulatorNode *child; member
43 int RegulatorTreeSet(const char *name, struct RegulatorNode *child, struct RegulatorNode *parent);
/drivers/hdf_core/framework/utils/src/hcs_parser/
Dhcs_tree_if.c377 curNode = (curNode->child != NULL) ? curNode->child : TraverseTreeNode(curNode); in HcsGetNodeByMatchAttr()
384 struct DeviceResourceNode *child = NULL; in HcsGetChildNode() local
390 for (child = node->child; child != NULL; child = child->sibling) { in HcsGetChildNode()
391 if ((child->name != NULL) && (strcmp(nodeName, child->name) == 0)) { in HcsGetChildNode()
395 return child; in HcsGetChildNode()
420 curNode = (curNode->child != NULL) ? curNode->child : TraverseTreeNode(curNode); in HcsGetNodeByRefAttr()
Dhcs_generate_tree.c40 curNode = parentNode->child; in CreateTreeNode()
45 parentNode->child = newNode; in CreateTreeNode()
/drivers/hdf_core/framework/core/common/src/
Dhdf_attribute.c79 hostNode = hdfManagerNode->child; in HdfAttributeManagerGetHostList()
125 hostNode = hdfManagerNode->child; in GetHostNode()
186 const struct DeviceResourceNode *devNodeResource = device->child; in GetDevcieNodeList()
231 for (device = hostNode->child; device != NULL; device = device->sibling, deviceIdx++) { in HdfAttributeManagerGetDeviceList()
/drivers/hdf_core/interfaces/inner_api/utils/
Ddevice_resource_if.h75 struct DeviceResourceNode *child; /**< Pointer to a child node */ member
438 for ((childNode) = (node)->child; (childNode) != NULL; (childNode) = (childNode)->sibling)
/drivers/peripheral/audio/hal/pathselect/src/
Daudio_pathselect.c159 cJSON *renderSwName = tmpValue->child; in SetRenderPathDefaultValue()
200 cJSON *captureSwName = tmpValue->child; in SetCapturePathDefaultValue()
249 cJSON *swName = tmpValue->child; in SetRenderPathValue()
413 cJSON *cardList = cardNode->child; in AudioRenderParseUsecase()
425 cJSON *useCaseList = useCaseNode->child; in AudioRenderParseUsecase()
483 cJSON *swName = captureTmpValue->child; in SetCapturePathValue()
649 cJSON *cardList = cardNode->child; in AudioCaptureParseUsecase()
660 cJSON *useCaseList = useCaseNode->child; in AudioCaptureParseUsecase()
/drivers/hdf_core/adapter/uhdf2/security/src/
Dhdf_security.c203 struct DeviceResourceNode *driverRoot = hostRoot->child; in HdfRegisterAllDevSecId()
207 const struct DeviceResourceNode *deviceRoot = driverRoot->child; in HdfRegisterAllDevSecId()
/drivers/hdf_core/framework/test/unittest/utils/hcs_parser/unittest/
Dhcs_macro_cases.c46 CHECK_STRING_EQU(HCS_PROP(node, status), g_fpData[index].child.status)
60 CHECK_STRING_EQU(HCS_PROP(node, status), (fpArgs)[idx].child.status)
79 struct OneChild child; member
/drivers/peripheral/codec/hal/idl_service/src/
Dcodec_component_manager_service.cpp47 resourceNode_.child = nullptr; in CodecComponentManagerService()
Dcodec_component_config.cpp81 node_.child = nullptr; in CodecComponentConfig()
/drivers/hdf_core/adapter/khdf/liteos/model/bus/usb/
Dhdf_usb.c105 const struct DeviceResourceNode *subNode = node->child; in ProcControllorParam()
/drivers/peripheral/codec/image/config/
Dcodec_image_config.cpp50 node_.child = nullptr; in CodecImageConfig()