/external/clang/bindings/python/tests/cindex/ |
test_diagnostics.py | 7 tu = get_tu('int f0() {}\n') 8 assert len(tu.diagnostics) == 1 9 assert tu.diagnostics[0].severity == Diagnostic.Warning 10 assert tu.diagnostics[0].location.line == 1 11 assert tu.diagnostics[0].location.column == 11 12 assert (tu.diagnostics[0].spelling == 17 tu = get_tu('#define A x\nvoid *A = 1;\n') 18 assert len(tu.diagnostics) == 1 19 assert tu.diagnostics[0].severity == Diagnostic.Warning 20 assert tu.diagnostics[0].location.line == [all...] |
test_location.py | 16 tu = get_tu(baseInput) 17 one = get_cursor(tu, 'one') 18 two = get_cursor(tu, 'two') 27 tu = get_tu('\n' + baseInput) 28 one = get_cursor(tu, 'one') 29 two = get_cursor(tu, 'two') 38 tu = get_tu(' ' + baseInput) 39 one = get_cursor(tu, 'one') 40 two = get_cursor(tu, 'two') 47 tu = get_tu(baseInput [all...] |
test_file.py | 5 tu = index.parse('t.c', unsaved_files = [('t.c', "")]) 6 file = File.from_name(tu, "t.c")
|
test_type.py | 25 tu = get_tu(kInput) 27 teststruct = get_cursor(tu, 'teststruct') 81 tu = get_tu(constarrayInput) 83 teststruct = get_cursor(tu, 'teststruct') 95 tu = get_tu(source) 97 a = get_cursor(tu, 'a') 98 b = get_cursor(tu, 'b') 99 v = get_cursor(tu, 'v') 113 tu = get_tu('int a;') 114 a = get_cursor(tu, 'a' [all...] |
test_index.py | 14 tu = index.parse(os.path.join(kInputsDir, 'hello.cpp')) 15 assert isinstance(tu, TranslationUnit)
|
test_translation_unit.py | 9 tu = index.parse(path) 10 assert tu.spelling == path 15 tu = index.parse(path) 16 c = tu.cursor 23 tu = index.parse(path, ['-DDECL_ONE=hello', '-DDECL_TWO=hi']) 24 spellings = [c.spelling for c in tu.cursor.get_children()] 31 tu = index.parse(path, ['-DDECL_ONE=hello', '-DDECL_TWO=hi']) 32 tu.reparse() 33 spellings = [c.spelling for c in tu.cursor.get_children()] 39 tu = index.parse('fake.c', ['-I./'], unsaved_files = [all...] |
util.py | 30 tu = index.parse(name, args=args, unsaved_files=[(name, source)]) 31 assert tu is not None 32 return tu 47 # Assume TU
|
test_cursor.py | 30 tu = get_tu(kInput) 33 it = tu.cursor.get_children() 70 tu = get_tu('typedef int foo;') 71 typedef = get_cursor(tu, 'foo') 79 tu = get_tu('enum TEST { FOO=1, BAR=2 };') 80 enum = get_cursor(tu, 'TEST') 88 tu = get_tu('int i;', lang='objc') 89 i = get_cursor(tu, 'i')
|
/external/clang/tools/libclang/ |
CXString.h | 27 CXTranslationUnit TU; 28 CXStringBuf(CXTranslationUnit tu) : TU(tu) {} 46 CXStringBuf *getCXStringBuf(CXTranslationUnit TU);
|
CXTranslationUnit.h | 32 CXTranslationUnitImpl *MakeCXTranslationUnit(CIndexer *CIdx, ASTUnit *TU); 35 CXTranslationUnitImpl *TU; 38 CXTUOwner(CXTranslationUnitImpl *tu) : TU(tu) { } 41 CXTranslationUnitImpl *getTU() const { return TU; } 44 CXTranslationUnitImpl *retTU = TU; 45 TU = 0;
|
CXSourceLocation.cpp | 119 CXSourceLocation clang_getLocation(CXTranslationUnit tu, 123 if (!tu || !file) 127 ASTUnit *CXXUnit = static_cast<ASTUnit *>(tu->TUData); 146 CXSourceLocation clang_getLocationForOffset(CXTranslationUnit tu, 149 if (!tu || !file) 152 ASTUnit *CXXUnit = static_cast<ASTUnit *>(tu->TUData);
|
CIndex.cpp | 56 CXTranslationUnit cxtu::MakeCXTranslationUnit(CIndexer *CIdx, ASTUnit *TU) { 57 if (!TU) 61 D->TUData = TU; 68 if (TU) 69 clang_disposeTranslationUnit(TU); 214 ASTUnit *Unit = static_cast<ASTUnit *>(TU->TUData); 260 ASTUnit *Unit = static_cast<ASTUnit *>(TU->TUData); 323 if (Visit(MakeCXCursor(D, TU, Range), /*CheckedRegionOfInterest=*/true)) 343 Visit(MakeCXCursor(D, TU, Range), /*CheckedRegionOfInterest=*/true); 409 if (Visit(MakeMacroExpansionCursor(ME, TU))) 471 CXTranslationUnit tu = getCursorTU(Cursor); local [all...] |
/external/clang/bindings/python/examples/cindex/ |
cindex-includes.py | 33 tu = index.parse(None, args) 34 if not tu: 44 for i in tu.get_includes():
|
cindex-dump.py | 78 tu = index.parse(None, args) 79 if not tu: 82 pprint(('diags', map(get_diag_info, tu.diagnostics))) 83 pprint(('nodes', get_info(tu.cursor)))
|
/external/yaffs2/yaffs2/ |
yaffs_tagscompat.c | 123 yaffs_TagsUnion *tu = (yaffs_TagsUnion *) tagsPtr; local 127 sparePtr->tagByte0 = tu->asBytes[0]; 128 sparePtr->tagByte1 = tu->asBytes[1]; 129 sparePtr->tagByte2 = tu->asBytes[2]; 130 sparePtr->tagByte3 = tu->asBytes[3]; 131 sparePtr->tagByte4 = tu->asBytes[4]; 132 sparePtr->tagByte5 = tu->asBytes[5]; 133 sparePtr->tagByte6 = tu->asBytes[6]; 134 sparePtr->tagByte7 = tu->asBytes[7]; 140 yaffs_TagsUnion *tu = (yaffs_TagsUnion *) tagsPtr local [all...] |
/frameworks/base/core/jni/android/opengl/ |
poly_clip.cpp | 66 float t, tu, tv; local 72 tu = sign*COORD(u, index) - u->sw*k; 73 for (v= &p->vert[0], i=p->n; i>0; i--, u=v, tu=tv, v++) { 77 if ((tu <= 0.0f) ^ (tv <= 0.0f)) { 79 t = tu/(tu-tv);
|
/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...] |
/development/tools/mkstubs/tests/data/ |
TestTemplateClass.java | 53 public <X extends T, Y> void getMap(List<T> list, Map<T, U> tu, Map<X, Set<? super Y>> xy) {
|
/external/yaffs2/yaffs2/utils/ |
mkyaffsimage.c | 189 yaffs_TagsUnion *tu = (yaffs_TagsUnion *)tagsPtr; local 193 sparePtr->tagByte0 = tu->asBytes[0]; 194 sparePtr->tagByte1 = tu->asBytes[1]; 195 sparePtr->tagByte2 = tu->asBytes[2]; 196 sparePtr->tagByte3 = tu->asBytes[3]; 197 sparePtr->tagByte4 = tu->asBytes[4]; 198 sparePtr->tagByte5 = tu->asBytes[5]; 199 sparePtr->tagByte6 = tu->asBytes[6]; 200 sparePtr->tagByte7 = tu->asBytes[7];
|
/external/llvm/test/Bindings/Ocaml/ |
executionengine.ml | 41 let tu = (1, 2) in 42 let ptrgv = GenericValue.of_pointer tu in 43 assert (tu = GenericValue.as_pointer ptrgv);
|
/hardware/ti/wlan/wl1271/TWD/MacServices/ |
ScanSrv.h | 276 * \param tu - the time in time units 279 TI_UINT32 MacServices_scanSRVConvertTUToMsec( TI_UINT32 tu );
|
/external/wpa_supplicant_8/src/p2p/ |
p2p_dev_disc.c | 284 * Peer is expected to be awake for at least 100 TU; try to 338 unsigned int tu; local 343 "100 TU"); 349 /* Remain awake 100 TU on operating channel */ 351 tu = 100; 352 if (p2p->cfg->start_listen(p2p->cfg->cb_ctx, rx_freq, 1024 * tu / 1000,
|
/external/clang/lib/Analysis/ |
AnalysisDeclContext.cpp | 37 idx::TranslationUnit *tu, 41 TU(tu), 54 idx::TranslationUnit *tu) 57 TU(tu), 199 idx::TranslationUnit *TU) { 202 AC = new AnalysisDeclContext(this, D, TU, cfgBuildOptions);
|
/external/icu4c/config/ |
Makefile.inc.in | 91 TOOLUTIL_STUBNAME = tu 107 ICULIBS_TOOLUTIL = -l$(ICUPREFIX)tu$(ICULIBSUFFIX)$(ICULIBSUFFIX_VERSION)
|
/external/wpa_supplicant_8/src/ap/ |
ieee802_11_shared.c | 26 u32 timeout, tu; local 34 tu = (passed.sec * 1000000 + passed.usec) / 1024; 35 if (hapd->conf->assoc_sa_query_max_timeout > tu) 36 timeout = hapd->conf->assoc_sa_query_max_timeout - tu;
|