Lines Matching refs:ps
119 int i, ps, pe; in set_selection() local
148 ps = ys * video_size_row + (xs << 1); in set_selection()
163 if (ps > pe) /* make sel_start <= sel_end */ in set_selection()
165 int tmp = ps; in set_selection()
166 ps = pe; in set_selection()
178 new_sel_start = ps; in set_selection()
182 spc = isspace(sel_pos(ps)); in set_selection()
183 for (new_sel_start = ps; ; ps -= 2) in set_selection()
185 if ((spc && !isspace(sel_pos(ps))) || in set_selection()
186 (!spc && !inword(sel_pos(ps)))) in set_selection()
188 new_sel_start = ps; in set_selection()
189 if (!(ps % video_size_row)) in set_selection()
204 new_sel_start = ps - ps % video_size_row; in set_selection()