Home
last modified time | relevance | path

Searched refs:Child (Results 1 – 25 of 304) sorted by relevance

12345678910>>...13

/freebsd/sys/contrib/dev/acpica/compiler/
H A Dasloperands.c226 Next = Op->Asl.Child; in OpnDoMutex()
266 Next = Op->Asl.Child; in OpnDoMethod()
404 PkgLengthNode = Next->Asl.Child; in OpnDoFieldCommon()
414 PkgLengthNode = Next->Asl.Child; in OpnDoFieldCommon()
485 PkgLengthNode = Next->Asl.Child; in OpnDoFieldCommon()
568 Next = Op->Asl.Child; in OpnDoField()
598 Next = Op->Asl.Child; in OpnDoIndexField()
632 Next = Op->Asl.Child; in OpnDoBankField()
672 Next = Op->Asl.Child; in OpnDoRegion()
732 BufferLengthOp = Op->Asl.Child; in OpnDoBuffer()
[all …]
H A Daslexternal.c196 ACPI_PARSE_OBJECT *ExternTypeOp = Op->Asl.Child->Asl.Next; in ExDoExternal()
220 if (TypeOp->Asl.Child) in ExDoExternal()
224 (void) MtProcessTypeOp (TypeOp->Asl.Child); in ExDoExternal()
236 if (TypeOp->Asl.Child) in ExDoExternal()
238 ParamCount = MtProcessParameterTypeList (TypeOp->Asl.Child, ParamTypes); in ExDoExternal()
247 ArgCountOp = Op->Asl.Child->Asl.Next->Asl.Next; in ExDoExternal()
259 ListOp->Asl.Child = Op; in ExDoExternal()
302 ACPI_PARSE_OBJECT *Child; in ExInsertArgCount() local
319 if (Next->Asl.Child->Asl.CompileFlags & OP_VISITED) in ExInsertArgCount()
325 NameOp = Next->Asl.Child->Asl.Child; in ExInsertArgCount()
[all …]
H A Dasltree.c463 ACPI_PARSE_OBJECT *Child; in TrLinkOpChildren() local
547 Child = va_arg (ap, ACPI_PARSE_OBJECT *); in TrLinkOpChildren()
549 if ((Child == PrevChild) && (Child != NULL)) in TrLinkOpChildren()
551 AslError (ASL_WARNING, ASL_MSG_COMPILER_INTERNAL, Child, in TrLinkOpChildren()
557 DbgPrint (ASL_PARSE_OUTPUT, "%p, ", Child); in TrLinkOpChildren()
565 if (!Child) in TrLinkOpChildren()
567 Child = TrAllocateOp (PARSEOP_DEFAULT_ARG); in TrLinkOpChildren()
582 if (Op->Asl.Child && in TrLinkOpChildren()
583 (Op->Asl.Child->Asl.ParseOpcode == PARSEOP_DEFINITION_BLOCK)) in TrLinkOpChildren()
585 LastSibling = Op->Asl.Child; in TrLinkOpChildren()
[all …]
H A Daslparseop.c184 ACPI_PARSE_OBJECT *Child; in TrCreateOp() local
243 Child = va_arg (ap, ACPI_PARSE_OBJECT *); in TrCreateOp()
244 DbgPrint (ASL_PARSE_OUTPUT, "%p, ", Child); in TrCreateOp()
252 if (!Child) in TrCreateOp()
254 Child = TrAllocateOp (PARSEOP_DEFAULT_ARG); in TrCreateOp()
262 Op->Asl.Child = Child; in TrCreateOp()
278 Op->Asl.CommentList = Child->Asl.CommentList; in TrCreateOp()
279 Op->Asl.EndBlkComment = Child->Asl.EndBlkComment; in TrCreateOp()
280 Op->Asl.InlineComment = Child->Asl.InlineComment; in TrCreateOp()
281 Op->Asl.FileChanged = Child->Asl.FileChanged; in TrCreateOp()
[all …]
H A Daslprintf.c224 DestOp = Op->Asl.Child; in OpcDoFprintf()
225 Op->Asl.Child = DestOp->Asl.Next; in OpcDoFprintf()
267 Format = ACPI_CAST_PTR (char, Op->Asl.Child->Asl.Value.String); in OpcParsePrintf()
268 ArgNode = Op->Asl.Child->Asl.Next; in OpcParsePrintf()
274 Op->Asl.Child = NULL; in OpcParsePrintf()
358 if (!Op->Asl.Child) in OpcParsePrintf()
401 if (!Op->Asl.Child) in OpcParsePrintf()
431 Op->Asl.Child->Asl.Next = DestOp; in OpcParsePrintf()
457 if (!Op->Asl.Child) in OpcCreateConcatenateNode()
459 Op->Asl.Child = Node; in OpcCreateConcatenateNode()
[all …]
H A Daslcodegen.c292 /* 11 */ Op->Asl.Child, in CgAmlWriteWalk()
543 ACPI_PARSE_OBJECT *Child; in CgWriteTableHeader() local
552 Child = Op->Asl.Child; in CgWriteTableHeader()
556 Child = Child->Asl.Next; in CgWriteTableHeader()
568 ACPI_COPY_NAMESEG (AcpiGbl_TableSig, Child->Asl.Value.String); in CgWriteTableHeader()
569 Child->Asl.Value.String = ACPI_SIG_XXXX; in CgWriteTableHeader()
572 ACPI_COPY_NAMESEG (AslGbl_TableHeader.Signature, Child->Asl.Value.String); in CgWriteTableHeader()
576 Child = Child->Asl.Next; in CgWriteTableHeader()
577 AslGbl_TableHeader.Revision = (UINT8) Child->Asl.Value.Integer; in CgWriteTableHeader()
588 Child = Child->Asl.Next; in CgWriteTableHeader()
[all …]
H A Dasltransform.c495 MethodOp = MethodOp->Asl.Child; in TrTransformSubtree()
533 if (Op->Asl.Child->Asl.Value.Integer > 1000) in TrTransformSubtree()
584 Next = Op->Asl.Child; in TrDoDefinitionBlock()
656 Next = StartNode->Asl.Child; in TrDoSwitch()
682 TrCheckForDuplicateCase (Next, Next->Asl.Child); in TrDoSwitch()
700 CaseBlock = CaseOp->Asl.Child->Asl.Next; in TrDoSwitch()
701 Conditional->Asl.Child->Asl.Next = NULL; in TrDoSwitch()
702 Predicate = CaseOp->Asl.Child; in TrDoSwitch()
739 NewOp2->Asl.Child = Predicate; /* PARSEOP_PACKAGE */ in TrDoSwitch()
749 NewOp2->Asl.Child = NewOp; in TrDoSwitch()
[all …]
H A Daslwalks.c211 if ((Op->Asl.Child) && in AnMethodTypingWalkEnd()
212 (Op->Asl.Child->Asl.ParseOpcode != PARSEOP_DEFAULT_ARG)) in AnMethodTypingWalkEnd()
214 ThisOpBtype = AnGetBtype (Op->Asl.Child); in AnMethodTypingWalkEnd()
216 if ((Op->Asl.Child->Asl.ParseOpcode == PARSEOP_METHODCALL) && in AnMethodTypingWalkEnd()
227 if (Op->Asl.Child->Asl.Node && in AnMethodTypingWalkEnd()
228 (Op->Asl.ParentMethod != Op->Asl.Child->Asl.Node->Op)) in AnMethodTypingWalkEnd()
232 TrWalkParseTree (Op->Asl.Child->Asl.Node->Op, in AnMethodTypingWalkEnd()
236 ThisOpBtype = AnGetBtype (Op->Asl.Child); in AnMethodTypingWalkEnd()
315 ArgOp = Op->Asl.Child; in AnOperandTypecheckWalkEnd()
704 ArgOp = Op->Asl.Child; in AnOtherSemanticAnalysisWalkBegin()
[all …]
H A Daslopcodes.c266 ACPI_PARSE_OBJECT *Child; in OpcGetIntegerWidth() local
280 Child = Op->Asl.Child; in OpcGetIntegerWidth()
281 Child = Child->Asl.Next; in OpcGetIntegerWidth()
282 Child = Child->Asl.Next; in OpcGetIntegerWidth()
286 AcpiUtSetIntegerWidth ((UINT8) Child->Asl.Value.Integer); in OpcGetIntegerWidth()
448 TypeOp = Op->Asl.Child; in OpcDoAccessAs()
482 LengthOp = AttribOp->Asl.Child; in OpcDoAccessAs()
526 if (Op->Asl.Child->Asl.AmlOpcode == AML_INT_NAMEPATH_OP) in OpcDoConnection()
531 BufferOp = Op->Asl.Child; in OpcDoConnection()
532 BufferLengthOp = BufferOp->Asl.Child; in OpcDoConnection()
[all …]
H A Daslload.c280 ACPI_PARSE_OBJECT *Child = NULL; in LdLoadFieldElements() local
309 Child = UtGetArg (Op, 6); in LdLoadFieldElements()
314 Child = UtGetArg (Op, 5); in LdLoadFieldElements()
319 Child = UtGetArg (Op, 4); in LdLoadFieldElements()
331 while (Child) in LdLoadFieldElements()
333 switch (Child->Asl.AmlOpcode) in LdLoadFieldElements()
343 Child->Asl.Value.String, in LdLoadFieldElements()
352 AslError (ASL_ERROR, ASL_MSG_CORE_EXCEPTION, Child, in LdLoadFieldElements()
353 Child->Asl.Value.String); in LdLoadFieldElements()
370 AslDualParseOpError (ASL_ERROR, ASL_MSG_NAME_EXISTS, Child, in LdLoadFieldElements()
[all …]
H A Daslprune.c313 PrPrintObjectAtLevel (Level, Op->Asl.Child->Asl.Value.Name); in PrTreePruneWalk()
314 Op->Asl.Child->Asl.Next->Asl.Next->Asl.Next->Asl.Next->Asl.Next->Asl.Next = NULL; in PrTreePruneWalk()
321 PrPrintObjectAtLevel (Level, Op->Asl.Child->Asl.Value.Name); in PrTreePruneWalk()
322 Op->Asl.Child->Asl.Next = NULL; in PrTreePruneWalk()
332 Op->Asl.Child = NULL; in PrTreePruneWalk()
337 Op->Asl.Child->Asl.Next = NULL; in PrTreePruneWalk()
H A Daslmethod.c272 Next = Op->Asl.Child; in MtMethodAnalysisWalkBegin()
292 NextType = Next->Asl.Child; in MtMethodAnalysisWalkBegin()
301 NextType = Next->Asl.Child; in MtMethodAnalysisWalkBegin()
324 Op->Asl.Child->Asl.Next, AslGbl_MsgBuffer); in MtMethodAnalysisWalkBegin()
492 if ((Op->Asl.Child) && in MtMethodAnalysisWalkBegin()
493 (Op->Asl.Child->Asl.ParseOpcode != PARSEOP_DEFAULT_ARG) && in MtMethodAnalysisWalkBegin()
494 (!(Op->Asl.Child->Asl.CompileFlags & OP_IS_NULL_RETURN))) in MtMethodAnalysisWalkBegin()
527 if ((Op->Asl.Child->Asl.ParseOpcode == PARSEOP_INTEGER) && in MtMethodAnalysisWalkBegin()
528 (Op->Asl.Child->Asl.Value.Integer > ACPI_UINT8_MAX)) in MtMethodAnalysisWalkBegin()
646 Next = Op->Asl.Child->Asl.Next; in MtMethodAnalysisWalkBegin()
[all …]
H A Daslxref.c464 NextOp = Op->Asl.Child; in XfNamespaceLocateBegin()
619 Path = Op->Asl.Child->Asl.Value.String; in XfNamespaceLocateBegin()
626 Path = Op->Asl.Child->Asl.Next->Asl.Value.String; in XfNamespaceLocateBegin()
633 NextOp = Op->Asl.Child; in XfNamespaceLocateBegin()
716 NextOp = Op->Asl.Child; in XfNamespaceLocateBegin()
857 NextOp = NextOp->Asl.Child; in XfNamespaceLocateBegin()
1044 NextOp = Op->Asl.Child; in XfNamespaceLocateBegin()
1116 if (Op == Op->Asl.Parent->Asl.Child) in XfNamespaceLocateBegin()
1169 SpaceIdOp = OwningOp->Asl.Child->Asl.Next; in XfNamespaceLocateBegin()
1213 if (Op->Asl.Parent->Asl.ExtraValue && Op->Asl.Child) in XfNamespaceLocateBegin()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/WindowsManifest/
H A DWindowsManifestMerger.cpp88 for (xmlNodePtr Child = Parent->children; Child; Child = Child->next) { in getChildWithName() local
89 if (xmlStringsEqual(Child->name, ElementName)) { in getChildWithName()
90 return Child; in getChildWithName()
324 for (xmlNodePtr Child = Node->children; Child; Child = Child->next) { in explicateNamespace() local
325 explicateNamespace(PrefixDef, Child); in explicateNamespace()
498 for (xmlNodePtr Child = Node->children; Child; Child = Child->next) { in reconcileNamespaces() local
499 if (auto E = reconcileNamespaces(Child)) { in reconcileNamespaces()
516 for (xmlNodePtr Child = AdditionalFirstChild; Child; Child = Child->next) { in treeMerge() local
518 if (!isMergeableElement(Child->name) || in treeMerge()
520 getChildWithName(OriginalRoot, Child->name)) || in treeMerge()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Tooling/Syntax/
H A DTree.cpp52 void syntax::Tree::appendChildLowLevel(Node *Child, NodeRole Role) { in appendChildLowLevel() argument
53 assert(Child->getRole() == NodeRole::Detached); in appendChildLowLevel()
56 Child->setRole(Role); in appendChildLowLevel()
57 appendChildLowLevel(Child); in appendChildLowLevel()
60 void syntax::Tree::appendChildLowLevel(Node *Child) { in appendChildLowLevel() argument
61 assert(Child->Parent == nullptr); in appendChildLowLevel()
62 assert(Child->NextSibling == nullptr); in appendChildLowLevel()
63 assert(Child->PreviousSibling == nullptr); in appendChildLowLevel()
64 assert(Child->getRole() != NodeRole::Detached); in appendChildLowLevel()
66 Child->Parent = this; in appendChildLowLevel()
[all …]
H A DSynthesis.cpp22 static void prependChildLowLevel(syntax::Tree *T, syntax::Node *Child, in prependChildLowLevel() argument
24 T->prependChildLowLevel(Child, R); in prependChildLowLevel()
26 static void appendChildLowLevel(syntax::Tree *T, syntax::Node *Child, in appendChildLowLevel() argument
28 T->appendChildLowLevel(Child, R); in appendChildLowLevel()
210 for (const auto &Child : Children) in createTree() local
211 FactoryImpl::appendChildLowLevel(T, Child.first, Child.second); in createTree()
228 for (const auto *Child = T->getFirstChild(); Child; in deepCopyExpandingMacros() local
229 Child = Child->getNextSibling()) in deepCopyExpandingMacros()
230 Children.push_back({deepCopyExpandingMacros(A, TBTM, Child), Child->getRole()}); in deepCopyExpandingMacros()
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/
H A DArchive.h160 class Child {
174 Child(const Archive *Parent, const char *Start, Error *Err);
175 Child(const Archive *Parent, StringRef Data, uint16_t StartOfFile);
177 Child(const Child &C) in Child() function
183 Child(Child &&C) { in Child() function
190 Child &operator=(Child &&C) noexcept {
202 Child &operator=(const Child &C) {
215 bool operator==(const Child &other) const {
221 Expected<Child> getNext() const;
258 Child C;
[all …]
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DCheckerHelpers.cpp32 for (const Stmt *Child : S->children()) in containsMacro() local
33 if (Child && containsMacro(Child)) in containsMacro()
46 for (const Stmt *Child : S->children()) in containsEnum() local
47 if (Child && containsEnum(Child)) in containsEnum()
62 for (const Stmt *Child : S->children()) in containsStaticLocal() local
63 if (Child && containsStaticLocal(Child)) in containsStaticLocal()
74 for (const Stmt *Child : S->children()) in containsBuiltinOffsetOf() local
75 if (Child && containsBuiltinOffsetOf(Child)) in containsBuiltinOffsetOf()
/freebsd/contrib/llvm-project/llvm/include/llvm/ObjectYAML/
H A DArchiveYAML.h26 struct Child { struct
36 Child() { in Child() function
53 std::optional<std::vector<Child>> Members;
60 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::ArchYAML::Archive::Child) in LLVM_YAML_IS_SEQUENCE_VECTOR() argument
70 template <> struct MappingTraits<ArchYAML::Archive::Child> { in LLVM_YAML_IS_SEQUENCE_VECTOR()
71 static void mapping(IO &IO, ArchYAML::Archive::Child &C); in LLVM_YAML_IS_SEQUENCE_VECTOR()
72 static std::string validate(IO &, ArchYAML::Archive::Child &C); in LLVM_YAML_IS_SEQUENCE_VECTOR()
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DWindowsResource.cpp399 TreeNode *Child; in addChildren() local
406 Child = &Node.addNameChild(NameString, StringTable); in addChildren()
409 Child = &Node.addIDChild(Entry.Identifier.ID); in addChildren()
415 addChildren(*Child, RSR, NextTable, Origin, Context, Duplicates); in addChildren()
429 TreeNode *Child; in addChildren() local
433 Origin, Data.size(), Child); in addChildren()
442 Context, InputFilenames[Child->Origin], InputFilenames.back())); in addChildren()
524 auto Child = IDChildren.find(ID); in addIDChild() local
525 if (Child == IDChildren.end()) { in addIDChild()
531 return *(Child->second); in addIDChild()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/GSYM/
H A DInlineInfo.cpp34 for (const auto &Child : II.Children) in operator <<() local
35 OS << Child; in operator <<()
47 for (const auto &Child : II.Children) { in getInlineStackHelper() local
48 if (::getInlineStackHelper(Child, Addr, InlineStack)) in getInlineStackHelper()
130 // Child address ranges are encoded relative to the first address in the in lookup()
207 // Child address ranges are encoded relative to the first address in the in decode()
211 llvm::Expected<InlineInfo> Child = decode(Data, Offset, ChildBaseAddr); in decode() local
212 if (!Child) in decode()
213 return Child.takeError(); in decode()
215 if (Child in decode()
247 for (const auto &Child : Children) { encode() local
[all...]
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DLexicallyOrderedRecursiveASTVisitor.h84 Decl *Child = *I; in TraverseDeclContextHelper() local
85 if (BaseType::canIgnoreChildDeclWhileTraversingDeclContext(Child)) { in TraverseDeclContextHelper()
89 if (!isa<ObjCImplementationDecl>(Child) && in TraverseDeclContextHelper()
90 !isa<ObjCCategoryImplDecl>(Child)) { in TraverseDeclContextHelper()
91 if (!BaseType::getDerived().TraverseDecl(Child)) in TraverseDeclContextHelper()
102 Child->getEndLoc())) in TraverseDeclContextHelper()
107 if (!BaseType::getDerived().TraverseDecl(Child)) in TraverseDeclContextHelper()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/
H A DUDTLayout.cpp179 while (auto Child = Children->getNext()) { in initializeChildren() local
180 if (auto Base = unique_dyn_cast<PDBSymbolTypeBaseClass>(Child)) { in initializeChildren()
186 else if (auto Data = unique_dyn_cast<PDBSymbolData>(Child)) { in initializeChildren()
191 } else if (auto VT = unique_dyn_cast<PDBSymbolTypeVTable>(Child)) in initializeChildren()
193 else if (auto Func = unique_dyn_cast<PDBSymbolFunc>(Child)) in initializeChildren()
196 Other.push_back(std::move(Child)); in initializeChildren()
280 void UDTLayoutBase::addChildToLayout(std::unique_ptr<LayoutItemBase> Child) { in addChildToLayout() argument
281 uint32_t Begin = Child->getOffsetInParent(); in addChildToLayout()
283 if (!Child->isElided()) { in addChildToLayout()
284 BitVector ChildBytes = Child->usedBytes(); in addChildToLayout()
[all …]
/freebsd/sys/contrib/dev/acpica/components/namespace/
H A Dnsalloc.c310 NextNode = ParentNode->Child; in AcpiNsRemoveNode()
332 ParentNode->Child = Node->Peer; in AcpiNsRemoveNode()
402 ChildNode = ParentNode->Child; in AcpiNsInstallNode()
406 ParentNode->Child = Node; in AcpiNsInstallNode()
466 NextNode = ParentNode->Child; in AcpiNsDeleteChildren()
471 if (NextNode->Child) in AcpiNsDeleteChildren()
488 ParentNode->Child = NULL; in AcpiNsDeleteChildren()
548 if (ChildNode->Child) in AcpiNsDeleteNamespaceSubtree()
666 if (ChildNode->Child) in AcpiNsDeleteNamespaceByOwner()
/freebsd/sys/contrib/dev/acpica/components/parser/
H A Dpstree.c422 ACPI_PARSE_OBJECT *Child = NULL; in AcpiPsGetChild() local
436 Child = AcpiPsGetArg (Op, 0); in AcpiPsGetChild()
447 Child = AcpiPsGetArg (Op, 1); in AcpiPsGetChild()
453 Child = AcpiPsGetArg (Op, 2); in AcpiPsGetChild()
459 Child = AcpiPsGetArg (Op, 3); in AcpiPsGetChild()
469 return (Child); in AcpiPsGetChild()

12345678910>>...13