Home | History | Annotate | Download | only in cindex

Lines Matching refs:tu

33     tu = get_tu(kInput)
35 it = tu.cursor.get_children()
73 tu = get_tu('int x;')
74 cursors = list(tu.cursor.get_children())
80 # Delete reference to TU and perform a full GC.
81 del tu
85 # If the TU was destroyed, this should cause a segfault.
90 tu = get_tu(source)
93 for cursor in tu.cursor.get_children():
103 tu = get_tu(source, lang='cpp')
105 cls = get_cursor(tu, 'X')
106 foo = get_cursor(tu, 'foo')
107 bar = get_cursor(tu, 'bar')
118 tu = get_tu(source, lang='cpp')
120 xs = get_cursors(tu, 'X')
137 tu = get_tu(source, lang='cpp')
139 xs = get_cursors(tu, 'X')
153 tu = get_tu(source, lang='cpp')
155 xs = get_cursors(tu, 'X')
167 tu = get_tu(source, lang='cpp')
169 xs = get_cursors(tu, 'X')
183 tu = get_tu(source, lang='cpp')
185 xs = get_cursors(tu, 'X')
186 ys = get_cursors(tu, 'Y')
200 tu = get_tu(source, lang='cpp')
202 cls = get_cursor(tu, 'X')
203 x_ = get_cursor(tu, 'x_')
204 y_ = get_cursor(tu, 'y_')
216 tu = get_tu(source, lang='cpp')
218 cls = get_cursor(tu, 'X')
219 foo = get_cursor(tu, 'foo')
220 bar = get_cursor(tu, 'bar')
231 tu = get_tu(source, lang='cpp')
233 cls = get_cursor(tu, 'X')
234 foo = get_cursor(tu, 'foo')
235 bar = get_cursor(tu, 'bar')
246 tu = get_tu(source, lang='cpp')
248 cls = get_cursor(tu, 'X')
249 foo = get_cursor(tu, 'foo')
250 bar = get_cursor(tu, 'bar')
259 tu = get_tu('typedef int foo;')
260 typedef = get_cursor(tu, 'foo')
275 tu = get_tu(kParentTest, 'cpp')
276 curs = get_cursors(tu, 'f')
277 decl = get_cursor(tu, 'C')
283 tu = get_tu(kParentTest, 'cpp')
284 curs = get_cursors(tu, 'f')
285 decl = get_cursor(tu, 'C')
289 assert(curs[1].lexical_parent == tu.cursor)
292 tu = get_tu('enum TEST { FOO=1, BAR=2 };')
293 enum = get_cursor(tu, 'TEST')
301 tu = get_tu('enum TEST : long long { FOO=1, BAR=2 };', lang="cpp")
302 enum = get_cursor(tu, 'TEST')
309 tu = get_tu('int i;', lang='objc')
310 i = get_cursor(tu, 'i')
316 tu = get_tu('enum TEST { SPAM=1, EGG, HAM = EGG * 20};')
317 enum = get_cursor(tu, 'TEST')
335 tu = get_tu('enum TEST : long long { SPAM = -1, HAM = 0x10000000000};', lang="cpp")
336 enum = get_cursor(tu, 'TEST')
352 tu = get_tu('int foo (void) __attribute__ ((annotate("here be annotation attribute")));')
354 foo = get_cursor(tu, 'foo')
365 tu = get_tu('int foo();')
366 foo = get_cursor(tu, 'foo')
374 tu = get_tu('int foo(int i);')
375 foo = get_cursor(tu, 'foo')
383 tu = get_tu('void foo(int i, int j);')
384 foo = get_cursor(tu, 'foo')
400 tu = get_tu(kTemplateArgTest, lang='cpp')
401 foos = get_cursors(tu, 'foo')
406 tu = get_tu(kTemplateArgTest, lang='cpp')
407 foos = get_cursors(tu, 'foo')
414 tu = get_tu(kTemplateArgTest, lang='cpp')
415 foos = get_cursors(tu, 'foo')
420 tu = get_tu(kTemplateArgTest, lang='cpp')
421 foos = get_cursors(tu, 'foo')
427 tu = get_tu(kTemplateArgTest, lang='cpp')
428 foos = get_cursors(tu, 'foo')
434 tu = get_tu('void foo(); void bar() { foo(); }')
435 foo = get_cursor(tu, 'foo')
436 bar = get_cursor(tu, 'bar')
446 tu = get_tu(kInputForMangling, lang='cpp')
447 foo = get_cursor(tu, 'foo')