Home | History | Annotate | Download | only in common

Lines Matching refs:c1

97  * Do not encode C1 control codes with native bytes 80..9F
1527 _2022ToSJIS(uint8_t c1, uint8_t c2, char bytes[2]) {
1528 if(c1&1) {
1529 ++c1;
1544 c1 >>= 1;
1545 if(c1 <= 0x2f) {
1546 c1 += 0x70;
1547 } else if(c1 <= 0x3f) {
1548 c1 += 0xb0;
1550 c1 = 0; /* invalid */
1552 bytes[0] = (char)c1;
2137 /* ISO-2022-JP does not use single-byte (C1) SS2 and SS3 */
3317 /* ISO-2022-CN does not use single-byte (C1) SS2 and SS3 */
3726 /* ISO 2022 converters do not convert C1 controls either */