Home
last modified time | relevance | path

Searched refs:new_sel_start (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/drivers/tty/vt/
Dselection.c169 int new_sel_start, new_sel_end, spc; in set_selection() local
214 new_sel_start = ps; in set_selection()
219 for (new_sel_start = ps; ; ps -= 2) in set_selection()
224 new_sel_start = ps; in set_selection()
240 new_sel_start = ps - ps % vc->vc_size_row; in set_selection()
255 if (new_sel_end > new_sel_start && in set_selection()
266 highlight(new_sel_start, new_sel_end); in set_selection()
267 else if (new_sel_start == sel_start) in set_selection()
278 if (new_sel_start < sel_start) /* extend to left */ in set_selection()
279 highlight(new_sel_start, sel_start - 2); in set_selection()
[all …]
/Linux-v4.19/drivers/staging/speakup/
Dselection.c55 int new_sel_start, new_sel_end; in speakup_set_selection() local
78 new_sel_start = ps; in speakup_set_selection()
82 if (new_sel_end > new_sel_start && in speakup_set_selection()
92 if ((new_sel_start == sel_start) && (new_sel_end == sel_end)) in speakup_set_selection()
95 sel_start = new_sel_start; in speakup_set_selection()