Home
last modified time | relevance | path

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

123456789

/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 …]
DRecursiveASTVisitor.h174 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 …]
DCIndex.cpp486 for (ASTUnit::top_level_iterator TL = CXXUnit->top_level_begin(), in VisitChildren() local
488 TL != TLEnd; ++TL) { in VisitChildren()
489 if (Visit(MakeCXCursor(*TL, tu, RegionOfInterest), true)) in VisitChildren()
650 TypeLoc TL = SpecType->getTypeLoc(); in VisitClassTemplateSpecializationDecl() local
652 = dyn_cast<TemplateSpecializationTypeLoc>(&TL)) { in VisitClassTemplateSpecializationDecl()
729 TypeLoc TL = TSInfo->getTypeLoc().IgnoreParens(); in VisitFunctionDecl() local
730 FunctionTypeLoc *FTL = dyn_cast<FunctionTypeLoc>(&TL); in VisitFunctionDecl()
736 (!FTL && Visit(TL))) in VisitFunctionDecl()
1352 bool CursorVisitor::VisitQualifiedTypeLoc(QualifiedTypeLoc TL) { in VisitQualifiedTypeLoc() argument
1353 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);
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.cpp472 for (ASTUnit::top_level_iterator TL = Unit.top_level_begin(), in indexTranslationUnit() local
474 TL != TLEnd; ++TL) { in indexTranslationUnit()
475 IdxCtx.indexTopLevelDecl(*TL); in indexTranslationUnit()
/external/clang/lib/AST/
DTypeLoc.cpp37 SourceRange TypeLoc::getLocalSourceRangeImpl(TypeLoc TL) { in getLocalSourceRangeImpl() argument
38 if (TL.isNull()) return SourceRange(); in getLocalSourceRangeImpl()
39 return TypeLocRanger().Visit(TL); in getLocalSourceRangeImpl()
74 TypeLoc TypeLoc::getNextTypeLocImpl(TypeLoc TL) { in getNextTypeLocImpl() argument
75 return NextLoc().Visit(TL); in getNextTypeLocImpl()
81 void TypeLoc::initializeImpl(ASTContext &Context, TypeLoc TL, in initializeImpl() argument
84 switch (TL.getTypeLocClass()) { in initializeImpl()
88 CLASS##TypeLoc TLCasted = cast<CLASS##TypeLoc>(TL); \ in initializeImpl()
90 TL = TLCasted.getNextTypeLoc(); \ in initializeImpl()
91 if (!TL) return; \ in initializeImpl()
[all …]
DComment.cpp253 TypeLoc TL = TSI->getTypeLoc().getUnqualifiedLoc(); in fill() local
255 TL = TL.IgnoreParens(); in fill()
257 if (TypedefTypeLoc *TypedefTL = dyn_cast<TypedefTypeLoc>(&TL)) { in fill()
261 TL = TSI->getTypeLoc().getUnqualifiedLoc(); in fill()
265 if (QualifiedTypeLoc *QualifiedTL = dyn_cast<QualifiedTypeLoc>(&TL)) { in fill()
266 TL = QualifiedTL->getUnqualifiedLoc(); in fill()
270 if (PointerTypeLoc *PointerTL = dyn_cast<PointerTypeLoc>(&TL)) { in fill()
271 TL = PointerTL->getPointeeLoc().getUnqualifiedLoc(); in fill()
275 dyn_cast<BlockPointerTypeLoc>(&TL)) { in fill()
276 TL = BlockPointerTL->getPointeeLoc().getUnqualifiedLoc(); in fill()
[all …]
DNestedNameSpecifier.cpp381 TypeLoc TL(Qualifier->getAsType(), TypeData); in getLocalSourceRange() local
382 return SourceRange(TL.getBeginLoc(), in getLocalSourceRange()
505 TypeLoc TL, in Extend() argument
509 TL.getTypePtr()); in Extend()
512 SavePointer(TL.getOpaqueData(), Buffer, BufferSize, BufferCapacity); in Extend()
/external/clang/include/clang/AST/
DRecursiveASTVisitor.h181 bool TraverseTypeLoc(TypeLoc TL);
347 bool Traverse##CLASS##TypeLoc(CLASS##TypeLoc TL);
352 bool WalkUpFromTypeLoc(TypeLoc TL) { return getDerived().VisitTypeLoc(TL); } in WalkUpFromTypeLoc() argument
353 bool VisitTypeLoc(TypeLoc TL) { return true; } in VisitTypeLoc() argument
357 bool WalkUpFromQualifiedTypeLoc(QualifiedTypeLoc TL) { in WalkUpFromQualifiedTypeLoc() argument
358 return getDerived().VisitUnqualTypeLoc(TL.getUnqualifiedLoc()); in WalkUpFromQualifiedTypeLoc()
360 bool VisitQualifiedTypeLoc(QualifiedTypeLoc TL) { return true; } in VisitQualifiedTypeLoc() argument
361 bool WalkUpFromUnqualTypeLoc(UnqualTypeLoc TL) { in WalkUpFromUnqualTypeLoc() argument
362 return getDerived().VisitUnqualTypeLoc(TL.getUnqualifiedLoc()); in WalkUpFromUnqualTypeLoc()
364 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.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 (const QualifiedTypeLoc *QL = dyn_cast<QualifiedTypeLoc>(&TL)) { in lookForAttribute()
67 TL = QL->getUnqualifiedLoc(); in lookForAttribute()
69 Attr = dyn_cast<AttributedTypeLoc>(&TL)) { in lookForAttribute()
72 TL = Attr->getModifiedLoc(); in lookForAttribute()
73 } else if (const ArrayTypeLoc *Arr = dyn_cast<ArrayTypeLoc>(&TL)) { in lookForAttribute()
74 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/lib/Sema/
DTreeTransform.h303 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);
2508 TypeLoc TransformTypeInObjectScope(TypeLoc TL,
2720 TypeLoc TL = TransformTypeInObjectScope(Q.getTypeLoc(), ObjectType, in TransformNestedNameSpecifierLoc() local
2723 if (!TL) in TransformNestedNameSpecifierLoc()
2726 if (TL.getType()->isDependentType() || TL.getType()->isRecordType() || in TransformNestedNameSpecifierLoc()
[all …]
DSemaType.cpp2994 static void fillAttributedTypeLoc(AttributedTypeLoc TL, in fillAttributedTypeLoc() argument
2996 AttributedType::Kind kind = TL.getAttrKind(); in fillAttributedTypeLoc()
3005 TL.setAttrNameLoc(attrs->getLoc()); in fillAttributedTypeLoc()
3006 if (TL.hasAttrExprOperand()) in fillAttributedTypeLoc()
3007 TL.setAttrExprOperand(attrs->getArg(0)); in fillAttributedTypeLoc()
3008 else if (TL.hasAttrEnumOperand()) in fillAttributedTypeLoc()
3009 TL.setAttrEnumOperandLoc(attrs->getParameterLoc()); in fillAttributedTypeLoc()
3012 if (TL.hasAttrOperand()) in fillAttributedTypeLoc()
3013 TL.setAttrOperandParensRange(SourceRange()); in fillAttributedTypeLoc()
3025 void VisitAttributedTypeLoc(AttributedTypeLoc TL) { in VisitAttributedTypeLoc() argument
[all …]
DSemaTemplateInstantiate.cpp811 FunctionProtoTypeLoc TL);
813 FunctionProtoTypeLoc TL,
825 TemplateTypeParmTypeLoc TL);
831 SubstTemplateTypeParmPackTypeLoc TL);
1257 FunctionProtoTypeLoc TL) { in TransformFunctionProtoType() argument
1260 return inherited::TransformFunctionProtoType(TLB, TL); in TransformFunctionProtoType()
1264 FunctionProtoTypeLoc TL, in TransformFunctionProtoType() argument
1269 return inherited::TransformFunctionProtoType(TLB, TL, ThisContext, in TransformFunctionProtoType()
1284 TemplateTypeParmTypeLoc TL) { in TransformTemplateTypeParmType() argument
1285 const TemplateTypeParmType *T = TL.getTypePtr(); in TransformTemplateTypeParmType()
[all …]
DSemaTemplateVariadic.cpp52 bool VisitTemplateTypeParmTypeLoc(TemplateTypeParmTypeLoc TL) { in VisitTemplateTypeParmTypeLoc() argument
53 if (TL.getTypePtr()->isParameterPack()) in VisitTemplateTypeParmTypeLoc()
54 Unexpanded.push_back(std::make_pair(TL.getTypePtr(), TL.getNameLoc())); in VisitTemplateTypeParmTypeLoc()
131 bool TraverseTypeLoc(TypeLoc TL) { in TraverseTypeLoc() argument
132 if ((!TL.getType().isNull() && in TraverseTypeLoc()
133 TL.getType()->containsUnexpandedParameterPack()) || in TraverseTypeLoc()
135 return inherited::TraverseTypeLoc(TL); in TraverseTypeLoc()
376 void Sema::collectUnexpandedParameterPacks(TypeLoc TL, in collectUnexpandedParameterPacks() argument
378 CollectUnexpandedParameterPacksVisitor(Unexpanded).TraverseTypeLoc(TL); in collectUnexpandedParameterPacks()
465 PackExpansionTypeLoc TL = cast<PackExpansionTypeLoc>(TSResult->getTypeLoc()); in CheckPackExpansion() local
[all …]
DSemaCXXScopeSpec.cpp622 SubstTemplateTypeParmTypeLoc TL in BuildCXXNestedNameSpecifier() local
624 TL.setNameLoc(IdentifierLoc); in BuildCXXNestedNameSpecifier()
626 SubstTemplateTypeParmPackTypeLoc TL in BuildCXXNestedNameSpecifier() local
628 TL.setNameLoc(IdentifierLoc); in BuildCXXNestedNameSpecifier()
/external/clang/lib/Serialization/
DASTWriter.cpp425 void TypeLocWriter::VisitQualifiedTypeLoc(QualifiedTypeLoc TL) { in VisitQualifiedTypeLoc() argument
428 void TypeLocWriter::VisitBuiltinTypeLoc(BuiltinTypeLoc TL) { in VisitBuiltinTypeLoc() argument
429 Writer.AddSourceLocation(TL.getBuiltinLoc(), Record); in VisitBuiltinTypeLoc()
430 if (TL.needsExtraLocalData()) { in VisitBuiltinTypeLoc()
431 Record.push_back(TL.getWrittenTypeSpec()); in VisitBuiltinTypeLoc()
432 Record.push_back(TL.getWrittenSignSpec()); in VisitBuiltinTypeLoc()
433 Record.push_back(TL.getWrittenWidthSpec()); in VisitBuiltinTypeLoc()
434 Record.push_back(TL.hasModeAttr()); in VisitBuiltinTypeLoc()
437 void TypeLocWriter::VisitComplexTypeLoc(ComplexTypeLoc TL) { in VisitComplexTypeLoc() argument
438 Writer.AddSourceLocation(TL.getNameLoc(), Record); in VisitComplexTypeLoc()
[all …]
DASTReader.cpp4196 void TypeLocReader::VisitQualifiedTypeLoc(QualifiedTypeLoc TL) { in VisitQualifiedTypeLoc() argument
4199 void TypeLocReader::VisitBuiltinTypeLoc(BuiltinTypeLoc TL) { in VisitBuiltinTypeLoc() argument
4200 TL.setBuiltinLoc(ReadSourceLocation(Record, Idx)); in VisitBuiltinTypeLoc()
4201 if (TL.needsExtraLocalData()) { in VisitBuiltinTypeLoc()
4202 TL.setWrittenTypeSpec(static_cast<DeclSpec::TST>(Record[Idx++])); in VisitBuiltinTypeLoc()
4203 TL.setWrittenSignSpec(static_cast<DeclSpec::TSS>(Record[Idx++])); in VisitBuiltinTypeLoc()
4204 TL.setWrittenWidthSpec(static_cast<DeclSpec::TSW>(Record[Idx++])); in VisitBuiltinTypeLoc()
4205 TL.setModeAttr(Record[Idx++]); in VisitBuiltinTypeLoc()
4208 void TypeLocReader::VisitComplexTypeLoc(ComplexTypeLoc TL) { in VisitComplexTypeLoc() argument
4209 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/
Dkm.txt172 TL{"ទីម័រខាងកើត"}
Dmy.txt201 TL{"အရှေ့တီမော"}

123456789