/external/clang/tools/libclang/ |
D | IndexTypeSourceInfo.cpp | 21 const NamedDecl *Parent; member in __anon6f31e6fc0111::TypeIndexer 27 : IndexCtx(indexCtx), Parent(parent), ParentDC(DC) { } in TypeIndexer() 33 Parent, ParentDC); in VisitTypedefTypeLoc() 38 IndexCtx.indexNestedNameSpecifierLoc(NNS, Parent, ParentDC); in TraverseNestedNameSpecifierLoc() 56 Parent, ParentDC); in VisitTagTypeLoc() 62 Parent, ParentDC); in VisitObjCInterfaceTypeLoc() 69 Parent, ParentDC); in VisitObjCObjectTypeLoc() 79 Parent, ParentDC); in VisitTemplateSpecializationTypeLoc() 83 Parent, ParentDC); in VisitTemplateSpecializationTypeLoc() 90 IndexCtx.indexBody(S, Parent, ParentDC); in TraverseStmt() [all …]
|
D | IndexBody.cpp | 21 const NamedDecl *Parent; member in __anona7e091eb0111::BodyIndexer 27 const NamedDecl *Parent, const DeclContext *DC) in BodyIndexer() argument 28 : IndexCtx(indexCtx), Parent(Parent), ParentDC(DC) { } in BodyIndexer() 33 IndexCtx.indexTypeLoc(TL, Parent, ParentDC); in TraverseTypeLoc() 38 IndexCtx.indexNestedNameSpecifierLoc(NNS, Parent, ParentDC); in TraverseNestedNameSpecifierLoc() 44 Parent, ParentDC, E); in VisitDeclRefExpr() 50 Parent, ParentDC, E); in VisitMemberExpr() 60 Parent, ParentDC, E); in VisitDesignatedInitExpr() 67 Parent, ParentDC, E); in VisitObjCIvarRefExpr() 73 IndexCtx.indexTypeSourceInfo(Cls, Parent, ParentDC); in VisitObjCMessageExpr() [all …]
|
D | CursorVisitor.h | 63 CXCursor Parent; variable 114 CXCursor &Parent; variable 119 SetParentRAII(CXCursor &Parent, Decl *&StmtParent, CXCursor NewParent) in SetParentRAII() argument 120 : Parent(Parent), StmtParent(StmtParent), OldParent(Parent) in SetParentRAII() 122 Parent = NewParent; in SetParentRAII() 123 if (clang_isDeclaration(Parent.kind)) in SetParentRAII() 124 StmtParent = getCursorDecl(Parent); in SetParentRAII() 128 Parent = OldParent; in ~SetParentRAII() 129 if (clang_isDeclaration(Parent.kind)) in ~SetParentRAII() 130 StmtParent = getCursorDecl(Parent); in ~SetParentRAII() [all …]
|
/external/llvm/include/llvm/CodeGen/ |
D | LexicalScopes.h | 160 : Parent(P), Desc(D), InlinedAtLocation(I), AbstractScope(A), in LexicalScope() 162 if (Parent) in LexicalScope() 163 Parent->addChild(this); in LexicalScope() 169 LexicalScope *getParent() const { return Parent; } in getParent() 185 if (Parent) in openInsnRange() 186 Parent->openInsnRange(MI); in openInsnRange() 194 if (Parent) in extendInsnRange() 195 Parent->extendInsnRange(MI); in extendInsnRange() 208 if (Parent && (!NewScope || !Parent->dominates(NewScope))) 209 Parent->closeInsnRange(NewScope); [all …]
|
/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() 54 void uses(Parent &p, Derived &d, VeryDerived &vd) { in uses()
|
/external/clang/lib/Basic/ |
D | Module.cpp | 24 Module::Module(StringRef Name, SourceLocation DefinitionLoc, Module *Parent, in Module() argument 26 : Name(Name), DefinitionLoc(DefinitionLoc), Parent(Parent), in Module() 32 if (Parent) { in Module() 33 if (!Parent->isAvailable()) in Module() 35 if (Parent->IsSystem) in Module() 38 Parent->SubModuleIndex[Name] = Parent->SubModules.size(); in Module() 39 Parent->SubModules.push_back(this); in Module() 73 for (const Module *Current = this; Current; Current = Current->Parent) { in isAvailable() 91 This = This->Parent; in isSubModuleOf() 99 while (Result->Parent) in getTopLevelModule() [all …]
|
/external/llvm/lib/Object/ |
D | Archive.cpp | 89 if (NextLoc >= Parent->Data->getBufferEnd()) in getNext() 90 return Child(Parent, StringRef(0, 0)); in getNext() 95 return Child(Parent, StringRef(NextLoc, NextSize)); in getNext() 114 const char *addr = Parent->StringTable->Data.begin() in getName() 118 if (Parent->StringTable == Parent->end_children() in getName() 119 || addr < (Parent->StringTable->Data.begin() in getName() 121 || addr > (Parent->StringTable->Data.begin() in getName() 123 + Parent->StringTable->getSize())) in getName() 219 StringRef(Parent->SymbolTable->getBuffer()->getBufferStart() + StringIndex); in getName() 224 const char *buf = Parent->SymbolTable->getBuffer()->getBufferStart(); in getMember() [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/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/llvm/include/llvm/Object/ |
D | Archive.h | 28 const Archive *Parent; variable 32 Child(const Archive *p, StringRef d) : Parent(p), Data(d) {} in Child() 35 return (Parent == other.Parent) && (Data.begin() == other.Data.begin()); 83 const Archive *Parent; variable 89 return (Parent == other.Parent) && (SymbolIndex == other.SymbolIndex); 93 : Parent(p) in Symbol()
|
/external/clang/include/clang/Sema/ |
D | Initialization.h | 85 const InitializedEntity *Parent; variable 138 : Kind(EK_Variable), Parent(0), Type(Var->getType()), in InitializedEntity() 146 : Kind(Kind), Parent(0), Type(Type) in Kind() 153 InitializedEntity(FieldDecl *Member, const InitializedEntity *Parent) in InitializedEntity() argument 154 : Kind(EK_Member), Parent(Parent), Type(Member->getType()), in InitializedEntity() 159 const InitializedEntity &Parent); 163 : Kind(EK_LambdaCapture), Parent(0), Type(Field->getType()) in InitializedEntity() 185 Entity.Parent = 0; in InitializeParameter() 199 Entity.Parent = 0; in InitializeParameter() 251 const InitializedEntity *Parent = 0) { [all …]
|
/external/chromium/base/ |
D | template_util_unittest.cc | 15 class Parent {}; class 16 class Child : public Parent {}; 47 EXPECT_TRUE( (is_convertible<Child, Parent>::value) ); in TEST() 48 EXPECT_FALSE( (is_convertible<Parent, Child>::value) ); in TEST() 49 EXPECT_FALSE( (is_convertible<Parent, AStruct>::value) ); in TEST()
|
D | no_windows2000_unittest.h | 14 template<typename Parent> 15 class NoWindows2000Test : public Parent {
|
/external/llvm/include/llvm/Analysis/ |
D | DominatorInternals.h | 49 SuccVInfo.Parent = V; in DFSPass() 74 BBInfo.Parent = 1; in DFSPass() 98 SuccVInfo.Parent = BBDFSNum; in DFSPass() 118 if (VInInfo.Parent >= LastLinked) in Eval() 125 typename GraphT::NodeType* VAncestor = DT.Vertex[VInfo.Parent]; in Eval() 128 if (Visited.insert(VAncestor) && VInfo.Parent >= LastLinked) { in Eval() 135 if (VInfo.Parent < LastLinked) in Eval() 144 VInfo.Parent = VAInfo.Parent; in Eval() 206 WInfo.Semi = WInfo.Parent; in Calculate() 222 if (WInfo.Semi == WInfo.Parent) { in Calculate() [all …]
|
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime.Tests/ |
D | ITreeFixture.cs | 58 Assert.IsNull(t.Parent); in testSingleNode() 71 Assert.IsNull(r0.Parent); in test4Nodes() 85 Assert.IsNull(r0.Parent); in testList() 87 Assert.AreEqual(r0, c0.Parent); in testList() 89 Assert.AreEqual(r0, c1.Parent); in testList() 91 Assert.AreEqual(r0, c2.Parent); in testList() 111 Assert.IsNull(root.Parent); in testList2() 114 Assert.AreEqual(root, c0.Parent); in testList2() 116 Assert.AreEqual(root, c0.Parent); in testList2() 118 Assert.AreEqual(root, c0.Parent); in testList2() [all …]
|
/external/llvm/include/llvm/ |
D | BasicBlock.h | 77 Function *Parent; 90 Function *Parent = 0, BasicBlock *InsertBefore = 0); 103 Function *Parent = 0,BasicBlock *InsertBefore = 0) { 104 return new BasicBlock(Context, Name, Parent, InsertBefore); 110 const Function *getParent() const { return Parent; } 111 Function *getParent() { return Parent; }
|
D | Argument.h | 34 Function *Parent; variable 45 inline const Function *getParent() const { return Parent; } in getParent() 46 inline Function *getParent() { return Parent; } in getParent()
|
D | Metadata.h | 196 Module *Parent; 199 void setParent(Module *M) { Parent = M; } 215 inline Module *getParent() { return Parent; } 216 inline const Module *getParent() const { return Parent; }
|
/external/llvm/lib/MC/ |
D | MCAtom.cpp | 22 Parent->remap(this, Begin, End+Size); in addInst() 29 Parent->remap(this, Begin, End+1); in addData() 45 Parent->remap(this, LeftBegin, LeftEnd); in split() 48 MCAtom *RightAtom = Parent->createAtom(Type, RightBegin, RightEnd); in split() 80 Parent->remap(this, Begin, TruncPt); in truncate()
|
/external/clang/include/clang/Basic/ |
D | Module.h | 53 Module *Parent; variable 160 : Name(Name), DefinitionLoc(DefinitionLoc), Parent(0), Umbrella(), in Module() 167 Module(StringRef Name, SourceLocation DefinitionLoc, Module *Parent, 192 bool isSubModule() const { return Parent != 0; } in isSubModule() 202 for (const Module *Mod = this; Mod; Mod = Mod->Parent) in isPartOfFramework()
|
/external/llvm/unittests/ADT/ |
D | SCCIteratorTest.cpp | 222 static ChildIterator child_begin(NodeType *Parent) { in child_begin() argument 223 return ChildIterator(Parent - Parent->first, Parent->second); in child_begin() 227 static ChildIterator child_end(NodeType *Parent) { in child_end() argument 228 return ChildIterator(Parent - Parent->first, NodeSubset()); in child_end()
|
/external/clang/include/clang/Analysis/ |
D | AnalysisContext.h | 168 const StackFrameContext *getStackFrame(LocationContext const *Parent, 201 const LocationContext *Parent; variable 206 : Kind(k), Ctx(ctx), Parent(parent) {} in LocationContext() 219 const LocationContext *getParent() const { return Parent; } in getParent() 397 LocationContext const *Parent, in getStackFrame() argument 401 return LocContexts.getStackFrame(Ctx, Parent, S, Blk, Idx); in getStackFrame() 412 LocationContext const *Parent, in getStackFrame() argument 416 return LocContexts.getStackFrame(getContext(D), Parent, S, Blk, Idx); in getStackFrame()
|
/external/llvm/lib/CodeGen/ |
D | LexicalScopes.cpp | 162 LexicalScope *Parent = NULL; in getOrCreateRegularScope() local 164 Parent = getOrCreateLexicalScope(DebugLoc::getFromDILexicalBlock(Scope)); in getOrCreateRegularScope() 165 WScope = new LexicalScope(Parent, DIDescriptor(Scope), NULL, false); in getOrCreateRegularScope() 167 if (!Parent && DIDescriptor(Scope).isSubprogram() in getOrCreateRegularScope() 200 LexicalScope *Parent = NULL; in getOrCreateAbstractScope() local 204 Parent = getOrCreateAbstractScope(ParentDesc); in getOrCreateAbstractScope() 206 AScope = new LexicalScope(Parent, DIDescriptor(N), NULL, true); in getOrCreateAbstractScope()
|
/external/clang/lib/Analysis/ |
D | ThreadSafety.cpp | 91 void buildMutexID(Expr *Exp, const NamedDecl *D, Expr *Parent, in buildMutexID() argument 121 buildMutexID(ME->getBase(), D, Parent, NumArgs, FunArgs); in buildMutexID() 123 if (Parent) in buildMutexID() 124 buildMutexID(Parent, D, 0, 0, 0); in buildMutexID() 132 D, Parent, NumArgs, FunArgs); in buildMutexID() 136 buildMutexID(CallArgs[i], D, Parent, NumArgs, FunArgs); in buildMutexID() 139 buildMutexID(CE->getCallee(), D, Parent, NumArgs, FunArgs); in buildMutexID() 143 buildMutexID(CallArgs[i], D, Parent, NumArgs, FunArgs); in buildMutexID() 146 buildMutexID(BOE->getLHS(), D, Parent, NumArgs, FunArgs); in buildMutexID() 147 buildMutexID(BOE->getRHS(), D, Parent, NumArgs, FunArgs); in buildMutexID() [all …]
|
/external/llvm/include/llvm/Support/ |
D | MDBuilder.h | 102 MDNode *createTBAANode(StringRef Name, MDNode *Parent, 106 Value *Ops[3] = { createString(Name), Parent, Flags }; 109 Value *Ops[2] = { createString(Name), Parent };
|