Lines Matching refs:c1
25 unsigned char c1, c2;
61 c1 = code >> 8;
63 c2 = (((c1 - 0x21) & 1) ? 0x5e : 0) + (c2 - 0x21);
64 c1 = (c1 - 0x21) >> 1;
65 OUTBYTE1(c1 < 0x1f ? c1 + 0x81 : c1 + 0xc1);
70 c1 = (Py_UCS4)(c - 0xe000) / 188;
72 OUTBYTE1(c1 + 0xf0);
454 unsigned char c1, c2;
496 c1 = code >> 8;
498 c2 = (((c1 - 0x21) & 1) ? 0x5e : 0) + (c2 - 0x21);
499 c1 = (c1 - 0x21) >> 1;
500 OUTBYTE1(c1 < 0x1f ? c1 + 0x81 : c1 + 0xc1);
522 unsigned char c1, c2;
529 c1 = (c < 0xe0 ? c - 0x81 : c - 0xc1);
531 c1 = (2 * c1 + (c2 < 0x5e ? 0 : 1) + 0x21);
535 if (c1 == 0x21 && c2 == 0x40) {
542 if (TRYMAP_DEC(jisx0208, decoded, c1, c2)) {
569 int c1, c2;
638 c1 = code >> 8;
641 if (c1 & 0x80) {
643 if (c1 >= 0xee)
644 c1 -= 0x87;
645 else if (c1 >= 0xac || c1 == 0xa8)
646 c1 -= 0x49;
648 c1 -= 0x43;
652 c1 -= 0x21;
655 if (c1 & 1)
657 c1 >>= 1;
658 OUTBYTE1(c1 + (c1 < 0x1f ? 0x81 : 0xc1));
674 unsigned char c1, c2;
682 c1 = (c < 0xe0 ? c - 0x81 : c - 0xc1);
684 c1 = (2 * c1 + (c2 < 0x5e ? 0 : 1));
687 if (c1 < 0x5e) { /* Plane 1 */
688 c1 += 0x21;
690 c1, c2)
691 else if (TRYMAP_DEC(jisx0208, decoded, c1, c2))
693 else if (TRYMAP_DEC(jisx0213_1_bmp, decoded, c1, c2))
695 else if (TRYMAP_DEC(jisx0213_1_emp, code, c1, c2))
697 else if (TRYMAP_DEC(jisx0213_pair, code, c1, c2))
704 if (c1 >= 0x67)
705 c1 += 0x07;
706 else if (c1 >= 0x63 || c1 == 0x5f)
707 c1 -= 0x37;
709 c1 -= 0x3d;
712 c1, c2)
713 else if (TRYMAP_DEC(jisx0213_2_bmp, decoded, c1, c2))
715 else if (TRYMAP_DEC(jisx0213_2_emp, code, c1, c2)) {