Lines Matching refs:tu
26 tu = get_tu(baseInput)
27 one = get_cursor(tu, 'one')
28 two = get_cursor(tu, 'two')
37 tu = get_tu('\n' + baseInput)
38 one = get_cursor(tu, 'one')
39 two = get_cursor(tu, 'two')
48 tu = get_tu(' ' + baseInput)
49 one = get_cursor(tu, 'one')
50 two = get_cursor(tu, 'two')
57 tu = get_tu(baseInput)
59 file = File.from_name(tu, 't.c')
60 location = SourceLocation.from_position(tu, file, 1, 5)
61 cursor = Cursor.from_location(tu, location)
63 one = get_cursor(tu, 'one')
68 location2 = SourceLocation.from_position(tu, file, 1, 5)
70 location3 = SourceLocation.from_position(tu, file, 1, 4)
73 offset_location = SourceLocation.from_offset(tu, file, 5)
74 cursor = Cursor.from_location(tu, offset_location)
76 for n in [n for n in tu.cursor.get_children() if n.spelling == 'one']:
83 tu = get_tu(baseInput)
84 one = get_cursor(tu, 'one')
85 two = get_cursor(tu, 'two')
95 file = File.from_name(tu, 't.c')
96 location1 = SourceLocation.from_position(tu, file, 1, 1)
97 location2 = SourceLocation.from_position(tu, file, 1, 8)
103 location3 = SourceLocation.from_position(tu, file, 1, 6)