/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/include/clang/Sema/ |
H A D | ScopeInfo.h | 406 /// 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 D | DeclSpec.h | 211 /// \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 D | Invocation.java | 27 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 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!");
|
H A D | CGBlocks.cpp | 202 info.Captures[Capture->getVariable()] 401 info.Captures[variable] = CGBlockInfo::Capture::makeConstant(constant); 1158 if (blockInfo.Captures.count(self)) {
|
/external/clang/lib/AST/ |
H A D | ExprCXX.cpp | 835 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 D | DeclCXX.cpp | 925 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 D | Decl.cpp | 3129 Captures = 0; 3140 Captures = static_cast<Capture*>(buffer);
|
/external/clang/lib/Sema/ |
H A D | SemaLambda.cpp | 523 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 D | SemaExpr.cpp | 9645 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 D | SemaCodeComplete.cpp | 4355 for (SmallVectorImpl<LambdaCapture>::iterator C = Intro.Captures.begin(), 4356 CEnd = Intro.Captures.end();
|
/external/clang/include/clang/AST/ |
H A D | Decl.h | 3091 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 D | DeclCXX.h | 513 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 D | ExprCXX.h | 1273 ArrayRef<Capture> Captures, 1315 ArrayRef<Capture> Captures,
|
/external/easymock/src/org/easymock/ |
H A D | EasyMock.java | 1461 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 D | ASTReaderDecl.cpp | 1140 Lambda.Captures 1142 Capture *ToCapture = Lambda.Captures;
|
H A D | ASTWriter.cpp | 4783 LambdaExpr::Capture &Capture = Lambda.Captures[I];
|
/external/clang/lib/Parse/ |
H A D | ParseExprCXX.cpp | 693 !Intro.Captures.empty())) {
|