Home | History | Annotate | Download | only in cindex

Lines Matching refs:tu

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)
49 file = File.from_name(tu, 't.c')
50 location = SourceLocation.from_position(tu, file, 1, 5)
51 cursor = Cursor.from_location(tu, location)
53 one = get_cursor(tu, 'one')
58 location2 = SourceLocation.from_position(tu, file, 1, 5)
60 location3 = SourceLocation.from_position(tu, file, 1, 4)
63 offset_location = SourceLocation.from_offset(tu, file, 5)
64 cursor = Cursor.from_location(tu, offset_location)
66 for n in [n for n in tu.cursor.get_children() if n.spelling == 'one']:
73 tu = get_tu(baseInput)
74 one = get_cursor(tu, 'one')
75 two = get_cursor(tu, 'two')
85 file = File.from_name(tu, 't.c')
86 location1 = SourceLocation.from_position(tu, file, 1, 1)
87 location2 = SourceLocation.from_position(tu, file, 1, 8)
93 location3 = SourceLocation.from_position(tu, file, 1, 6)