Home | History | Annotate | Download | only in cindex

Lines Matching refs:one

8 baseInput="int one;\nint two;\n"
17 one = get_cursor(tu, 'one')
20 assert one is not None
23 assert_location(one.location,line=1,column=5,offset=4)
28 one = get_cursor(tu, 'one')
31 assert one is not None
34 assert_location(one.location,line=2,column=5,offset=5)
39 one = get_cursor(tu, 'one')
42 assert_location(one.location,line=1,column=6,offset=5)
53 one = get_cursor(tu, 'one')
54 assert one is not None
55 assert one == cursor
66 for n in [n for n in tu.cursor.get_children() if n.spelling == 'one']:
74 one = get_cursor(tu, 'one')
77 assert_location(one.extent.start,line=1,column=1,offset=0)
78 assert_location(one.extent.end,line=1,column=8,offset=7)
79 assert baseInput[one.extent.start.offset:one.extent.end.offset] == "int one"