Searched refs:Captures (Results 1 - 23 of 23) 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/easymock/src/org/easymock/internal/
H A DInvocation.java27 import org.easymock.internal.matchers.Captures;
39 private final Collection<Captures<?>> currentCaptures = new ArrayList<Captures<?>>(
156 public void addCapture(Captures<Object> capture, Object value) {
162 for (Captures<?> c : currentCaptures) {
168 for (Captures<?> c : currentCaptures) {
/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/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!");
H A DCGBlocks.cpp204 info.Captures[Capture->getVariable()]
396 info.Captures[variable] = CGBlockInfo::Capture::makeConstant(constant);
/external/clang/lib/AST/
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...]
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 DDecl.cpp3604 Captures = nullptr;
3615 Captures = static_cast<Capture*>(buffer);
/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(),
H A DSemaCodeComplete.cpp4333 for (const auto &C : Intro.Captures) {
/external/clang/include/clang/AST/
H A DDecl.h3277 Capture *Captures;
3289 SignatureAsWritten(nullptr), Captures(nullptr), NumCaptures(0),
3369 capture_iterator capture_begin() { return Captures; }
3370 capture_iterator capture_end() { return Captures + NumCaptures; }
3371 capture_const_iterator capture_begin() const { return Captures; }
3372 capture_const_iterator capture_end() const { return Captures + NumCaptures; }
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;
H A DExprCXX.h1357 ArrayRef<Capture> Captures,
1400 ArrayRef<Capture> Captures,
H A DStmt.h2043 CapturedStmt(Stmt *S, CapturedRegionKind Kind, ArrayRef<Capture> Captures,
2060 ArrayRef<Capture> Captures,
/external/easymock/src/org/easymock/
H A DEasyMock.java1461 reportMatcher(new Captures<T>(captured));
1477 // reportMatcher(new Captures<Integer>(captured));
1488 // reportMatcher(new Captures<Long>(captured));
1499 // reportMatcher(new Captures<Float>(captured));
1510 // reportMatcher(new Captures<Double>(captured));
1521 // reportMatcher(new Captures<Byte>(captured));
1532 // reportMatcher(new Captures<Character>(captured));
/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/lib/Serialization/
H A DASTReaderDecl.cpp1271 Lambda.Captures
1273 Capture *ToCapture = Lambda.Captures;
H A DASTWriter.cpp5398 const LambdaCapture &Capture = Lambda.Captures[I];
/external/clang/lib/Parse/
H A DParseExprCXX.cpp767 !Intro.Captures.empty())) {

Completed in 539 milliseconds