/external/llvm/tools/llvm-c-test/ |
H A D | diagnostic.c | 57 int *DC = (int *)LLVMContextGetDiagnosticContext(C); local 58 if (DC != &handlerCalled || *DC) {
|
/external/clang/include/clang/AST/ |
H A D | ASTLambda.h | 34 inline bool isLambdaCallOperator(const DeclContext *DC) { argument 35 if (!DC || !isa<CXXMethodDecl>(DC)) return false; 36 return isLambdaCallOperator(cast<CXXMethodDecl>(DC)); 63 inline bool isGenericLambdaCallOperatorSpecialization(DeclContext *DC) { argument 65 dyn_cast<CXXMethodDecl>(DC)); 71 inline DeclContext *getLambdaAwareParentOfDeclContext(DeclContext *DC) { argument 72 if (isLambdaCallOperator(DC)) 73 return DC->getParent()->getParent(); 75 return DC [all...] |
H A D | ASTMutationListener.h | 52 virtual void AddedVisibleDecl(const DeclContext *DC, const Decl *D) {} argument
|
H A D | DeclFriend.h | 70 FriendDecl(DeclContext *DC, SourceLocation L, FriendUnion Friend, argument 73 : Decl(Decl::Friend, DC, L), 95 static FriendDecl *Create(ASTContext &C, DeclContext *DC,
|
H A D | DeclOpenMP.h | 49 OMPThreadPrivateDecl(Kind DK, DeclContext *DC, SourceLocation L) : argument 50 Decl(DK, DC, L), NumVars(0) { } 63 static OMPThreadPrivateDecl *Create(ASTContext &C, DeclContext *DC, 116 OMPDeclareReductionDecl(Kind DK, DeclContext *DC, SourceLocation L, argument 119 : ValueDecl(DK, DC, L, Name, Ty), DeclContext(DK), Combiner(nullptr), 129 Create(ASTContext &C, DeclContext *DC, SourceLocation L, DeclarationName Name, 158 static OMPDeclareReductionDecl *castFromDeclContext(const DeclContext *DC) { argument 160 const_cast<DeclContext *>(DC)); 175 OMPCapturedExprDecl(ASTContext &C, DeclContext *DC, IdentifierInfo *Id, argument 177 : VarDecl(OMPCapturedExpr, C, DC, SourceLocatio [all...] |
/external/clang/lib/Serialization/ |
H A D | ASTCommon.cpp | 179 serialization::getDefinitiveDeclContext(const DeclContext *DC) { argument 180 switch (DC->getDeclKind()) { 191 if (const TagDecl *Def = cast<TagDecl>(DC)->getDefinition()) 216 return DC; 220 = cast<ObjCProtocolDecl>(DC)->getDefinition())
|
H A D | ASTCommon.h | 83 const DeclContext *getDefinitiveDeclContext(const DeclContext *DC); 92 /// \brief Visit each declaration within \c DC that needs an anonymous 94 template<typename Fn> void numberAnonymousDeclsWithin(const DeclContext *DC, argument 97 for (Decl *LexicalD : DC->decls()) {
|
/external/clang/lib/AST/ |
H A D | DeclFriend.cpp | 27 FriendDecl *FriendDecl::Create(ASTContext &C, DeclContext *DC, argument 43 (cast<CXXRecordDecl>(DC)->getTemplateSpecializationKind())); 52 FriendDecl *FD = new (C, DC, Extra) FriendDecl(DC, L, Friend, FriendL, 54 cast<CXXRecordDecl>(DC)->pushFriendDecl(FD);
|
H A D | DeclOpenMP.cpp | 30 DeclContext *DC, 34 new (C, DC, additionalSizeToAlloc<Expr *>(VL.size())) 35 OMPThreadPrivateDecl(OMPThreadPrivate, DC, L); 63 ASTContext &C, DeclContext *DC, SourceLocation L, DeclarationName Name, 65 return new (C, DC) OMPDeclareReductionDecl(OMPDeclareReduction, DC, L, Name, 72 OMPDeclareReduction, /*DC=*/nullptr, SourceLocation(), DeclarationName(), 92 OMPCapturedExprDecl *OMPCapturedExprDecl::Create(ASTContext &C, DeclContext *DC, argument 95 return new (C, DC) OMPCapturedExprDecl(C, DC, I 29 Create(ASTContext &C, DeclContext *DC, SourceLocation L, ArrayRef<Expr *> VL) argument 62 Create( ASTContext &C, DeclContext *DC, SourceLocation L, DeclarationName Name, QualType T, OMPDeclareReductionDecl *PrevDeclInScope) argument [all...] |
H A D | DeclCXX.cpp | 86 DeclContext *DC, SourceLocation StartLoc, 89 : RecordDecl(K, TK, C, DC, StartLoc, IdLoc, Id, PrevDecl), 95 DeclContext *DC, SourceLocation StartLoc, 99 CXXRecordDecl *R = new (C, DC) CXXRecordDecl(CXXRecord, TK, C, DC, StartLoc, 110 CXXRecordDecl::CreateLambda(const ASTContext &C, DeclContext *DC, argument 115 new (C, DC) CXXRecordDecl(CXXRecord, TTK_Class, C, DC, Loc, Loc, 2015 DeclContext *DC, 2020 return new (C, DC) LinkageSpecDec 85 CXXRecordDecl(Kind K, TagKind TK, const ASTContext &C, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, IdentifierInfo *Id, CXXRecordDecl *PrevDecl) argument 94 Create(const ASTContext &C, TagKind TK, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, IdentifierInfo *Id, CXXRecordDecl* PrevDecl, bool DelayTypeCreation) argument [all...] |
H A D | ExternalASTSource.cpp | 101 ExternalASTSource::FindExternalVisibleDeclsByName(const DeclContext *DC, argument 106 void ExternalASTSource::completeVisibleDeclsMap(const DeclContext *DC) {} argument 109 const DeclContext *DC, llvm::function_ref<bool(Decl::Kind)> IsKindWeWant, 108 FindExternalLexicalDecls( const DeclContext *DC, llvm::function_ref<bool(Decl::Kind)> IsKindWeWant, SmallVectorImpl<Decl *> &Result) argument
|
H A D | Mangle.cpp | 221 void MangleContext::mangleBlock(const DeclContext *DC, const BlockDecl *BD, argument 223 assert(!isa<CXXConstructorDecl>(DC) && !isa<CXXDestructorDecl>(DC)); 227 if (const ObjCMethodDecl *Method = dyn_cast<ObjCMethodDecl>(DC)) { 230 assert((isa<NamedDecl>(DC) || isa<BlockDecl>(DC)) && 232 if (isa<BlockDecl>(DC)) 233 for (; DC && isa<BlockDecl>(DC); DC [all...] |
/external/clang/lib/Sema/ |
H A D | Scope.cpp | 221 if (const DeclContext *DC = getEntity()) 222 OS << "Entity : (clang::DeclContext*)" << DC << '\n'; local
|
/external/clang/lib/ARCMigrate/ |
H A D | TransEmptyStatementsAndDealloc.cpp | 198 DeclContext *DC = Ctx.getTranslationUnitDecl(); local 204 for (impl_iterator I = impl_iterator(DC->decls_begin()), 205 E = impl_iterator(DC->decls_end()); I != E; ++I) {
|
/external/clang/lib/Index/ |
H A D | IndexTypeSourceInfo.cpp | 29 const DeclContext *DC, bool isBase) 30 : IndexCtx(indexCtx), Parent(parent), ParentDC(DC), IsBase(isBase) { 132 const DeclContext *DC, 137 indexTypeLoc(TInfo->getTypeLoc(), Parent, DC, isBase); 142 const DeclContext *DC, 147 if (!DC) 148 DC = Parent->getLexicalDeclContext(); 149 TypeIndexer(*this, Parent, DC, isBase).TraverseTypeLoc(TL); 154 const DeclContext *DC) { 159 indexNestedNameSpecifierLoc(Prefix, Parent, DC); 28 TypeIndexer(IndexingContext &indexCtx, const NamedDecl *parent, const DeclContext *DC, bool isBase) argument 130 indexTypeSourceInfo(TypeSourceInfo *TInfo, const NamedDecl *Parent, const DeclContext *DC, bool isBase) argument 140 indexTypeLoc(TypeLoc TL, const NamedDecl *Parent, const DeclContext *DC, bool isBase) argument 152 indexNestedNameSpecifierLoc(NestedNameSpecifierLoc NNS, const NamedDecl *Parent, const DeclContext *DC) argument [all...] |
H A D | IndexingContext.cpp | 35 const DeclContext *DC) { 36 if (!DC) 37 DC = D->getDeclContext(); 38 return handleDeclOccurrence(D, Loc, /*IsRef=*/false, cast<Decl>(DC), 40 nullptr, nullptr, DC); 45 const DeclContext *DC, 57 RefE, RefD, DC); 32 handleDecl(const Decl *D, SourceLocation Loc, SymbolRoleSet Roles, ArrayRef<SymbolRelation> Relations, const DeclContext *DC) argument 43 handleReference(const NamedDecl *D, SourceLocation Loc, const NamedDecl *Parent, const DeclContext *DC, SymbolRoleSet Roles, ArrayRef<SymbolRelation> Relations, const Expr *RefE, const Decl *RefD) argument
|
H A D | IndexBody.cpp | 27 const NamedDecl *Parent, const DeclContext *DC) 28 : IndexCtx(indexCtx), Parent(Parent), ParentDC(DC) { } 305 const NamedDecl *Parent, const DeclContext *DC) 306 : IndexCtx(indexCtx), Parent(Parent), ParentDC(DC) { } 352 const DeclContext *DC) { 356 if (!DC) 357 DC = Parent->getLexicalDeclContext(); 358 BodyIndexer(*this, Parent, DC).TraverseStmt(const_cast<Stmt*>(S)); 26 BodyIndexer(IndexingContext &indexCtx, const NamedDecl *Parent, const DeclContext *DC) argument 304 SyntacticFormIndexer(IndexingContext &indexCtx, const NamedDecl *Parent, const DeclContext *DC) argument 351 indexBody(const Stmt *S, const NamedDecl *Parent, const DeclContext *DC) argument
|
H A D | IndexDecl.cpp | 58 auto *DC = Parm->getDeclContext(); local 59 if (auto *FD = dyn_cast<FunctionDecl>(DC)) { 62 } else if (auto *MD = dyn_cast<ObjCMethodDecl>(DC)) { 352 const DeclContext *DC = D->getDeclContext()->getRedeclContext(); local 353 const NamedDecl *Parent = dyn_cast<NamedDecl>(DC); 364 const DeclContext *DC = D->getDeclContext()->getRedeclContext(); local 365 const NamedDecl *Parent = dyn_cast<NamedDecl>(DC); 432 bool IndexingContext::indexDeclContext(const DeclContext *DC) { argument 433 for (const auto *I : DC->decls())
|
/external/clang/test/SemaTemplate/ |
H A D | instantiate-static-var.cpp | 46 DefCon &DC = Z<DefCon>::value; local
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x500/style/ |
H A D | BCStyle.java | 173 public static final ASN1ObjectIdentifier DC = new ASN1ObjectIdentifier("0.9.2342.19200300.100.1.25"); field in class:BCStyle 202 DefaultSymbols.put(DC, "DC"); 237 DefaultLookUp.put("dc", DC); 278 if (oid.equals(EmailAddress) || oid.equals(DC))
|
/external/clang/include/clang/Basic/ |
H A D | PartialDiagnostic.h | 373 operator<<(const PartialDiagnostic &PD, T *DC) { argument 374 PD.AddTaggedVal(reinterpret_cast<intptr_t>(DC),
|
/external/clang/lib/Frontend/ |
H A D | ASTConsumers.cpp | 82 if (DeclContext *DC = dyn_cast<DeclContext>(D)) { 83 if (DC == DC->getPrimaryContext()) 84 DC->dumpLookups(Out, Dump); 87 << DC->getPrimaryContext() << "\n"; 193 void PrintDeclContext(const DeclContext* DC, unsigned Indentation); 197 void DeclContextPrinter::PrintDeclContext(const DeclContext* DC, argument 200 switch (DC->getDeclKind()) { 202 Out << "[translation unit] " << DC; local 206 const NamespaceDecl* ND = cast<NamespaceDecl>(DC); 234 Out << *RD << ' ' << DC; local 402 DeclContext* DC = cast<DeclContext>(I); local [all...] |
H A D | ChainedIncludesSource.cpp | 48 bool FindExternalVisibleDeclsByName(const DeclContext *DC, 51 FindExternalLexicalDecls(const DeclContext *DC, 248 ChainedIncludesSource::FindExternalVisibleDeclsByName(const DeclContext *DC, argument 250 return getFinalReader().FindExternalVisibleDeclsByName(DC, Name); 253 const DeclContext *DC, llvm::function_ref<bool(Decl::Kind)> IsKindWeWant, 255 return getFinalReader().FindExternalLexicalDecls(DC, IsKindWeWant, Result); 252 FindExternalLexicalDecls( const DeclContext *DC, llvm::function_ref<bool(Decl::Kind)> IsKindWeWant, SmallVectorImpl<Decl *> &Result) argument
|
/external/clang/lib/Tooling/Core/ |
H A D | QualTypeNames.cpp | 205 const DeclContext *DC = D->getDeclContext(); local 206 if (const auto *NS = dyn_cast<NamespaceDecl>(DC)) { 215 } else if (const auto *TD = dyn_cast<TagDecl>(DC)) { 217 } else if (const auto *TDD = dyn_cast<TypedefNameDecl>(DC)) { 220 } else if (WithGlobalNsPrefix && DC->isTranslationUnit()) { 285 const DeclContext *DC = Decl->getDeclContext()->getRedeclContext(); local 286 const auto *Outer = dyn_cast_or_null<NamedDecl>(DC); 287 const auto *OuterNS = dyn_cast_or_null<NamespaceDecl>(DC); 289 if (const auto *CxxDecl = dyn_cast<CXXRecordDecl>(DC)) { 324 } else if (WithGlobalNsPrefix && DC [all...] |
/external/eigen/Eigen/src/LU/arch/ |
H A D | Inverse_SSE.h | 78 DC, AB; local 86 // DC = D# * C 87 DC = _mm_mul_ps(_mm_shuffle_ps(D,D,0x0F), C); 88 DC = _mm_sub_ps(DC,_mm_mul_ps(_mm_shuffle_ps(D,D,0xA5), _mm_shuffle_ps(C,C,0x4E))); 104 // d = trace(AB*DC) = trace(A#*B*D#*C) 105 d = _mm_mul_ps(_mm_shuffle_ps(DC,DC,0xD8),AB); 111 iA = _mm_mul_ps(_mm_shuffle_ps(B,B,0xA0), _mm_movelh_ps(DC,DC)); [all...] |