/external/clang/tools/libclang/ |
IndexTypeSourceInfo.cpp | 31 bool VisitTypedefTypeLoc(TypedefTypeLoc TL) { 32 IndexCtx.handleReference(TL.getTypedefNameDecl(), TL.getNameLoc(), 42 bool VisitTagTypeLoc(TagTypeLoc TL) { 43 TagDecl *D = TL.getDecl(); 47 if (TL.isDefinition()) { 52 if (D->getLocation() == TL.getNameLoc()) 55 IndexCtx.handleReference(D, TL.getNameLoc(), 60 bool VisitObjCInterfaceTypeLoc(ObjCInterfaceTypeLoc TL) { 61 IndexCtx.handleReference(TL.getIFaceDecl(), TL.getNameLoc() [all...] |
RecursiveASTVisitor.h | 174 bool TraverseTypeLoc(TypeLoc TL); 342 bool Traverse##CLASS##TypeLoc(CLASS##TypeLoc TL); 347 bool WalkUpFromTypeLoc(TypeLoc TL) { return getDerived().VisitTypeLoc(TL); } 348 bool VisitTypeLoc(TypeLoc TL) { return true; } 352 bool WalkUpFromQualifiedTypeLoc(QualifiedTypeLoc TL) { 353 return getDerived().VisitUnqualTypeLoc(TL.getUnqualifiedLoc()); 355 bool VisitQualifiedTypeLoc(QualifiedTypeLoc TL) { return true; } 356 bool WalkUpFromUnqualTypeLoc(UnqualTypeLoc TL) { 357 return getDerived().VisitUnqualTypeLoc(TL.getUnqualifiedLoc()) [all...] |
CIndex.cpp | 486 for (ASTUnit::top_level_iterator TL = CXXUnit->top_level_begin(), 488 TL != TLEnd; ++TL) { 489 if (Visit(MakeCXCursor(*TL, tu, RegionOfInterest), true)) 650 TypeLoc TL = SpecType->getTypeLoc(); 652 = dyn_cast<TemplateSpecializationTypeLoc>(&TL)) { 729 TypeLoc TL = TSInfo->getTypeLoc().IgnoreParens(); 730 FunctionTypeLoc *FTL = dyn_cast<FunctionTypeLoc>(&TL); 736 (!FTL && Visit(TL))) [all...] |
IndexBody.cpp | 32 bool TraverseTypeLoc(TypeLoc TL) { 33 IndexCtx.indexTypeLoc(TL, Parent, ParentDC);
|
CursorVisitor.h | 255 bool VisitTagTypeLoc(TagTypeLoc TL); 256 bool VisitArrayTypeLoc(ArrayTypeLoc TL); 257 bool VisitFunctionTypeLoc(FunctionTypeLoc TL, bool SkipResultType = false);
|
Indexing.cpp | 472 for (ASTUnit::top_level_iterator TL = Unit.top_level_begin(), 474 TL != TLEnd; ++TL) { 475 IdxCtx.indexTopLevelDecl(*TL);
|
IndexingContext.cpp | 163 TypeLoc TL; 165 TL = Base.getTypeSourceInfo()->getTypeLoc(); 166 if (TL.isNull()) 169 if (const QualifiedTypeLoc *QL = dyn_cast<QualifiedTypeLoc>(&TL)) 170 TL = QL->getUnqualifiedLoc(); 172 if (const ElaboratedTypeLoc *EL = dyn_cast<ElaboratedTypeLoc>(&TL)) 174 if (const DependentNameTypeLoc *DL = dyn_cast<DependentNameTypeLoc>(&TL)) 177 DTL = dyn_cast<DependentTemplateSpecializationTypeLoc>(&TL)) [all...] |
/external/clang/lib/AST/ |
TypeLoc.cpp | 37 SourceRange TypeLoc::getLocalSourceRangeImpl(TypeLoc TL) { 38 if (TL.isNull()) return SourceRange(); 39 return TypeLocRanger().Visit(TL); 74 TypeLoc TypeLoc::getNextTypeLocImpl(TypeLoc TL) { 75 return NextLoc().Visit(TL); 81 void TypeLoc::initializeImpl(ASTContext &Context, TypeLoc TL, 84 switch (TL.getTypeLocClass()) { 88 CLASS##TypeLoc TLCasted = cast<CLASS##TypeLoc>(TL); \ 90 TL = TLCasted.getNextTypeLoc(); \ 91 if (!TL) return; [all...] |
Comment.cpp | 253 TypeLoc TL = TSI->getTypeLoc().getUnqualifiedLoc(); 255 TL = TL.IgnoreParens(); 257 if (TypedefTypeLoc *TypedefTL = dyn_cast<TypedefTypeLoc>(&TL)) { 261 TL = TSI->getTypeLoc().getUnqualifiedLoc(); 265 if (QualifiedTypeLoc *QualifiedTL = dyn_cast<QualifiedTypeLoc>(&TL)) { 266 TL = QualifiedTL->getUnqualifiedLoc(); 270 if (PointerTypeLoc *PointerTL = dyn_cast<PointerTypeLoc>(&TL)) { 271 TL = PointerTL->getPointeeLoc().getUnqualifiedLoc(); 275 dyn_cast<BlockPointerTypeLoc>(&TL)) { [all...] |
NestedNameSpecifier.cpp | 381 TypeLoc TL(Qualifier->getAsType(), TypeData); 382 return SourceRange(TL.getBeginLoc(), 505 TypeLoc TL, 509 TL.getTypePtr()); 512 SavePointer(TL.getOpaqueData(), Buffer, BufferSize, BufferCapacity);
|
/external/clang/lib/ARCMigrate/ |
TransGCAttrs.cpp | 41 bool VisitAttributedTypeLoc(AttributedTypeLoc TL) { 42 handleAttr(TL); 64 TypeLoc TL = TInfo->getTypeLoc(); 65 while (TL) { 66 if (const QualifiedTypeLoc *QL = dyn_cast<QualifiedTypeLoc>(&TL)) { 67 TL = QL->getUnqualifiedLoc(); 69 Attr = dyn_cast<AttributedTypeLoc>(&TL)) { 72 TL = Attr->getModifiedLoc(); 73 } else if (const ArrayTypeLoc *Arr = dyn_cast<ArrayTypeLoc>(&TL)) { 74 TL = Arr->getElementLoc() [all...] |
TransAutoreleasePool.cpp | 267 bool VisitTypedefTypeLoc(TypedefTypeLoc TL) { 268 return checkRef(TL.getBeginLoc(), TL.getTypedefNameDecl()->getLocation()); 271 bool VisitTagTypeLoc(TagTypeLoc TL) { 272 return checkRef(TL.getBeginLoc(), TL.getDecl()->getLocation());
|
/external/clang/include/clang/AST/ |
RecursiveASTVisitor.h | 181 bool TraverseTypeLoc(TypeLoc TL); 347 bool Traverse##CLASS##TypeLoc(CLASS##TypeLoc TL); 352 bool WalkUpFromTypeLoc(TypeLoc TL) { return getDerived().VisitTypeLoc(TL); } 353 bool VisitTypeLoc(TypeLoc TL) { return true; } 357 bool WalkUpFromQualifiedTypeLoc(QualifiedTypeLoc TL) { 358 return getDerived().VisitUnqualTypeLoc(TL.getUnqualifiedLoc()); 360 bool VisitQualifiedTypeLoc(QualifiedTypeLoc TL) { return true; } 361 bool WalkUpFromUnqualTypeLoc(UnqualTypeLoc TL) { 362 return getDerived().VisitUnqualTypeLoc(TL.getUnqualifiedLoc()) [all...] |
TypeLoc.h | 162 static bool classof(const TypeLoc *TL) { return true; } 165 static void initializeImpl(ASTContext &Context, TypeLoc TL, 167 static TypeLoc getNextTypeLocImpl(TypeLoc TL); 168 static TypeLoc IgnoreParensImpl(TypeLoc TL); 169 static SourceRange getLocalSourceRangeImpl(TypeLoc TL); 192 static bool classof(const TypeLoc *TL) { 193 return !TL->getType().hasLocalQualifiers(); 195 static bool classof(const UnqualTypeLoc *TL) { return true; } 237 static bool classof(const TypeLoc *TL) { 238 return TL->getType().hasLocalQualifiers() [all...] |
/frameworks/native/services/sensorservice/ |
traits.h | 42 namespace TL { 63 }; // namespace TL 104 enum { isStdUnsignedInt = TL::IndexOf<UnsignedInts, T>::value >= 0 }; 105 enum { isStdSignedInt = TL::IndexOf<SignedInts, T>::value >= 0 }; 106 enum { isStdIntegral = TL::IndexOf<OtherInts, T>::value >= 0 || isStdUnsignedInt || isStdSignedInt }; 107 enum { isStdFloat = TL::IndexOf<Floats, T>::value >= 0 };
|
/external/clang/lib/Sema/ |
TreeTransform.h | 303 QualType TransformType(TypeLocBuilder &TLB, TypeLoc TL); 523 FunctionProtoTypeLoc TL, 532 TemplateSpecializationTypeLoc TL, 537 DependentTemplateSpecializationTypeLoc TL, 543 DependentTemplateSpecializationTypeLoc TL, 569 QualType TransformReferenceType(TypeLocBuilder &TLB, ReferenceTypeLoc TL); [all...] |
SemaType.cpp | [all...] |
SemaTemplateInstantiate.cpp | [all...] |
SemaTemplateVariadic.cpp | 52 bool VisitTemplateTypeParmTypeLoc(TemplateTypeParmTypeLoc TL) { 53 if (TL.getTypePtr()->isParameterPack()) 54 Unexpanded.push_back(std::make_pair(TL.getTypePtr(), TL.getNameLoc())); 131 bool TraverseTypeLoc(TypeLoc TL) { 132 if ((!TL.getType().isNull() && 133 TL.getType()->containsUnexpandedParameterPack()) || 135 return inherited::TraverseTypeLoc(TL); 376 void Sema::collectUnexpandedParameterPacks(TypeLoc TL, 378 CollectUnexpandedParameterPacksVisitor(Unexpanded).TraverseTypeLoc(TL); [all...] |
SemaDeclCXX.cpp | 782 TypeLoc TL = TN->getTypeSourceInfo()->getTypeLoc(); 783 SemaRef.Diag(TL.getBeginLoc(), diag::err_constexpr_vla) 784 << TL.getSourceRange() << TL.getType() [all...] |
/external/clang/lib/Serialization/ |
ASTWriter.cpp | 425 void TypeLocWriter::VisitQualifiedTypeLoc(QualifiedTypeLoc TL) { 428 void TypeLocWriter::VisitBuiltinTypeLoc(BuiltinTypeLoc TL) { 429 Writer.AddSourceLocation(TL.getBuiltinLoc(), Record); 430 if (TL.needsExtraLocalData()) { 431 Record.push_back(TL.getWrittenTypeSpec()); 432 Record.push_back(TL.getWrittenSignSpec()); 433 Record.push_back(TL.getWrittenWidthSpec()); 434 Record.push_back(TL.hasModeAttr()); 437 void TypeLocWriter::VisitComplexTypeLoc(ComplexTypeLoc TL) { 438 Writer.AddSourceLocation(TL.getNameLoc(), Record) [all...] |
ASTReader.cpp | [all...] |
/external/skia/samplecode/ |
SamplePatch.cpp | 93 const int TL = 0; 106 SkScalar x0 = SkScalarMul(UV, edge[TL].fX) + SkScalarMul(uV, edge[TR].fX) + 108 SkScalar y0 = SkScalarMul(UV, edge[TL].fY) + SkScalarMul(uV, edge[TR].fY) + 111 SkScalar x = SkScalarMul(SK_Scalar1 - v, edge[TL+iu].fX) + 115 SkScalar y = SkScalarMul(SK_Scalar1 - v, edge[TL+iu].fY) +
|
/libcore/luni/src/test/java/libcore/java/util/ |
EnumSetTest.java | 105 HF, TA, W, RE, OS, IR, PT, AU, HG, TL, PB, BI, PO, AT, RN, FR, RA, AC, TH, PA, U, NP, PU,
|
/frameworks/native/services/surfaceflinger/ |
DisplayDevice.cpp | 377 Transform TL, TP, R, S; 418 TL.set(-src_x, -src_y); 424 mGlobalTransform = R * TP * S * TL;
|