Lines Matching refs:uc

527 	int		 sz, uc;  in term_word()  local
570 uc = mchars_num2uc(seq + 1, sz - 1); in term_word()
573 uc = mchars_num2char(seq, sz); in term_word()
574 if (uc < 0) in term_word()
583 uc = mchars_spec2cp(seq, sz); in term_word()
584 if (uc > 0) in term_word()
585 encode1(p, uc); in term_word()
589 uc = *seq; in term_word()
632 uc = -p->col; in term_word()
634 uc = 0; in term_word()
637 uc += term_hen(p, &su); in term_word()
638 if (uc > 0) in term_word()
639 while (uc-- > 0) in term_word()
641 else if (p->col > (size_t)(-uc)) in term_word()
642 p->col += uc; in term_word()
644 uc += p->col; in term_word()
646 if (p->tcol->offset > (size_t)(-uc)) { in term_word()
647 p->ti += uc; in term_word()
648 p->tcol->offset += uc; in term_word()
658 uc = term_hen(p, &su); in term_word()
659 if (uc <= 0) { in term_word()
664 lsz = uc; in term_word()
666 uc = -1; in term_word()
672 uc = mchars_num2uc(cp + 1, sz - 1); in term_word()
675 uc = mchars_num2char(cp, sz); in term_word()
678 uc = mchars_spec2cp(cp, sz); in term_word()
681 uc = *seq; in term_word()
684 uc = -1; in term_word()
688 uc = *cp; in term_word()
689 if (uc < 0x20 || (uc > 0x7E && uc < 0xA0)) in term_word()
690 uc = '_'; in term_word()
692 cp = ascii_uc2str(uc); in term_word()
696 csz = (*p->width)(p, uc); in term_word()
701 encode1(p, uc); in term_word()
741 cp = ascii_uc2str(uc); in term_word()
744 if ((uc < 0x20 && uc != 0x09) || in term_word()
745 (uc > 0x7E && uc < 0xA0)) in term_word()
746 uc = 0xFFFD; in term_word()
747 encode1(p, uc); in term_word()
919 int ssz, skip, uc; in term_strlen() local
945 uc = mchars_num2uc(seq + 1, ssz - 1); in term_strlen()
948 uc = mchars_num2char(seq, ssz); in term_strlen()
949 if (uc < 0) in term_strlen()
958 uc = mchars_spec2cp(seq, ssz); in term_strlen()
959 if (uc > 0) in term_strlen()
960 sz += cond_width(p, uc, &skip); in term_strlen()
964 uc = *seq; in term_strlen()
1009 rhs = ascii_uc2str(uc); in term_strlen()
1012 if ((uc < 0x20 && uc != 0x09) || in term_strlen()
1013 (uc > 0x7E && uc < 0xA0)) in term_strlen()
1014 uc = 0xFFFD; in term_strlen()
1015 sz += cond_width(p, uc, &skip); in term_strlen()