Lines Matching refs:unicode
67 sel_pos(int n, bool unicode)
69 if (unicode)
188 static int vc_selection_store_chars(struct vc_data *vc, bool unicode)
194 /* chars can take up to 4 bytes with unicode */
195 bp = kmalloc_array((vc_sel.end - vc_sel.start) / 2 + 1, unicode ? 4 : 1,
207 u32 c = sel_pos(i, unicode);
208 if (unicode)
233 bool unicode = vt_do_kdgkbmode(fg_console) == K_UNICODE;
241 spc = isspace(sel_pos(ps, unicode));
243 if ((spc && !isspace(sel_pos(ps, unicode))) ||
244 (!spc && !inword(sel_pos(ps, unicode))))
251 spc = isspace(sel_pos(pe, unicode));
253 if ((spc && !isspace(sel_pos(pe, unicode))) ||
254 (!spc && !inword(sel_pos(pe, unicode))))
279 isspace(sel_pos(new_sel_end, unicode))) {
281 if (!isspace(sel_pos(pe, unicode)) ||
284 if (isspace(sel_pos(pe, unicode)))
313 return vc_selection_store_chars(vc, unicode);