Home
last modified time | relevance | path

Searched refs:TU (Results 1 – 25 of 88) sorted by relevance

1234

/external/clang/tools/libclang/
DCXTranslationUnit.h43 static inline ASTUnit *getASTUnit(CXTranslationUnit TU) { in getASTUnit() argument
44 if (!TU) in getASTUnit()
46 return TU->TheASTUnit; in getASTUnit()
53 static inline bool isNotUsableTU(CXTranslationUnit TU) { in isNotUsableTU() argument
54 return !TU; in isNotUsableTU()
57 #define LOG_BAD_TU(TU) \ argument
60 *Log << "called with a bad TU: " << TU; \
65 CXTranslationUnitImpl *TU; variable
68 CXTUOwner(CXTranslationUnitImpl *tu) : TU(tu) { } in CXTUOwner()
71 CXTranslationUnitImpl *getTU() const { return TU; } in getTU()
[all …]
DCXCursor.cpp35 CXCursor cxcursor::MakeCXCursorInvalid(CXCursorKind K, CXTranslationUnit TU) { in MakeCXCursorInvalid() argument
37 CXCursor C = { K, 0, { nullptr, nullptr, TU } }; in MakeCXCursorInvalid()
67 CXTranslationUnit TU) { in MakeCXCursor() argument
68 assert(A && Parent && TU && "Invalid arguments!"); in MakeCXCursor()
69 CXCursor C = { GetCursorKind(A), 0, { Parent, A, TU } }; in MakeCXCursor()
73 CXCursor cxcursor::MakeCXCursor(const Decl *D, CXTranslationUnit TU, in MakeCXCursor() argument
76 assert(D && TU && "Invalid arguments!"); in MakeCXCursor()
94 { D, (void*)(intptr_t) (FirstInDeclGroup ? 1 : 0), TU }}; in MakeCXCursor()
98 CXCursor C = { K, 0, { D, (void*)(intptr_t) (FirstInDeclGroup ? 1 : 0), TU }}; in MakeCXCursor()
103 CXTranslationUnit TU, in MakeCXCursor() argument
[all …]
DCXCursor.h52 CXTranslationUnit TU);
53 CXCursor MakeCXCursor(const clang::Decl *D, CXTranslationUnit TU,
57 CXTranslationUnit TU,
59 CXCursor MakeCXCursorInvalid(CXCursorKind K, CXTranslationUnit TU = nullptr);
64 CXTranslationUnit TU);
74 CXTranslationUnit TU);
84 CXTranslationUnit TU);
93 CXTranslationUnit TU);
101 CXTranslationUnit TU);
111 CXTranslationUnit TU);
[all …]
DCIndexHigh.cpp23 static void getTopOverriddenMethods(CXTranslationUnit TU, in getTopOverriddenMethods() argument
32 cxcursor::getOverriddenCursors(cxcursor::MakeCXCursor(D, TU), Overridden); in getTopOverriddenMethods()
41 getTopOverriddenMethods(TU, cxcursor::getCursorDecl(*I), Methods); in getTopOverriddenMethods()
47 CXTranslationUnit TU; member
56 FindFileIdRefVisitData(CXTranslationUnit TU, FileID FID, in FindFileIdRefVisitData()
59 : TU(TU), FID(FID), SelectorIdIdx(selectorIdIdx), visitor(visitor) { in FindFileIdRefVisitData()
61 getTopOverriddenMethods(TU, Dcl, TopMethods); in FindFileIdRefVisitData()
65 return cxtu::getASTUnit(TU)->getASTContext(); in getASTContext()
118 getTopOverriddenMethods(TU, D, methods); in isOverriddingMethod()
215 static bool findIdRefsInFile(CXTranslationUnit TU, CXCursor declCursor, in findIdRefsInFile() argument
[all …]
DCXType.cpp100 CXType cxtype::MakeCXType(QualType T, CXTranslationUnit TU) { in MakeCXType() argument
103 if (TU && !T.isNull()) { in MakeCXType()
104 ASTContext &Ctx = cxtu::getASTUnit(TU)->getASTContext(); in MakeCXType()
117 return MakeCXType(DT->getOriginalType(), TU); in MakeCXType()
124 : T.getAsOpaquePtr(), TU } }; in MakeCXType()
143 CXTranslationUnit TU = cxcursor::getCursorTU(C); in clang_getCursorType() local
144 if (!TU) in clang_getCursorType()
145 return MakeCXType(QualType(), TU); in clang_getCursorType()
147 ASTContext &Context = cxtu::getASTUnit(TU)->getASTContext(); in clang_getCursorType()
150 return MakeCXType(T, TU); in clang_getCursorType()
[all …]
DCIndex.cpp100 if (TU) in ~CXTUOwner()
101 clang_disposeTranslationUnit(TU); in ~CXTUOwner()
252 ASTUnit *Unit = cxtu::getASTUnit(TU); in visitFileRegion()
301 ASTUnit *Unit = cxtu::getASTUnit(TU); in visitDeclsFromFileRegion()
364 if (Visit(MakeCXCursor(D, TU, Range), /*CheckedRegionOfInterest=*/true)) in visitDeclsFromFileRegion()
384 if (Visit(MakeCXCursor(D, TU, Range), /*CheckedRegionOfInterest=*/true)) in visitDeclsFromFileRegion()
455 if (Visit(MakeMacroExpansionCursor(ME, TU))) in visitPreprocessedEntities()
462 if (Visit(MakeMacroDefinitionCursor(MD, TU))) in visitPreprocessedEntities()
469 if (Visit(MakeInclusionDirectiveCursor(ID, TU))) in visitPreprocessedEntities()
517 CXTranslationUnit TU = getCursorTU(Cursor); in VisitChildren() local
[all …]
DCXString.h76 CXStringBuf *getCXStringBuf(CXTranslationUnit TU);
86 CXTranslationUnit TU; member
88 CXStringBuf(CXTranslationUnit TU) : TU(TU) {} in CXStringBuf()
94 CXStringBuf *getCXStringBuf(CXTranslationUnit TU);
DCXComment.cpp370 CXTranslationUnit TU = CXC.TranslationUnit; in clang_HTMLTagComment_getAsString() local
371 if (!TU->CommentToXML) in clang_HTMLTagComment_getAsString()
372 TU->CommentToXML = new clang::index::CommentToXMLConverter(); in clang_HTMLTagComment_getAsString()
375 TU->CommentToXML->convertHTMLTagNodeToText( in clang_HTMLTagComment_getAsString()
376 HTC, Text, cxtu::getASTUnit(TU)->getASTContext()); in clang_HTMLTagComment_getAsString()
385 CXTranslationUnit TU = CXC.TranslationUnit; in clang_FullComment_getAsHTML() local
386 if (!TU->CommentToXML) in clang_FullComment_getAsHTML()
387 TU->CommentToXML = new clang::index::CommentToXMLConverter(); in clang_FullComment_getAsHTML()
390 TU->CommentToXML in clang_FullComment_getAsHTML()
391 ->convertCommentToHTML(FC, HTML, cxtu::getASTUnit(TU)->getASTContext()); in clang_FullComment_getAsHTML()
[all …]
DCIndexUSRs.cpp49 CXTranslationUnit TU = cxcursor::getCursorTU(C); in clang_getCursorUSR() local
50 if (!TU) in clang_getCursorUSR()
53 cxstring::CXStringBuf *buf = cxstring::getCXStringBuf(TU); in clang_getCursorUSR()
70 CXTranslationUnit TU = cxcursor::getCursorTU(C); in clang_getCursorUSR() local
71 if (!TU) in clang_getCursorUSR()
74 cxstring::CXStringBuf *buf = cxstring::getCXStringBuf(TU); in clang_getCursorUSR()
79 cxtu::getASTUnit(TU)->getSourceManager(), in clang_getCursorUSR()
DCIndexer.h87 void PrintLibclangResourceUsage(CXTranslationUnit TU);
96 CXTranslationUnit TU);
100 CXTranslationUnit TU);
107 CXTranslationUnit TU);
114 CXTranslationUnit TU);
DCXString.cpp127 CXStringBuf *CXStringPool::getCXStringBuf(CXTranslationUnit TU) { in getCXStringBuf() argument
129 return new CXStringBuf(TU); in getCXStringBuf()
137 CXStringBuf *getCXStringBuf(CXTranslationUnit TU) { in getCXStringBuf() argument
138 return TU->StringPool->getCXStringBuf(TU); in getCXStringBuf()
142 TU->StringPool->Pool.push_back(this); in dispose()
DCIndexInclusionStack.cpp25 void clang_getInclusions(CXTranslationUnit TU, CXInclusionVisitor CB, in clang_getInclusions() argument
27 if (cxtu::isNotUsableTU(TU)) { in clang_getInclusions()
28 LOG_BAD_TU(TU); in clang_getInclusions()
32 ASTUnit *CXXUnit = cxtu::getASTUnit(TU); in clang_getInclusions()
DCIndexCodeCompletion.cpp528 CXTranslationUnit *TU; member in __anon4832e0d10211::CaptureCompletionResults
535 TU(TranslationUnit) { } in CaptureCompletionResults()
592 CXCursor cursor = cxcursor::MakeCXCursor(D, *TU); in ProcessCodeCompleteResults()
651 CXTranslationUnit TU; member
661 CXTranslationUnit TU = CCAI->TU; in clang_codeCompleteAt_Impl() local
677 if (cxtu::isNotUsableTU(TU)) { in clang_codeCompleteAt_Impl()
678 LOG_BAD_TU(TU); in clang_codeCompleteAt_Impl()
682 ASTUnit *AST = cxtu::getASTUnit(TU); in clang_codeCompleteAt_Impl()
686 CIndexer *CXXIdx = TU->CIdx; in clang_codeCompleteAt_Impl()
714 CaptureCompletionResults Capture(Opts, *Results, &TU); in clang_codeCompleteAt_Impl()
[all …]
DCXSourceLocation.cpp121 CXSourceLocation clang_getLocation(CXTranslationUnit TU, in clang_getLocation() argument
125 if (cxtu::isNotUsableTU(TU)) { in clang_getLocation()
126 LOG_BAD_TU(TU); in clang_getLocation()
135 ASTUnit *CXXUnit = cxtu::getASTUnit(TU); in clang_getLocation()
155 CXSourceLocation clang_getLocationForOffset(CXTranslationUnit TU, in clang_getLocationForOffset() argument
158 if (cxtu::isNotUsableTU(TU)) { in clang_getLocationForOffset()
159 LOG_BAD_TU(TU); in clang_getLocationForOffset()
165 ASTUnit *CXXUnit = cxtu::getASTUnit(TU); in clang_getLocationForOffset()
DCursorVisitor.h65 CXTranslationUnit TU;
144 CursorVisitor(CXTranslationUnit TU, CXCursorVisitor Visitor,
151 : TU(TU), AU(cxtu::getASTUnit(TU)), in TU() argument
176 CXTranslationUnit getTU() const { return TU; } in getTU()
DCIndexDiagnostic.cpp160 CXDiagnosticSetImpl *cxdiag::lazyCreateDiags(CXTranslationUnit TU, in lazyCreateDiags() argument
162 ASTUnit *AU = cxtu::getASTUnit(TU); in lazyCreateDiags()
164 if (TU->Diagnostics && checkIfChanged) { in lazyCreateDiags()
183 Set = static_cast<CXDiagnosticSetImpl*>(TU->Diagnostics); in lazyCreateDiags()
188 TU->Diagnostics = nullptr; in lazyCreateDiags()
192 if (!TU->Diagnostics) { in lazyCreateDiags()
194 TU->Diagnostics = Set; in lazyCreateDiags()
204 return static_cast<CXDiagnosticSetImpl*>(TU->Diagnostics); in lazyCreateDiags()
DIndexing.cpp40 static void indexDiagnostics(CXTranslationUnit TU, IndexingContext &IdxCtx);
687 CXTranslationUnit TU; member
728 static void indexDiagnostics(CXTranslationUnit TU, IndexingContext &IdxCtx) { in indexDiagnostics() argument
732 CXDiagnosticSetImpl *DiagSet = cxdiag::lazyCreateDiags(TU); in indexDiagnostics()
739 CXTranslationUnit TU = ITUI->TU; in clang_indexTranslationUnit_Impl() local
749 if (isNotUsableTU(TU)) { in clang_indexTranslationUnit_Impl()
750 LOG_BAD_TU(TU); in clang_indexTranslationUnit_Impl()
759 CIndexer *CXXIdx = TU->CIdx; in clang_indexTranslationUnit_Impl()
770 IndexCtx.reset(new IndexingContext(client_data, CB, index_options, TU)); in clang_indexTranslationUnit_Impl()
783 ASTUnit *Unit = cxtu::getASTUnit(TU); in clang_indexTranslationUnit_Impl()
[all …]
DCXComment.h32 CXTranslationUnit TU) { in createCXComment() argument
35 Result.TranslationUnit = TU; in createCXComment()
/external/clang/test/Sema/
Dtransparent-union.c7 } TU __attribute__((transparent_union)); typedef
9 void f(TU); // expected-note{{passing argument to parameter here}}
17 TU tu_ip = ip; // expected-error{{incompatible type}} in g()
18 TU tu; in g()
25 void fip(TU);
28 void ffp(TU);
31 void flp(TU);
34 void fvp(TU); // expected-note{{previous declaration is here}}
37 void fsp(TU); // expected-note{{previous declaration is here}}
40 void fi(TU); // expected-note{{previous declaration is here}}
[all …]
/external/clang/tools/c-index-test/
Dc-index-test.c84 static int checkForErrors(CXTranslationUnit TU);
117 CXTranslationUnit *TU) { in CreateTranslationUnit() argument
118 enum CXErrorCode Err = clang_createTranslationUnit2(Idx, file, TU); in CreateTranslationUnit()
122 *TU = 0; in CreateTranslationUnit()
643 CXTranslationUnit TU = clang_Cursor_getTranslationUnit(Cursor); in PrintCursor() local
866 if (clang_isFileMultipleIncludeGuarded(TU, File)) in PrintCursor()
1023 void PrintDiagnostics(CXTranslationUnit TU) { in PrintDiagnostics() argument
1024 CXDiagnosticSet TUSet = clang_getDiagnosticSetFromTU(TU); in PrintDiagnostics()
1029 void PrintMemoryUsage(CXTranslationUnit TU) { in PrintMemoryUsage() argument
1032 CXTUResourceUsage usage = clang_getCXTUResourceUsage(TU); in PrintMemoryUsage()
[all …]
/external/svox/pico_resources/tools/LingwareBuilding/PicoLingware_source_files/pkb/de-DE/
Dde-DE_klex.pkb19TU,21t$"+>N#5N#WZ<N#W0-#!U?#^,NU22$!WZ>#5N#WZ<N#W0-22\o/$!WZ>#5N#WZ<N#W0-#TU,22t$"WZ>#5N#W…
20TU,30t$"AS>#T0-#!U?#^,NU31$!+>N#5N#AS>#T0-31\o/$!+>N#5N#AS>#T0-#TU,�31t$"+>N#5N#AS>#T0-#!U…
21TU,41t$"+>N#5NU#E08#W0-#!U?#^,NU42$!WZ>#5NU#E08#W0-�����������������42\o/$!WZ>#5NU#E08#W0-#T…
23 …0-#TU,60t$"^.-#W0-#!U?#^,NU61$!+>N#5NU#^.-#W0-61\o/$!+>N#5NU#^.-#W0-#TU,61t$"+>N#5NU#^.-#W…
/external/clang/lib/StaticAnalyzer/Checkers/
DDebugCheckers.cpp122 void checkASTDecl(const TranslationUnitDecl *TU, AnalysisManager& mgr, in checkASTDecl() argument
125 CG.addToCallGraph(const_cast<TranslationUnitDecl*>(TU)); in checkASTDecl()
142 void checkASTDecl(const TranslationUnitDecl *TU, AnalysisManager& mgr, in checkASTDecl() argument
145 CG.addToCallGraph(const_cast<TranslationUnitDecl*>(TU)); in checkASTDecl()
170 void checkEndOfTranslationUnit(const TranslationUnitDecl *TU, in checkEndOfTranslationUnit() argument
/external/elfutils/src/tests/
Drun-readelf-gdb_index.sh73 TU offset: 0x38
82 TU list at offset 0x38 contains 1 entries:
104 TU offset: 0x38
113 TU list at offset 0x38 contains 1 entries:
/external/llvm/lib/Analysis/
DDependenceAnalysis.cpp1439 APInt TU(APInt::getSignedMaxValue(Bits)); in exactSIVtest() local
1448 TU = minAPInt(TU, floorOfQuotient(UM - X, TMUL)); in exactSIVtest()
1449 DEBUG(dbgs() << "\t TU = " << TU << "\n"); in exactSIVtest()
1453 TU = minAPInt(TU, floorOfQuotient(-X, TMUL)); in exactSIVtest()
1454 DEBUG(dbgs() << "\t TU = " << TU << "\n"); in exactSIVtest()
1467 TU = minAPInt(TU, floorOfQuotient(UM - Y, TMUL)); in exactSIVtest()
1468 DEBUG(dbgs() << "\t TU = " << TU << "\n"); in exactSIVtest()
1472 TU = minAPInt(TU, floorOfQuotient(-Y, TMUL)); in exactSIVtest()
1473 DEBUG(dbgs() << "\t TU = " << TU << "\n"); in exactSIVtest()
1479 if (TL.sgt(TU)) { in exactSIVtest()
[all …]
/external/icu/icu4c/source/data/translit/
DKatakana_Latin_BGN.txt14 ッ}[カキクケコ] → k ; # KATAKANA LETTER SMALL TU
15 っ}[かきくけこ] → k ; # HIRAGANA LETTER SMALL TU
16 ッ}[サシスセソ] → s ; # KATAKANA LETTER SMALL TU
17 っ}[さしすせそ] → s ; # HIRAGANA LETTER SMALL TU
18 ッ}[タチツテト] → t ; # KATAKANA LETTER SMALL TU
19 っ}[たちつてと] → t ; # HIRAGANA LETTER SMALL TU
20 ッ}[パピプペポ] → p ; # KATAKANA LETTER SMALL TU
21 っ}[ぱぴぷぺぽ] → p ; # HIRAGANA LETTER SMALL TU
57 ツ → tsu ; # KATAKANA LETTER TU
204 つ → tsu ; # HIRAGANA LETTER TU

1234