Home
last modified time | relevance | path

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

1234567891011

/external/clang/tools/libclang/
DIndexTypeSourceInfo.cpp30 bool VisitTypedefTypeLoc(TypedefTypeLoc TL) { in VisitTypedefTypeLoc() argument
31 IndexCtx.handleReference(TL.getTypedefNameDecl(), TL.getNameLoc(), in VisitTypedefTypeLoc()
41 bool VisitTagTypeLoc(TagTypeLoc TL) { in VisitTagTypeLoc() argument
42 TagDecl *D = TL.getDecl(); in VisitTagTypeLoc()
46 if (TL.isDefinition()) { in VisitTagTypeLoc()
51 if (D->getLocation() == TL.getNameLoc()) in VisitTagTypeLoc()
54 IndexCtx.handleReference(D, TL.getNameLoc(), in VisitTagTypeLoc()
59 bool VisitObjCInterfaceTypeLoc(ObjCInterfaceTypeLoc TL) { in VisitObjCInterfaceTypeLoc() argument
60 IndexCtx.handleReference(TL.getIFaceDecl(), TL.getNameLoc(), in VisitObjCInterfaceTypeLoc()
65 bool VisitObjCObjectTypeLoc(ObjCObjectTypeLoc TL) { in VisitObjCObjectTypeLoc() argument
[all …]
DCIndex.cpp525 for (ASTUnit::top_level_iterator TL = CXXUnit->top_level_begin(), in VisitChildren() local
527 TL != TLEnd; ++TL) { in VisitChildren()
528 if (Visit(MakeCXCursor(*TL, TU, RegionOfInterest), true)) in VisitChildren()
704 TypeLoc TL = SpecType->getTypeLoc(); in VisitClassTemplateSpecializationDecl() local
706 TL.getAs<TemplateSpecializationTypeLoc>()) { in VisitClassTemplateSpecializationDecl()
789 TypeLoc TL = TSInfo->getTypeLoc().IgnoreParens(); in VisitFunctionDecl() local
790 FunctionTypeLoc FTL = TL.getAs<FunctionTypeLoc>(); in VisitFunctionDecl()
796 (!FTL && Visit(TL))) in VisitFunctionDecl()
1406 bool CursorVisitor::VisitQualifiedTypeLoc(QualifiedTypeLoc TL) { in VisitQualifiedTypeLoc() argument
1407 return Visit(TL.getUnqualifiedLoc()); in VisitQualifiedTypeLoc()
[all …]
DCursorVisitor.h255 bool VisitTagTypeLoc(TagTypeLoc TL);
256 bool VisitArrayTypeLoc(ArrayTypeLoc TL);
257 bool VisitFunctionTypeLoc(FunctionTypeLoc TL, bool SkipResultType = false);
/external/clang/lib/AST/
DComment.cpp238 TypeLoc TL = TSI->getTypeLoc().getUnqualifiedLoc(); in fill() local
240 TL = TL.IgnoreParens(); in fill()
242 if (QualifiedTypeLoc QualifiedTL = TL.getAs<QualifiedTypeLoc>()) { in fill()
243 TL = QualifiedTL.getUnqualifiedLoc(); in fill()
247 if (PointerTypeLoc PointerTL = TL.getAs<PointerTypeLoc>()) { in fill()
248 TL = PointerTL.getPointeeLoc().getUnqualifiedLoc(); in fill()
252 if (ReferenceTypeLoc ReferenceTL = TL.getAs<ReferenceTypeLoc>()) { in fill()
253 TL = ReferenceTL.getPointeeLoc().getUnqualifiedLoc(); in fill()
257 if (AdjustedTypeLoc ATL = TL.getAs<AdjustedTypeLoc>()) { in fill()
258 TL = ATL.getOriginalLoc(); in fill()
[all …]
DTypeLoc.cpp38 SourceRange TypeLoc::getLocalSourceRangeImpl(TypeLoc TL) { in getLocalSourceRangeImpl() argument
39 if (TL.isNull()) return SourceRange(); in getLocalSourceRangeImpl()
40 return TypeLocRanger().Visit(TL); in getLocalSourceRangeImpl()
103 TypeLoc TypeLoc::getNextTypeLocImpl(TypeLoc TL) { in getNextTypeLocImpl() argument
104 return NextLoc().Visit(TL); in getNextTypeLocImpl()
110 void TypeLoc::initializeImpl(ASTContext &Context, TypeLoc TL, in initializeImpl() argument
113 switch (TL.getTypeLocClass()) { in initializeImpl()
117 CLASS##TypeLoc TLCasted = TL.castAs<CLASS##TypeLoc>(); \ in initializeImpl()
119 TL = TLCasted.getNextTypeLoc(); \ in initializeImpl()
120 if (!TL) return; \ in initializeImpl()
[all …]
DASTTypeTraits.cpp122 else if (const TypeLoc *TL = get<TypeLoc>()) in print() local
123 TL->getType().print(OS, PP); in print()
148 if (const TypeLoc *TL = get<TypeLoc>()) in getSourceRange() local
149 return TL->getSourceRange(); in getSourceRange()
DNestedNameSpecifier.cpp415 TypeLoc TL(Qualifier->getAsType(), TypeData); in getLocalSourceRange() local
416 return SourceRange(TL.getBeginLoc(), in getLocalSourceRange()
535 TypeLoc TL, in Extend() argument
539 TL.getTypePtr()); in Extend()
542 SavePointer(TL.getOpaqueData(), Buffer, BufferSize, BufferCapacity); in Extend()
/external/clang/lib/ARCMigrate/
DTransGCAttrs.cpp41 bool VisitAttributedTypeLoc(AttributedTypeLoc TL) { in VisitAttributedTypeLoc() argument
42 handleAttr(TL); in VisitAttributedTypeLoc()
64 TypeLoc TL = TInfo->getTypeLoc(); in lookForAttribute() local
65 while (TL) { in lookForAttribute()
66 if (QualifiedTypeLoc QL = TL.getAs<QualifiedTypeLoc>()) { in lookForAttribute()
67 TL = QL.getUnqualifiedLoc(); in lookForAttribute()
68 } else if (AttributedTypeLoc Attr = TL.getAs<AttributedTypeLoc>()) { in lookForAttribute()
71 TL = Attr.getModifiedLoc(); in lookForAttribute()
72 } else if (ArrayTypeLoc Arr = TL.getAs<ArrayTypeLoc>()) { in lookForAttribute()
73 TL = Arr.getElementLoc(); in lookForAttribute()
[all …]
DTransAutoreleasePool.cpp267 bool VisitTypedefTypeLoc(TypedefTypeLoc TL) { in VisitTypedefTypeLoc() argument
268 return checkRef(TL.getBeginLoc(), TL.getTypedefNameDecl()->getLocation()); in VisitTypedefTypeLoc()
271 bool VisitTagTypeLoc(TagTypeLoc TL) { in VisitTagTypeLoc() argument
272 return checkRef(TL.getBeginLoc(), TL.getDecl()->getLocation()); in VisitTagTypeLoc()
/external/clang/include/clang/AST/
DDataRecursiveASTVisitor.h172 bool TraverseTypeLoc(TypeLoc TL);
362 #define TYPELOC(CLASS, BASE) bool Traverse##CLASS##TypeLoc(CLASS##TypeLoc TL);
367 bool WalkUpFromTypeLoc(TypeLoc TL) { return getDerived().VisitTypeLoc(TL); } in WalkUpFromTypeLoc() argument
368 bool VisitTypeLoc(TypeLoc TL) { return true; } in VisitTypeLoc() argument
372 bool WalkUpFromQualifiedTypeLoc(QualifiedTypeLoc TL) { in WalkUpFromQualifiedTypeLoc() argument
373 return getDerived().VisitUnqualTypeLoc(TL.getUnqualifiedLoc()); in WalkUpFromQualifiedTypeLoc()
375 bool VisitQualifiedTypeLoc(QualifiedTypeLoc TL) { return true; } in VisitQualifiedTypeLoc() argument
376 bool WalkUpFromUnqualTypeLoc(UnqualTypeLoc TL) { in WalkUpFromUnqualTypeLoc() argument
377 return getDerived().VisitUnqualTypeLoc(TL.getUnqualifiedLoc()); in WalkUpFromUnqualTypeLoc()
379 bool VisitUnqualTypeLoc(UnqualTypeLoc TL) { return true; } in VisitUnqualTypeLoc() argument
[all …]
DRecursiveASTVisitor.h176 bool TraverseTypeLoc(TypeLoc TL);
364 #define TYPELOC(CLASS, BASE) bool Traverse##CLASS##TypeLoc(CLASS##TypeLoc TL);
369 bool WalkUpFromTypeLoc(TypeLoc TL) { return getDerived().VisitTypeLoc(TL); } in WalkUpFromTypeLoc() argument
370 bool VisitTypeLoc(TypeLoc TL) { return true; } in VisitTypeLoc() argument
374 bool WalkUpFromQualifiedTypeLoc(QualifiedTypeLoc TL) { in WalkUpFromQualifiedTypeLoc() argument
375 return getDerived().VisitUnqualTypeLoc(TL.getUnqualifiedLoc()); in WalkUpFromQualifiedTypeLoc()
377 bool VisitQualifiedTypeLoc(QualifiedTypeLoc TL) { return true; } in VisitQualifiedTypeLoc() argument
378 bool WalkUpFromUnqualTypeLoc(UnqualTypeLoc TL) { in WalkUpFromUnqualTypeLoc() argument
379 return getDerived().VisitUnqualTypeLoc(TL.getUnqualifiedLoc()); in WalkUpFromUnqualTypeLoc()
381 bool VisitUnqualTypeLoc(UnqualTypeLoc TL) { return true; } in VisitUnqualTypeLoc() argument
[all …]
DTypeLoc.h193 static void initializeImpl(ASTContext &Context, TypeLoc TL,
195 static TypeLoc getNextTypeLocImpl(TypeLoc TL);
196 static TypeLoc IgnoreParensImpl(TypeLoc TL);
197 static SourceRange getLocalSourceRangeImpl(TypeLoc TL);
222 static bool isKind(const TypeLoc &TL) { in isKind() argument
223 return !TL.getType().hasLocalQualifiers(); in isKind()
273 static bool isKind(const TypeLoc &TL) { in isKind() argument
274 return TL.getType().hasLocalQualifiers(); in isKind()
320 static bool isKind(const TypeLoc &TL) { in isKind() argument
321 return !TL.getType().hasLocalQualifiers() && in isKind()
[all …]
/external/clang/lib/Sema/
DTreeTransform.h307 QualType TransformType(TypeLocBuilder &TLB, TypeLoc TL);
568 FunctionProtoTypeLoc TL,
582 TemplateSpecializationTypeLoc TL,
587 DependentTemplateSpecializationTypeLoc TL,
592 TypeLocBuilder &TLB, DependentTemplateSpecializationTypeLoc TL,
618 QualType TransformReferenceType(TypeLocBuilder &TLB, ReferenceTypeLoc TL);
2855 TypeLoc TransformTypeInObjectScope(TypeLoc TL,
2865 TypeSourceInfo *TransformTSIInObjectScope(TypeLoc TL, QualType ObjectType,
3194 TypeLoc TL = TransformTypeInObjectScope(Q.getTypeLoc(), ObjectType, in TransformNestedNameSpecifierLoc() local
3197 if (!TL) in TransformNestedNameSpecifierLoc()
[all …]
DSemaType.cpp3493 static void fillAttributedTypeLoc(AttributedTypeLoc TL, in fillAttributedTypeLoc() argument
3495 AttributedType::Kind kind = TL.getAttrKind(); in fillAttributedTypeLoc()
3504 TL.setAttrNameLoc(attrs->getLoc()); in fillAttributedTypeLoc()
3505 if (TL.hasAttrExprOperand()) { in fillAttributedTypeLoc()
3507 TL.setAttrExprOperand(attrs->getArgAsExpr(0)); in fillAttributedTypeLoc()
3508 } else if (TL.hasAttrEnumOperand()) { in fillAttributedTypeLoc()
3512 TL.setAttrEnumOperandLoc(attrs->getArgAsIdent(0)->Loc); in fillAttributedTypeLoc()
3514 TL.setAttrEnumOperandLoc(attrs->getArgAsExpr(0)->getExprLoc()); in fillAttributedTypeLoc()
3518 if (TL.hasAttrOperand()) in fillAttributedTypeLoc()
3519 TL.setAttrOperandParensRange(SourceRange()); in fillAttributedTypeLoc()
[all …]
DSemaTemplateInstantiate.cpp778 FunctionProtoTypeLoc TL) { in TransformFunctionProtoType() argument
780 return inherited::TransformFunctionProtoType(TLB, TL); in TransformFunctionProtoType()
785 FunctionProtoTypeLoc TL,
798 TemplateTypeParmTypeLoc TL);
804 SubstTemplateTypeParmPackTypeLoc TL);
1322 FunctionProtoTypeLoc TL, in TransformFunctionProtoType() argument
1329 TLB, TL, ThisContext, ThisTypeQuals, TransformExceptionSpec); in TransformFunctionProtoType()
1343 TemplateTypeParmTypeLoc TL) { in TransformTemplateTypeParmType() argument
1344 const TemplateTypeParmType *T = TL.getTypePtr(); in TransformTemplateTypeParmType()
1355 = TLB.push<TemplateTypeParmTypeLoc>(TL.getType()); in TransformTemplateTypeParmType()
[all …]
DSemaTemplateVariadic.cpp53 bool VisitTemplateTypeParmTypeLoc(TemplateTypeParmTypeLoc TL) { in VisitTemplateTypeParmTypeLoc() argument
54 if (TL.getTypePtr()->isParameterPack()) in VisitTemplateTypeParmTypeLoc()
55 Unexpanded.push_back(std::make_pair(TL.getTypePtr(), TL.getNameLoc())); in VisitTemplateTypeParmTypeLoc()
132 bool TraverseTypeLoc(TypeLoc TL) { in TraverseTypeLoc() argument
133 if ((!TL.getType().isNull() && in TraverseTypeLoc()
134 TL.getType()->containsUnexpandedParameterPack()) || in TraverseTypeLoc()
136 return inherited::TraverseTypeLoc(TL); in TraverseTypeLoc()
390 void Sema::collectUnexpandedParameterPacks(TypeLoc TL, in collectUnexpandedParameterPacks() argument
392 CollectUnexpandedParameterPacksVisitor(Unexpanded).TraverseTypeLoc(TL); in collectUnexpandedParameterPacks()
479 PackExpansionTypeLoc TL = TLB.push<PackExpansionTypeLoc>(Result); in CheckPackExpansion() local
[all …]
/external/clang/lib/Serialization/
DASTWriter.cpp463 void TypeLocWriter::VisitQualifiedTypeLoc(QualifiedTypeLoc TL) { in VisitQualifiedTypeLoc() argument
466 void TypeLocWriter::VisitBuiltinTypeLoc(BuiltinTypeLoc TL) { in VisitBuiltinTypeLoc() argument
467 Writer.AddSourceLocation(TL.getBuiltinLoc(), Record); in VisitBuiltinTypeLoc()
468 if (TL.needsExtraLocalData()) { in VisitBuiltinTypeLoc()
469 Record.push_back(TL.getWrittenTypeSpec()); in VisitBuiltinTypeLoc()
470 Record.push_back(TL.getWrittenSignSpec()); in VisitBuiltinTypeLoc()
471 Record.push_back(TL.getWrittenWidthSpec()); in VisitBuiltinTypeLoc()
472 Record.push_back(TL.hasModeAttr()); in VisitBuiltinTypeLoc()
475 void TypeLocWriter::VisitComplexTypeLoc(ComplexTypeLoc TL) { in VisitComplexTypeLoc() argument
476 Writer.AddSourceLocation(TL.getNameLoc(), Record); in VisitComplexTypeLoc()
[all …]
DASTReader.cpp5744 void TypeLocReader::VisitQualifiedTypeLoc(QualifiedTypeLoc TL) { in VisitQualifiedTypeLoc() argument
5747 void TypeLocReader::VisitBuiltinTypeLoc(BuiltinTypeLoc TL) { in VisitBuiltinTypeLoc() argument
5748 TL.setBuiltinLoc(ReadSourceLocation(Record, Idx)); in VisitBuiltinTypeLoc()
5749 if (TL.needsExtraLocalData()) { in VisitBuiltinTypeLoc()
5750 TL.setWrittenTypeSpec(static_cast<DeclSpec::TST>(Record[Idx++])); in VisitBuiltinTypeLoc()
5751 TL.setWrittenSignSpec(static_cast<DeclSpec::TSS>(Record[Idx++])); in VisitBuiltinTypeLoc()
5752 TL.setWrittenWidthSpec(static_cast<DeclSpec::TSW>(Record[Idx++])); in VisitBuiltinTypeLoc()
5753 TL.setModeAttr(Record[Idx++]); in VisitBuiltinTypeLoc()
5756 void TypeLocReader::VisitComplexTypeLoc(ComplexTypeLoc TL) { in VisitComplexTypeLoc() argument
5757 TL.setNameLoc(ReadSourceLocation(Record, Idx)); in VisitComplexTypeLoc()
[all …]
/external/llvm/lib/Analysis/
DDependenceAnalysis.cpp1440 APInt TL(APInt::getSignedMinValue(Bits)); in exactSIVtest() local
1445 TL = maxAPInt(TL, ceilingOfQuotient(-X, TMUL)); in exactSIVtest()
1446 DEBUG(dbgs() << "\t TL = " << TL << "\n"); in exactSIVtest()
1456 TL = maxAPInt(TL, ceilingOfQuotient(UM - X, TMUL)); in exactSIVtest()
1457 DEBUG(dbgs() << "\t TL = " << TL << "\n"); in exactSIVtest()
1464 TL = maxAPInt(TL, ceilingOfQuotient(-Y, TMUL)); in exactSIVtest()
1465 DEBUG(dbgs() << "\t TL = " << TL << "\n"); in exactSIVtest()
1475 TL = maxAPInt(TL, ceilingOfQuotient(UM - Y, TMUL)); in exactSIVtest()
1476 DEBUG(dbgs() << "\t TL = " << TL << "\n"); in exactSIVtest()
1479 if (TL.sgt(TU)) { in exactSIVtest()
[all …]
/external/skia/samplecode/
DSamplePatch.cpp83 const int TL = 0; in eval_sheet() local
96 SkScalar x0 = SkScalarMul(UV, edge[TL].fX) + SkScalarMul(uV, edge[TR].fX) + in eval_sheet()
98 SkScalar y0 = SkScalarMul(UV, edge[TL].fY) + SkScalarMul(uV, edge[TR].fY) + in eval_sheet()
101 SkScalar x = SkScalarMul(SK_Scalar1 - v, edge[TL+iu].fX) + in eval_sheet()
105 SkScalar y = SkScalarMul(SK_Scalar1 - v, edge[TL+iu].fY) + in eval_sheet()
/external/icu/icu4c/source/data/region/
Dhe.txt270 TL{"טימור לסטה"}
311 TL{"מזרח טימור"}
Dgu.txt270 TL{"તિમોર-લેસ્તે"}
312 TL{"પૂર્વ તિમોર"}
Dml.txt270 TL{"തിമോർ-ലെസ്റ്റെ"}
312 TL{"കിഴക്കൻ തിമോർ"}
Del.txt270 TL{"Τιμόρ-Λέστε"}
311 TL{"Ανατολικό Τιμόρ"}
Duz_Cyrl.txt270 TL{"Шарқий-Тимор"}
312 TL{"Шарқий Тимор"}

1234567891011