Lines Matching refs:unicode
67 sel_pos(int n, bool unicode)
69 if (unicode)
189 static int vc_selection_store_chars(struct vc_data *vc, bool unicode)
195 /* chars can take up to 4 bytes with unicode */
196 bp = kmalloc_array((vc_sel.end - vc_sel.start) / 2 + 1, unicode ? 4 : 1,
208 u32 c = sel_pos(i, unicode);
209 if (unicode)
234 bool unicode = vt_do_kdgkbmode(fg_console) == K_UNICODE;
242 spc = is_space_on_vt(sel_pos(ps, unicode));
244 if ((spc && !is_space_on_vt(sel_pos(ps, unicode))) ||
245 (!spc && !inword(sel_pos(ps, unicode))))
252 spc = is_space_on_vt(sel_pos(pe, unicode));
254 if ((spc && !is_space_on_vt(sel_pos(pe, unicode))) ||
255 (!spc && !inword(sel_pos(pe, unicode))))
280 is_space_on_vt(sel_pos(new_sel_end, unicode))) {
282 if (!is_space_on_vt(sel_pos(pe, unicode)) ||
285 if (is_space_on_vt(sel_pos(pe, unicode)))
314 return vc_selection_store_chars(vc, unicode);