Searched defs:Captures (Results 1 - 12 of 12) 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/clang/lib/CodeGen/
H A DCGBlocks.h206 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/llvm/lib/Transforms/IPO/
H A DFunctionAttrs.cpp452 bool Captures = true; local
455 Captures = false;
458 if (Captures)
489 Captures &= !CS.doesNotCapture(A - B);
/external/clang/include/clang/Sema/
H A DScopeInfo.h455 /// CaptureMap - A map of captured variables to (index+1) into Captures.
462 /// Captures - The captures.
463 SmallVector<Capture, 4> Captures; member in class:clang::sema::CapturingScopeInfo
476 Captures.push_back(Capture(Var, isBlock, isByref, isNested, Loc,
478 CaptureMap[Var] = Captures.size();
490 return Captures[CXXThisCaptureIndex - 1];
502 return Captures[CaptureMap[Var] - 1];
509 return Captures[Known->second - 1];
602 /// \brief The number of captures in the \c Captures list that are
678 NumExplicitCaptures = Captures
[all...]
H A DDeclSpec.h211 /// \brief Captures information about "declaration specifiers".
754 /// \brief Captures information about "declaration specifiers" specific to
2180 SmallVector<LambdaCapture, 4> Captures; member in struct:LambdaIntroducer
2192 Captures.push_back(LambdaCapture(Kind, Loc, Id, EllipsisLoc, Init,
/external/clang/lib/AST/
H A DDeclCXX.cpp1016 llvm::DenseMap<const VarDecl *, FieldDecl *> &Captures,
1018 Captures.clear();
1023 for (const LambdaCapture *C = Lambda.Captures, *CEnd = C + Lambda.NumCaptures;
1028 Captures[C->getCapturedVar()] = *Field;
1015 getCaptureFields( llvm::DenseMap<const VarDecl *, FieldDecl *> &Captures, FieldDecl *&ThisCapture) const argument
H A DExprCXX.cpp924 ArrayRef<Capture> Captures,
937 NumCaptures(Captures.size()),
943 assert(CaptureInits.size() == Captures.size() && "Wrong number of arguments");
953 Data.Captures = (Capture *)Context.Allocate(sizeof(Capture) * NumCaptures);
954 Capture *ToCapture = Data.Captures;
955 for (unsigned I = 0, N = Captures.size(); I != N; ++I) {
956 if (Captures[I].isExplicit())
959 *ToCapture++ = Captures[I];
977 sizeof(unsigned) * Captures.size());
978 getArrayIndexStarts()[Captures
920 LambdaExpr(QualType T, SourceRange IntroducerRange, LambdaCaptureDefault CaptureDefault, SourceLocation CaptureDefaultLoc, ArrayRef<Capture> Captures, bool ExplicitParams, bool ExplicitResultType, ArrayRef<Expr *> CaptureInits, ArrayRef<VarDecl *> ArrayIndexVars, ArrayRef<unsigned> ArrayIndexStarts, SourceLocation ClosingBrace, bool ContainsUnexpandedParameterPack) argument
982 Create(const ASTContext &Context, CXXRecordDecl *Class, SourceRange IntroducerRange, LambdaCaptureDefault CaptureDefault, SourceLocation CaptureDefaultLoc, ArrayRef<Capture> Captures, bool ExplicitParams, bool ExplicitResultType, ArrayRef<Expr *> CaptureInits, ArrayRef<VarDecl *> ArrayIndexVars, ArrayRef<unsigned> ArrayIndexStarts, SourceLocation ClosingBrace, bool ContainsUnexpandedParameterPack) argument
[all...]
H A DStmt.cpp1025 ArrayRef<Capture> Captures,
1029 : Stmt(CapturedStmtClass), NumCaptures(Captures.size()),
1045 std::copy(Captures.begin(), Captures.end(), Buffer);
1056 ArrayRef<Capture> Captures,
1069 assert(CaptureInits.size() == Captures.size() && "wrong number of arguments");
1071 unsigned Size = sizeof(CapturedStmt) + sizeof(Stmt *) * (Captures.size() + 1);
1072 if (!Captures.empty()) {
1075 Size += sizeof(Capture) * Captures.size();
1079 return new (Mem) CapturedStmt(S, Kind, Captures, CaptureInit
1024 CapturedStmt(Stmt *S, CapturedRegionKind Kind, ArrayRef<Capture> Captures, ArrayRef<Expr *> CaptureInits, CapturedDecl *CD, RecordDecl *RD) argument
1054 Create(const ASTContext &Context, Stmt *S, CapturedRegionKind Kind, ArrayRef<Capture> Captures, ArrayRef<Expr *> CaptureInits, CapturedDecl *CD, RecordDecl *RD) argument
[all...]
/external/clang/lib/Sema/
H A DSemaLambda.cpp958 for (auto C = Intro.Captures.begin(), E = Intro.Captures.end(); C != E;
1377 SmallVector<LambdaCapture, 4> Captures; local
1403 for (unsigned I = 0, N = LSI->Captures.size(); I != N; ++I) {
1404 LambdaScopeInfo::Capture From = LSI->Captures[I];
1410 Captures.push_back(
1420 Captures.push_back(LambdaCapture(From.getLocation(), IsImplicit, Kind,
1492 if (Captures.empty() && CaptureDefault == LCD_None)
1518 Captures,
H A DSemaStmt.cpp3339 SmallVectorImpl<CapturedStmt::Capture> &Captures,
3347 Captures.push_back(CapturedStmt::Capture(Cap->getLocation(),
3356 Captures.push_back(CapturedStmt::Capture(Cap->getLocation(),
3461 SmallVector<CapturedStmt::Capture, 4> Captures; local
3463 buildCapturedStmtCaptureList(Captures, CaptureInits, RSI->Captures);
3469 RSI->CapRegionKind, Captures,
3338 buildCapturedStmtCaptureList( SmallVectorImpl<CapturedStmt::Capture> &Captures, SmallVectorImpl<Expr *> &CaptureInits, ArrayRef<CapturingScopeInfo::Capture> Candidates) argument
H A DSemaExpr.cpp10604 SmallVector<BlockDecl::Capture, 4> Captures; local
10605 for (unsigned i = 0, e = BSI->Captures.size(); i != e; i++) {
10606 CapturingScopeInfo::Capture &Cap = BSI->Captures[i];
10611 Captures.push_back(NewCap);
10613 BSI->TheDecl->setCaptures(Context, Captures.begin(), Captures.end(),
/external/clang/include/clang/AST/
H A DDeclCXX.h538 ManglingNumber(0), ContextDecl(nullptr), Captures(nullptr),
577 Capture *Captures; member in struct:clang::CXXRecordDecl::LambdaDefinitionData
1046 /// \param Captures Will be populated with the mapping from captured
1054 void getCaptureFields(llvm::DenseMap<const VarDecl *, FieldDecl *> &Captures,
1064 return isLambda() ? getLambdaData().Captures : nullptr;

Completed in 368 milliseconds