Home
last modified time | relevance | path

Searched refs:rtt2asc (Results 1 – 8 of 8) sorted by relevance

/external/mksh/src/
Dexpr.c777 if (!UTFMODE || rtt2asc(*src) < 0xC2 || in utf_ptradj()
795 if ((wc = ord(rtt2asc(*s++))) < 0x80) { in utf_mbtowc()
809 if (((c = ord(rtt2asc(*s++))) & 0xC0) != 0x80) in utf_mbtowc()
817 if (((c = ord(rtt2asc(*s++))) & 0xC0) != 0x80) in utf_mbtowc()
821 if (((c = ord(rtt2asc(*s++))) & 0xC0) != 0x80) in utf_mbtowc()
Dedit.c718 if (UTFMODE && prefix_len && (rtt2asc(words[0][prefix_len]) & 0xC0) == 0x80) in x_longest_prefix()
719 while (prefix_len && (rtt2asc(words[0][prefix_len]) & 0xC0) != 0xC0) in x_longest_prefix()
1190 if ((rtt2asc(buf[0]) >= (unsigned char)0xC2) && in x_e_getmbc()
1191 (rtt2asc(buf[0]) < (unsigned char)0xF0)) { in x_e_getmbc()
1195 if ((rtt2asc(c) & 0xC0) != 0x80) { in x_e_getmbc()
1201 if ((rtt2asc(buf[0]) >= (unsigned char)0xE0) && in x_e_getmbc()
1202 (rtt2asc(buf[0]) < (unsigned char)0xF0)) { in x_e_getmbc()
1323 if (((rtt2asc(c) & 0xC0) == 0x80) && left) { in x_insert()
1620 ((rtt2asc(*cp) & 0xC0) == 0x80)) in x_bs0()
1641 if (UTFMODE && (rtt2asc(c) > 0x7F)) in x_size2()
[all …]
Dsh.h1504 #define rtt2asc(c) ebcdic_rtt_toascii[(unsigned char)(c)] macro
1510 #define rtt2asc(c) ((unsigned char)(c)) macro
1531 #define ksh_numuc(c) (rtt2asc(c) - rtt2asc('A'))
1532 #define ksh_numlc(c) (rtt2asc(c) - rtt2asc('a'))
1533 #define ksh_toctrl(c) asc2rtt(ord(c) == ORD('?') ? 0x7F : rtt2asc(c) & 0x9F)
1534 #define ksh_unctrl(c) asc2rtt(rtt2asc(c) ^ 0x40U)
Dlex.c1562 else if (UTFMODE && (rtt2asc(*cp) > 0x7F)) { in pprompt()
1781 if (rtt2asc((c = o_getsc_u())) != 0xEF) { in yyskiputf8bom()
1785 if (rtt2asc((c = o_getsc_u())) != 0xBB) { in yyskiputf8bom()
1790 if (rtt2asc((c = o_getsc_u())) != 0xBF) { in yyskiputf8bom()
Deval.c1179 wc = rtt2asc(*s++); in varsub()
1530 while ((p-- > str) && ((rtt2asc(*p) & 0xC0) == 0x80)) in trimsub()
Dtree.c809 } else if (UTFMODE && rtt2asc(c) > 0x7F) { in vistree()
Dmisc.c1357 while (rtt2asc(c = *p++) >= 32) in print_value_quoted()
Dvar.c582 wc = 0xEF00 + rtt2asc(*s); in getint()