/illumos-gate/usr/src/lib/iconv_modules/common/ |
H A D | common_utf8.c | 38 uchar_t first_byte = *ib; in convert_utf8_to_ucs4() local 41 if ( number_of_bytes_in_utf8_char[first_byte] != utf8_len) return 0; in convert_utf8_to_ucs4() 67 uchar_t first_byte; in is_valid_utf8_string() local 73 first_byte = *ib; in is_valid_utf8_string() 82 if ( *ib < valid_min_2nd_byte[first_byte] || *ib > valid_max_2nd_byte[first_byte] ) in is_valid_utf8_string()
|
/illumos-gate/usr/src/lib/iconv_modules/utf-8/common/ |
H A D | utf8.c | 64 uint_t first_byte; in _icv_iconv() local 97 first_byte = *ib_copy++; in _icv_iconv() 98 u4 = first_byte & (uint_t)masks_tbl[sz]; in _icv_iconv() 100 if (first_byte) { in _icv_iconv() 102 valid_min_2nd_byte[first_byte] || in _icv_iconv() 104 valid_max_2nd_byte[first_byte]) { in _icv_iconv() 109 first_byte = 0; in _icv_iconv()
|
H A D | utf8_to_utf_ebcdic.c | 84 uint_t first_byte; in _icv_iconv() local 101 first_byte = *ib; in _icv_iconv() 104 if (first_byte) { in _icv_iconv() 106 valid_min_2nd_byte[first_byte] || in _icv_iconv() 108 valid_max_2nd_byte[first_byte]) { in _icv_iconv() 114 first_byte = 0; in _icv_iconv()
|
H A D | utf8_to_ucs.c | 107 uint_t first_byte; in _icv_iconv() local 125 first_byte = *ib; in _icv_iconv() 128 if (first_byte) { in _icv_iconv() 130 valid_min_2nd_byte[first_byte] || in _icv_iconv() 132 valid_max_2nd_byte[first_byte]) { in _icv_iconv() 138 first_byte = 0; in _icv_iconv()
|
/illumos-gate/usr/src/lib/iconv_modules/vi/common/ |
H A D | UTF-8%viscii.c | 135 uchar_t first_byte; in _icv_iconv() local 190 first_byte = (uchar_t)st->keepc[0]; in _icv_iconv() 194 if (((uchar_t)**inbuf) < valid_min_2nd_byte[first_byte] || in _icv_iconv() 195 ((uchar_t)**inbuf) > valid_max_2nd_byte[first_byte] ) in _icv_iconv() 233 first_byte = st->keepc[0]; in _icv_iconv() 239 if (((uchar_t)**inbuf) < valid_min_2nd_byte[first_byte] || in _icv_iconv() 240 ((uchar_t)**inbuf) > valid_max_2nd_byte[first_byte] ) in _icv_iconv()
|
/illumos-gate/usr/src/lib/iconv_modules/ko/common/ |
H A D | utf_to_johap92.c | 108 unsigned char first_byte; in _icv_iconv() local 173 first_byte = (unsigned char) st->_buffer[0]; in _icv_iconv() 181 if((unsigned char)*ib < valid_min_2nd_byte[first_byte] || in _icv_iconv() 182 (unsigned char)*ib > valid_max_2nd_byte[first_byte]){ in _icv_iconv() 211 first_byte = st->_buffer[0]; in _icv_iconv() 213 if((unsigned char)*ib < valid_min_2nd_byte[first_byte] || in _icv_iconv() 214 (unsigned char)*ib > valid_max_2nd_byte[first_byte]){ in _icv_iconv()
|
/illumos-gate/usr/src/lib/iconv_modules/zh/common/ |
H A D | UTF-8%HZ-GB-2312.c | 101 uchar_t first_byte; in _icv_iconv() local 187 first_byte = st->_cbuf[0]; in _icv_iconv() 192 if (((uchar_t)**inbuf) < valid_min_2nd_byte[first_byte] || in _icv_iconv() 193 ((uchar_t)**inbuf) > valid_max_2nd_byte[first_byte] ) in _icv_iconv() 222 first_byte = st->_cbuf[0]; in _icv_iconv() 228 if (((uchar_t)**inbuf) < valid_min_2nd_byte[first_byte] || in _icv_iconv() 229 ((uchar_t)**inbuf) > valid_max_2nd_byte[first_byte] ) in _icv_iconv()
|
H A D | UTF-8%zh_CN.euc.c | 109 uchar_t first_byte; in _icv_iconv() local 188 first_byte = st->_cbuf[0]; in _icv_iconv() 193 if (((uchar_t)**inbuf) < valid_min_2nd_byte[first_byte] || in _icv_iconv() 194 ((uchar_t)**inbuf) > valid_max_2nd_byte[first_byte] ) in _icv_iconv() 226 first_byte = st->_cbuf[0]; in _icv_iconv() 232 if (((uchar_t)**inbuf) < valid_min_2nd_byte[first_byte] || in _icv_iconv() 233 ((uchar_t)**inbuf) > valid_max_2nd_byte[first_byte] ) in _icv_iconv()
|
H A D | UTF-8%zh_CN.iso2022-7.c | 112 uchar_t first_byte; in _icv_iconv() local 198 first_byte = st->_cbuf[0]; in _icv_iconv() 203 if (((uchar_t)**inbuf) < valid_min_2nd_byte[first_byte] || in _icv_iconv() 204 ((uchar_t)**inbuf) > valid_max_2nd_byte[first_byte] ) in _icv_iconv() 230 first_byte = st->_cbuf[0]; in _icv_iconv() 236 if (((uchar_t)**inbuf) < valid_min_2nd_byte[first_byte] || in _icv_iconv() 237 ((uchar_t)**inbuf) > valid_max_2nd_byte[first_byte] ) in _icv_iconv()
|
H A D | UTF-8%zh_TW-big5p.c | 138 uchar_t first_byte; in _icv_iconv() local 188 first_byte = st->keepc[0]; in _icv_iconv() 193 if (((uchar_t)**inbuf) < valid_min_2nd_byte[first_byte] || in _icv_iconv() 194 ((uchar_t)**inbuf) > valid_max_2nd_byte[first_byte] ) in _icv_iconv() 243 first_byte = st->keepc[0]; in _icv_iconv() 249 if (((uchar_t)**inbuf) < valid_min_2nd_byte[first_byte] || in _icv_iconv() 250 ((uchar_t)**inbuf) > valid_max_2nd_byte[first_byte] ) in _icv_iconv()
|
H A D | UTF-8%zh_HK.hkscs.c | 146 uchar_t first_byte; in _icv_iconv() local 223 first_byte = st->keepc[0]; in _icv_iconv() 228 if (((uchar_t)**inbuf) < valid_min_2nd_byte[first_byte] || in _icv_iconv() 229 ((uchar_t)**inbuf) > valid_max_2nd_byte[first_byte] ) in _icv_iconv() 281 first_byte = st->keepc[0]; in _icv_iconv() 287 if (((uchar_t)**inbuf) < valid_min_2nd_byte[first_byte] || in _icv_iconv() 288 ((uchar_t)**inbuf) > valid_max_2nd_byte[first_byte] ) in _icv_iconv()
|
H A D | UTF-8%zh_TW-big5.c | 147 uchar_t first_byte; in _icv_iconv() local 223 first_byte = st->keepc[0]; in _icv_iconv() 228 if (((uchar_t)**inbuf) < valid_min_2nd_byte[first_byte] || in _icv_iconv() 229 ((uchar_t)**inbuf) > valid_max_2nd_byte[first_byte] ) in _icv_iconv() 284 first_byte = st->keepc[0]; in _icv_iconv() 290 if (((uchar_t)**inbuf) < valid_min_2nd_byte[first_byte] || in _icv_iconv() 291 ((uchar_t)**inbuf) > valid_max_2nd_byte[first_byte] ) in _icv_iconv()
|
H A D | UTF-8%zh_TW-euc.c | 151 uchar_t first_byte; in _icv_iconv() local 227 first_byte = st->keepc[0]; in _icv_iconv() 232 if (((uchar_t)**inbuf) < valid_min_2nd_byte[first_byte] || in _icv_iconv() 233 ((uchar_t)**inbuf) > valid_max_2nd_byte[first_byte] ) in _icv_iconv() 288 first_byte = st->keepc[0]; in _icv_iconv() 294 if (((uchar_t)**inbuf) < valid_min_2nd_byte[first_byte] || in _icv_iconv() 295 ((uchar_t)**inbuf) > valid_max_2nd_byte[first_byte] ) in _icv_iconv()
|
H A D | UTF-8%zh_TW-iso2022-7.c | 164 uchar_t first_byte; in _icv_iconv() local 225 first_byte = st->keepc[0]; in _icv_iconv() 230 if (((uchar_t)**inbuf) < valid_min_2nd_byte[first_byte] || in _icv_iconv() 231 ((uchar_t)**inbuf) > valid_max_2nd_byte[first_byte] ) in _icv_iconv() 313 first_byte = st->keepc[0]; in _icv_iconv() 318 if (((uchar_t)**inbuf) < valid_min_2nd_byte[first_byte] || in _icv_iconv() 319 ((uchar_t)**inbuf) > valid_max_2nd_byte[first_byte] ) in _icv_iconv()
|
H A D | UTF-8%zh_CN.gbk.c | 225 uchar_t first_byte; in _icv_iconv() local 276 first_byte = (uchar_t)st->keepc[0]; in _icv_iconv() 281 if (((uchar_t)**inbuf) < valid_min_2nd_byte[first_byte] || in _icv_iconv() 282 ((uchar_t)**inbuf) > valid_max_2nd_byte[first_byte] ) in _icv_iconv() 333 first_byte = st->keepc[0]; in _icv_iconv() 339 if (((uchar_t)**inbuf) < valid_min_2nd_byte[first_byte] || in _icv_iconv() 340 ((uchar_t)**inbuf) > valid_max_2nd_byte[first_byte] ) in _icv_iconv()
|
H A D | zh_TW-euc%zh_TW-iso2022-7.c | 68 int first_byte; member 390 st->first_byte = 1; in _cv_open() 423 st->first_byte = 1; in _cv_enconv() 452 if (st->first_byte) { in _cv_enconv() 453 st->first_byte = 0; in _cv_enconv() 547 st->first_byte = 1; in _cv_enconv()
|
H A D | UTF-8%zh_CN.iso2022-CN.c | 126 uchar_t first_byte; in _icv_iconv() local 201 first_byte = st->_keepc[0]; in _icv_iconv() 206 if (((uchar_t)**inbuf) < valid_min_2nd_byte[first_byte] || in _icv_iconv() 207 ((uchar_t)**inbuf) > valid_max_2nd_byte[first_byte] ) in _icv_iconv() 434 first_byte = st->_keepc[0]; in _icv_iconv() 440 if (((uchar_t)**inbuf) < valid_min_2nd_byte[first_byte] || in _icv_iconv() 441 ((uchar_t)**inbuf) > valid_max_2nd_byte[first_byte] ) in _icv_iconv()
|
/illumos-gate/usr/src/lib/iconv_modules/hi_IN/ |
H A D | UTF-8%iscii91.c | 248 uchar_t first_byte; in _icv_iconv() local 289 first_byte = st->keepc[0]; in _icv_iconv() 294 if (((uchar_t) **inbuf) < valid_min_2nd_byte[first_byte] || in _icv_iconv() 295 ((uchar_t) **inbuf) > valid_max_2nd_byte[first_byte] ) in _icv_iconv() 371 first_byte = st->keepc[0]; in _icv_iconv() 377 if (((uchar_t) **inbuf) < valid_min_2nd_byte[first_byte] || in _icv_iconv() 378 ((uchar_t) **inbuf) > valid_max_2nd_byte[first_byte] ) in _icv_iconv()
|
/illumos-gate/usr/src/cmd/prtfru/ |
H A D | prtfru.c | 492 uchar_t first_byte, data[128]; in print_field() local 633 (void) memcpy((uchar_t *)&first_byte, field, 1); in print_field() 634 if (isprint(first_byte)) { in print_field()
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/lib/fruaccess/ |
H A D | fru_access.c | 763 uchar_t first_byte; in fru_open_container() local 826 first_byte = 0x00; in fru_open_container() 828 retval = pread(device_fd, &first_byte, sizeof (first_byte), 0); in fru_open_container() 830 switch (first_byte) { in fru_open_container()
|
/illumos-gate/usr/src/uts/common/io/scsi/targets/ |
H A D | sd.c | 12091 offset_t first_byte; in sd_mapblocksize_iostart() local 12178 first_byte = SD_SYSBLOCKS2BYTES((offset_t)xp->xb_blkno); in sd_mapblocksize_iostart() 12181 (first_byte / un->un_phy_blocksize) * in sd_mapblocksize_iostart() 12183 end_block = ((first_byte + bp->b_bcount + in sd_mapblocksize_iostart() 12187 start_block = xp->xb_blkno = first_byte / un->un_tgt_blocksize; in sd_mapblocksize_iostart() 12188 end_block = (first_byte + bp->b_bcount + in sd_mapblocksize_iostart() 12201 if (((first_byte % un->un_phy_blocksize) == 0) && in sd_mapblocksize_iostart() 12206 if (((first_byte % un->un_tgt_blocksize) == 0) && in sd_mapblocksize_iostart() 12267 bsp->mbs_copy_offset = (ssize_t)(first_byte - in sd_mapblocksize_iostart() 12272 bsp->mbs_copy_offset = (ssize_t)(first_byte - in sd_mapblocksize_iostart() [all …]
|