Home
last modified time | relevance | path

Searched refs:Node (Results 1 – 25 of 563) sorted by relevance

12345678910>>...23

/freebsd-12-stable/contrib/one-true-awk/
Dproto.h27 extern int constnode(Node *);
28 extern char *strnode(Node *);
29 extern Node *notnull(Node *);
44 extern void penter(Node *);
45 extern void freetr(Node *);
50 extern void cfoll(fa *, Node *);
51 extern int first(Node *);
52 extern void follow(Node *);
58 extern Node *reparse(const char *);
59 extern Node *regexp(void);
[all …]
Dparse.c32 Node *nodealloc(int 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-12-stable/contrib/llvm-project/clang/lib/AST/
DStmtPrinter.cpp151 void VisitStmt(Stmt *Node) LLVM_ATTRIBUTE_UNUSED { in VisitStmt() argument
155 void VisitExpr(Expr *Node) LLVM_ATTRIBUTE_UNUSED { in VisitExpr() argument
159 void VisitCXXNamedCastExpr(CXXNamedCastExpr *Node);
163 void Visit##CLASS(CLASS *Node);
175 void StmtPrinter::PrintRawCompoundStmt(CompoundStmt *Node) { in PrintRawCompoundStmt() argument
177 for (auto *I : Node->body()) in PrintRawCompoundStmt()
192 void StmtPrinter::VisitNullStmt(NullStmt *Node) { in VisitNullStmt() argument
196 void StmtPrinter::VisitDeclStmt(DeclStmt *Node) { in VisitDeclStmt() argument
198 PrintRawDeclStmt(Node); in VisitDeclStmt()
202 void StmtPrinter::VisitCompoundStmt(CompoundStmt *Node) { in VisitCompoundStmt() argument
[all …]
DTextNodeDumper.cpp124 void TextNodeDumper::Visit(const Stmt *Node) { in Visit() argument
125 if (!Node) { in Visit()
132 OS << Node->getStmtClassName(); in Visit()
134 dumpPointer(Node); in Visit()
135 dumpSourceRange(Node->getSourceRange()); in Visit()
137 if (const auto *E = dyn_cast<Expr>(Node)) { in Visit()
183 ConstStmtVisitor<TextNodeDumper>::Visit(Node); in Visit()
919 static void dumpBasePath(raw_ostream &OS, const CastExpr *Node) { in dumpBasePath() argument
920 if (Node->path_empty()) in dumpBasePath()
925 for (CastExpr::path_const_iterator I = Node->path_begin(), in dumpBasePath()
[all …]
/freebsd-12-stable/contrib/llvm-project/lldb/include/lldb/Symbol/
DPostfixExpression.h29 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-12-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DLegalizeVectorOps.cpp91 SDValue UnrollVSETCC(SDNode *Node);
97 void Expand(SDNode *Node, SmallVectorImpl<SDValue> &Results);
101 void ExpandFP_TO_UINT(SDNode *Node, SmallVectorImpl<SDValue> &Results);
105 void ExpandUINT_TO_FLOAT(SDNode *Node, SmallVectorImpl<SDValue> &Results);
108 SDValue ExpandSEXTINREG(SDNode *Node);
115 SDValue ExpandANY_EXTEND_VECTOR_INREG(SDNode *Node);
122 SDValue ExpandSIGN_EXTEND_VECTOR_INREG(SDNode *Node);
128 SDValue ExpandZERO_EXTEND_VECTOR_INREG(SDNode *Node);
131 SDValue ExpandBSWAP(SDNode *Node);
135 SDValue ExpandVSELECT(SDNode *Node);
[all …]
DLegalizeDAG.cpp111 void LegalizeOp(SDNode *Node);
116 void LegalizeLoadOps(SDNode *Node);
117 void LegalizeStoreOps(SDNode *Node);
136 SDValue ExpandLibCall(RTLIB::Libcall LC, SDNode *Node, bool isSigned);
138 void ExpandFPLibCall(SDNode *Node, RTLIB::Libcall LC,
140 void ExpandFPLibCall(SDNode *Node, RTLIB::Libcall Call_F32,
145 SDValue ExpandIntLibCall(SDNode *Node, bool isSigned,
151 void ExpandArgFPLibCall(SDNode *Node,
156 void ExpandDivRemLibCall(SDNode *Node, SmallVectorImpl<SDValue> &Results);
157 void ExpandSinCosLibCall(SDNode *Node, SmallVectorImpl<SDValue> &Results);
[all …]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/BinaryFormat/
DAMDGPUMetadataVerifier.cpp24 msgpack::DocNode &Node, msgpack::Type SKind, in verifyScalar() argument
26 if (!Node.isScalar()) in verifyScalar()
28 if (Node.getKind() != SKind) { in verifyScalar()
33 if (Node.getKind() != msgpack::Type::String) in verifyScalar()
35 StringRef StringValue = Node.getString(); in verifyScalar()
36 Node.fromString(StringValue); in verifyScalar()
37 if (Node.getKind() != SKind) in verifyScalar()
41 return verifyValue(Node); in verifyScalar()
45 bool MetadataVerifier::verifyInteger(msgpack::DocNode &Node) { in verifyInteger() argument
46 if (!verifyScalar(Node, msgpack::Type::UInt)) in verifyInteger()
[all …]
DMsgPackDocument.cpp106 StackLevel(DocNode Node, size_t StartIndex, size_t Length, in StackLevel()
108 : Node(Node), Index(StartIndex), End(StartIndex + Length), in StackLevel()
110 DocNode Node; member
150 DocNode Node; in readFromBlob() local
153 Node = getNode(); in readFromBlob()
156 Node = getNode(Obj.Int); in readFromBlob()
159 Node = getNode(Obj.UInt); in readFromBlob()
162 Node = getNode(Obj.Bool); in readFromBlob()
165 Node = getNode(Obj.Float); in readFromBlob()
168 Node = getNode(Obj.Raw); in readFromBlob()
[all …]
/freebsd-12-stable/sys/contrib/dev/acpica/components/namespace/
Dnsobject.c185 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 …]
Dnsalloc.c177 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-12-stable/contrib/llvm-project/llvm/include/llvm/Demangle/
DItaniumDemangle.h114 class Node {
144 Node(Kind K_, Cache RHSComponentCache_ = Cache::No,
184 virtual const Node *getSyntaxNode(OutputStream &) const { in getSyntaxNode()
206 virtual ~Node() = default;
214 Node **Elements;
219 NodeArray(Node **Elements_, size_t NumElements_) in NodeArray()
225 Node **begin() const { return Elements; } in begin()
226 Node **end() const { return Elements + NumElements; } in end()
228 Node *operator[](size_t Idx) const { return Elements[Idx]; }
251 struct NodeArrayNode : Node {
[all …]
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/Tooling/Syntax/
DTree.h80 class Node {
84 Node(NodeKind Kind);
86 ~Node() = default;
90 Node(const Node &) = delete;
91 Node &operator=(const Node &) = delete;
93 Node(Node &&) = delete;
94 Node &operator=(Node &&) = delete;
119 const Node *getNextSibling() const { return NextSibling; } in getNextSibling()
120 Node *getNextSibling() { return NextSibling; } in getNextSibling()
121 const Node *getPreviousSibling() const { return PreviousSibling; } in getPreviousSibling()
[all …]
DNodes.h124 static bool classof(const Node *N);
135 static bool classof(const Node *N);
143 static bool classof(const Node *N);
154 static bool classof(const Node *N);
163 static bool classof(const Node *N);
181 static bool classof(const Node *N);
193 static bool classof(const Node *N);
206 static bool classof(const Node *N);
217 static bool classof(const Node *N);
225 static bool classof(const Node *N);
[all …]
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_stackdepotbase.h25 template <class Node, int kReservedBits, int kTabSizeLog>
28 typedef typename Node::args_type args_type;
29 typedef typename Node::handle_type handle_type;
42 static Node *find(Node *s, args_type args, u32 hash);
43 static Node *lock(atomic_uintptr_t *p);
44 static void unlock(atomic_uintptr_t *p, Node *s);
62 template <class Node, int kReservedBits, int kTabSizeLog>
63 Node *StackDepotBase<Node, kReservedBits, kTabSizeLog>::find(Node *s, in find()
75 template <class Node, int kReservedBits, int kTabSizeLog>
76 Node *StackDepotBase<Node, kReservedBits, kTabSizeLog>::lock( in lock()
[all …]
/freebsd-12-stable/sys/contrib/dev/acpica/components/dispatcher/
Ddsargs.c167 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 …]
Ddswload2.c187 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-12-stable/sys/contrib/dev/acpica/compiler/
Daslload.c196 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 …]
Daslxref.c181 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
441 if ((Op->Asl.AmlOpcode == AML_METHOD_OP) && Op->Asl.Node) in XfNamespaceLocateBegin()
443 Node = Op->Asl.Node; in XfNamespaceLocateBegin()
447 if (!Node->MethodLocals) in XfNamespaceLocateBegin()
453 Node->MethodLocals = MethodLocals; in XfNamespaceLocateBegin()
[all …]
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/ASTMatchers/
DASTMatchers.h247 SourceManager.getExpansionLoc(Node.getBeginLoc())); in AST_POLYMORPHIC_MATCHER()
267 auto ExpansionLoc = SourceManager.getExpansionLoc(Node.getBeginLoc()); in AST_POLYMORPHIC_MATCHER()
294 auto ExpansionLoc = SourceManager.getExpansionLoc(Node.getBeginLoc()); in AST_POLYMORPHIC_MATCHER_REGEX()
319 internal::getExpansionLocOfMacro(MacroName, Node.getBeginLoc(), Context); in AST_POLYMORPHIC_MATCHER_P()
322 internal::getExpansionLocOfMacro(MacroName, Node.getEndLoc(), Context); in AST_POLYMORPHIC_MATCHER_P()
630 return getAccessSpecifier(Node) == AS_public; in AST_POLYMORPHIC_MATCHER()
652 return getAccessSpecifier(Node) == AS_protected; in AST_POLYMORPHIC_MATCHER()
675 return getAccessSpecifier(Node) == AS_private; in AST_POLYMORPHIC_MATCHER()
690 return Node.isBitField(); in AST_MATCHER()
707 return Node.isBitField() && in AST_MATCHER_P()
[all …]
DASTMatchersInternal.h152 inline QualType getUnderlyingType(const Expr &Node) { return Node.getType(); }
154 inline QualType getUnderlyingType(const ValueDecl &Node) {
155 return Node.getType();
157 inline QualType getUnderlyingType(const TypedefNameDecl &Node) {
158 return Node.getUnderlyingType();
160 inline QualType getUnderlyingType(const FriendDecl &Node) {
161 if (const TypeSourceInfo *TSI = Node.getFriendType())
165 inline QualType getUnderlyingType(const CXXBaseSpecifier &Node) {
166 return Node.getType();
177 inline TypeSourceInfo *GetTypeSourceInfo(const T &Node) {
[all …]
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/AST/
DTextNodeDumper.h176 void Visit(const Stmt *Node);
243 void VisitIfStmt(const IfStmt *Node);
244 void VisitSwitchStmt(const SwitchStmt *Node);
245 void VisitWhileStmt(const WhileStmt *Node);
246 void VisitLabelStmt(const LabelStmt *Node);
247 void VisitGotoStmt(const GotoStmt *Node);
248 void VisitCaseStmt(const CaseStmt *Node);
249 void VisitConstantExpr(const ConstantExpr *Node);
250 void VisitCallExpr(const CallExpr *Node);
251 void VisitCXXOperatorCallExpr(const CXXOperatorCallExpr *Node);
[all …]
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
DLazyCallGraph.h115 class Node;
140 explicit Edge(Node &N, Kind K);
159 Node &getNode() const;
170 PointerIntPair<Node *, 1, Kind> Value;
187 friend class LazyCallGraph::Node;
199 friend class LazyCallGraph::Node;
230 friend class LazyCallGraph::Node;
260 Edge &operator[](Node &N) {
267 Edge *lookup(Node &N) { in lookup()
294 DenseMap<Node *, int> EdgeIndexMap;
[all …]
/freebsd-12-stable/contrib/llvm-project/lldb/source/Symbol/
DPostfixExpression.cpp44 Node *postfix::ParseOneExpression(llvm::StringRef expr, in ParseOneExpression()
46 llvm::SmallVector<Node *, 4> stack; in ParseOneExpression()
55 Node *right = stack.pop_back_val(); in ParseOneExpression()
56 Node *left = stack.pop_back_val(); in ParseOneExpression()
66 Node *operand = stack.pop_back_val(); in ParseOneExpression()
87 std::vector<std::pair<llvm::StringRef, Node *>>
95 std::vector<std::pair<llvm::StringRef, Node *>> result; in ParseFPOProgram()
99 Node *rhs = ParseOneExpression(expr, alloc); in ParseFPOProgram()
110 SymbolResolver(llvm::function_ref<Node *(SymbolNode &symbol)> replacer) in SymbolResolver()
116 bool Visit(BinaryOpNode &binary, Node *&) override { in Visit() argument
[all …]
/freebsd-12-stable/sys/contrib/dev/acpica/components/debugger/
Ddbcmds.c176 ACPI_NAMESPACE_NODE *Node,
216 ACPI_NAMESPACE_NODE *Node; in AcpiDbConvertToNode() local
225 Node = ACPI_TO_POINTER (Address); in AcpiDbConvertToNode()
226 if (!AcpiOsReadable (Node, sizeof (ACPI_NAMESPACE_NODE))) in AcpiDbConvertToNode()
228 AcpiOsPrintf ("Address %p is invalid", Node); in AcpiDbConvertToNode()
234 if (ACPI_GET_DESCRIPTOR_TYPE (Node) != ACPI_DESC_TYPE_NAMED) in AcpiDbConvertToNode()
237 Node, AcpiUtGetDescriptorName (Node)); in AcpiDbConvertToNode()
247 Node = AcpiDbLocalNsLookup (InString); in AcpiDbConvertToNode()
248 if (!Node) in AcpiDbConvertToNode()
253 Node = AcpiGbl_RootNode; in AcpiDbConvertToNode()
[all …]

12345678910>>...23