Searched refs:Self (Results 1 - 25 of 45) sorted by relevance

12

/external/chromium_org/third_party/skia/src/gpu/gl/
H A DGrGLSL_impl.h11 template<typename Self>
13 inline Self GrGLSLExpr<Self>::VectorCastImpl(const T& expr) {
15 return Self(0);
18 return Self(1);
20 return Self(Self::CastStr(), expr.c_str());
23 template<typename Self>
25 inline Self GrGLSLExpr<Self>
[all...]
H A DGrGLSL.h85 template <typename Self>
93 return Self::ZerosStr();
95 return Self::OnesStr();
119 fExpr.appendf(Self::CastIntStr(), v);
168 static Self VectorCastImpl(const T& other);
179 static Self Mul(T0 in0, T1 in1);
186 static Self Add(T0 in0, T1 in1);
193 static Self Sub(T0 in0, T1 in1);
/external/skia/src/gpu/gl/
H A DGrGLSL_impl.h11 template<typename Self>
13 inline Self GrGLSLExpr<Self>::VectorCastImpl(const T& expr) {
15 return Self(0);
18 return Self(1);
20 return Self(Self::CastStr(), expr.c_str());
23 template<typename Self>
25 inline Self GrGLSLExpr<Self>
[all...]
H A DGrGLSL.h85 template <typename Self>
93 return Self::ZerosStr();
95 return Self::OnesStr();
119 fExpr.appendf(Self::CastIntStr(), v);
168 static Self VectorCastImpl(const T& other);
179 static Self Mul(T0 in0, T1 in1);
186 static Self Add(T0 in0, T1 in1);
193 static Self Sub(T0 in0, T1 in1);
/external/clang/test/CXX/expr/expr.prim/expr.prim.lambda/
H A Dp5-generic-lambda-1y.cpp5 auto Fact = [](auto Self, unsigned n) -> unsigned {
6 return !n ? 1 : Self(Self, n - 1) * n;
20 auto NumParams = [](auto Self, auto h, auto ... rest) -> unsigned {
21 return 1 + Self(Self, rest...);
23 auto Base = [](auto Self, auto h) -> unsigned {
38 auto NumParams = [](auto Self, auto h, auto ... rest) {
39 return 1 + Self(Self, res
[all...]
/external/llvm/include/llvm/IR/
H A DCFG.h33 typedef PredIterator<Ptr, USE_iterator> Self; typedef in class:llvm::PredIterator
52 inline bool operator==(const Self& x) const { return It == x.It; }
53 inline bool operator!=(const Self& x) const { return !operator==(x); }
61 inline Self& operator++() { // Preincrement
67 inline Self operator++(int) { // Postincrement
68 Self tmp = *this; ++*this; return tmp;
116 typedef SuccIterator<Term_, BB_> Self; typedef in class:llvm::SuccIterator
124 Self it;
127 explicit SuccessorProxy(const Self &it) : it(it) {}
158 inline const Self
[all...]
H A DInstructions.h2587 typedef CaseIteratorT<SwitchInstTy, ConstantIntTy, BasicBlockTy> Self; typedef in class:llvm::SwitchInst::CaseIteratorT
2598 static Self fromSuccessorIndex(SwitchInstTy *SI, unsigned SuccessorIndex) {
2602 Self(SI, SuccessorIndex - 1) :
2603 Self(SI, DefaultPseudoIndex);
2630 Self operator++() {
2637 Self operator++(int) {
2638 Self tmp = *this;
2642 Self operator--() {
2651 Self operator--(int) {
2652 Self tm
[all...]
/external/clang/lib/Sema/
H A DSemaCast.cpp51 : Self(S), SrcExpr(src), DestType(destType),
64 Sema &Self; member in struct:__anon18003::CastOperation
91 castExpr = ImplicitCastExpr::Create(Self.Context,
92 Self.Context.ARCUnbridgedCastTy,
119 Self.CheckCastAlign(SrcExpr.get(), DestType, OpRange);
123 assert(Self.getLangOpts().ObjCAutoRefCount);
126 if (Self.CheckObjCARCConversion(OpRange, DestType, src, CCK) ==
137 SrcExpr = Self.CheckPlaceholderExpr(SrcExpr.get());
145 static bool CastsAwayConstness(Sema &Self, QualType SrcType, QualType DestType,
159 static TryCastResult TryLValueToRValueCast(Sema &Self, Exp
464 CastsAwayConstness(Sema &Self, QualType SrcType, QualType DestType, bool CheckCVR, bool CheckObjCLifetime) argument
715 DiagnoseReinterpretUpDownCast(Sema &Self, const Expr *SrcExpr, QualType DestType, SourceRange OpRange) argument
914 TryStaticCast(Sema &Self, ExprResult &SrcExpr, QualType DestType, Sema::CheckedConversionKind CCK, const SourceRange &OpRange, unsigned &msg, CastKind &Kind, CXXCastPath &BasePath, bool ListInitialization) argument
1087 TryLValueToRValueCast(Sema &Self, Expr *SrcExpr, QualType DestType, bool CStyle, CastKind &Kind, CXXCastPath &BasePath, unsigned &msg) argument
1138 TryStaticReferenceDowncast(Sema &Self, Expr *SrcExpr, QualType DestType, bool CStyle, const SourceRange &OpRange, unsigned &msg, CastKind &Kind, CXXCastPath &BasePath) argument
1176 TryStaticPointerDowncast(Sema &Self, QualType SrcType, QualType DestType, bool CStyle, const SourceRange &OpRange, unsigned &msg, CastKind &Kind, CXXCastPath &BasePath) argument
1210 TryStaticDowncast(Sema &Self, CanQualType SrcType, CanQualType DestType, bool CStyle, const SourceRange &OpRange, QualType OrigSrcType, QualType OrigDestType, unsigned &msg, CastKind &Kind, CXXCastPath &BasePath) argument
1325 TryStaticMemberPointerUpcast(Sema &Self, ExprResult &SrcExpr, QualType SrcType, QualType DestType, bool CStyle, const SourceRange &OpRange, unsigned &msg, CastKind &Kind, CXXCastPath &BasePath) argument
1437 TryStaticImplicitCast(Sema &Self, ExprResult &SrcExpr, QualType DestType, Sema::CheckedConversionKind CCK, const SourceRange &OpRange, unsigned &msg, CastKind &Kind, bool ListInitialization) argument
1493 TryConstCast(Sema &Self, ExprResult &SrcExpr, QualType DestType, bool CStyle, unsigned &msg) argument
1660 DiagnoseCastOfObjCSEL(Sema &Self, const ExprResult &SrcExpr, QualType DestType) argument
1677 checkIntToPointerCast(bool CStyle, SourceLocation Loc, const Expr *SrcExpr, QualType DestType, Sema &Self) argument
1703 TryReinterpretCast(Sema &Self, ExprResult &SrcExpr, QualType DestType, bool CStyle, const SourceRange &OpRange, unsigned &msg, CastKind &Kind) argument
2134 DiagnoseBadFunctionCast(Sema &Self, const ExprResult &SrcExpr, QualType DestType) argument
[all...]
H A DSemaExprCXX.cpp3193 Sema &Self, SourceLocation KeyLoc, ASTContext &C,
3204 LookupResult Res(Self, NameInfo, Sema::LookupOrdinaryName);
3205 if (Self.LookupQualifiedName(Res, RD)) {
3218 CPT = Self.ResolveExceptionSpec(KeyLoc, CPT);
3228 static bool EvaluateUnaryTypeTrait(Sema &Self, TypeTrait UTT, argument
3232 ASTContext &C = Self.Context;
3305 return T.isTrivialType(Self.Context);
3307 return T.isTriviallyCopyableType(Self.Context);
3311 return T.isPODType(Self.Context);
3313 return T->isLiteralType(Self
3192 HasNoThrowOperator(const RecordType *RT, OverloadedOperatorKind Op, Sema &Self, SourceLocation KeyLoc, ASTContext &C, bool (CXXRecordDecl::*HasTrivial)() const, bool (CXXRecordDecl::*HasNonTrivial)() const, bool (CXXMethodDecl::*IsDesiredOp)() const) argument
3749 EvaluateBinaryTypeTrait(Sema &Self, TypeTrait BTT, QualType LhsT, QualType RhsT, SourceLocation KeyLoc) argument
3935 EvaluateArrayTypeTrait(Sema &Self, ArrayTypeTrait ATT, QualType T, Expr *DimExpr, SourceLocation KeyLoc) argument
4199 TryClassUnification(Sema &Self, Expr *From, Expr *To, SourceLocation QuestionLoc, bool &HaveConversion, QualType &ToType) argument
4288 FindConditionalOverload(Sema &Self, ExprResult &LHS, ExprResult &RHS, SourceLocation QuestionLoc) argument
4347 ConvertForConditional(Sema &Self, ExprResult &E, QualType T) argument
[all...]
H A DSemaExpr.cpp2344 // turn this into Self->ivar, just return a BareIVarExpr or something.
5949 static void SuggestParentheses(Sema &Self, SourceLocation Loc, argument
5952 SourceLocation EndLoc = Self.PP.getLocForEndOfToken(ParenRange.getEnd());
5955 Self.Diag(Loc, Note)
5960 Self.Diag(Loc, Note) << ParenRange;
6035 static void DiagnoseConditionalPrecedence(Sema &Self, argument
6051 Self.Diag(OpLoc, diag::warn_precedence_conditional)
6055 SuggestParentheses(Self, OpLoc,
6056 Self.PDiag(diag::note_precedence_silence)
6060 SuggestParentheses(Self, OpLo
7155 diagnoseStringPlusInt(Sema &Self, SourceLocation OpLoc, Expr *LHSExpr, Expr *RHSExpr) argument
7194 diagnoseStringPlusChar(Sema &Self, SourceLocation OpLoc, Expr *LHSExpr, Expr *RHSExpr) argument
9481 DiagnoseBitwisePrecedence(Sema &Self, BinaryOperatorKind Opc, SourceLocation OpLoc, Expr *LHSExpr, Expr *RHSExpr) argument
9523 EmitDiagnosticForBitwiseAndInBitwiseOr(Sema &Self, SourceLocation OpLoc, BinaryOperator *Bop) argument
9538 EmitDiagnosticForLogicalAndInLogicalOr(Sema &Self, SourceLocation OpLoc, BinaryOperator *Bop) argument
9654 DiagnoseBinOpPrecedence(Sema &Self, BinaryOperatorKind Opc, SourceLocation OpLoc, Expr *LHSExpr, Expr *RHSExpr) argument
[all...]
/external/clang/include/clang/Serialization/
H A DContinuousRangeMap.h110 ContinuousRangeMap &Self; member in class:clang::ContinuousRangeMap::Builder
116 explicit Builder(ContinuousRangeMap &Self) : Self(Self) { } argument
119 std::sort(Self.Rep.begin(), Self.Rep.end(), Compare());
123 Self.Rep.push_back(Val);
/external/clang/test/SemaTemplate/
H A Denum-argument.cpp6 typedef C<v> Self; typedef in struct:C
/external/llvm/include/llvm/Analysis/
H A DRegionIterator.h87 typedef RNSuccIterator<NodeType> Self; typedef in class:llvm::RNSuccIterator
111 inline bool operator==(const Self& x) const {
119 inline bool operator!=(const Self& x) const { return !operator==(x); }
127 inline Self& operator++() {
141 inline Self operator++(int) {
142 Self tmp = *this;
147 inline const Self &operator=(const Self &I) {
174 typedef RNSuccIterator<FlatIt<NodeType> > Self; typedef in class:llvm::RNSuccIterator
199 inline bool operator==(const Self
[all...]
H A DRegionInfo.h516 typedef block_iterator_wrapper<IsConst> Self; typedef in class:llvm::Region::block_iterator_wrapper
/external/clang/lib/Parse/
H A DRAIIObjectsForParser.h344 PoisonSEHIdentifiersRAIIObject(Parser &Self, bool NewValue) argument
345 : Ident_AbnormalTermination(Self.Ident_AbnormalTermination, NewValue),
346 Ident_GetExceptionCode(Self.Ident_GetExceptionCode, NewValue),
347 Ident_GetExceptionInfo(Self.Ident_GetExceptionInfo, NewValue),
348 Ident__abnormal_termination(Self.Ident__abnormal_termination, NewValue),
349 Ident__exception_code(Self.Ident__exception_code, NewValue),
350 Ident__exception_info(Self.Ident__exception_info, NewValue),
351 Ident___abnormal_termination(Self.Ident___abnormal_termination, NewValue),
352 Ident___exception_code(Self.Ident___exception_code, NewValue),
353 Ident___exception_info(Self
[all...]
H A DParseCXXInlineMethods.cpp230 : Self(P), Class(C) {}
233 Self->DeallocateParsedClasses(Class);
237 Self->ParseLexedMethodDeclarations(*Class);
241 Self->ParseLexedMemberInitializers(*Class);
245 Self->ParseLexedMethodDefs(*Class);
249 Self->ParseLexedMethodDeclaration(*this);
253 Self->ParseLexedMethodDef(*this);
257 Self->ParseLexedMemberInitializer(*this);
859 explicit UnannotatedTentativeParsingAction(Parser &Self, argument
861 : TentativeParsingAction(Self), Sel
885 Parser &Self; member in class:Parser::UnannotatedTentativeParsingAction
[all...]
/external/clang/lib/AST/
H A DInheritViz.cpp138 QualType Self = Context.getTypeDeclType(this); local
143 sys::fs::createTemporaryFile(Self.getAsString(), "dot", FD, Filename);
154 Writer.WriteGraph(Self);
/external/clang/include/clang/AST/
H A DExternalASTSource.h482 LazyVector *Self; member in class:clang::LazyVector::iterator
507 iterator() : Self(0), Position(0) { }
509 iterator(LazyVector *Self, int Position) argument
510 : Self(Self), Position(Position) { }
514 return Self->Loaded.end()[Position];
515 return Self->Local[Position];
520 return &Self->Loaded.end()[Position];
522 return &Self->Local[Position];
/external/clang/include/clang/Lex/
H A DPreprocessingRecord.h383 PreprocessingRecord *Self; member in class:clang::PreprocessingRecord::iterator
406 iterator() : Self(nullptr), Position(0) { }
408 iterator(PreprocessingRecord *Self, int Position) argument
409 : Self(Self), Position(Position) { }
414 Self->LoadedPreprocessedEntities.size() + Position : Position;
415 PPEntityID ID = Self->getPPEntityID(Index, isLoaded);
416 return Self->getPreprocessedEntity(ID);
/external/clang/include/clang/Analysis/Analyses/
H A DThreadSafetyTraverse.h51 template <class Self, class R>
54 Self *self() { return static_cast<Self *>(this); }
152 template<class Self>
153 class CopyReducer : public Traversal<Self, CopyReducerBase>,
315 template <class Self>
316 class VisitReducer : public Traversal<Self, VisitReducerBase>,
410 Self Visitor;
420 template <typename Self>
423 Self *sel
[all...]
/external/chromium_org/v8/src/
H A Deffects.h136 template<class Self>
139 Self self;
142 template<class Self>
145 Self self;
148 template<class Self>
158 Self self;
/external/clang/include/clang/Parse/
H A DParser.h758 Parser *Self; member in class:clang::Parser::ParseScope
764 // parser Self where the new Scope is created with the flags
766 ParseScope(Parser *Self, unsigned ScopeFlags, bool EnteredScope = true, argument
768 : Self(Self) {
770 Self->EnterScope(ScopeFlags);
773 Self->incrementMSLocalManglingNumber();
775 this->Self = nullptr;
782 if (Self) {
783 Self
909 Parser *Self; member in class:clang::Parser::LateParsedClass
920 Parser *Self; member in struct:clang::Parser::LateParsedAttribute
950 Parser *Self; member in struct:clang::Parser::LexedMethod
995 Parser* Self; member in struct:clang::Parser::LateParsedMethodDeclaration
1026 Parser *Self; member in struct:clang::Parser::LateParsedMemberInitializer
[all...]
/external/clang/include/clang/Frontend/
H A DASTUnit.h463 ASTUnit &Self; member in class:clang::ASTUnit::ConcurrencyCheck
466 explicit ConcurrencyCheck(ASTUnit &Self) argument
467 : Self(Self)
469 Self.ConcurrencyCheckValue.start();
472 Self.ConcurrencyCheckValue.finish();
/external/chromium_org/ppapi/utility/
H A Dcompletion_callback_factory.h576 Self* self = static_cast<Self*>(user_data);
588 typedef CallbackData<Dispatcher> Self; typedef in class:pp::CompletionCallbackFactory::CallbackData
/external/clang/lib/CodeGen/
H A DCGObjCRuntime.h163 /// class initiated in a method for Class and with the given Self
175 llvm::Value *Self,

Completed in 993 milliseconds

12