Home
last modified time | relevance | path

Searched refs:in_byte2 (Results 1 – 9 of 9) sorted by relevance

/illumos-gate/usr/src/lib/iconv_modules/zh/common/
H A DHZ-GB-2312%UTF-8.c46 hz2utf8(char in_byte1, char in_byte2, char *buf, int buflen);
176 hz2utf8(in_byte1, in_byte2, buf, buflen) in hz2utf8() argument
177 char in_byte1, in_byte2; in hz2utf8()
188 in_byte2 |= MSB;
191 idx = (((in_byte1 & 0xff) - 0xa1) * 94) + (in_byte2 & 0xff) - 0xa1;
H A DHZ-GB-2312%zh_CN.euc.c45 hz2gb(char in_byte1, char in_byte2, char *buf, int buflen);
178 hz2gb(in_byte1, in_byte2, buf, buflen) in hz2gb() argument
179 char in_byte1, in_byte2; in hz2gb()
187 *(buf+1) = in_byte2 | MSB;
H A Dzh_CN.euc%UTF-8.c56 gb_to_unicode(_iconv_st *st, char in_byte2, char *buf, int buflen, int *uconv_num);
222 gb_to_unicode(st, in_byte2, buf, buflen, uconv_num) in gb_to_unicode() argument
224 char in_byte2;
233 idx = (((in_byte1 & 0xff) - 0xa1) * 94) + (in_byte2 & 0xff) - 0xa1;
H A Dzh_CN.euc%zh_CN.iso2022-CN.c46 int gb_to_iso(char in_byte1, char in_byte2, char *buf, int buflen);
196 gb_to_iso(in_byte1, in_byte2, buf, buflen) in gb_to_iso() argument
197 char in_byte1, in_byte2; in gb_to_iso()
204 *(buf+1) = in_byte2 & MSB_OFF;
H A DUTF-8%HZ-GB-2312.c44 int unicode_to_gb_to_hz(char in_byte1, char in_byte2, char *buf, int buflen);
291 int unicode_to_gb_to_hz(in_byte1, in_byte2, buf, buflen) in unicode_to_gb_to_hz() argument
292 char in_byte1, in_byte2; in unicode_to_gb_to_hz()
301 unicode = ((in_byte1 & 0xff) << 8) + (in_byte2 & 0xff);
H A DUTF-8%zh_CN.iso2022-7.c50 int unicode_to_iso(char in_byte1, char in_byte2, char *buf, int buflen);
292 int unicode_to_iso(in_byte1, in_byte2, buf, buflen) in unicode_to_iso() argument
293 char in_byte1, in_byte2; in unicode_to_iso()
302 unicode = ((in_byte1 & 0xff) << 8) + (in_byte2 & 0xff);
H A DUTF-8%zh_CN.euc.c328 int unicode_to_gb(char in_byte1, char in_byte2, char *buf, int buflen, int *uconv_num) in unicode_to_gb() argument
335 unicode = ((in_byte1 & 0xff) << 8) + (in_byte2 & 0xff); in unicode_to_gb()
H A Dzh_CN.iso2022-CN%UTF-8.c637 char in_byte1, in_byte2; in iso_gb_to_utf() local
647 in_byte2=st->_keepc[1]; in iso_gb_to_utf()
649 idx = (((in_byte1 & 0xff) - 0x21) * 94) + (in_byte2 & 0xff) - 0x21; in iso_gb_to_utf()
H A Dzh_CN.iso2022-CN%zh_CN.euc.c728 iso_to_gb(char in_byte1, char in_byte2, char *buf, int buflen) in iso_to_gb() argument
733 *(buf+1) = in_byte2 | MSB; in iso_to_gb()