/external/clang/tools/libclang/ |
CXTranslationUnit.h | 41 static inline ASTUnit *getASTUnit(CXTranslationUnit TU) { 42 if (!TU) 44 return TU->TheASTUnit; 48 CXTranslationUnitImpl *TU; 51 CXTUOwner(CXTranslationUnitImpl *tu) : TU(tu) { } 54 CXTranslationUnitImpl *getTU() const { return TU; } 57 CXTranslationUnitImpl *retTU = TU; 58 TU = 0 [all...] |
CXString.h | 76 CXStringBuf *getCXStringBuf(CXTranslationUnit TU); 86 CXTranslationUnit TU; 88 CXStringBuf(CXTranslationUnit TU) : TU(TU) {} 94 CXStringBuf *getCXStringBuf(CXTranslationUnit TU);
|
CXType.h | 26 CXType MakeCXType(QualType T, CXTranslationUnit TU);
|
CXCursor.h | 52 CXTranslationUnit TU); 53 CXCursor MakeCXCursor(const clang::Decl *D, CXTranslationUnit TU, 57 CXTranslationUnit TU, 59 CXCursor MakeCXCursorInvalid(CXCursorKind K, CXTranslationUnit TU = 0); 64 CXTranslationUnit TU); 74 CXTranslationUnit TU); 84 CXTranslationUnit TU); 93 CXTranslationUnit TU); 101 CXTranslationUnit TU); 111 CXTranslationUnit TU); [all...] |
CIndexer.h | 87 void PrintLibclangResourceUsage(CXTranslationUnit TU); 96 CXTranslationUnit TU); 100 CXTranslationUnit TU); 107 CXTranslationUnit TU); 114 CXTranslationUnit TU);
|
CIndexHigh.cpp | 23 static void getTopOverriddenMethods(CXTranslationUnit TU, 32 cxcursor::getOverriddenCursors(cxcursor::MakeCXCursor(D, TU), Overridden); 41 getTopOverriddenMethods(TU, cxcursor::getCursorDecl(*I), Methods); 47 CXTranslationUnit TU; 56 FindFileIdRefVisitData(CXTranslationUnit TU, FileID FID, 59 : TU(TU), FID(FID), SelectorIdIdx(selectorIdIdx), visitor(visitor) { 61 getTopOverriddenMethods(TU, Dcl, TopMethods); 65 return cxtu::getASTUnit(TU)->getASTContext(); 118 getTopOverriddenMethods(TU, D, methods) [all...] |
CXCursor.cpp | 34 CXCursor cxcursor::MakeCXCursorInvalid(CXCursorKind K, CXTranslationUnit TU) { 36 CXCursor C = { K, 0, { 0, 0, TU } }; 57 CXTranslationUnit TU) { 58 assert(A && Parent && TU && "Invalid arguments!"); 59 CXCursor C = { GetCursorKind(A), 0, { Parent, A, TU } }; 63 CXCursor cxcursor::MakeCXCursor(const Decl *D, CXTranslationUnit TU, 66 assert(D && TU && "Invalid arguments!"); 84 { D, (void*)(intptr_t) (FirstInDeclGroup ? 1 : 0), TU }}; 88 CXCursor C = { K, 0, { D, (void*)(intptr_t) (FirstInDeclGroup ? 1 : 0), TU }}; 93 CXTranslationUnit TU, [all...] |
CXString.cpp | 123 CXStringBuf *CXStringPool::getCXStringBuf(CXTranslationUnit TU) { 125 return new CXStringBuf(TU); 133 CXStringBuf *getCXStringBuf(CXTranslationUnit TU) { 134 return TU->StringPool->getCXStringBuf(TU); 138 TU->StringPool->Pool.push_back(this);
|
CXComment.h | 31 CXTranslationUnit TU) { 34 Result.TranslationUnit = TU;
|
CXType.cpp | 99 CXType cxtype::MakeCXType(QualType T, CXTranslationUnit TU) { 102 if (TU && !T.isNull()) { 103 ASTContext &Ctx = cxtu::getASTUnit(TU)->getASTContext(); 117 CXType CT = { TK, { TK == CXType_Invalid ? 0 : T.getAsOpaquePtr(), TU }}; 136 CXTranslationUnit TU = cxcursor::getCursorTU(C); 137 if (!TU) 138 return MakeCXType(QualType(), TU); 140 ASTContext &Context = cxtu::getASTUnit(TU)->getASTContext(); 143 return MakeCXType(T, TU); 149 return MakeCXType(QualType(), TU); [all...] |
CIndexInclusionStack.cpp | 25 void clang_getInclusions(CXTranslationUnit TU, CXInclusionVisitor CB, 28 ASTUnit *CXXUnit = cxtu::getASTUnit(TU);
|
CIndex.cpp | 77 if (TU) 78 clang_disposeTranslationUnit(TU); 230 ASTUnit *Unit = cxtu::getASTUnit(TU); 279 ASTUnit *Unit = cxtu::getASTUnit(TU); 342 if (Visit(MakeCXCursor(D, TU, Range), /*CheckedRegionOfInterest=*/true)) 362 if (Visit(MakeCXCursor(D, TU, Range), /*CheckedRegionOfInterest=*/true)) 433 if (Visit(MakeMacroExpansionCursor(ME, TU))) 440 if (Visit(MakeMacroDefinitionCursor(MD, TU))) 447 if (Visit(MakeInclusionDirectiveCursor(ID, TU))) 495 CXTranslationUnit TU = getCursorTU(Cursor) [all...] |
CursorVisitor.h | 65 CXTranslationUnit TU; 144 CursorVisitor(CXTranslationUnit TU, CXCursorVisitor Visitor, 151 : TU(TU), AU(cxtu::getASTUnit(TU)), 176 CXTranslationUnit getTU() const { return TU; }
|
CXSourceLocation.cpp | 121 CXSourceLocation clang_getLocation(CXTranslationUnit TU, 125 if (!TU || !file) 129 ASTUnit *CXXUnit = cxtu::getASTUnit(TU); 149 CXSourceLocation clang_getLocationForOffset(CXTranslationUnit TU, 152 if (!TU || !file) 155 ASTUnit *CXXUnit = cxtu::getASTUnit(TU);
|
CIndexDiagnostic.cpp | 158 CXDiagnosticSetImpl *cxdiag::lazyCreateDiags(CXTranslationUnit TU, 160 ASTUnit *AU = cxtu::getASTUnit(TU); 162 if (TU->Diagnostics && checkIfChanged) { 181 Set = static_cast<CXDiagnosticSetImpl*>(TU->Diagnostics); 186 TU->Diagnostics = 0; 190 if (!TU->Diagnostics) { 192 TU->Diagnostics = Set; 202 return static_cast<CXDiagnosticSetImpl*>(TU->Diagnostics);
|
CIndexCodeCompletion.cpp | 249 /// not rely on the StringPool in the TU. 532 CXTranslationUnit *TU; 539 TU(TranslationUnit) { } 596 CXCursor cursor = cxcursor::MakeCXCursor(D, *TU); 654 CXTranslationUnit TU; 665 CXTranslationUnit TU = CCAI->TU; 683 ASTUnit *AST = cxtu::getASTUnit(TU); 687 CIndexer *CXXIdx = TU->CIdx; 716 CaptureCompletionResults Capture(Opts, *Results, &TU); [all...] |
Indexing.cpp | 39 static void indexDiagnostics(CXTranslationUnit TU, IndexingContext &IdxCtx); 694 CXTranslationUnit TU; 740 static void indexDiagnostics(CXTranslationUnit TU, IndexingContext &IdxCtx) { 744 CXDiagnosticSetImpl *DiagSet = cxdiag::lazyCreateDiags(TU); 751 CXTranslationUnit TU = ITUI->TU; 758 if (!TU) 763 CIndexer *CXXIdx = TU->CIdx; 774 IndexCtx.reset(new IndexingContext(client_data, CB, index_options, TU)); 787 ASTUnit *Unit = cxtu::getASTUnit(TU); [all...] |
CIndexDiagnostic.h | 160 CXDiagnosticSetImpl *lazyCreateDiags(CXTranslationUnit TU,
|
/external/clang/test/Sema/ |
transparent-union.c | 7 } TU __attribute__((transparent_union)); 9 void f(TU); // expected-note{{passing argument to parameter here}} 17 TU tu_ip = ip; // expected-error{{incompatible type}} 18 TU tu; local 19 tu.ip = ip; 25 void fip(TU); 28 void ffp(TU); 31 void flp(TU); 34 void fvp(TU); // expected-note{{previous declaration is here} [all...] |
/external/clang/tools/c-index-test/ |
c-index-test.c | 81 static int checkForErrors(CXTranslationUnit TU); 90 CXTranslationUnit *TU) { 92 *TU = clang_createTranslationUnit(Idx, file); 93 if (!*TU) { 577 CXTranslationUnit TU = clang_Cursor_getTranslationUnit(Cursor); 771 if (clang_isFileMultipleIncludeGuarded(TU, File)) 929 void PrintDiagnostics(CXTranslationUnit TU) { 930 CXDiagnosticSet TUSet = clang_getDiagnosticSetFromTU(TU); 935 void PrintMemoryUsage(CXTranslationUnit TU) { 938 CXTUResourceUsage usage = clang_getCXTUResourceUsage(TU); [all...] |
/external/clang/lib/StaticAnalyzer/Checkers/ |
DebugCheckers.cpp | 117 void checkASTDecl(const TranslationUnitDecl *TU, AnalysisManager& mgr, 120 CG.addToCallGraph(const_cast<TranslationUnitDecl*>(TU)); 137 void checkASTDecl(const TranslationUnitDecl *TU, AnalysisManager& mgr, 140 CG.addToCallGraph(const_cast<TranslationUnitDecl*>(TU)); 158 void checkEndOfTranslationUnit(const TranslationUnitDecl *TU,
|
/external/clang/lib/Frontend/ |
ASTMerge.cpp | 59 TranslationUnitDecl *TU = Unit->getASTContext().getTranslationUnitDecl(); 60 for (DeclContext::decl_iterator D = TU->decls_begin(), 61 DEnd = TU->decls_end();
|
/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/ |
EventRecurrenceTest.java | 353 verifyRecurType("FREQ=DAILY;BYDAY=1SU,-2MO,+33TU,WE,TH,FR,SA", 364 EventRecurrence.TU, 383 verifyRecurType("FREQ=WEEKLY;WKST=MO;UNTIL=20100129T130000Z;INTERVAL=1;BYDAY=MO,TU,WE,", 393 EventRecurrence.TU, 409 + "BYDAY=MO,TU,WE,TH,FR,SA,SU", 419 EventRecurrence.TU, 438 verifyRecurType("FREQ=MONTHLY;BYDAY=MO,TU,WE,TH,FR;BYSETPOS=-1", 448 EventRecurrence.TU, 553 verifyRecurType("FREQ=WEEKLY;WKST=SU;INTERVAL=1;BYDAY=MO,TU,WE,TH,FR", 563 EventRecurrence.TU, [all...] |
/external/llvm/lib/Analysis/ |
DependenceAnalysis.cpp | [all...] |
/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
EventRecurrence.java | 43 public static final int TU = 0x00040000; 55 public int wkst; // SU, MO, TU, etc. 131 sParseWeekdayMap.put("TU", TU); 177 return TU; 200 return TU; 221 case TU: 249 case TU: 280 case TU: 281 return "TU"; [all...] |