/external/easymock/src/org/easymock/internal/matchers/ |
H A D | Captures.java | 24 public class Captures<T> implements IArgumentMatcher, Serializable {
class in inherits:IArgumentMatcher,Serializable 32 public Captures(Capture<T> captured) {
method in class:Captures 46 LastControl.getCurrentInvocation().addCapture((Captures<Object>) this,
|
/external/clang/lib/CodeGen/ |
H A D | CGBlocks.h | 206 llvm::DenseMap<const VarDecl*, Capture> Captures; member in class:clang::CodeGen::CGBlockInfo 238 it = Captures.find(var); 239 assert(it != Captures.end() && "no entry for variable!");
|
/external/clang/include/clang/Sema/ |
H A D | ScopeInfo.h | 445 /// CaptureMap - A map of captured variables to (index+1) into Captures. 452 /// Captures - The captures. 453 SmallVector<Capture, 4> Captures; member in class:clang::sema::CapturingScopeInfo 466 Captures.push_back(Capture(Var, isBlock, isByref, isNested, Loc, 468 CaptureMap[Var] = Captures.size(); 475 Captures.push_back(Capture(Field, Init)); 484 return Captures[CXXThisCaptureIndex - 1]; 496 return Captures[CaptureMap[Var] - 1]; 503 return Captures[Known->second - 1]; 590 /// \brief The number of captures in the \c Captures lis [all...] |
H A D | DeclSpec.h | 211 /// \brief Captures information about "declaration specifiers". 738 /// \brief Captures information about "declaration specifiers" specific to 2142 SmallVector<LambdaCapture, 4> Captures; member in struct:LambdaIntroducer 2153 Captures.push_back(LambdaCapture(Kind, Loc, Id, EllipsisLoc, Init));
|
/external/clang/lib/Sema/ |
H A D | SemaLambda.cpp | 612 C = Intro.Captures.begin(), 613 E = Intro.Captures.end(); 919 SmallVector<LambdaExpr::Capture, 4> Captures; local 944 for (unsigned I = 0, N = LSI->Captures.size(); I != N; ++I) { 945 LambdaScopeInfo::Capture From = LSI->Captures[I]; 951 Captures.push_back(LambdaExpr::Capture(From.getLocation(), 961 Captures.push_back(LambdaExpr::Capture(From.getInitCaptureField())); 968 Captures.push_back(LambdaExpr::Capture(From.getLocation(), IsImplicit, 1029 if (Captures.empty() && CaptureDefault == LCD_None) 1055 CaptureDefault, Captures, [all...] |
H A D | SemaStmt.cpp | 3159 SmallVectorImpl<CapturedStmt::Capture> &Captures, 3167 Captures.push_back(CapturedStmt::Capture(Cap->getLocation(), 3176 Captures.push_back(CapturedStmt::Capture(Cap->getLocation(), 3222 SmallVector<CapturedStmt::Capture, 4> Captures; local 3224 buildCapturedStmtCaptureList(Captures, CaptureInits, RSI->Captures); 3230 RSI->CapRegionKind, Captures, 3158 buildCapturedStmtCaptureList( SmallVectorImpl<CapturedStmt::Capture> &Captures, SmallVectorImpl<Expr *> &CaptureInits, ArrayRef<CapturingScopeInfo::Capture> Candidates) argument
|
H A D | SemaExpr.cpp | 10173 SmallVector<BlockDecl::Capture, 4> Captures; local 10174 for (unsigned i = 0, e = BSI->Captures.size(); i != e; i++) { 10175 CapturingScopeInfo::Capture &Cap = BSI->Captures[i]; 10180 Captures.push_back(NewCap); 10182 BSI->TheDecl->setCaptures(Context, Captures.begin(), Captures.end(),
|
/external/clang/lib/AST/ |
H A D | DeclCXX.cpp | 934 llvm::DenseMap<const VarDecl *, FieldDecl *> &Captures, 936 Captures.clear(); 941 for (LambdaExpr::Capture *C = Lambda.Captures, *CEnd = C + Lambda.NumCaptures; 946 Captures[C->getCapturedVar()] = *Field; 933 getCaptureFields( llvm::DenseMap<const VarDecl *, FieldDecl *> &Captures, FieldDecl *&ThisCapture) const argument
|
H A D | ExprCXX.cpp | 860 ArrayRef<Capture> Captures, 872 NumCaptures(Captures.size()), 878 assert(CaptureInits.size() == Captures.size() && "Wrong number of arguments"); 888 Data.Captures = (Capture *)Context.Allocate(sizeof(Capture) * NumCaptures); 889 Capture *ToCapture = Data.Captures; 890 for (unsigned I = 0, N = Captures.size(); I != N; ++I) { 891 if (Captures[I].isExplicit()) 894 *ToCapture++ = Captures[I]; 912 sizeof(unsigned) * Captures.size()); 913 getArrayIndexStarts()[Captures 857 LambdaExpr(QualType T, SourceRange IntroducerRange, LambdaCaptureDefault CaptureDefault, ArrayRef<Capture> Captures, bool ExplicitParams, bool ExplicitResultType, ArrayRef<Expr *> CaptureInits, ArrayRef<VarDecl *> ArrayIndexVars, ArrayRef<unsigned> ArrayIndexStarts, SourceLocation ClosingBrace, bool ContainsUnexpandedParameterPack) argument 917 Create(ASTContext &Context, CXXRecordDecl *Class, SourceRange IntroducerRange, LambdaCaptureDefault CaptureDefault, ArrayRef<Capture> Captures, bool ExplicitParams, bool ExplicitResultType, ArrayRef<Expr *> CaptureInits, ArrayRef<VarDecl *> ArrayIndexVars, ArrayRef<unsigned> ArrayIndexStarts, SourceLocation ClosingBrace, bool ContainsUnexpandedParameterPack) argument [all...] |
H A D | Stmt.cpp | 1032 ArrayRef<Capture> Captures, 1036 : Stmt(CapturedStmtClass), NumCaptures(Captures.size()), 1052 std::copy(Captures.begin(), Captures.end(), Buffer); 1063 ArrayRef<Capture> Captures, 1076 assert(CaptureInits.size() == Captures.size() && "wrong number of arguments"); 1078 unsigned Size = sizeof(CapturedStmt) + sizeof(Stmt *) * (Captures.size() + 1); 1079 if (!Captures.empty()) { 1082 Size += sizeof(Capture) * Captures.size(); 1086 return new (Mem) CapturedStmt(S, Kind, Captures, CaptureInit 1031 CapturedStmt(Stmt *S, CapturedRegionKind Kind, ArrayRef<Capture> Captures, ArrayRef<Expr *> CaptureInits, CapturedDecl *CD, RecordDecl *RD) argument 1061 Create(ASTContext &Context, Stmt *S, CapturedRegionKind Kind, ArrayRef<Capture> Captures, ArrayRef<Expr *> CaptureInits, CapturedDecl *CD, RecordDecl *RD) argument [all...] |
/external/clang/include/clang/AST/ |
H A D | DeclCXX.h | 519 NumExplicitCaptures(0), ManglingNumber(0), ContextDecl(0), Captures(0), 553 Capture *Captures; member in struct:clang::CXXRecordDecl::LambdaDefinitionData 996 /// \param Captures Will be populated with the mapping from captured 1004 void getCaptureFields(llvm::DenseMap<const VarDecl *, FieldDecl *> &Captures, 1009 return isLambda() ? getLambdaData().Captures : NULL;
|