/drivers/hdf_core/framework/tools/hc-gen/src/ |
H A D | decompile_gen.cpp | 49 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 in GetNodeRefPath() [all...] |
H A D | ast.cpp | 411 bool AstObject::IsElders(const std::shared_ptr<AstObject> &child) const in IsElders() 413 auto p = child.get(); in IsElders() 430 auto child = node.child_; 431 while (child != nullptr) { 432 AstObject::AddChild(AstObjectFactory::Build(child)); 433 child = child->Next(); 556 auto child = child_; 557 while (child != nullptr) { 558 auto sym = symMap.find(child [all...] |
H A D | macro_gen.cpp | 157 auto child = node->Child(); 160 Logger().Debug() << "node:" << node->Name() << " child:" 162 while (child != nullptr) { 163 if (child->IsNode()) { 164 Logger().Debug() << " " << child->Name(); 165 subList.push_back(GenFullName(depth + 1, child, "_")); 168 child = child->Next();
|
H A D | bytecode_gen.cpp | 158 auto child = object->Child(); 160 while (child != nullptr) { 161 subSize += child->GetSize(); 162 child = child->Next();
|
H A D | decompile.cpp | 159 auto child = RebuildObject(childOpCode); in RebuildNode() local 160 if (child == nullptr) { in RebuildNode() 161 Logger().Error() << "Rebuild node failed, get child failed"; in RebuildNode() 164 if (!node->AddChild(child)) { in RebuildNode() 165 Logger().Error() << "Rebuild node failed, add child failed"; in RebuildNode()
|
H A D | text_gen.cpp | 696 auto child = nodeObject->Child(); 697 while (child != nullptr) { 699 child, 709 child = child->Next();
|
H A D | parser.cpp | 181 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()
|
H A D | ast.h | 83 bool IsElders(const std::shared_ptr<AstObject> &child) const; 309 /* when callback return EASTWALKBREAK, not walk current's child */ in WalkForward() 387 /* when callback return EASTWALKBREAK, not walk current's child */ in WalkRound()
|
/drivers/hdf_core/framework/support/platform/src/regulator/ |
H A D | regulator_tree_mgr.c | 14 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() 29 HDF_LOGI("RegulatorChildNodeAdd: add %s child node success!", pRegulator->name); in RegulatorChildNodeAdd() 79 // next level child 97 HDF_LOGI("RegulatorTreeGetChild: get %s child success!", name); in RegulatorTreeGetChild() 103 HDF_LOGE("RegulatorTreeGetChild: get %s child fail!", name); in RegulatorTreeGetChild() 131 if (nodeInfo->child->regulatorInfo.constraints.alwaysOn) { in RegulatorTreeIsChildAlwayson() 132 HDF_LOGD("RegulatorTreeIsChildAlwayson: %s's child in RegulatorTreeIsChildAlwayson() 279 RegulatorTreeSetChild(const char *name, struct RegulatorNode *child) RegulatorTreeSetChild() argument 318 RegulatorTreeSet(const char *name, struct RegulatorNode *child, struct RegulatorNode *parent) RegulatorTreeSet() argument [all...] |
/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/hcs/ |
H A D | Generator.js | 53 astToObjConfigNode(ret, child, node) { 55 child = node.child_; 56 while (child !== undefined) { 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 ! [all...] |
H A D | ast.js | 316 child() { 340 isElders(child) { 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 [all...] |
H A D | parser.js | 163 let child; 167 child = this.parseTemplate(); 170 child = this.parseNodeAndTerm(); 177 child.lineno_ + 182 if (child === null) { 186 node.addChild(child);
|
/drivers/hdf_core/framework/support/platform/include/regulator/ |
H A D | regulator_tree_mgr.h | 24 struct RegulatorNode *child; member 32 struct DListHead childHead; /* next level child regulator list */ 43 int RegulatorTreeSet(const char *name, struct RegulatorNode *child, struct RegulatorNode *parent);
|
/drivers/hdf_core/framework/utils/src/hcs_parser/ |
H A D | hcs_tree_if.c | 376 curNode = (curNode->child != NULL) ? curNode->child : TraverseTreeNode(curNode); in HcsGetNodeByMatchAttr() 383 struct DeviceResourceNode *child = NULL; in HcsGetChildNode() local 389 for (child = node->child; child != NULL; child = child->sibling) { in HcsGetChildNode() 390 if ((child->name != NULL) && (strcmp(nodeName, child in HcsGetChildNode() [all...] |
H A D | hcs_generate_tree.c | 40 curNode = parentNode->child; in CreateTreeNode() 45 parentNode->child = newNode; in CreateTreeNode()
|
/drivers/hdf_core/framework/core/common/src/ |
H A D | hdf_attribute.c | 79 hostNode = hdfManagerNode->child; in HdfAttributeManagerGetHostList() 125 hostNode = hdfManagerNode->child; in GetHostNode() 186 const struct DeviceResourceNode *devNodeResource = device->child; in GetDevcieNodeList() 232 for (device = hostNode->child; device != NULL; device = device->sibling, deviceIdx++) { in HdfAttributeManagerGetDeviceList()
|
/drivers/hdf_core/framework/include/platform/ |
H A D | clock_if.h | 33 int32_t ClockSetParent(DevHandle child, DevHandle parent);
|
/drivers/hdf_core/interfaces/inner_api/utils/ |
H A D | device_resource_if.h | 67 * The tree node information includes the node name, unique node ID, node attributes, parent node, child nodes, 75 struct DeviceResourceNode *child; /**< Pointer to a child node */ member 354 * @brief Obtains a specified child node of the current tree node based on the value of a specific reserved 362 * @param node Indicates the pointer to the node for whom a child node is to be obtained. The node can be the child 364 * @param attrValue Indicates the pointer to the value of the reserved attribute configured for the child node. 373 * @brief Obtains the child node with a specified node name from a parent node. 376 * @param nodeName Indicates the pointer to the name of the child node to obtain. 378 * @return Returns the child node [all...] |
/drivers/peripheral/audio/hal/pathselect/src/ |
H A D | audio_pathselect.c | 160 cJSON *renderSwName = tmpValue->child; in SetRenderPathDefaultValue() 201 cJSON *captureSwName = tmpValue->child; in SetCapturePathDefaultValue() 250 cJSON *swName = tmpValue->child; in SetRenderPathValue() 411 cJSON *cardList = cardNode->child; in AudioRenderParseUsecase() 413 AUDIO_FUNC_LOGE("no child when [%{public}s] gets object!", renderParam->renderMode.hwInfo.cardServiceName); in AudioRenderParseUsecase() 423 cJSON *useCaseList = useCaseNode->child; in AudioRenderParseUsecase() 425 AUDIO_FUNC_LOGE("no child when [%{public}s] gets object!", useCase); in AudioRenderParseUsecase() 481 cJSON *swName = captureTmpValue->child; in SetCapturePathValue() 643 cJSON *cardList = cardNode->child; in AudioCaptureParseUsecase() 645 AUDIO_FUNC_LOGE("no child whe in AudioCaptureParseUsecase() [all...] |
/drivers/hdf_core/adapter/uhdf2/security/src/ |
H A D | hdf_security.c | 203 struct DeviceResourceNode *driverRoot = hostRoot->child; in HdfRegisterAllDevSecId() 207 const struct DeviceResourceNode *deviceRoot = driverRoot->child; in HdfRegisterAllDevSecId()
|
/drivers/peripheral/codec/hal/idl_service/src/ |
H A D | codec_component_manager_service.cpp | 48 resourceNode_.child = nullptr; in CodecComponentManagerService()
|
H A D | codec_component_config.cpp | 88 node_.child = nullptr; in CodecComponentConfig() 165 CODEC_LOGE("failed to get child node: %{public}s!", nodeName.c_str()); in GetGroupCapabilities()
|
/drivers/hdf_core/framework/test/unittest/utils/hcs_parser/unittest/ |
H A D | hcs_macro_cases.c | 46 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/hdf_core/adapter/khdf/liteos/model/bus/usb/ |
H A D | hdf_usb.c | 105 const struct DeviceResourceNode *subNode = node->child; in ProcControllorParam()
|
/drivers/peripheral/codec/image/config/ |
H A D | codec_image_config.cpp | 50 node_.child = nullptr;
in CodecImageConfig() 96 CHECK_AND_RETURN_RET_LOG(codecGroupNode != nullptr, HDF_FAILURE, "failed to get child node: %{public}s!",
in GetGroupCapabilities()
|