Lines Matching refs:unicode
67 sel_pos(int n, bool unicode)
69 if (unicode)
198 static int vc_selection_store_chars(struct vc_data *vc, bool unicode)
204 /* chars can take up to 4 bytes with unicode */
205 bp = kmalloc_array((vc_sel.end - vc_sel.start) / 2 + 1, unicode ? 4 : 1,
217 u32 c = sel_pos(i, unicode);
218 if (unicode)
243 bool unicode = vt_do_kdgkbmode(fg_console) == K_UNICODE;
251 spc = is_space_on_vt(sel_pos(ps, unicode));
253 if ((spc && !is_space_on_vt(sel_pos(ps, unicode))) ||
254 (!spc && !inword(sel_pos(ps, unicode))))
261 spc = is_space_on_vt(sel_pos(pe, unicode));
263 if ((spc && !is_space_on_vt(sel_pos(pe, unicode))) ||
264 (!spc && !inword(sel_pos(pe, unicode))))
289 is_space_on_vt(sel_pos(new_sel_end, unicode))) {
291 if (!is_space_on_vt(sel_pos(pe, unicode)) ||
294 if (is_space_on_vt(sel_pos(pe, unicode)))
323 return vc_selection_store_chars(vc, unicode);