Home
last modified time | relevance | path

Searched refs:MSB (Results 1 – 25 of 80) sorted by relevance

1234

/illumos-gate/usr/src/lib/iconv_modules/zh/common/
H A Dzh_CN.euc%zh_CN.iso2022-CN.c32 #define MSB 0x80 macro
119 if (**inbuf & MSB) { in _icv_iconv()
138 if (**inbuf & MSB) { in _icv_iconv()
152 if (**inbuf & MSB) { in _icv_iconv()
167 if (**inbuf & MSB) { in _icv_iconv()
275 if (**inbuf & MSB) { in _cv_enconv()
293 if (**inbuf & MSB) { in _cv_enconv()
305 if (**inbuf & MSB) { in _cv_enconv()
319 if (**inbuf & MSB) { in _cv_enconv()
H A DHZ-GB-2312%UTF-8.c30 #define MSB 0x80 macro
111 } else if (((**inbuf) & MSB) == 0) { /* ASCII */ in _icv_iconv()
187 in_byte1 |= MSB;
188 in_byte2 |= MSB;
198 *(buf+1) = (unicode & 0x3f) | MSB;
205 *(buf+1) = ((unicode >> 6) & 0x3f) | MSB;
206 *(buf+2) = (unicode & 0x3f) | MSB;
H A Dzh_TW-iso2022-CN-EXT%zh_TW-euc.c80 *(*outbuf)++ = (unsigned char) (st->keepc[0] | MSB); in chinese_to_euc()
81 *(*outbuf)++ = (unsigned char) (st->keepc[1] | MSB); in chinese_to_euc()
134 *(*outbuf)++ = (unsigned char) (((cnscode >> 8) & 0xff) | MSB); in make_cns()
135 *(*outbuf)++ = (unsigned char) ((cnscode & 0xff) | MSB); in make_cns()
154 key.gbcode = (unsigned long) ((st->keepc[0] | MSB) << 8) + (st->keepc[1] | MSB); in gb_to_euc()
H A DUTF-8%zh_CN.euc.c33 #define MSB 0x80 macro
120 else if ((**inbuf & MSB) == 0) { /* ASCII */ in _icv_iconv()
147 if ((**inbuf & 0xc0) == MSB || st->little_endian) { /* Two-byte UTF */ in _icv_iconv()
160 if (c1 == 0 && (c2 & MSB) == 0) { in _icv_iconv()
203 if ((**inbuf & 0xc0) == MSB) { /* Three-byte UTF */ in _icv_iconv()
242 if ((**inbuf & 0xc0) == MSB) /* 0x80..0xbf */ in _icv_iconv()
251 if ((**inbuf & 0xc0) == MSB) /* 0x80..0xbf */ in _icv_iconv()
357 *buf = ((gb & 0xff00) >> 8) | MSB; in unicode_to_gb()
358 *(buf+1) = (gb & 0xff) | MSB; in unicode_to_gb()
H A Dzh_CN.euc%UTF-8.c32 #define MSB 0x80 macro
119 if ( **inbuf & MSB ) { in _icv_iconv()
153 if (**inbuf & MSB ) { in _icv_iconv()
271 *(buf+1) = (unicode & 0x3f) | MSB;
278 *(buf+1) = ((unicode >> 6) & 0x3f) | MSB;
279 *(buf+2) = (unicode & 0x3f) | MSB;
H A DUTF-8%HZ-GB-2312.c33 #define MSB 0x80 macro
105 if (**inbuf & MSB && st->saved_ustate ==U0) { in _icv_iconv()
115 if ((**inbuf & MSB) == 0) { /* ASCII */ in _icv_iconv()
168 if ((**inbuf & 0xc0) == MSB) { /* Two-byte UTF */ in _icv_iconv()
201 if ((**inbuf & 0xc0) == MSB) { /* Three-byte UTF */ in _icv_iconv()
239 if ((**inbuf & 0xc0) == MSB) /* 0x80..0xbf */ in _icv_iconv()
249 if ((**inbuf & 0xc0) == MSB) /* 0x80..0xbf */ in _icv_iconv()
H A Dzh_CN.euc%HZ-GB-2312.c29 #define MSB 0x80 macro
100 if ( **inbuf & MSB ) { in _icv_iconv()
122 if ( **inbuf & MSB ) { in _icv_iconv()
139 if ( **inbuf & MSB ) { in _icv_iconv()
H A DUTF-8%zh_TW-iso2022-7.c34 #define MSB 0x80 /* most significant bit */ macro
168 if ((**inbuf & MSB) == 0) { /* ASCII */ in _icv_iconv()
327 if ((**inbuf & 0xc0) == MSB) /* 0x80..0xbf */ in _icv_iconv()
336 if ((**inbuf & 0xc0) == MSB) /* 0x80..0xbf */ in _icv_iconv()
465 cns_str[0] = *buf | MSB; in utf8_to_iso()
466 cns_str[1] = *(buf+1) | MSB; in utf8_to_iso()
486 cns_str[2] = (char) *buf | MSB; in utf8_to_iso()
487 cns_str[3] = (char) *(buf+1) | MSB; in utf8_to_iso()
H A DHZ-GB-2312%zh_CN.euc.c32 #define MSB 0x80 macro
110 } else if (!((**inbuf) & MSB)) { /* ASCII */ in _icv_iconv()
186 *buf = in_byte1 | MSB;
187 *(buf+1) = in_byte2 | MSB;
H A Dzh_TW-big5%zh_TW-iso2022-7.c32 #define MSB 0x80 /* most significant bit */ macro
160 if (**inbuf & MSB) { in _icv_iconv()
369 cns_str[0] = *buf | MSB; in big5_to_iso()
370 cns_str[1] = *(buf+1) | MSB; in big5_to_iso()
390 cns_str[2] = (char) *buf | MSB; in big5_to_iso()
391 cns_str[3] = (char) *(buf+1) | MSB; in big5_to_iso()
H A DUTF-8%zh_CN.iso2022-7.c35 #define MSB 0x80 macro
116 if ((**inbuf & MSB) == 0) { /* ASCII */ in _icv_iconv()
181 if ((**inbuf & 0xc0) == MSB) { /* two-byte UTF */ in _icv_iconv()
212 if ((**inbuf & 0xc0) == MSB) { /* three-byte UTF */ in _icv_iconv()
245 if ((**inbuf & 0xc0) == MSB) /* 0x80..0xbf */ in _icv_iconv()
254 if ((**inbuf & 0xc0) == MSB) /* 0x80..0xbf */ in _icv_iconv()
H A Dzh_TW-euc%zh_TW-iso2022-7.c32 #define MSB 0x80 /* most significant bit */ macro
175 if (**inbuf & MSB) { in _icv_iconv()
207 if (**inbuf & MSB) { /* plane #1 */ in _icv_iconv()
223 if (**inbuf & MSB) { /* 3rd byte */ in _icv_iconv()
232 if (**inbuf & MSB) { /* 4th byte */ in _icv_iconv()
440 if ((uc & MSB) == 0) { in _cv_enconv()
456 if (uc & MSB) { in _cv_enconv()
562 if (uc & MSB) { in get_plane_no_by_str()
H A DUTF-8%zh_TW-big5p.c34 #define MSB 0x80 /* most significant bit */ macro
142 if ((**inbuf & MSB) == 0) { /* ASCII */ in _icv_iconv()
172 if ((**inbuf & 0xc0) == MSB) { in _icv_iconv()
202 if ((**inbuf & 0xc0) == MSB) { in _icv_iconv()
259 if ((**inbuf & 0xc0) == MSB) /* 0x80..0xbf */ in _icv_iconv()
268 if ((**inbuf & 0xc0) == MSB) /* 0x80..0xbf */ in _icv_iconv()
H A Dzh_CN.gbk%HZ-GB-2312.c29 #define MSB 0x80 macro
108 if ( **inbuf & MSB ) { in _icv_iconv()
133 } else if ( **inbuf & MSB ) { in _icv_iconv()
159 if ( **inbuf & MSB ) { in _icv_iconv()
H A Dzh_TW-euc%zh_TW-big5.c32 #define MSB 0x80 /* most significant bit */ macro
135 if (**inbuf & MSB) { in _icv_iconv()
154 if (**inbuf & MSB) { /* plane #1 */ in _icv_iconv()
175 if (**inbuf & MSB) { /* 3rd byte */ in _icv_iconv()
183 if (**inbuf & MSB) { /* 4th byte */ in _icv_iconv()
H A DUTF-8%zh_HK.hkscs.c35 #define MSB 0x80 /* most significant bit */ macro
158 else if ((**inbuf & MSB) == 0) { /* ASCII */ in _icv_iconv()
188 if ((**inbuf & 0xc0) == MSB || st->little_endian) { in _icv_iconv()
237 if ((**inbuf & 0xc0) == MSB) { in _icv_iconv()
297 if ((**inbuf & 0xc0) == MSB) /* 0x80..0xbf */ in _icv_iconv()
306 if ((**inbuf & 0xc0) == MSB) /* 0x80..0xbf */ in _icv_iconv()
H A DUTF-8%zh_CN.gbk.c34 #define MSB 0x80 /* most significant bit */ macro
136 if (unichr < MSB) { /* ASCII */ in _icv_iconv()
230 if ((**inbuf & MSB) == 0) { /* ASCII */ in _icv_iconv()
258 if ((**inbuf & 0xc0) == MSB) { in _icv_iconv()
291 if ((**inbuf & 0xc0) == MSB) { in _icv_iconv()
348 if ((**inbuf & 0xc0) == MSB) /* 0x80..0xbf */ in _icv_iconv()
357 if ((**inbuf & 0xc0) == MSB) /* 0x80..0xbf */ in _icv_iconv()
H A Dzh_TW-iso2022-7%zh_TW-euc.c33 #define MSB 0x80 /* most significant bit */ macro
296 st->keepc[0] = (char) (**inbuf | MSB); in _icv_iconv()
302 st->keepc[2] = (char) (**inbuf | MSB); in _icv_iconv()
308 st->keepc[1] = (char) (**inbuf | MSB); in _icv_iconv()
321 st->keepc[3] = (char) (**inbuf | MSB); in _icv_iconv()
602 xputc(ioobj, c1 | MSB); in zconversion()
603 xputc(ioobj, c2 | MSB); in zconversion()
617 xputc(ioobj, c1 | MSB); in zconversion()
618 xputc(ioobj, c2 | MSB); in zconversion()
H A Dzh_TW-euc%zh_TW-iso2022-CN-EXT.c31 #define MSB 0x80 /* most significant bit */ macro
179 if (**inbuf & MSB) { in _icv_iconv()
213 if (**inbuf & MSB) { /* plane #1 */ in _icv_iconv()
227 if (**inbuf & MSB) { /* 3rd byte */ in _icv_iconv()
236 if (**inbuf & MSB) { /* 4th byte */ in _icv_iconv()
H A DUTF-8%zh_TW-big5.c35 #define MSB 0x80 /* most significant bit */ macro
159 else if ((**inbuf & MSB) == 0) { /* ASCII */ in _icv_iconv()
188 if ((**inbuf & 0xc0) == MSB || st->little_endian) { in _icv_iconv()
237 if ((**inbuf & 0xc0) == MSB) { in _icv_iconv()
300 if ((**inbuf & 0xc0) == MSB) /* 0x80..0xbf */ in _icv_iconv()
309 if ((**inbuf & 0xc0) == MSB) /* 0x80..0xbf */ in _icv_iconv()
/illumos-gate/usr/src/lib/iconv_modules/ko/common/
H A Dutf_to_johap92.c33 #define MSB 0x80 /* mask for most-significant-bit */ macro
111 if((*ib & MSB) == 0){ /* MSB is off, so ASCII */ in _icv_iconv()
158 if((*ib & 0xc0) == MSB){ in _icv_iconv()
175 if((*ib & 0xc0) == MSB){ in _icv_iconv()
196 if((*ib & 0xc0) == MSB){ in _icv_iconv()
212 if((*ib & 0xc0) == MSB){ in _icv_iconv()
227 if((*ib & 0xc0) == MSB){ in _icv_iconv()
237 if((*ib & 0xc0) == MSB){ in _icv_iconv()
/illumos-gate/usr/src/lib/iconv_modules/vi/common/
H A DUTF-8%viscii.c34 #define MSB 0x80 /* most significant bit */ macro
142 if ((**inbuf & MSB) == 0) { /* ASCII */ in _icv_iconv()
172 if ((**inbuf & 0xc0) == MSB) { in _icv_iconv()
204 if ((**inbuf & 0xc0) == MSB) { in _icv_iconv()
248 if ((**inbuf & 0xc0) == MSB) { in _icv_iconv()
256 if ((**inbuf & 0xc0) == MSB) { in _icv_iconv()
/illumos-gate/usr/src/lib/iconv_modules/common/
H A Dcnv_utf8ibm.c34 #define MSB 0x80 /* most significant bit */ macro
102 if ((**inbuf & MSB) == 0) { /* ASCII */ in _icv_iconv()
123 if ((**inbuf & 0xc0) == MSB) { in _icv_iconv()
143 if ((**inbuf & 0xc0) == MSB) { in _icv_iconv()
151 if ((**inbuf & 0xc0) == MSB) { in _icv_iconv()
H A Dutf8%ibm.c34 #define MSB 0x80 /* most significant bit */ macro
110 if ((**inbuf & MSB) == 0) { /* ASCII */ in _icv_iconv()
133 if ((**inbuf & 0xc0) == MSB) { in _icv_iconv()
153 if ((**inbuf & 0xc0) == MSB) { in _icv_iconv()
161 if ((**inbuf & 0xc0) == MSB) { in _icv_iconv()
/illumos-gate/usr/src/lib/iconv_modules/hi_IN/
H A DUTF-8%iscii91.c33 #define MSB 0x80 /* most significant bit */ macro
252 if ((**inbuf & MSB) == 0) { /* ASCII */ in _icv_iconv()
278 if ((**inbuf & 0xc0) == MSB) { /* U+0080 -- U+07FF */ in _icv_iconv()
303 if ((**inbuf & 0xc0) == MSB) { in _icv_iconv()
386 if ((**inbuf & 0xc0) == MSB) /* 0x80..0xbf */ in _icv_iconv()
395 if ((**inbuf & 0xc0) == MSB) /* 0x80..0xbf */ in _icv_iconv()

1234