Searched defs:Captures (Results 1 - 13 of 13) sorted by relevance

/external/easymock/src/org/easymock/internal/matchers/
H A DCaptures.java24 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/llvm/lib/Transforms/IPO/
H A DFunctionAttrs.cpp395 bool Captures = true; local
398 Captures = false;
401 if (Captures)
443 Captures &= !CS.doesNotCapture(UseIndex);
/external/clang/lib/CodeGen/
H A DCGBlocks.h226 llvm::DenseMap<const VarDecl*, Capture> Captures; member in class:clang::CodeGen::CGBlockInfo
259 it = Captures.find(var);
260 assert(it != Captures.end() && "no entry for variable!");
H A DCGException.cpp1442 llvm::SmallSetVector<const VarDecl *, 4> Captures; member in struct:__anon1206::CaptureFinder
1449 return !Captures.empty() || SEHCodeSlot.isValid();
1463 Captures.insert(ParentThis);
1469 Captures.insert(D);
1473 Captures.insert(ParentThis);
1581 for (const VarDecl *VD : Finder.Captures) {
/external/clang/include/clang/Sema/
H A DScopeInfo.h520 /// CaptureMap - A map of captured variables to (index+1) into Captures.
527 /// Captures - The captures.
528 SmallVector<Capture, 4> Captures; member in class:clang::sema::CapturingScopeInfo
541 Captures.push_back(Capture(Var, isBlock, isByref, isNested, Loc,
543 CaptureMap[Var] = Captures.size();
547 Captures.push_back(Capture(/*Var*/ nullptr, /*isBlock*/ false,
565 return Captures[CXXThisCaptureIndex - 1];
580 return Captures[CaptureMap[Var] - 1];
587 return Captures[Known->second - 1];
681 /// \brief The number of captures in the \c Captures lis
[all...]
H A DDeclSpec.h224 /// \brief Captures information about "declaration specifiers".
774 /// \brief Captures information about "declaration specifiers" specific to
2345 SmallVector<LambdaCapture, 4> Captures; member in struct:LambdaIntroducer
2358 Captures.push_back(LambdaCapture(Kind, Loc, Id, EllipsisLoc, InitKind, Init,
/external/clang/lib/AST/
H A DExprCXX.cpp854 ArrayRef<LambdaCapture> Captures, bool ExplicitParams,
864 NumCaptures(Captures.size()), CaptureDefault(CaptureDefault),
867 assert(CaptureInits.size() == Captures.size() && "Wrong number of arguments");
877 Data.Captures =
879 LambdaCapture *ToCapture = Data.Captures;
880 for (unsigned I = 0, N = Captures.size(); I != N; ++I) {
881 if (Captures[I].isExplicit())
884 *ToCapture++ = Captures[I];
902 sizeof(unsigned) * Captures.size());
903 getArrayIndexStarts()[Captures
851 LambdaExpr(QualType T, SourceRange IntroducerRange, LambdaCaptureDefault CaptureDefault, SourceLocation CaptureDefaultLoc, ArrayRef<LambdaCapture> Captures, bool ExplicitParams, bool ExplicitResultType, ArrayRef<Expr *> CaptureInits, ArrayRef<VarDecl *> ArrayIndexVars, ArrayRef<unsigned> ArrayIndexStarts, SourceLocation ClosingBrace, bool ContainsUnexpandedParameterPack) argument
907 Create( const ASTContext &Context, CXXRecordDecl *Class, SourceRange IntroducerRange, LambdaCaptureDefault CaptureDefault, SourceLocation CaptureDefaultLoc, ArrayRef<LambdaCapture> Captures, bool ExplicitParams, bool ExplicitResultType, ArrayRef<Expr *> CaptureInits, ArrayRef<VarDecl *> ArrayIndexVars, ArrayRef<unsigned> ArrayIndexStarts, SourceLocation ClosingBrace, bool ContainsUnexpandedParameterPack) argument
[all...]
H A DStmt.cpp1009 ArrayRef<Capture> Captures,
1013 : Stmt(CapturedStmtClass), NumCaptures(Captures.size()),
1029 std::copy(Captures.begin(), Captures.end(), Buffer);
1040 ArrayRef<Capture> Captures,
1053 assert(CaptureInits.size() == Captures.size() && "wrong number of arguments");
1055 unsigned Size = sizeof(CapturedStmt) + sizeof(Stmt *) * (Captures.size() + 1);
1056 if (!Captures.empty()) {
1059 Size += sizeof(Capture) * Captures.size();
1063 return new (Mem) CapturedStmt(S, Kind, Captures, CaptureInit
1008 CapturedStmt(Stmt *S, CapturedRegionKind Kind, ArrayRef<Capture> Captures, ArrayRef<Expr *> CaptureInits, CapturedDecl *CD, RecordDecl *RD) argument
1038 Create(const ASTContext &Context, Stmt *S, CapturedRegionKind Kind, ArrayRef<Capture> Captures, ArrayRef<Expr *> CaptureInits, CapturedDecl *CD, RecordDecl *RD) argument
[all...]
H A DDecl.cpp3887 void BlockDecl::setCaptures(ASTContext &Context, ArrayRef<Capture> Captures, argument
3890 this->NumCaptures = Captures.size();
3892 if (Captures.empty()) {
3893 this->Captures = nullptr;
3897 this->Captures = Captures.copy(Context).data();
/external/clang/lib/Sema/
H A DSemaLambda.cpp920 for (auto C = Intro.Captures.begin(), E = Intro.Captures.end(); C != E;
1492 SmallVector<LambdaCapture, 4> Captures; local
1528 for (unsigned I = 0, N = LSI->Captures.size(); I != N; ++I, ++CurField) {
1529 LambdaScopeInfo::Capture From = LSI->Captures[I];
1535 Captures.push_back(
1543 Captures.push_back(
1552 Captures.push_back(LambdaCapture(From.getLocation(), IsImplicit, Kind,
1572 if (Captures.empty() && CaptureDefault == LCD_None)
1597 Captures,
[all...]
H A DSemaStmt.cpp3854 SmallVectorImpl<CapturedStmt::Capture> &Captures,
3862 Captures.push_back(CapturedStmt::Capture(Cap->getLocation(),
3867 Captures.push_back(
3873 Captures.push_back(CapturedStmt::Capture(Cap->getLocation(),
3980 SmallVector<CapturedStmt::Capture, 4> Captures; local
3982 buildCapturedStmtCaptureList(Captures, CaptureInits, RSI->Captures);
3989 Captures, CaptureInits, CD, RD);
3853 buildCapturedStmtCaptureList( SmallVectorImpl<CapturedStmt::Capture> &Captures, SmallVectorImpl<Expr *> &CaptureInits, ArrayRef<CapturingScopeInfo::Capture> Candidates) argument
H A DSemaExpr.cpp12117 SmallVector<BlockDecl::Capture, 4> Captures; local
12118 for (CapturingScopeInfo::Capture &Cap : BSI->Captures) {
12123 Captures.push_back(NewCap);
12125 BSI->TheDecl->setCaptures(Context, Captures, BSI->CXXThisCaptureIndex != 0);
/external/clang/include/clang/AST/
H A DDeclCXX.h535 ManglingNumber(0), ContextDecl(nullptr), Captures(nullptr),
580 Capture *Captures; member in struct:clang::CXXRecordDecl::LambdaDefinitionData
1061 /// \param Captures Will be populated with the mapping from captured
1069 void getCaptureFields(llvm::DenseMap<const VarDecl *, FieldDecl *> &Captures,
1079 return isLambda() ? getLambdaData().Captures : nullptr;

Completed in 1690 milliseconds