/external/clang/tools/libclang/ |
D | IndexTypeSourceInfo.cpp | 20 const NamedDecl *Parent; member in __anonbc2c1f440111::TypeIndexer 26 : IndexCtx(indexCtx), Parent(parent), ParentDC(DC) { } in TypeIndexer() 32 Parent, ParentDC); in VisitTypedefTypeLoc() 37 IndexCtx.indexNestedNameSpecifierLoc(NNS, Parent, ParentDC); in TraverseNestedNameSpecifierLoc() 55 Parent, ParentDC); in VisitTagTypeLoc() 61 Parent, ParentDC); in VisitObjCInterfaceTypeLoc() 68 Parent, ParentDC); in VisitObjCObjectTypeLoc() 78 Parent, ParentDC); in VisitTemplateSpecializationTypeLoc() 82 Parent, ParentDC); in VisitTemplateSpecializationTypeLoc() 89 IndexCtx.indexBody(S, Parent, ParentDC); in TraverseStmt() [all …]
|
D | IndexBody.cpp | 20 const NamedDecl *Parent; member in __anon870250330111::BodyIndexer 26 const NamedDecl *Parent, const DeclContext *DC) in BodyIndexer() argument 27 : IndexCtx(indexCtx), Parent(Parent), ParentDC(DC) { } in BodyIndexer() 32 IndexCtx.indexTypeLoc(TL, Parent, ParentDC); in TraverseTypeLoc() 37 IndexCtx.indexNestedNameSpecifierLoc(NNS, Parent, ParentDC); in TraverseNestedNameSpecifierLoc() 43 Parent, ParentDC, E); in VisitDeclRefExpr() 49 Parent, ParentDC, E); in VisitMemberExpr() 59 Parent, ParentDC, E); in VisitDesignatedInitExpr() 66 Parent, ParentDC, E); in VisitObjCIvarRefExpr() 73 Parent, ParentDC, E, in VisitObjCMessageExpr() [all …]
|
D | CursorVisitor.h | 69 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/llvm/lib/Object/ |
D | Archive.cpp | 85 Archive::Child::Child(const Archive *Parent, StringRef Data, in Child() argument 87 : Parent(Parent), Data(Data), StartOfFile(StartOfFile) {} in Child() 89 Archive::Child::Child(const Archive *Parent, const char *Start, in Child() argument 91 : Parent(Parent) { in Child() 118 if (Parent->IsThin) { in getSize() 136 return Parent->IsThin && Name != "/" && Name != "//"; in isThinMember() 150 Parent->getMemoryBufferRef().getBufferIdentifier()); in getBuffer() 155 Parent->ThinBuffers.push_back(std::move(*Buf)); in getBuffer() 156 return Parent->ThinBuffers.back()->getBuffer(); in getBuffer() 168 if (NextLoc == Parent->Data.getBufferEnd()) in getNext() [all …]
|
D | MachOUniversal.cpp | 54 const MachOUniversalBinary *Parent, uint32_t Index) in ObjectForArch() argument 55 : Parent(Parent), Index(Index) { in ObjectForArch() 56 if (!Parent || Index >= Parent->getNumberOfObjects()) { in ObjectForArch() 60 StringRef ParentData = Parent->getData(); in ObjectForArch() 72 if (!Parent) in getAsObjectFile() 75 StringRef ParentData = Parent->getData(); in getAsObjectFile() 77 StringRef ObjectName = Parent->getFileName(); in getAsObjectFile() 84 if (!Parent) in getAsArchive() 87 StringRef ParentData = Parent->getData(); in getAsArchive() 89 StringRef ObjectName = Parent->getFileName(); in getAsArchive()
|
/external/clang/test/Analysis/ |
D | inline.cpp | 60 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/libchrome/base/ |
D | template_util_unittest.cc | 16 class Parent {}; class 17 class Child : public Parent {}; 47 static_assert((is_convertible<Child, Parent>::value), "IsConvertible"); 48 static_assert(!(is_convertible<Parent, Child>::value), "IsConvertible"); 49 static_assert(!(is_convertible<Parent, AStruct>::value), "IsConvertible"); 61 static_assert(!(is_same<Child, Parent>::value), "IsSame"); 62 static_assert(!(is_same<Parent, Child>::value), "IsSame"); 63 static_assert((is_same<Parent, Parent>::value), "IsSame");
|
/external/llvm/include/llvm/CodeGen/ |
D | LexicalScopes.h | 50 : 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/libweave/third_party/chromium/base/ |
D | template_util_unittest.cc | 17 class Parent {}; class 18 class Child : public Parent {}; 55 static_assert((is_convertible<Child, Parent>::value), "IsConvertible"); 56 static_assert(!(is_convertible<Parent, Child>::value), "IsConvertible"); 57 static_assert(!(is_convertible<Parent, AStruct>::value), "IsConvertible"); 69 static_assert(!(is_same<Child, Parent>::value), "IsSame"); 70 static_assert(!(is_same<Parent, Child>::value), "IsSame"); 71 static_assert((is_same<Parent, Parent>::value), "IsSame");
|
/external/clang/test/SemaCXX/ |
D | warn-weak-vtables.cpp | 34 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/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/ |
D | BaseTree.cs | 86 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/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/ |
D | BaseTree.cs | 100 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/llvm/include/llvm/Object/ |
D | Archive.h | 56 const Archive *Parent; variable 69 Child(const Archive *Parent, const char *Start, std::error_code *EC); 70 Child(const Archive *Parent, StringRef Data, uint16_t StartOfFile); 73 assert(Parent == other.Parent); 77 const Archive *getParent() const { return Parent; } in getParent() 139 const Archive *Parent; variable 145 return (Parent == other.Parent) && (SymbolIndex == other.SymbolIndex); 149 : Parent(p) in Symbol()
|
D | MachOUniversal.h | 35 const MachOUniversalBinary *Parent; variable 42 ObjectForArch(const MachOUniversalBinary *Parent, uint32_t Index); 45 Parent = nullptr; in clear() 50 return (Parent == Other.Parent) && (Index == Other.Index); 53 ObjectForArch getNext() const { return ObjectForArch(Parent, Index + 1); } in getNext()
|
/external/clang/lib/Analysis/ |
D | ThreadSafetyTIL.cpp | 196 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/libchrome/base/memory/ |
D | scoped_ptr_unittest.nc | 17 class Parent { 20 class Child : public Parent { 28 …version from returned value of type 'scoped_ptr<\(anonymous namespace\)::Parent>' to function retu… 30 scoped_ptr<Child> DowncastUsingPassAs(scoped_ptr<Parent> object) { 83 … class 'scoped_ptr<\(anonymous namespace\)::Parent \[\], std::default_delete<\(anonymous namespace… 86 scoped_ptr<Parent[]> x(new Child[1]); 96 …ber of 'scoped_ptr<\(anonymous namespace\)::Parent \[\], std::default_delete<\(anonymous namespace… 99 scoped_ptr<Parent[]> x;
|
/external/compiler-rt/test/asan/TestCases/Windows/ |
D | wrong_downcast_on_heap.cc | 4 class Parent { class 9 class Child : public Parent { 15 Parent *p = new Parent; in main()
|
/external/clang/lib/Frontend/ |
D | DependencyFile.cpp | 204 DFGImpl &Parent; member in __anond4da4cb60211::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 __anond4da4cb60211::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/v8/test/mjsunit/regress/ |
D | regress-crbug-513602.js | 5 function Parent() {} class 8 Child.prototype = new Parent(); 19 Parent.prototype.__defineSetter__("foo", function() { print("A"); }); 20 Parent.prototype.__defineSetter__("foo", function() { print("B"); });
|
/external/clang/lib/Basic/ |
D | Module.cpp | 27 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/ |
D | TransProtectedScope.cpp | 67 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()
|
/external/llvm/include/llvm/Support/ |
D | GenericDomTreeConstruction.h | 48 SuccVInfo.Parent = V; in DFSPass() 73 BBInfo.Parent = 1; in DFSPass() 97 SuccVInfo.Parent = BBDFSNum; in DFSPass() 117 if (VInInfo.Parent >= LastLinked) in Eval() 124 typename GraphT::NodeType* VAncestor = DT.Vertex[VInfo.Parent]; in Eval() 127 if (Visited.insert(VAncestor).second && VInfo.Parent >= LastLinked) { in Eval() 134 if (VInfo.Parent < LastLinked) in Eval() 143 VInfo.Parent = VAInfo.Parent; in Eval() 205 WInfo.Semi = WInfo.Parent; in Calculate() 221 if (WInfo.Semi == WInfo.Parent) { in Calculate() [all …]
|
/external/llvm/lib/CodeGen/ |
D | LexicalScopes.cpp | 151 LexicalScope *Parent = nullptr; in getOrCreateRegularScope() local 153 Parent = getOrCreateLexicalScope(Block->getScope()); in getOrCreateRegularScope() 156 std::forward_as_tuple(Parent, Scope, nullptr, in getOrCreateRegularScope() 159 if (!Parent) { in getOrCreateRegularScope() 177 LexicalScope *Parent; in getOrCreateInlinedScope() local 179 Parent = getOrCreateInlinedScope(Block->getScope(), InlinedAt); in getOrCreateInlinedScope() 181 Parent = getOrCreateLexicalScope(InlinedAt); in getOrCreateInlinedScope() 185 std::forward_as_tuple(Parent, Scope, in getOrCreateInlinedScope() 203 LexicalScope *Parent = nullptr; in getOrCreateAbstractScope() local 205 Parent = getOrCreateAbstractScope(Block->getScope()); in getOrCreateAbstractScope() [all …]
|
/external/clang/include/clang/Sema/ |
D | DelayedDiagnostic.h | 240 const DelayedDiagnosticPool *Parent; variable 246 DelayedDiagnosticPool(const DelayedDiagnosticPool *parent) : Parent(parent) {} in DelayedDiagnosticPool() 254 : Parent(Other.Parent), Diagnostics(std::move(Other.Diagnostics)) { in DelayedDiagnosticPool() 258 Parent = Other.Parent; 264 const DelayedDiagnosticPool *getParent() const { return Parent; } in getParent() 268 return (Diagnostics.empty() && (!Parent || Parent->empty())); in empty()
|
D | Initialization.h | 101 const InitializedEntity *Parent; variable 165 : Kind(EK_Variable), Parent(nullptr), Type(Var->getType()), in InitializedEntity() 173 : Kind(Kind), Parent(nullptr), Type(Type), ManglingNumber(0) in Kind() 180 InitializedEntity(FieldDecl *Member, const InitializedEntity *Parent) in InitializedEntity() argument 181 : Kind(EK_Member), Parent(Parent), Type(Member->getType()), in InitializedEntity() 186 const InitializedEntity &Parent); 190 : Kind(EK_LambdaCapture), Parent(nullptr), Type(FieldType), in InitializedEntity() 221 Entity.Parent = nullptr; in InitializeParameter() 235 Entity.Parent = nullptr; in InitializeParameter() 299 const InitializedEntity *Parent = nullptr) { [all …]
|