| /freebsd/contrib/one-true-awk/ |
| H A D | proto.h | 27 extern int constnode(Node *); 28 extern char *strnode(Node *); 29 extern Node *notnull(Node *); 41 extern void penter(Node *); 42 extern void freetr(Node *); 46 extern void cfoll(fa *, Node *); 47 extern int first(Node *); 48 extern void follow(Node *); 54 extern Node *reparse(const char *); 55 extern Node *regexp(void); [all …]
|
| H A D | parse.c | 32 Node *nodealloc(size_t n) in nodealloc() 34 Node *x; in nodealloc() 36 x = (Node *) malloc(sizeof(*x) + (n-1) * sizeof(x)); in nodealloc() 44 Node *exptostat(Node *a) in exptostat() 50 Node *node1(int a, Node *b) in node1() 52 Node *x; in node1() 60 Node *node2(int a, Node *b, Node *c) in node2() 62 Node *x; in node2() 71 Node *node3(int a, Node *b, Node *c, Node *d) in node3() 73 Node *x; in node3() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | StmtPrinter.cpp | 154 void VisitStmt(Stmt *Node) LLVM_ATTRIBUTE_UNUSED { in VisitStmt() argument 158 void VisitExpr(Expr *Node) LLVM_ATTRIBUTE_UNUSED { in VisitExpr() argument 162 void VisitCXXNamedCastExpr(CXXNamedCastExpr *Node); 166 void Visit##CLASS(CLASS *Node); 178 void StmtPrinter::PrintRawCompoundStmt(CompoundStmt *Node) { in PrintRawCompoundStmt() argument 179 assert(Node && "Compound statement cannot be null"); in PrintRawCompoundStmt() 181 PrintFPPragmas(Node); in PrintRawCompoundStmt() 182 for (auto *I : Node->body()) in PrintRawCompoundStmt() 257 void StmtPrinter::VisitNullStmt(NullStmt *Node) { in VisitNullStmt() argument 261 void StmtPrinter::VisitDeclStmt(DeclStmt *Node) { in VisitDeclStmt() argument [all …]
|
| /freebsd/contrib/llvm-project/lldb/include/lldb/Symbol/ |
| H A D | PostfixExpression.h | 29 class Node { 41 Node(Kind kind) : m_kind(kind) {} in Node() function 51 class BinaryOpNode : public Node { 59 BinaryOpNode(OpType op_type, Node &left, Node &right) in BinaryOpNode() 60 : Node(BinaryOp), m_op_type(op_type), m_left(&left), m_right(&right) {} in BinaryOpNode() 64 const Node *Left() const { return m_left; } in Left() 65 Node *&Left() { return m_left; } in Left() 67 const Node *Right() const { return m_right; } in Right() 68 Node *&Right() { return m_right; } in Right() 70 static bool classof(const Node *node) { return node->GetKind() == BinaryOp; } in classof() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | LegalizeVectorOps.cpp | 90 SDValue UnrollVSETCC(SDNode *Node); 96 void Expand(SDNode *Node, SmallVectorImpl<SDValue> &Results); 100 void ExpandFP_TO_UINT(SDNode *Node, SmallVectorImpl<SDValue> &Results); 104 void ExpandUINT_TO_FLOAT(SDNode *Node, SmallVectorImpl<SDValue> &Results); 107 SDValue ExpandSEXTINREG(SDNode *Node); 114 SDValue ExpandANY_EXTEND_VECTOR_INREG(SDNode *Node); 121 SDValue ExpandSIGN_EXTEND_VECTOR_INREG(SDNode *Node); 127 SDValue ExpandZERO_EXTEND_VECTOR_INREG(SDNode *Node); 130 SDValue ExpandBSWAP(SDNode *Node); 134 SDValue ExpandVSELECT(SDNode *Node); [all …]
|
| H A D | LegalizeDAG.cpp | 113 void LegalizeOp(SDNode *Node); 118 void LegalizeLoadOps(SDNode *Node); 119 void LegalizeStoreOps(SDNode *Node); 131 std::pair<SDValue, SDValue> ExpandLibCall(RTLIB::Libcall LC, SDNode *Node, 134 std::pair<SDValue, SDValue> ExpandLibCall(RTLIB::Libcall LC, SDNode *Node, bool isSigned); 136 void ExpandFPLibCall(SDNode *Node, RTLIB::Libcall LC, 138 void ExpandFPLibCall(SDNode *Node, RTLIB::Libcall Call_F32, 145 ExpandFastFPLibCall(SDNode *Node, bool IsFast, 153 SDValue ExpandIntLibCall(SDNode *Node, bool isSigned, RTLIB::Libcall Call_I8, 156 void ExpandArgFPLibCall(SDNode *Node, [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/BinaryFormat/ |
| H A D | AMDGPUMetadataVerifier.cpp | 28 msgpack::DocNode &Node, msgpack::Type SKind, in verifyScalar() 30 if (!Node.isScalar()) in verifyScalar() 32 if (Node.getKind() != SKind) { in verifyScalar() 37 if (Node.getKind() != msgpack::Type::String) in verifyScalar() 39 StringRef StringValue = Node.getString(); in verifyScalar() 40 Node.fromString(StringValue); in verifyScalar() 41 if (Node.getKind() != SKind) in verifyScalar() 45 return verifyValue(Node); in verifyScalar() 49 bool MetadataVerifier::verifyInteger(msgpack::DocNode &Node) { 50 if (!verifyScalar(Node, msgpac argument 29 verifyScalar(msgpack::DocNode & Node,msgpack::Type SKind,function_ref<bool (msgpack::DocNode &)> verifyValue) verifyScalar() argument 58 verifyArray(msgpack::DocNode & Node,function_ref<bool (msgpack::DocNode &)> verifyNode,std::optional<size_t> Size) verifyArray() argument 81 __anon626506680102(msgpack::DocNode &Node) verifyScalarEntry() argument 88 __anon626506680202(msgpack::DocNode &Node) verifyIntegerEntry() argument 93 verifyKernelArgs(msgpack::DocNode & Node) verifyKernelArgs() argument 195 verifyKernel(msgpack::DocNode & Node) verifyKernel() argument 220 __anon626506680802(msgpack::DocNode &Node) verifyKernel() argument 223 __anon626506680902(msgpack::DocNode &Node) verifyKernel() argument 226 __anon626506680a02(msgpack::DocNode &Node) verifyKernel() argument 227 __anon626506680b02(msgpack::DocNode &Node) verifyKernel() argument 233 __anon626506680c02(msgpack::DocNode &Node) verifyKernel() argument 235 __anon626506680d02(msgpack::DocNode &Node) verifyKernel() argument 242 __anon626506680e02(msgpack::DocNode &Node) verifyKernel() argument 244 __anon626506680f02(msgpack::DocNode &Node) verifyKernel() argument 294 __anon626506681002(msgpack::DocNode &Node) verify() argument 297 __anon626506681102(msgpack::DocNode &Node) verify() argument 301 __anon626506681202(msgpack::DocNode &Node) verify() argument 302 __anon626506681302(msgpack::DocNode &Node) verify() argument 308 __anon626506681402(msgpack::DocNode &Node) verify() argument 309 __anon626506681502(msgpack::DocNode &Node) verify() argument [all...] |
| H A D | MsgPackDocument.cpp | 110 StackLevel(DocNode Node, size_t StartIndex, size_t Length, in StackLevel() 112 : Node(Node), Index(StartIndex), End(StartIndex + Length), in StackLevel() 114 DocNode Node; member 160 DocNode Node; in readFromBlob() 163 Node = getNode(); in readFromBlob() 166 Node = getNode(Obj.Int); in readFromBlob() 169 Node = getNode(Obj.UInt); in readFromBlob() 172 Node = getNode(Obj.Bool); in readFromBlob() 175 Node in readFromBlob() 154 DocNode Node; readFromBlob() local 247 DocNode Node; global() member 259 DocNode Node = getRoot(); writeToBlob() local [all...] |
| /freebsd/contrib/llvm-project/clang/include/clang/Tooling/Syntax/ |
| H A D | Tree.h | 54 class Node { 58 Node(NodeKind Kind); 60 ~Node() = default; 64 Node(const Node &) = delete; 65 Node &operator=(const Node &) = delete; 67 Node(Node &&) = delete; 68 Node &operator=(Node &&) = delete; 93 const Node *getNextSibling() const { return NextSibling; } in getNextSibling() 94 Node *getNextSibling() { return NextSibling; } in getNextSibling() 95 const Node *getPreviousSibling() const { return PreviousSibling; } in getPreviousSibling() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Demangle/ |
| H A D | ItaniumDemangle.h | 166 class Node { 221 Node(Kind K_, Prec Precedence_ = Prec::Primary, 226 Node(Kind K_, Cache RHSComponentCache_, Cache ArrayCache_ = Cache::No, 228 : Node(K_, Prec::Primary, RHSComponentCache_, ArrayCache_, in Node() function 271 virtual const Node *getSyntaxNode(OutputBuffer &) const { return this; } in getSyntaxNode() 302 virtual ~Node() = default; 328 Node **Elements; 333 NodeArray(Node **Elements_, size_t NumElements_) in NodeArray() 339 Node **begin() const { return Elements; } in begin() 340 Node **end() const { return Elements + NumElements; } in end() [all …]
|
| /freebsd/sys/contrib/dev/acpica/components/namespace/ |
| H A D | nsobject.c | 185 ACPI_NAMESPACE_NODE *Node, in AcpiNsAttachObject() argument 200 if (!Node) in AcpiNsAttachObject() 217 if (ACPI_GET_DESCRIPTOR_TYPE (Node) != ACPI_DESC_TYPE_NAMED) in AcpiNsAttachObject() 222 Node, AcpiUtGetDescriptorName (Node))); in AcpiNsAttachObject() 228 if (Node->Object == Object) in AcpiNsAttachObject() 232 Object, Node)); in AcpiNsAttachObject() 274 ObjDesc, Node, AcpiUtGetNodeName (Node))); in AcpiNsAttachObject() 278 if (Node->Object) in AcpiNsAttachObject() 280 AcpiNsDetachObject (Node); in AcpiNsAttachObject() 303 LastObjDesc->Common.NextObject = Node->Object; in AcpiNsAttachObject() [all …]
|
| H A D | nsalloc.c | 177 ACPI_NAMESPACE_NODE *Node; in AcpiNsCreateNode() local 186 Node = AcpiOsAcquireObject (AcpiGbl_NamespaceCache); in AcpiNsCreateNode() 187 if (!Node) in AcpiNsCreateNode() 203 Node->Name.Integer = Name; in AcpiNsCreateNode() 204 ACPI_SET_DESCRIPTOR_TYPE (Node, ACPI_DESC_TYPE_NAMED); in AcpiNsCreateNode() 205 return_PTR (Node); in AcpiNsCreateNode() 226 ACPI_NAMESPACE_NODE *Node) in AcpiNsDeleteNode() argument 235 if (!Node) in AcpiNsDeleteNode() 242 AcpiNsDetachObject (Node); in AcpiNsDeleteNode() 250 ObjDesc = Node->Object; in AcpiNsDeleteNode() [all …]
|
| H A D | nsnames.c | 179 ACPI_NAMESPACE_NODE *Node) in AcpiNsGetExternalPathname() argument 184 ACPI_FUNCTION_TRACE_PTR (NsGetExternalPathname, Node); in AcpiNsGetExternalPathname() 187 NameBuffer = AcpiNsGetNormalizedPathname (Node, FALSE); in AcpiNsGetExternalPathname() 206 ACPI_NAMESPACE_NODE *Node) in AcpiNsGetPathnameLength() argument 213 if (ACPI_GET_DESCRIPTOR_TYPE (Node) != ACPI_DESC_TYPE_NAMED) in AcpiNsGetPathnameLength() 217 Node, ACPI_GET_DESCRIPTOR_TYPE (Node))); in AcpiNsGetPathnameLength() 221 Size = AcpiNsBuildNormalizedPath (Node, NULL, 0, FALSE); in AcpiNsGetPathnameLength() 246 ACPI_NAMESPACE_NODE *Node; in AcpiNsHandleToName() local 253 Node = AcpiNsValidateHandle (TargetHandle); in AcpiNsHandleToName() 254 if (!Node) in AcpiNsHandleToName() [all …]
|
| /freebsd/sys/contrib/dev/acpica/components/dispatcher/ |
| H A D | dsargs.c | 167 ACPI_NAMESPACE_NODE *Node, 190 ACPI_NAMESPACE_NODE *Node, in AcpiDsExecuteArguments() argument 213 Op->Common.Node = ScopeNode; in AcpiDsExecuteArguments() 235 WalkState->DeferredNode = Node; in AcpiDsExecuteArguments() 247 Op->Common.Node = Node; in AcpiDsExecuteArguments() 258 Op->Common.Node = ScopeNode; in AcpiDsExecuteArguments() 281 WalkState->DeferredNode = Node; in AcpiDsExecuteArguments() 308 ACPI_NAMESPACE_NODE *Node; in AcpiDsGetBufferFieldArguments() local 323 Node = ObjDesc->BufferField.Node; in AcpiDsGetBufferFieldArguments() 326 ACPI_TYPE_BUFFER_FIELD, Node, NULL)); in AcpiDsGetBufferFieldArguments() [all …]
|
| H A D | dswload2.c | 187 ACPI_NAMESPACE_NODE *Node; in AcpiDsLoad2BeginOp() local 262 Node = NULL; in AcpiDsLoad2BeginOp() 274 WalkState, &(Node)); in AcpiDsLoad2BeginOp() 281 if (Op && (Op->Named.Node == AcpiGbl_RootNode)) in AcpiDsLoad2BeginOp() 283 Node = Op->Named.Node; in AcpiDsLoad2BeginOp() 285 Status = AcpiDsScopeStackPush (Node, ObjectType, WalkState); in AcpiDsLoad2BeginOp() 300 WalkState, &(Node)); in AcpiDsLoad2BeginOp() 325 switch (Node->Type) in AcpiDsLoad2BeginOp() 351 AcpiUtGetNodeName (Node), AcpiUtGetTypeName (Node->Type))); in AcpiDsLoad2BeginOp() 353 Node->Type = ACPI_TYPE_ANY; in AcpiDsLoad2BeginOp() [all …]
|
| /freebsd/sys/contrib/dev/acpica/compiler/ |
| H A D | aslload.c | 196 ACPI_NAMESPACE_NODE *Node, 201 ACPI_NAMESPACE_NODE *Node, 282 ACPI_NAMESPACE_NODE *Node; in LdLoadFieldElements() local 292 ACPI_NS_SEARCH_PARENT | ACPI_NS_DONT_OPEN_SCOPE, NULL, &Node); in LdLoadFieldElements() 347 ACPI_NS_ERROR_IF_FOUND, NULL, &Node); in LdLoadFieldElements() 357 (Node->Flags & ANOBJ_IS_EXTERNAL)) in LdLoadFieldElements() 359 Node->Type = (UINT8) ACPI_TYPE_LOCAL_REGION_FIELD; in LdLoadFieldElements() 360 Node->Flags &= ~ANOBJ_IS_EXTERNAL; in LdLoadFieldElements() 368 ExternalPath = AcpiNsGetNormalizedPathname (Node, TRUE); in LdLoadFieldElements() 371 ExternalPath, ASL_MSG_FOUND_HERE, Node->Op, in LdLoadFieldElements() [all …]
|
| H A D | aslxref.c | 181 ACPI_NAMESPACE_NODE *Node); 204 ACPI_NAMESPACE_NODE *Node, 209 ACPI_NAMESPACE_NODE *Node, 314 ACPI_NAMESPACE_NODE *Node = (ACPI_NAMESPACE_NODE *) ObjHandle; in XfCompareOneNamespaceObject() local 319 if (*((UINT32 *) (Context)) == Node->Name.Integer) in XfCompareOneNamespaceObject() 415 ACPI_NAMESPACE_NODE *Node; in XfNamespaceLocateBegin() local 442 if ((Op->Asl.AmlOpcode == AML_METHOD_OP) && Op->Asl.Node) in XfNamespaceLocateBegin() 444 Node = Op->Asl.Node; in XfNamespaceLocateBegin() 448 if (!Node->MethodLocals) in XfNamespaceLocateBegin() 454 Node->MethodLocals = MethodLocals; in XfNamespaceLocateBegin() [all …]
|
| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | TextNodeDumper.h | 178 void Visit(const Stmt *Node); 258 void VisitIfStmt(const IfStmt *Node); 259 void VisitSwitchStmt(const SwitchStmt *Node); 260 void VisitWhileStmt(const WhileStmt *Node); 261 void VisitLabelStmt(const LabelStmt *Node); 262 void VisitGotoStmt(const GotoStmt *Node); 263 void VisitCaseStmt(const CaseStmt *Node); 264 void VisitReturnStmt(const ReturnStmt *Node); 265 void VisitCoawaitExpr(const CoawaitExpr *Node); 266 void VisitCoreturnStmt(const CoreturnStmt *Node); [all …]
|
| /freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchers.h | 253 SourceManager.getExpansionLoc(Node.getBeginLoc())); in AST_POLYMORPHIC_MATCHER() 273 auto ExpansionLoc = SourceManager.getExpansionLoc(Node.getBeginLoc()); in AST_POLYMORPHIC_MATCHER() 300 auto ExpansionLoc = SourceManager.getExpansionLoc(Node.getBeginLoc()); in AST_POLYMORPHIC_MATCHER_REGEX() 325 internal::getExpansionLocOfMacro(MacroName, Node.getBeginLoc(), Context); in AST_POLYMORPHIC_MATCHER_P() 328 internal::getExpansionLocOfMacro(MacroName, Node.getEndLoc(), Context); in AST_POLYMORPHIC_MATCHER_P() 636 return getAccessSpecifier(Node) == AS_public; in AST_POLYMORPHIC_MATCHER() 658 return getAccessSpecifier(Node) == AS_protected; in AST_POLYMORPHIC_MATCHER() 681 return getAccessSpecifier(Node) == AS_private; in AST_POLYMORPHIC_MATCHER() 696 return Node.isBitField(); in AST_MATCHER() 713 return Node.isBitField() && Node.getBitWidthValue() == Width; in AST_MATCHER_P() [all …]
|
| H A D | ASTMatchersInternal.h | 148 inline QualType getUnderlyingType(const Expr &Node) { return Node.getType(); } 150 inline QualType getUnderlyingType(const ValueDecl &Node) { 151 return Node.getType(); 153 inline QualType getUnderlyingType(const TypedefNameDecl &Node) { 154 return Node.getUnderlyingType(); 156 inline QualType getUnderlyingType(const FriendDecl &Node) { 157 if (const TypeSourceInfo *TSI = Node.getFriendType()) 161 inline QualType getUnderlyingType(const CXXBaseSpecifier &Node) { 162 return Node.getType(); 164 inline QualType getUnderlyingType(const ObjCInterfaceDecl &Node) { [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Demangle/ |
| H A D | ItaniumDemangle.cpp | 85 void print(const Node *N) { in print() 95 for (const Node *N : A) { in print() 176 void print(Node::Prec P) { in print() 178 case Node::Prec::Primary: in print() 180 case Node::Prec::Postfix: in print() 182 case Node::Prec::Unary: in print() 184 case Node::Prec::Cast: in print() 186 case Node::Prec::PtrMem: in print() 188 case Node::Prec::Multiplicative: in print() 190 case Node::Prec::Additive: in print() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | IntervalTree.h | 307 void deleteTree(IntervalNode *Node) { in deleteTree() argument 308 if (Node) { in deleteTree() 309 deleteTree(Node->Left); in deleteTree() 310 deleteTree(Node->Right); in deleteTree() 311 Node->~IntervalNode(); in deleteTree() 312 NodeAllocator.Deallocate(Node); in deleteTree() 333 void printNode(raw_ostream &OS, unsigned Level, IntervalNode *Node, 339 OS << format(Format, Node->middle()) << Text << " "; 340 printList(OS, IntervalSet, Node->start(), Node->size(), HexFormat); 348 void printTree(raw_ostream &OS, unsigned Level, IntervalNode *Node, [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/DebugInfo/Symbolize/ |
| H A D | MarkupFilter.cpp | 50 while (std::optional<MarkupNode> Node = Parser.nextNode()) { in filter() local 52 if (tryContextualElement(*Node, DeferredNodes)) in filter() 55 DeferredNodes.push_back(*Node); in filter() 60 for (const MarkupNode &Node : DeferredNodes) in filter() local 61 filterNode(Node); in filter() 66 while (std::optional<MarkupNode> Node = Parser.nextNode()) in finish() local 67 filterNode(*Node); in finish() 83 const MarkupNode &Node, const SmallVector<MarkupNode> &DeferredNodes) { in tryContextualElement() argument 84 if (tryMMap(Node, DeferredNodes)) in tryContextualElement() 86 if (tryReset(Node, DeferredNodes)) in tryContextualElement() [all …]
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/ |
| H A D | tsan_ilist.h | 27 template <typename Base, INode Base::*Node, typename Elem> 41 template <typename Base, INode Base::*Node, typename Elem = Base> 76 template <typename Base, INode Base::*Node, typename Elem> 77 IList<Base, Node, Elem>::IList() { in IList() 81 template <typename Base, INode Base::*Node, typename Elem> 82 void IList<Base, Node, Elem>::PushFront(Elem* e) { in PushFront() 86 template <typename Base, INode Base::*Node, typename Elem> 87 void IList<Base, Node, Elem>::PushBack(Elem* e) { in PushBack() 91 template <typename Base, INode Base::*Node, typename Elem> 92 void IList<Base, Node, Elem>::Push(Elem* e, INode* after) { in Push() [all …]
|
| /freebsd/contrib/llvm-project/lldb/source/Symbol/ |
| H A D | PostfixExpression.cpp | 46 Node *postfix::ParseOneExpression(llvm::StringRef expr, in ParseOneExpression() 48 llvm::SmallVector<Node *, 4> stack; in ParseOneExpression() 57 Node *right = stack.pop_back_val(); in ParseOneExpression() 58 Node *left = stack.pop_back_val(); in ParseOneExpression() 68 Node *operand = stack.pop_back_val(); in ParseOneExpression() 89 std::vector<std::pair<llvm::StringRef, Node *>> 97 std::vector<std::pair<llvm::StringRef, Node *>> result; in ParseFPOProgram() 101 Node *rhs = ParseOneExpression(expr, alloc); in ParseFPOProgram() 112 SymbolResolver(llvm::function_ref<Node *(SymbolNode &symbol)> replacer) in SymbolResolver() 118 bool Visit(BinaryOpNode &binary, Node *&) override { in Visit() argument [all …]
|