Home
last modified time | relevance | path

Searched refs:Parent (Results 1 – 25 of 1574) sorted by relevance

12345678910>>...63

/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DSValVisitor.h38 #define BASIC_SVAL(Id, Parent) case SVal::Id ## Kind: DISPATCH(Id, Id); in Visit() argument
42 #define LOC_SVAL(Id, Parent) \ in Visit() argument
49 #define NONLOC_SVAL(Id, Parent) \ in Visit() argument
58 #define BASIC_SVAL(Id, Parent) \ argument
59 RetTy Visit ## Id(Id V) { DISPATCH(Parent, Id); }
60 #define ABSTRACT_SVAL(Id, Parent) \ argument
61 BASIC_SVAL(Id, Parent)
62 #define LOC_SVAL(Id, Parent) \ argument
63 RetTy VisitLoc ## Id(loc::Id V) { DISPATCH(Parent, Parent); }
64 #define NONLOC_SVAL(Id, Parent) \ argument
[all …]
DSVals.def16 // BASIC_SVAL(Id, Parent) - for specific SVal sub-kinds, which are
20 // ABSTRACT_SVAL(Id, Parent) - for abstract SVal classes which are
23 // ABSTRACT_SVAL_WITH_KIND(Id, Parent) - for SVal classes which are also
27 // LOC_SVAL(Id, Parent) - for values in loc:: namespace, which occupy a sub-kind
30 // NONLOC_SVAL(Id, Parent) - for values in nonloc:: namespace, which occupy a
36 #define BASIC_SVAL(Id, Parent)
40 #define ABSTRACT_SVAL(Id, Parent)
44 #define ABSTRACT_SVAL_WITH_KIND(Id, Parent) ABSTRACT_SVAL(Id, Parent)
48 #define LOC_SVAL(Id, Parent)
52 #define NONLOC_SVAL(Id, Parent)
/external/clang/lib/Index/
DIndexTypeSourceInfo.cpp20 const NamedDecl *Parent; member in __anon3b6b96390111::TypeIndexer
30 : IndexCtx(indexCtx), Parent(parent), ParentDC(DC), IsBase(isBase) { in TypeIndexer()
32 assert(Parent); in TypeIndexer()
33 Relations.emplace_back((unsigned)SymbolRole::RelationBaseOf, Parent); in TypeIndexer()
41 Parent, ParentDC, SymbolRoleSet(), in VisitTypedefTypeLoc()
75 IndexCtx.indexNestedNameSpecifierLoc(NNS, Parent, ParentDC); in TraverseNestedNameSpecifierLoc()
90 Parent, ParentDC, SymbolRoleSet(), in VisitTagTypeLoc()
96 Parent, ParentDC, SymbolRoleSet()); in VisitObjCInterfaceTypeLoc()
102 Parent, ParentDC, SymbolRoleSet()); in VisitObjCObjectTypeLoc()
112 Parent, ParentDC, SymbolRoleSet(), Relations); in VisitTemplateSpecializationTypeLoc()
[all …]
DIndexingContext.cpp44 const NamedDecl *Parent, in handleReference() argument
56 return handleDeclOccurrence(D, Loc, /*IsRef=*/true, Parent, Roles, Relations, in handleReference()
198 static const Decl *adjustParent(const Decl *Parent) { in adjustParent() argument
199 if (!Parent) in adjustParent()
201 for (;; Parent = cast<Decl>(Parent->getDeclContext())) { in adjustParent()
202 if (isa<TranslationUnitDecl>(Parent)) in adjustParent()
204 if (isa<LinkageSpecDecl>(Parent) || isa<BlockDecl>(Parent)) in adjustParent()
206 if (auto NS = dyn_cast<NamespaceDecl>(Parent)) { in adjustParent()
209 } else if (auto RD = dyn_cast<RecordDecl>(Parent)) { in adjustParent()
212 } else if (auto FD = dyn_cast<FieldDecl>(Parent)) { in adjustParent()
[all …]
DIndexBody.cpp20 const NamedDecl *Parent; member in __anon9451a0e80111::BodyIndexer
27 const NamedDecl *Parent, const DeclContext *DC) in BodyIndexer() argument
28 : IndexCtx(indexCtx), Parent(Parent), ParentDC(DC) { } in BodyIndexer()
44 IndexCtx.indexTypeLoc(TL, Parent, ParentDC); in TraverseTypeLoc()
49 IndexCtx.indexNestedNameSpecifierLoc(NNS, Parent, ParentDC); in TraverseNestedNameSpecifierLoc()
69 const Stmt *Parent = *It; in getRolesForRef() local
71 if (auto BO = dyn_cast<BinaryOperator>(Parent)) { in getRolesForRef()
75 } else if (auto UO = dyn_cast<UnaryOperator>(Parent)) { in getRolesForRef()
83 } else if (auto CA = dyn_cast<CompoundAssignOperator>(Parent)) { in getRolesForRef()
89 } else if (auto CE = dyn_cast<CallExpr>(Parent)) { in getRolesForRef()
[all …]
/external/v8/tools/clang/blink_gc_plugin/
DCheckFieldsVisitor.cpp68 if (!Parent() && in AtValue()
85 if (stack_allocated_host_ && Parent() && Parent()->IsMember() && in AtValue()
92 if (!Parent() || !edge->value()->IsGCAllocated()) in AtValue()
96 if (Parent()->IsOwnPtr() || in AtValue()
97 Parent()->IsUniquePtr() || in AtValue()
98 Parent()->IsRefPtr() || in AtValue()
99 (stack_allocated_host_ && Parent()->IsRawPtr())) { in AtValue()
101 current_, InvalidSmartPtr(Parent()))); in AtValue()
104 if (Parent()->IsRawPtr()) { in AtValue()
105 RawPtr* rawPtr = static_cast<RawPtr*>(Parent()); in AtValue()
[all …]
/external/llvm/include/llvm/Object/
DMachOUniversal.h36 const MachOUniversalBinary *Parent; variable
44 ObjectForArch(const MachOUniversalBinary *Parent, uint32_t Index);
47 Parent = nullptr; in clear()
52 return (Parent == Other.Parent) && (Index == Other.Index);
55 ObjectForArch getNext() const { return ObjectForArch(Parent, Index + 1); } in getNext()
57 if (Parent->getMagic() == MachO::FAT_MAGIC) in getCPUType()
63 if (Parent->getMagic() == MachO::FAT_MAGIC) in getCPUSubType()
69 if (Parent->getMagic() == MachO::FAT_MAGIC) in getOffset()
75 if (Parent->getMagic() == MachO::FAT_MAGIC) in getSize()
81 if (Parent->getMagic() == MachO::FAT_MAGIC) in getAlign()
[all …]
DArchive.h57 const Archive *Parent; variable
70 Child(const Archive *Parent, const char *Start, std::error_code *EC);
71 Child(const Archive *Parent, StringRef Data, uint16_t StartOfFile);
74 assert(Parent == other.Parent);
78 const Archive *getParent() const { return Parent; } in getParent()
147 const Archive *Parent; variable
153 return (Parent == other.Parent) && (SymbolIndex == other.SymbolIndex);
157 : Parent(p) in Symbol()
/external/llvm/lib/Object/
DMachOUniversal.cpp43 const MachOUniversalBinary *Parent, uint32_t Index) in ObjectForArch() argument
44 : Parent(Parent), Index(Index) { in ObjectForArch()
45 if (!Parent || Index >= Parent->getNumberOfObjects()) { in ObjectForArch()
49 StringRef ParentData = Parent->getData(); in ObjectForArch()
50 if (Parent->getMagic() == MachO::FAT_MAGIC) { in ObjectForArch()
70 if (!Parent) in getAsObjectFile()
74 StringRef ParentData = Parent->getData(); in getAsObjectFile()
76 if (Parent->getMagic() == MachO::FAT_MAGIC) in getAsObjectFile()
80 StringRef ObjectName = Parent->getFileName(); in getAsObjectFile()
87 if (!Parent) in getAsArchive()
[all …]
DArchive.cpp90 Archive::Child::Child(const Archive *Parent, StringRef Data, in Child() argument
92 : Parent(Parent), Data(Data), StartOfFile(StartOfFile) {} in Child()
94 Archive::Child::Child(const Archive *Parent, const char *Start, in Child() argument
96 : Parent(Parent) { in Child()
123 if (Parent->IsThin) { in getSize()
141 return Parent->IsThin && Name != "/" && Name != "//"; in isThinMember()
154 Parent->getMemoryBufferRef().getBufferIdentifier()); in getFullName()
173 Parent->ThinBuffers.push_back(std::move(*Buf)); in getBuffer()
174 return Parent->ThinBuffers.back()->getBuffer(); in getBuffer()
186 if (NextLoc == Parent->Data.getBufferEnd()) in getNext()
[all …]
/external/clang/tools/libclang/
DCursorVisitor.h69 CXCursor Parent; variable
122 CXCursor &Parent; variable
127 SetParentRAII(CXCursor &Parent, const Decl *&StmtParent, in SetParentRAII() argument
129 : Parent(Parent), StmtParent(StmtParent), OldParent(Parent) in SetParentRAII()
131 Parent = NewParent; in SetParentRAII()
132 if (clang_isDeclaration(Parent.kind)) in SetParentRAII()
133 StmtParent = getCursorDecl(Parent); in SetParentRAII()
137 Parent = OldParent; in ~SetParentRAII()
138 if (clang_isDeclaration(Parent.kind)) in ~SetParentRAII()
139 StmtParent = getCursorDecl(Parent); in ~SetParentRAII()
[all …]
/external/clang/test/Analysis/
Dinline.cpp60 class Parent { class
68 class Child : public Parent {
86 class Parent { class
91 Parent() : m_parent(0) {} in Parent() function in PR13569::Parent
100 class Child : public Parent {
134 class Parent { class
139 Parent() : m_parent(0) {} in Parent() function in PR13569_virtual::Parent
148 class Child : virtual public Parent {
349 struct Parent { struct
354 struct A : Parent {
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
DLexicalScopes.h159 : Parent(P), Desc(D), InlinedAtLocation(I), AbstractScope(A), in LexicalScope()
161 if (Parent) in LexicalScope()
162 Parent->addChild(this); in LexicalScope()
168 LexicalScope *getParent() const { return Parent; } in getParent()
184 if (Parent) in openInsnRange()
185 Parent->openInsnRange(MI); in openInsnRange()
193 if (Parent) in extendInsnRange()
194 Parent->extendInsnRange(MI); in extendInsnRange()
207 if (Parent && (!NewScope || !Parent->dominates(NewScope)))
208 Parent->closeInsnRange(NewScope);
[all …]
/external/llvm/include/llvm/CodeGen/
DLexicalScopes.h50 : Parent(P), Desc(D), InlinedAtLocation(I), AbstractScope(A), in LexicalScope()
54 if (Parent) in LexicalScope()
55 Parent->addChild(this); in LexicalScope()
59 LexicalScope *getParent() const { return Parent; } in getParent()
75 if (Parent) in openInsnRange()
76 Parent->openInsnRange(MI); in openInsnRange()
84 if (Parent) in extendInsnRange()
85 Parent->extendInsnRange(MI); in extendInsnRange()
98 if (Parent && (!NewScope || !Parent->dominates(NewScope)))
99 Parent->closeInsnRange(NewScope);
[all …]
/external/swiftshader/third_party/subzero/src/
DIceTimerTree.cpp113 assert(Nodes[Index].Parent < Index); in getPath()
114 Index = Nodes[Index].Parent; in getPath()
121 TimerStack::TTindex TimerStack::getChildIndex(TimerStack::TTindex Parent, in getChildIndex() argument
123 if (Nodes[Parent].Children.size() <= ID) in getChildIndex()
124 Nodes[Parent].Children.resize(ID + 1); in getChildIndex()
125 if (Nodes[Parent].Children[ID] == 0) { in getChildIndex()
127 Nodes[Parent].Children[ID] = Size; in getChildIndex()
129 Nodes[Size].Parent = Parent; in getChildIndex()
132 return Nodes[Parent].Children[ID]; in getChildIndex()
166 assert(Nodes[StackTop].Parent < StackTop); in pop()
[all …]
/external/clang/test/SemaCXX/
Dwarn-weak-vtables.cpp34 class Parent { class
36 Parent() {} in Parent() function in Parent
37 virtual ~Parent();
41 class Derived : public Parent {
52 Parent::~Parent() {} in ~Parent()
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/
DBaseTree.cs100 public virtual ITree Parent property in Antlr.Runtime.Tree.BaseTree
230 c.Parent = this; in AddChild()
251 t.Parent = this; in AddChild()
285 t.Parent = this; in SetChild()
369 child.Parent = this; in ReplaceChildren()
427 child.Parent = this; in FreshenParentAndChildIndexes()
438 if ( parent != this.Parent ) in SanityCheckParentAndChildIndexes()
440 …w InvalidOperationException( "parents don't match; expected " + parent + " found " + this.Parent ); in SanityCheckParentAndChildIndexes()
464 t = t.Parent; in GetAncestor()
469 t = t.Parent; in GetAncestor()
[all …]
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/
DBaseTree.cs86 public virtual ITree Parent { property in Antlr.Runtime.Tree.BaseTree
192 c.Parent = this; in AddChild()
208 t.Parent = this; in AddChild()
237 t.Parent = this; in SetChild()
310 child.Parent = this; in ReplaceChildren()
356 child.Parent = this; in FreshenParentAndChildIndexes()
365 if (parent != this.Parent) { in SanityCheckParentAndChildIndexes()
366 …new InvalidOperationException("parents don't match; expected " + parent + " found " + this.Parent); in SanityCheckParentAndChildIndexes()
386 t = t.Parent; in GetAncestor()
390 t = t.Parent; in GetAncestor()
[all …]
/external/pdfium/testing/resources/
Dannotiter.in21 /Parent 2 0 R
38 /Parent 2 0 R
55 /Parent 2 0 R
90 /Parent 5 0 R
99 /Parent 5 0 R
108 /Parent 5 0 R
117 /Parent 5 0 R
/external/swiftshader/third_party/LLVM/lib/Object/
DArchive.cpp66 if (NextLoc >= Parent->Data->getBufferEnd()) in getNext()
67 return Child(Parent, StringRef(0, 0)); in getNext()
72 return Child(Parent, StringRef(NextLoc, NextSize)); in getNext()
91 const char *addr = Parent->StringTable->Data.begin() in getName()
95 if (Parent->StringTable == Parent->end_children() in getName()
96 || addr < (Parent->StringTable->Data.begin() in getName()
98 || addr > (Parent->StringTable->Data.begin() in getName()
100 + Parent->StringTable->getSize())) in getName()
/external/clang/lib/Analysis/
DThreadSafetyTIL.cpp196 if (DominatorNode.Parent) in topologicalFinalSort()
197 ID = DominatorNode.Parent->topologicalFinalSort(Blocks, ID); in topologicalFinalSort()
224 Candidate = Candidate->DominatorNode.Parent; in computeDominator()
226 Alternate = Alternate->DominatorNode.Parent; in computeDominator()
229 DominatorNode.Parent = Candidate; in computeDominator()
251 Candidate = Candidate->PostDominatorNode.Parent; in computePostDominator()
253 Alternate = Alternate->PostDominatorNode.Parent; in computePostDominator()
256 PostDominatorNode.Parent = Candidate; in computePostDominator()
272 if (N->Parent) { in computeNodeSize()
273 BasicBlock::TopologyNode *P = &(N->Parent->*TN); in computeNodeSize()
[all …]
/external/compiler-rt/test/asan/TestCases/Windows/
Dwrong_downcast_on_heap.cc4 class Parent { class
9 class Child : public Parent {
15 Parent *p = new Parent; in main()
/external/clang/lib/Frontend/
DDependencyFile.cpp204 DFGImpl &Parent; member in __anon6417ed290211::DFGMMCallback
206 DFGMMCallback(DFGImpl &Parent) : Parent(Parent) {} in DFGMMCallback() argument
209 if (!IsSystem || Parent.includeSystemHeaders()) in moduleMapFileRead()
210 Parent.AddFilename(Entry.getName()); in moduleMapFileRead()
215 DFGImpl &Parent; member in __anon6417ed290211::DFGASTReaderListener
217 DFGASTReaderListener(DFGImpl &Parent) in DFGASTReaderListener() argument
218 : Parent(Parent) { } in DFGASTReaderListener()
221 return Parent.includeSystemHeaders(); in needsSystemInputFileVisitation()
468 Parent.AddFilename(Filename); in visitInputFile()
474 if (Parent.includeModuleFiles()) in visitModuleFile()
[all …]
/external/clang/lib/Basic/
DModule.cpp27 Module::Module(StringRef Name, SourceLocation DefinitionLoc, Module *Parent, in Module() argument
29 : Name(Name), DefinitionLoc(DefinitionLoc), Parent(Parent), Directory(), in Module()
37 if (Parent) { in Module()
38 if (!Parent->isAvailable()) in Module()
40 if (Parent->IsSystem) in Module()
42 if (Parent->IsExternC) in Module()
44 IsMissingRequirement = Parent->IsMissingRequirement; in Module()
46 Parent->SubModuleIndex[Name] = Parent->SubModules.size(); in Module()
47 Parent->SubModules.push_back(this); in Module()
86 for (const Module *Current = this; Current; Current = Current->Parent) { in isAvailable()
[all …]
/external/clang/lib/ARCMigrate/
DTransProtectedScope.cpp67 Stmt *Parent = getCaseParent(Curr); in VisitSwitchStmt() local
71 if (getCaseParent(Curr) != Parent) in VisitSwitchStmt()
88 Stmt *Parent = PMap.getParent(S); in getCaseParent() local
89 while (Parent && (isa<SwitchCase>(Parent) || isa<LabelStmt>(Parent))) in getCaseParent()
90 Parent = PMap.getParent(Parent); in getCaseParent()
91 return Parent; in getCaseParent()

12345678910>>...63