/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 | 153 void VisitStmt(Stmt *Node) LLVM_ATTRIBUTE_UNUSED { in VisitStmt() argument 157 void VisitExpr(Expr *Node) LLVM_ATTRIBUTE_UNUSED { in VisitExpr() argument 161 void VisitCXXNamedCastExpr(CXXNamedCastExpr *Node); 165 void Visit##CLASS(CLASS *Node); 177 void StmtPrinter::PrintRawCompoundStmt(CompoundStmt *Node) { in PrintRawCompoundStmt() argument 178 assert(Node && "Compound statement cannot be null"); in PrintRawCompoundStmt() 180 PrintFPPragmas(Node); in PrintRawCompoundStmt() 181 for (auto *I : Node->body()) in PrintRawCompoundStmt() 256 void StmtPrinter::VisitNullStmt(NullStmt *Node) { in VisitNullStmt() argument 260 void StmtPrinter::VisitDeclStmt(DeclStmt *Node) { in VisitDeclStmt() argument [all …]
|
H A D | TextNodeDumper.cpp | 126 void TextNodeDumper::Visit(const Stmt *Node) { in Visit() argument 127 if (!Node) { in Visit() 134 OS << Node->getStmtClassName(); in Visit() 136 dumpPointer(Node); in Visit() 137 dumpSourceRange(Node->getSourceRange()); in Visit() 139 if (const auto *E = dyn_cast<Expr>(Node)) { in Visit() 185 ConstStmtVisitor<TextNodeDumper>::Visit(Node); in Visit() 1239 static void dumpBasePath(raw_ostream &OS, const CastExpr *Node) { in dumpBasePath() argument 1240 if (Node->path_empty()) in dumpBasePath() 1245 for (CastExpr::path_const_iterator I = Node->path_begin(), in dumpBasePath() [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, 133 std::pair<SDValue, SDValue> ExpandLibCall(RTLIB::Libcall LC, SDNode *Node, bool isSigned); 135 void ExpandFrexpLibCall(SDNode *Node, SmallVectorImpl<SDValue> &Results); 136 void ExpandFPLibCall(SDNode *Node, RTLIB::Libcall LC, 138 void ExpandFPLibCall(SDNode *Node, RTLIB::Libcall Call_F32, 143 SDValue ExpandIntLibCall(SDNode *Node, bool isSigned, 149 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 | 161 class Node { 217 Node(Kind K_, Prec Precedence_ = Prec::Primary, 222 Node(Kind K_, Cache RHSComponentCache_, Cache ArrayCache_ = Cache::No, 224 : Node(K_, Prec::Primary, RHSComponentCache_, ArrayCache_, in Node() function 264 virtual const Node *getSyntaxNode(OutputBuffer &) const { return this; } in getSyntaxNode() 297 virtual ~Node() = default; 305 Node **Elements; 310 NodeArray(Node **Elements_, size_t NumElements_) in NodeArray() 316 Node **begin() const { return Elements; } in begin() 317 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 …]
|
/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 …]
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | TextNodeDumper.h | 178 void Visit(const Stmt *Node); 257 void VisitIfStmt(const IfStmt *Node); 258 void VisitSwitchStmt(const SwitchStmt *Node); 259 void VisitWhileStmt(const WhileStmt *Node); 260 void VisitLabelStmt(const LabelStmt *Node); 261 void VisitGotoStmt(const GotoStmt *Node); 262 void VisitCaseStmt(const CaseStmt *Node); 263 void VisitReturnStmt(const ReturnStmt *Node); 264 void VisitCoawaitExpr(const CoawaitExpr *Node); 265 void VisitCoreturnStmt(const CoreturnStmt *Node); [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/ |
H A D | ASTMatchers.h | 251 SourceManager.getExpansionLoc(Node.getBeginLoc())); in AST_POLYMORPHIC_MATCHER() 271 auto ExpansionLoc = SourceManager.getExpansionLoc(Node.getBeginLoc()); in AST_POLYMORPHIC_MATCHER() 298 auto ExpansionLoc = SourceManager.getExpansionLoc(Node.getBeginLoc()); in AST_POLYMORPHIC_MATCHER_REGEX() 323 internal::getExpansionLocOfMacro(MacroName, Node.getBeginLoc(), Context); in AST_POLYMORPHIC_MATCHER_P() 326 internal::getExpansionLocOfMacro(MacroName, Node.getEndLoc(), Context); in AST_POLYMORPHIC_MATCHER_P() 634 return getAccessSpecifier(Node) == AS_public; in AST_POLYMORPHIC_MATCHER() 656 return getAccessSpecifier(Node) == AS_protected; in AST_POLYMORPHIC_MATCHER() 679 return getAccessSpecifier(Node) == AS_private; in AST_POLYMORPHIC_MATCHER() 694 return Node.isBitField(); in AST_MATCHER() 711 return Node.isBitField() && 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(); 173 inline TypeSourceInfo *GetTypeSourceInfo(const T &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() 179 return printStr("Node::Prec::Primary"); in print() 180 case Node::Prec::Postfix: in print() 181 return printStr("Node::Prec::Postfix"); in print() 182 case Node::Prec::Unary: in print() 183 return printStr("Node::Prec::Unary"); in print() 184 case Node 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 | 53 while (std::optional<MarkupNode> Node = Parser.nextNode()) { in filter() local 55 if (tryContextualElement(*Node, DeferredNodes)) in filter() 58 DeferredNodes.push_back(*Node); in filter() 63 for (const MarkupNode &Node : DeferredNodes) in filter() local 64 filterNode(Node); in filter() 69 while (std::optional<MarkupNode> Node = Parser.nextNode()) in finish() local 70 filterNode(*Node); in finish() 86 const MarkupNode &Node, const SmallVector<MarkupNode> &DeferredNodes) { in tryContextualElement() argument 87 if (tryMMap(Node, DeferredNodes)) in tryContextualElement() 89 if (tryReset(Node, DeferredNode in tryContextualElement() 94 tryMMap(const MarkupNode & Node,const SmallVector<MarkupNode> & DeferredNodes) tryMMap() argument 116 for (const MarkupNode &Node : DeferredNodes) tryMMap() local 125 tryReset(const MarkupNode & Node,const SmallVector<MarkupNode> & DeferredNodes) tryReset() argument 134 for (const MarkupNode &Node : DeferredNodes) tryReset() local 145 tryModule(const MarkupNode & Node,const SmallVector<MarkupNode> & DeferredNodes) tryModule() argument 163 for (const MarkupNode &Node : DeferredNodes) tryModule() local 203 filterNode(const MarkupNode & Node) filterNode() argument 214 tryPresentation(const MarkupNode & Node) tryPresentation() argument 224 trySymbol(const MarkupNode & Node) trySymbol() argument 236 tryPC(const MarkupNode & Node) tryPC() argument 289 tryBackTrace(const MarkupNode & Node) tryBackTrace() argument 369 tryData(const MarkupNode & Node) tryData() argument 400 trySGR(const MarkupNode & Node) trySGR() argument [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/llvm/include/llvm/Analysis/ |
H A D | LazyCallGraph.h | 112 class Node; 137 explicit Edge(Node &N, Kind K); 156 Node &getNode() const; 167 PointerIntPair<Node *, 1, Kind> Value; 184 friend class LazyCallGraph::Node; 196 friend class LazyCallGraph::Node; 227 friend class LazyCallGraph::Node; 257 Edge &operator[](Node &N) { 264 Edge *lookup(Node &N) { in lookup() 291 DenseMap<Node *, int> EdgeIndexMap; [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 …]
|