Home
last modified time | relevance | path

Searched refs:TL (Results 1 – 25 of 200) sorted by relevance

12345678

/external/clang/tools/libclang/
DIndexTypeSourceInfo.cpp31 bool VisitTypedefTypeLoc(TypedefTypeLoc TL) { in VisitTypedefTypeLoc() argument
32 IndexCtx.handleReference(TL.getTypedefNameDecl(), TL.getNameLoc(), in VisitTypedefTypeLoc()
42 bool VisitTagTypeLoc(TagTypeLoc TL) { in VisitTagTypeLoc() argument
43 TagDecl *D = TL.getDecl(); in VisitTagTypeLoc()
47 if (TL.isDefinition()) { in VisitTagTypeLoc()
52 if (D->getLocation() == TL.getNameLoc()) in VisitTagTypeLoc()
55 IndexCtx.handleReference(D, TL.getNameLoc(), in VisitTagTypeLoc()
60 bool VisitObjCInterfaceTypeLoc(ObjCInterfaceTypeLoc TL) { in VisitObjCInterfaceTypeLoc() argument
61 IndexCtx.handleReference(TL.getIFaceDecl(), TL.getNameLoc(), in VisitObjCInterfaceTypeLoc()
66 bool VisitObjCObjectTypeLoc(ObjCObjectTypeLoc TL) { in VisitObjCObjectTypeLoc() argument
[all …]
DCIndex.cpp479 for (ASTUnit::top_level_iterator TL = CXXUnit->top_level_begin(), in VisitChildren() local
481 TL != TLEnd; ++TL) { in VisitChildren()
482 if (Visit(MakeCXCursor(*TL, tu, RegionOfInterest), true)) in VisitChildren()
633 TypeLoc TL = SpecType->getTypeLoc(); in VisitClassTemplateSpecializationDecl() local
635 = dyn_cast<TemplateSpecializationTypeLoc>(&TL)) { in VisitClassTemplateSpecializationDecl()
712 TypeLoc TL = TSInfo->getTypeLoc().IgnoreParens(); in VisitFunctionDecl() local
713 FunctionTypeLoc *FTL = dyn_cast<FunctionTypeLoc>(&TL); in VisitFunctionDecl()
719 (!FTL && Visit(TL))) in VisitFunctionDecl()
1334 bool CursorVisitor::VisitQualifiedTypeLoc(QualifiedTypeLoc TL) { in VisitQualifiedTypeLoc() argument
1335 return Visit(TL.getUnqualifiedLoc()); in VisitQualifiedTypeLoc()
[all …]
DCursorVisitor.h244 bool VisitTagTypeLoc(TagTypeLoc TL);
245 bool VisitArrayTypeLoc(ArrayTypeLoc TL);
246 bool VisitFunctionTypeLoc(FunctionTypeLoc TL, bool SkipResultType = false);
DIndexBody.cpp32 bool TraverseTypeLoc(TypeLoc TL) { in TraverseTypeLoc() argument
33 IndexCtx.indexTypeLoc(TL, Parent, ParentDC); in TraverseTypeLoc()
DIndexingContext.cpp163 TypeLoc TL; in getBaseLoc() local
165 TL = Base.getTypeSourceInfo()->getTypeLoc(); in getBaseLoc()
166 if (TL.isNull()) in getBaseLoc()
169 if (const QualifiedTypeLoc *QL = dyn_cast<QualifiedTypeLoc>(&TL)) in getBaseLoc()
170 TL = QL->getUnqualifiedLoc(); in getBaseLoc()
172 if (const ElaboratedTypeLoc *EL = dyn_cast<ElaboratedTypeLoc>(&TL)) in getBaseLoc()
174 if (const DependentNameTypeLoc *DL = dyn_cast<DependentNameTypeLoc>(&TL)) in getBaseLoc()
177 DTL = dyn_cast<DependentTemplateSpecializationTypeLoc>(&TL)) in getBaseLoc()
DIndexing.cpp470 for (ASTUnit::top_level_iterator TL = Unit.top_level_begin(), in indexTranslationUnit() local
472 TL != TLEnd; ++TL) { in indexTranslationUnit()
473 IdxCtx.indexTopLevelDecl(*TL); in indexTranslationUnit()
/external/clang/lib/AST/
DTypeLoc.cpp36 SourceRange TypeLoc::getLocalSourceRangeImpl(TypeLoc TL) { in getLocalSourceRangeImpl() argument
37 if (TL.isNull()) return SourceRange(); in getLocalSourceRangeImpl()
38 return TypeLocRanger().Visit(TL); in getLocalSourceRangeImpl()
73 TypeLoc TypeLoc::getNextTypeLocImpl(TypeLoc TL) { in getNextTypeLocImpl() argument
74 return NextLoc().Visit(TL); in getNextTypeLocImpl()
80 void TypeLoc::initializeImpl(ASTContext &Context, TypeLoc TL, in initializeImpl() argument
83 switch (TL.getTypeLocClass()) { in initializeImpl()
87 CLASS##TypeLoc TLCasted = cast<CLASS##TypeLoc>(TL); \ in initializeImpl()
89 TL = TLCasted.getNextTypeLoc(); \ in initializeImpl()
90 if (!TL) return; \ in initializeImpl()
[all …]
DNestedNameSpecifier.cpp377 TypeLoc TL(Qualifier->getAsType(), TypeData); in getLocalSourceRange() local
378 return SourceRange(TL.getBeginLoc(), in getLocalSourceRange()
501 TypeLoc TL, in Extend() argument
505 TL.getTypePtr()); in Extend()
508 SavePointer(TL.getOpaqueData(), Buffer, BufferSize, BufferCapacity); in Extend()
/external/clang/include/clang/AST/
DRecursiveASTVisitor.h176 bool TraverseTypeLoc(TypeLoc TL);
342 bool Traverse##CLASS##TypeLoc(CLASS##TypeLoc TL);
347 bool WalkUpFromTypeLoc(TypeLoc TL) { return getDerived().VisitTypeLoc(TL); } in WalkUpFromTypeLoc() argument
348 bool VisitTypeLoc(TypeLoc TL) { return true; } in VisitTypeLoc() argument
352 bool WalkUpFromQualifiedTypeLoc(QualifiedTypeLoc TL) { in WalkUpFromQualifiedTypeLoc() argument
353 return getDerived().VisitUnqualTypeLoc(TL.getUnqualifiedLoc()); in WalkUpFromQualifiedTypeLoc()
355 bool VisitQualifiedTypeLoc(QualifiedTypeLoc TL) { return true; } in VisitQualifiedTypeLoc() argument
356 bool WalkUpFromUnqualTypeLoc(UnqualTypeLoc TL) { in WalkUpFromUnqualTypeLoc() argument
357 return getDerived().VisitUnqualTypeLoc(TL.getUnqualifiedLoc()); in WalkUpFromUnqualTypeLoc()
359 bool VisitUnqualTypeLoc(UnqualTypeLoc TL) { return true; } in VisitUnqualTypeLoc() argument
[all …]
DTypeLoc.h162 static bool classof(const TypeLoc *TL) { return true; } in classof() argument
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) { in classof() argument
193 return !TL->getType().hasLocalQualifiers(); in classof()
195 static bool classof(const UnqualTypeLoc *TL) { return true; } in classof() argument
237 static bool classof(const TypeLoc *TL) { in classof() argument
238 return TL->getType().hasLocalQualifiers(); in classof()
[all …]
/external/clang/lib/ARCMigrate/
DTransGCAttrs.cpp40 bool VisitAttributedTypeLoc(AttributedTypeLoc TL) { in VisitAttributedTypeLoc() argument
41 handleAttr(TL); in VisitAttributedTypeLoc()
63 TypeLoc TL = TInfo->getTypeLoc(); in lookForAttribute() local
64 while (TL) { in lookForAttribute()
65 if (const QualifiedTypeLoc *QL = dyn_cast<QualifiedTypeLoc>(&TL)) { in lookForAttribute()
66 TL = QL->getUnqualifiedLoc(); in lookForAttribute()
68 Attr = dyn_cast<AttributedTypeLoc>(&TL)) { in lookForAttribute()
71 TL = Attr->getModifiedLoc(); in lookForAttribute()
72 } else if (const ArrayTypeLoc *Arr = dyn_cast<ArrayTypeLoc>(&TL)) { in lookForAttribute()
73 TL = Arr->getElementLoc(); in lookForAttribute()
[all …]
DTransAutoreleasePool.cpp266 bool VisitTypedefTypeLoc(TypedefTypeLoc TL) { in VisitTypedefTypeLoc() argument
267 return checkRef(TL.getBeginLoc(), TL.getTypedefNameDecl()->getLocation()); in VisitTypedefTypeLoc()
270 bool VisitTagTypeLoc(TagTypeLoc TL) { in VisitTagTypeLoc() argument
271 return checkRef(TL.getBeginLoc(), TL.getDecl()->getLocation()); in VisitTagTypeLoc()
/external/clang/lib/Sema/
DTreeTransform.h306 QualType TransformType(TypeLocBuilder &TLB, TypeLoc TL);
526 FunctionProtoTypeLoc TL,
535 TemplateSpecializationTypeLoc TL,
540 DependentTemplateSpecializationTypeLoc TL,
546 DependentTemplateSpecializationTypeLoc TL,
572 QualType TransformReferenceType(TypeLocBuilder &TLB, ReferenceTypeLoc TL);
2522 TypeLoc TransformTypeInObjectScope(TypeLoc TL,
2734 TypeLoc TL = TransformTypeInObjectScope(Q.getTypeLoc(), ObjectType, in TransformNestedNameSpecifierLoc() local
2737 if (!TL) in TransformNestedNameSpecifierLoc()
2740 if (TL.getType()->isDependentType() || TL.getType()->isRecordType() || in TransformNestedNameSpecifierLoc()
[all …]
DSemaType.cpp2831 static void fillAttributedTypeLoc(AttributedTypeLoc TL, in fillAttributedTypeLoc() argument
2833 AttributedType::Kind kind = TL.getAttrKind(); in fillAttributedTypeLoc()
2842 TL.setAttrNameLoc(attrs->getLoc()); in fillAttributedTypeLoc()
2843 if (TL.hasAttrExprOperand()) in fillAttributedTypeLoc()
2844 TL.setAttrExprOperand(attrs->getArg(0)); in fillAttributedTypeLoc()
2845 else if (TL.hasAttrEnumOperand()) in fillAttributedTypeLoc()
2846 TL.setAttrEnumOperandLoc(attrs->getParameterLoc()); in fillAttributedTypeLoc()
2849 if (TL.hasAttrOperand()) in fillAttributedTypeLoc()
2850 TL.setAttrOperandParensRange(SourceRange()); in fillAttributedTypeLoc()
2862 void VisitAttributedTypeLoc(AttributedTypeLoc TL) { in VisitAttributedTypeLoc() argument
[all …]
DSemaTemplateVariadic.cpp49 bool VisitTemplateTypeParmTypeLoc(TemplateTypeParmTypeLoc TL) { in VisitTemplateTypeParmTypeLoc() argument
50 if (TL.getTypePtr()->isParameterPack()) in VisitTemplateTypeParmTypeLoc()
51 Unexpanded.push_back(std::make_pair(TL.getTypePtr(), TL.getNameLoc())); in VisitTemplateTypeParmTypeLoc()
128 bool TraverseTypeLoc(TypeLoc TL) { in TraverseTypeLoc() argument
129 if (!TL.getType().isNull() && in TraverseTypeLoc()
130 TL.getType()->containsUnexpandedParameterPack()) in TraverseTypeLoc()
131 return inherited::TraverseTypeLoc(TL); in TraverseTypeLoc()
337 void Sema::collectUnexpandedParameterPacks(TypeLoc TL, in collectUnexpandedParameterPacks() argument
339 CollectUnexpandedParameterPacksVisitor(Unexpanded).TraverseTypeLoc(TL); in collectUnexpandedParameterPacks()
426 PackExpansionTypeLoc TL = cast<PackExpansionTypeLoc>(TSResult->getTypeLoc()); in CheckPackExpansion() local
[all …]
DSemaTemplateInstantiate.cpp823 FunctionProtoTypeLoc TL);
825 FunctionProtoTypeLoc TL,
837 TemplateTypeParmTypeLoc TL);
843 SubstTemplateTypeParmPackTypeLoc TL);
1245 FunctionProtoTypeLoc TL) { in TransformFunctionProtoType() argument
1248 return inherited::TransformFunctionProtoType(TLB, TL); in TransformFunctionProtoType()
1252 FunctionProtoTypeLoc TL, in TransformFunctionProtoType() argument
1257 return inherited::TransformFunctionProtoType(TLB, TL, ThisContext, in TransformFunctionProtoType()
1272 TemplateTypeParmTypeLoc TL) { in TransformTemplateTypeParmType() argument
1273 const TemplateTypeParmType *T = TL.getTypePtr(); in TransformTemplateTypeParmType()
[all …]
DSemaCXXScopeSpec.cpp620 SubstTemplateTypeParmTypeLoc TL in BuildCXXNestedNameSpecifier() local
622 TL.setNameLoc(IdentifierLoc); in BuildCXXNestedNameSpecifier()
624 SubstTemplateTypeParmPackTypeLoc TL in BuildCXXNestedNameSpecifier() local
626 TL.setNameLoc(IdentifierLoc); in BuildCXXNestedNameSpecifier()
DSemaDeclCXX.cpp768 TypeLoc TL = TN->getTypeSourceInfo()->getTypeLoc(); in CheckConstexprDeclStmt() local
769 SemaRef.Diag(TL.getBeginLoc(), diag::err_constexpr_vla) in CheckConstexprDeclStmt()
770 << TL.getSourceRange() << TL.getType() in CheckConstexprDeclStmt()
3510 void CheckType(const NamedDecl *D, TypeLoc TL, Sema::AbstractDiagSelID Sel);
3520 void Visit(TypeLoc TL, Sema::AbstractDiagSelID Sel) { in Visit()
3521 switch (TL.getTypeLocClass()) { in Visit()
3524 case TypeLoc::CLASS: Check(cast<CLASS##TypeLoc>(TL), Sel); break; in Visit()
3529 void Check(FunctionProtoTypeLoc TL, Sema::AbstractDiagSelID Sel) { in Check()
3530 Visit(TL.getResultLoc(), Sema::AbstractReturnType); in Check()
3531 for (unsigned I = 0, E = TL.getNumArgs(); I != E; ++I) { in Check()
[all …]
/external/clang/lib/Serialization/
DASTWriter.cpp420 void TypeLocWriter::VisitQualifiedTypeLoc(QualifiedTypeLoc TL) { in VisitQualifiedTypeLoc() argument
423 void TypeLocWriter::VisitBuiltinTypeLoc(BuiltinTypeLoc TL) { in VisitBuiltinTypeLoc() argument
424 Writer.AddSourceLocation(TL.getBuiltinLoc(), Record); in VisitBuiltinTypeLoc()
425 if (TL.needsExtraLocalData()) { in VisitBuiltinTypeLoc()
426 Record.push_back(TL.getWrittenTypeSpec()); in VisitBuiltinTypeLoc()
427 Record.push_back(TL.getWrittenSignSpec()); in VisitBuiltinTypeLoc()
428 Record.push_back(TL.getWrittenWidthSpec()); in VisitBuiltinTypeLoc()
429 Record.push_back(TL.hasModeAttr()); in VisitBuiltinTypeLoc()
432 void TypeLocWriter::VisitComplexTypeLoc(ComplexTypeLoc TL) { in VisitComplexTypeLoc() argument
433 Writer.AddSourceLocation(TL.getNameLoc(), Record); in VisitComplexTypeLoc()
[all …]
DASTReader.cpp4156 void TypeLocReader::VisitQualifiedTypeLoc(QualifiedTypeLoc TL) { in VisitQualifiedTypeLoc() argument
4159 void TypeLocReader::VisitBuiltinTypeLoc(BuiltinTypeLoc TL) { in VisitBuiltinTypeLoc() argument
4160 TL.setBuiltinLoc(ReadSourceLocation(Record, Idx)); in VisitBuiltinTypeLoc()
4161 if (TL.needsExtraLocalData()) { in VisitBuiltinTypeLoc()
4162 TL.setWrittenTypeSpec(static_cast<DeclSpec::TST>(Record[Idx++])); in VisitBuiltinTypeLoc()
4163 TL.setWrittenSignSpec(static_cast<DeclSpec::TSS>(Record[Idx++])); in VisitBuiltinTypeLoc()
4164 TL.setWrittenWidthSpec(static_cast<DeclSpec::TSW>(Record[Idx++])); in VisitBuiltinTypeLoc()
4165 TL.setModeAttr(Record[Idx++]); in VisitBuiltinTypeLoc()
4168 void TypeLocReader::VisitComplexTypeLoc(ComplexTypeLoc TL) { in VisitComplexTypeLoc() argument
4169 TL.setNameLoc(ReadSourceLocation(Record, Idx)); in VisitComplexTypeLoc()
[all …]
/external/skia/samplecode/
DSamplePatch.cpp93 const int TL = 0; in eval_sheet() local
106 SkScalar x0 = SkScalarMul(UV, edge[TL].fX) + SkScalarMul(uV, edge[TR].fX) + in eval_sheet()
108 SkScalar y0 = SkScalarMul(UV, edge[TL].fY) + SkScalarMul(uV, edge[TR].fY) + in eval_sheet()
111 SkScalar x = SkScalarMul(SK_Scalar1 - v, edge[TL+iu].fX) + in eval_sheet()
115 SkScalar y = SkScalarMul(SK_Scalar1 - v, edge[TL+iu].fY) + in eval_sheet()
/external/icu4c/data/misc/
Dmetadata.txt291 "TL",
513 626{"TL"}
837 TLS{"TL"}
838 TMP{"TL"}
840 TP{"TL"}
/external/icu4c/data/region/
Dmy.txt201 TL{"အရှေ့တီမော"}
Dkm.txt172 TL{"ទីម័រខាងកើត"}
Dvai.txt212 TL{"ꔎꔒ ꗃ ꔳꗞꖻ"}

12345678