Searched refs:Captures (Results 1 - 19 of 19) 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/include/clang/Sema/
H A DScopeInfo.h406 /// CaptureMap - A map of captured variables to (index+1) into Captures.
413 /// Captures - The captures.
414 SmallVector<Capture, 4> Captures; member in class:clang::sema::CapturingScopeInfo
427 Captures.push_back(Capture(Var, isBlock, isByref, isNested, Loc,
429 CaptureMap[Var] = Captures.size();
441 return Captures[CXXThisCaptureIndex - 1];
453 return Captures[CaptureMap[Var] - 1];
460 return Captures[Known->second - 1];
506 /// \brief The number of captures in the \c Captures list that are
542 NumExplicitCaptures = Captures
[all...]
H A DDeclSpec.h211 /// \brief Captures information about "declaration specifiers".
721 /// \brief Captures information about "declaration specifiers" specific to
2083 SmallVector<LambdaCapture, 4> Captures; member in struct:LambdaIntroducer
2093 Captures.push_back(LambdaCapture(Kind, Loc, Id, EllipsisLoc));
/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/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.cpp202 info.Captures[Capture->getVariable()]
401 info.Captures[variable] = CGBlockInfo::Capture::makeConstant(constant);
1158 if (blockInfo.Captures.count(self)) {
/external/clang/lib/AST/
H A DExprCXX.cpp835 ArrayRef<Capture> Captures,
847 NumCaptures(Captures.size()),
853 assert(CaptureInits.size() == Captures.size() && "Wrong number of arguments");
863 Data.Captures = (Capture *)Context.Allocate(sizeof(Capture) * NumCaptures);
864 Capture *ToCapture = Data.Captures;
865 for (unsigned I = 0, N = Captures.size(); I != N; ++I) {
866 if (Captures[I].isExplicit())
869 *ToCapture++ = Captures[I];
887 sizeof(unsigned) * Captures.size());
888 getArrayIndexStarts()[Captures
832 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
892 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 DDeclCXX.cpp925 llvm::DenseMap<const VarDecl *, FieldDecl *> &Captures,
927 Captures.clear();
932 for (LambdaExpr::Capture *C = Lambda.Captures, *CEnd = C + Lambda.NumCaptures;
939 Captures[C->getCapturedVar()] = *Field;
924 getCaptureFields( llvm::DenseMap<const VarDecl *, FieldDecl *> &Captures, FieldDecl *&ThisCapture) const argument
H A DDecl.cpp3129 Captures = 0;
3140 Captures = static_cast<Capture*>(buffer);
/external/clang/lib/Sema/
H A DSemaLambda.cpp523 C = Intro.Captures.begin(),
524 E = Intro.Captures.end();
810 SmallVector<LambdaExpr::Capture, 4> Captures; local
835 for (unsigned I = 0, N = LSI->Captures.size(); I != N; ++I) {
836 LambdaScopeInfo::Capture From = LSI->Captures[I];
842 Captures.push_back(LambdaExpr::Capture(From.getLocation(),
853 Captures.push_back(LambdaExpr::Capture(From.getLocation(), IsImplicit,
916 if (Captures.empty() && CaptureDefault == LCD_None)
942 CaptureDefault, Captures,
H A DSemaExpr.cpp9645 SmallVector<BlockDecl::Capture, 4> Captures; local
9646 for (unsigned i = 0, e = BSI->Captures.size(); i != e; i++) {
9647 CapturingScopeInfo::Capture &Cap = BSI->Captures[i];
9652 Captures.push_back(NewCap);
9654 BSI->TheDecl->setCaptures(Context, Captures.begin(), Captures.end(),
H A DSemaCodeComplete.cpp4355 for (SmallVectorImpl<LambdaCapture>::iterator C = Intro.Captures.begin(),
4356 CEnd = Intro.Captures.end();
/external/clang/include/clang/AST/
H A DDecl.h3091 Capture *Captures;
3100 SignatureAsWritten(0), Captures(0), NumCaptures(0) {}
3151 capture_iterator capture_begin() { return Captures; }
3152 capture_iterator capture_end() { return Captures + NumCaptures; }
3153 capture_const_iterator capture_begin() const { return Captures; }
3154 capture_const_iterator capture_end() const { return Captures + NumCaptures; }
H A DDeclCXX.h513 NumExplicitCaptures(0), ManglingNumber(0), ContextDecl(0), Captures(0),
547 Capture *Captures; member in struct:clang::CXXRecordDecl::LambdaDefinitionData
987 /// \param Captures Will be populated with the mapping from captured
992 void getCaptureFields(llvm::DenseMap<const VarDecl *, FieldDecl *> &Captures,
997 return isLambda() ? getLambdaData().Captures : NULL;
H A DExprCXX.h1273 ArrayRef<Capture> Captures,
1315 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/clang/lib/Serialization/
H A DASTReaderDecl.cpp1140 Lambda.Captures
1142 Capture *ToCapture = Lambda.Captures;
H A DASTWriter.cpp4783 LambdaExpr::Capture &Capture = Lambda.Captures[I];
/external/clang/lib/Parse/
H A DParseExprCXX.cpp693 !Intro.Captures.empty())) {

Completed in 278 milliseconds