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

12

/external/skia/src/gpu/glsl/
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.h130 template <typename Self>
138 return Self::ZerosStr();
140 return Self::OnesStr();
168 fExpr.appendf(Self::CastIntStr(), v);
213 static Self VectorCastImpl(const T& other);
224 static Self Mul(T0 in0, T1 in1);
231 static Self Add(T0 in0, T1 in1);
238 static Self Sub(T0 in0, T1 in1);
/external/google-benchmark/src/
H A Dstat.h33 typedef Stat1<VType, NumType> Self; typedef in class:benchmark::Stat1
57 Stat1(const Self &stat) {
68 Self &operator=(const Self &stat) {
75 Self &operator+=(const Self &stat) {
82 Self &operator-=(const Self &stat) {
89 Self &operator*=(const VType &k) {
97 Self operato
213 typedef Stat1MinMax<VType, NumType> Self; typedef in class:benchmark::Stat1MinMax
[all...]
/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/clang/lib/Sema/
H A DSemaCast.cpp51 : Self(S), SrcExpr(src), DestType(destType),
64 Sema &Self; member in struct:__anon1474::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());
156 static TryCastResult TryLValueToRValueCast(Sema &Self, Expr *SrcExpr,
161 static TryCastResult TryStaticReferenceDowncast(Sema &Self, Exp
486 CastsAwayConstness(Sema &Self, QualType SrcType, QualType DestType, bool CheckCVR, bool CheckObjCLifetime, QualType *TheOffendingSrcType = nullptr, QualType *TheOffendingDestType = nullptr, Qualifiers *CastAwayQualifiers = nullptr) argument
745 DiagnoseReinterpretUpDownCast(Sema &Self, const Expr *SrcExpr, QualType DestType, SourceRange OpRange) argument
944 TryStaticCast(Sema &Self, ExprResult &SrcExpr, QualType DestType, Sema::CheckedConversionKind CCK, SourceRange OpRange, unsigned &msg, CastKind &Kind, CXXCastPath &BasePath, bool ListInitialization) argument
1134 TryLValueToRValueCast(Sema &Self, Expr *SrcExpr, QualType DestType, bool CStyle, CastKind &Kind, CXXCastPath &BasePath, unsigned &msg) argument
1188 TryStaticReferenceDowncast(Sema &Self, Expr *SrcExpr, QualType DestType, bool CStyle, SourceRange OpRange, unsigned &msg, CastKind &Kind, CXXCastPath &BasePath) argument
1226 TryStaticPointerDowncast(Sema &Self, QualType SrcType, QualType DestType, bool CStyle, SourceRange OpRange, unsigned &msg, CastKind &Kind, CXXCastPath &BasePath) argument
1260 TryStaticDowncast(Sema &Self, CanQualType SrcType, CanQualType DestType, bool CStyle, SourceRange OpRange, QualType OrigSrcType, QualType OrigDestType, unsigned &msg, CastKind &Kind, CXXCastPath &BasePath) argument
1375 TryStaticMemberPointerUpcast(Sema &Self, ExprResult &SrcExpr, QualType SrcType, QualType DestType, bool CStyle, SourceRange OpRange, unsigned &msg, CastKind &Kind, CXXCastPath &BasePath) argument
1491 TryStaticImplicitCast(Sema &Self, ExprResult &SrcExpr, QualType DestType, Sema::CheckedConversionKind CCK, SourceRange OpRange, unsigned &msg, CastKind &Kind, bool ListInitialization) argument
1543 TryConstCast(Sema &Self, ExprResult &SrcExpr, QualType DestType, bool CStyle, unsigned &msg) argument
1710 DiagnoseCastOfObjCSEL(Sema &Self, const ExprResult &SrcExpr, QualType DestType) argument
1727 checkIntToPointerCast(bool CStyle, SourceLocation Loc, const Expr *SrcExpr, QualType DestType, Sema &Self) argument
1753 TryReinterpretCast(Sema &Self, ExprResult &SrcExpr, QualType DestType, bool CStyle, SourceRange OpRange, unsigned &msg, CastKind &Kind) argument
2185 DiagnoseBadFunctionCast(Sema &Self, const ExprResult &SrcExpr, QualType DestType) argument
[all...]
H A DSemaExprCXX.cpp3630 Sema &Self, SourceLocation KeyLoc, ASTContext &C,
3641 LookupResult Res(Self, NameInfo, Sema::LookupOrdinaryName);
3642 if (Self.LookupQualifiedName(Res, RD)) {
3655 CPT = Self.ResolveExceptionSpec(KeyLoc, CPT);
3665 static bool EvaluateUnaryTypeTrait(Sema &Self, TypeTrait UTT, argument
3669 ASTContext &C = Self.Context;
3878 CXXDestructorDecl *Destructor = Self.LookupDestructor(RD);
3891 CPT = Self.ResolveExceptionSpec(KeyLoc, CPT);
3933 return HasNoThrowOperator(RT, OO_Equal, Self, KeyLoc, C,
3946 return HasNoThrowOperator(RT, OO_Equal, Self, KeyLo
3629 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
4220 EvaluateBinaryTypeTrait(Sema &Self, TypeTrait BTT, QualType LhsT, QualType RhsT, SourceLocation KeyLoc) argument
4405 EvaluateArrayTypeTrait(Sema &Self, ArrayTypeTrait ATT, QualType T, Expr *DimExpr, SourceLocation KeyLoc) argument
4669 TryClassUnification(Sema &Self, Expr *From, Expr *To, SourceLocation QuestionLoc, bool &HaveConversion, QualType &ToType) argument
4758 FindConditionalOverload(Sema &Self, ExprResult &LHS, ExprResult &RHS, SourceLocation QuestionLoc) argument
4817 ConvertForConditional(Sema &Self, ExprResult &E, QualType T) 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());
120 std::unique(Self.Rep.begin(), Self.Rep.end(),
131 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.h90 typedef RNSuccIterator<NodeType, BlockT, RegionT> Self; typedef in class:llvm::RNSuccIterator
113 inline bool operator==(const Self& x) const {
121 inline bool operator!=(const Self& x) const { return !operator==(x); }
129 inline Self& operator++() {
143 inline Self operator++(int) {
144 Self tmp = *this;
168 typedef RNSuccIterator<FlatIt<NodeType>, BlockT, RegionT> Self; typedef in class:llvm::RNSuccIterator
196 inline bool operator==(const Self& x) const {
203 inline bool operator!=(const Self& x) const { return !operator==(x); }
218 inline Self
[all...]
/external/clang/lib/Parse/
H A DRAIIObjectsForParser.h350 PoisonSEHIdentifiersRAIIObject(Parser &Self, bool NewValue) argument
351 : Ident_AbnormalTermination(Self.Ident_AbnormalTermination, NewValue),
352 Ident_GetExceptionCode(Self.Ident_GetExceptionCode, NewValue),
353 Ident_GetExceptionInfo(Self.Ident_GetExceptionInfo, NewValue),
354 Ident__abnormal_termination(Self.Ident__abnormal_termination, NewValue),
355 Ident__exception_code(Self.Ident__exception_code, NewValue),
356 Ident__exception_info(Self.Ident__exception_info, NewValue),
357 Ident___abnormal_termination(Self.Ident___abnormal_termination, NewValue),
358 Ident___exception_code(Self.Ident___exception_code, NewValue),
359 Ident___exception_info(Self
[all...]
H A DParseCXXInlineMethods.cpp233 : Self(P), Class(C) {}
236 Self->DeallocateParsedClasses(Class);
240 Self->ParseLexedMethodDeclarations(*Class);
244 Self->ParseLexedMemberInitializers(*Class);
248 Self->ParseLexedMethodDefs(*Class);
252 Self->ParseLexedMethodDeclaration(*this);
256 Self->ParseLexedMethodDef(*this);
260 Self->ParseLexedMemberInitializer(*this);
958 explicit UnannotatedTentativeParsingAction(Parser &Self, argument
960 : TentativeParsingAction(Self), Sel
984 Parser &Self; member in class:Parser::UnannotatedTentativeParsingAction
[all...]
/external/clang/lib/CodeGen/
H A DModuleBuilder.cpp40 CodeGeneratorImpl &Self; member in struct:__anon1345::CodeGeneratorImpl::HandlingTopLevelDeclRAII
41 HandlingTopLevelDeclRAII(CodeGeneratorImpl &Self) : Self(Self) { argument
42 ++Self.HandlingTopLevelDecls;
45 if (--Self.HandlingTopLevelDecls == 0)
46 Self.EmitDeferredDecls();
H A DCGObjCRuntime.h172 /// class initiated in a method for Class and with the given Self
184 llvm::Value *Self,
/external/clang/lib/AST/
H A DInheritViz.cpp138 QualType Self = Context.getTypeDeclType(this); local
143 Self.getAsString(), "dot", FD, Filename)) {
153 Writer.WriteGraph(Self);
/external/llvm/include/llvm/IR/
H A DCFG.h34 typedef PredIterator<Ptr, USE_iterator> Self; typedef in class:llvm::PredIterator
53 inline bool operator==(const Self& x) const { return It == x.It; }
54 inline bool operator!=(const Self& x) const { return !operator==(x); }
62 inline Self& operator++() { // Preincrement
68 inline Self operator++(int) { // Postincrement
69 Self tmp = *this; ++*this; return tmp;
H A DInstrTypes.h113 typedef SuccIterator<Term, BB> Self; typedef in class:llvm::TerminatorInst::SuccIterator
121 Self it;
124 explicit SuccessorProxy(const Self &it) : it(it) {}
162 inline bool operator==(const Self &x) const { return idx == x.idx; }
163 inline bool operator!=(const Self &x) const { return !operator==(x); }
168 inline Self &operator++() {
173 inline Self operator++(int) { // Postincrement
174 Self tmp = *this;
179 inline Self &operator--() {
183 inline Self operato
[all...]
/external/clang/include/clang/Lex/
H A DPreprocessingRecord.h401 PreprocessingRecord *Self; member in class:clang::PreprocessingRecord::iterator
403 iterator(PreprocessingRecord *Self, int Position) argument
404 : iterator::iterator_adaptor_base(Position), Self(Self) {}
413 Self->LoadedPreprocessedEntities.size() + this->I : this->I;
414 PPEntityID ID = Self->getPPEntityID(Index, isLoaded);
415 return Self->getPreprocessedEntity(ID);
/external/llvm/lib/Target/Hexagon/
H A DBitTracker.h117 // Self <= x, where "Self" is "ref to itself".
121 // Since we do not store the "Self" bit and register number, the meet
178 bool meet(const BitValue &V, const BitRef &Self) { argument
180 if (Type == Ref && RefI == Self) // Bottom.meet(V) = Bottom (i.e. This)
189 // become "bottom" (i.e. Self).
197 RefI = Self;
204 static BitValue self(const BitRef &Self = BitRef());
230 BitTracker::BitValue::self(const BitRef &Self) { argument
231 return BitValue(Self
[all...]
/external/clang/include/clang/AST/
H A DExternalASTSource.h508 LazyVector *Self; member in class:clang::LazyVector::iterator
510 iterator(LazyVector *Self, int Position) argument
511 : iterator::iterator_adaptor_base(Position), Self(Self) {}
521 return Self->Loaded.end()[this->I];
522 return Self->Local.begin()[this->I];
/external/v8/src/
H A Deffects.h134 template<class Self>
137 Self self;
140 template<class Self>
143 Self self;
146 template<class Self>
156 Self self;
/external/clang/include/clang/Analysis/Analyses/
H A DThreadSafetyTraverse.h52 template <class Self, class R>
55 Self *self() { return static_cast<Self *>(this); }
175 template <class Self>
176 class VisitReducer : public Traversal<Self, VisitReducerBase>,
273 Self Visitor;
283 template <typename Self>
286 Self *self() { return reinterpret_cast<Self *>(this); }
383 template <typename Self, typenam
[all...]
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/integration/mws/
H A Dtest.py72 self.assertEqual(len(response._result.Self), 3)
73 categoryids = [x.ProductCategoryId for x in response._result.Self]
/external/clang/include/clang/Frontend/
H A DASTUnit.h478 ASTUnit &Self; member in class:clang::ASTUnit::ConcurrencyCheck
481 explicit ConcurrencyCheck(ASTUnit &Self) argument
482 : Self(Self)
484 Self.ConcurrencyCheckValue.start();
487 Self.ConcurrencyCheckValue.finish();
/external/clang/include/clang/Parse/
H A DParser.h769 Parser *Self; member in class:clang::Parser::ParseScope
775 // parser Self where the new Scope is created with the flags
777 ParseScope(Parser *Self, unsigned ScopeFlags, bool EnteredScope = true, argument
779 : Self(Self) {
781 Self->EnterScope(ScopeFlags);
784 Self->incrementMSManglingNumber();
786 this->Self = nullptr;
793 if (Self) {
794 Self
920 Parser *Self; member in class:clang::Parser::LateParsedClass
931 Parser *Self; member in struct:clang::Parser::LateParsedAttribute
961 Parser *Self; member in struct:clang::Parser::LexedMethod
1006 Parser* Self; member in struct:clang::Parser::LateParsedMethodDeclaration
1037 Parser *Self; member in struct:clang::Parser::LateParsedMemberInitializer
[all...]
/external/clang/include/clang/ASTMatchers/
H A DASTMatchersInternal.h1504 ReturnTypesF> Self; typedef in class:clang::ast_matchers::internal::TypeTraversePolymorphicMatcher
1505 static Self create(ArrayRef<const Matcher<InnerTBase> *> InnerMatchers);
1519 struct Func : public llvm::VariadicFunction<Self, Matcher<InnerTBase>,
1520 &Self::create> {
1554 return Self(InnerMatchers);

Completed in 511 milliseconds

12