Home
last modified time | relevance | path

Searched refs:byte2 (Results 1 – 25 of 42) sorted by relevance

12

/titanic_54/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Discsi_crc.c128 uint8_t byte0, byte1, byte2, byte3; in iscsi_crc32c() local
152 byte2 = (uint8_t)((result >> 16) & 0xFF); in iscsi_crc32c()
154 result = ((byte0 << 24) | (byte1 << 16) | (byte2 << 8) | byte3); in iscsi_crc32c()
171 uint8_t byte0, byte1, byte2, byte3; in iscsi_crc32c_continued() local
189 byte2 = (uint8_t)((crc >> 8) & 0xFF); in iscsi_crc32c_continued()
191 crc = ((byte3 << 24) | (byte2 << 16) | (byte1 << 8) | byte0); in iscsi_crc32c_continued()
204 byte2 = (uint8_t)((result >> 16) & 0xFF); in iscsi_crc32c_continued()
206 result = ((byte0 << 24) | (byte1 << 16) | (byte2 << 8) | byte3); in iscsi_crc32c_continued()
/titanic_54/usr/src/lib/iconv_modules/ko/common/
H A Djohap92_to_utf.c41 unsigned char byte1, byte2; in _johap92_to_utf8() local
75 byte2 = (char)(wcode & 0xFF); in _johap92_to_utf8()
76 if (byte1 < 0x84 || byte1 > 0xD3 || byte2 < 0x41 || byte2 > 0xFE || in _johap92_to_utf8()
77 (byte2 > 0x7E && byte2 < 0x81)) in _johap92_to_utf8()
H A Dcommon_utf.c73 if(utf8.byte.byte3 == 0 && utf8.byte.byte2 ==0) in _utf8_to_uni()
76 unicode.byte.byte2 = 0; in _utf8_to_uni()
82 if(utf8.byte.byte2 == 0){ in _utf8_to_uni()
85 unicode.byte.byte2 = 0; in _utf8_to_uni()
H A Dcommon_han.h41 unsigned char byte2; member
87 unsigned char byte2; member
H A Deuc_to_utf_main.c114 if((char)utf_code.byte.byte2 != '\0') in _icv_iconv()
118 *ob++ = (char)utf_code.byte.byte2; in _icv_iconv()
H A Duhang_to_utf_main.c140 if(utf_code.byte.byte2) in _icv_iconv()
141 *ob++ = (char)utf_code.byte.byte2; in _icv_iconv()
H A Ducs_to_unihan.c236 if(unihan.byte.byte1 == '\0' && unihan.byte.byte2 == '\0' && unihan.byte.byte3 == '\0') in _icv_iconv()
279 utf8_char.byte.byte2 = (uchar_t)(0xe0 | ((ucs_char & 0x0f000) >> 12)); in ucs_to_unihan()
284 utf8_char.byte.byte2 = (uchar_t)(0x80 | ((ucs_char & 0x003f000) >> 12)); in ucs_to_unihan()
H A Dutf_to_euc_main.c106 utf8_code.byte.byte2 = *ib; in _icv_iconv()
151 utf8_code.byte.byte2 = 0; in _icv_iconv()
H A Dutf_to_uhang_main.c102 utf8_code.byte.byte2 = 0; in _icv_iconv()
147 utf8_code.byte.byte2 = *ib; in _icv_iconv()
H A Dutf_to_uhang_sub.c78 if(utfcode.byte.byte1 ==0 && utfcode.byte.byte2 ==0 && utfcode.byte.byte3 ==0) in _utf8_to_unified_hangul()
H A Dojh_to_utf_main.c103 *ob++ = (char)utf_code.byte.byte2; in _icv_iconv()
/titanic_54/usr/src/lib/iconv_modules/th_TH/common/
H A Dcommon_thai.h41 unsigned char byte2; member
80 unsigned char byte2; member
/titanic_54/usr/src/cmd/sendmail/aux/
H A Drfc2047.c88 unqp(unsigned char byte1, unsigned char byte2) in unqp() argument
90 if (hexindex[byte1] == -1 || hexindex[byte2] == -1) in unqp()
92 return (hexindex[byte1] << 4 | hexindex[byte2]); in unqp()
/titanic_54/usr/src/lib/iconv_modules/zh/common/
H A Dzh_CN.euc%UTF-8.c206 is_valid_gb2312(UCHAR byte1, UCHAR byte2) in is_valid_gb2312() argument
209 (byte2 < EUC_BYTE2_LOWER || byte2 > EUC_BYTE2_UPPER) ) { in is_valid_gb2312()
H A DUTF-8%zh_TW-euc.c406 uchar_t byte1, byte2; in get_plane_no_by_utf() local
409 byte2 = 0xa1 + internIdx % 94; in get_plane_no_by_utf()
410 *cnscode = ((byte1 << 8) & 0xff00) | (byte2 & 0xff); in get_plane_no_by_utf()
/titanic_54/usr/src/lib/libnsl/des/
H A Ddes_soft.c319 work1.byte2 = data[2]; in __des_encrypt()
378 S_tab[2][ER.byte2] + \ in __des_encrypt()
387 P_tab[2][R.byte2] + \ in __des_encrypt()
465 data[2] = work2.byte2; in __des_encrypt()
/titanic_54/usr/src/lib/libcrypt/common/
H A Ddes_soft.c282 work1.byte2 = data[2]; in des_encrypt()
344 S_tab[2][ER.byte2] + \ in des_encrypt()
353 P_tab[2][R.byte2] + \ in des_encrypt()
430 data[2] = work2.byte2; in des_encrypt()
/titanic_54/usr/src/uts/common/des/
H A Ddes_soft.c230 work1.byte2 = data[2]; in des_encrypt()
302 S_tab[2][ER.byte2] + \ in des_encrypt()
311 P_tab[2][R.byte2] + \ in des_encrypt()
388 data[2] = work2.byte2; in des_encrypt()
H A Dsoftdes.h92 #define byte2 _bytes._byte2 macro
/titanic_54/usr/src/uts/common/io/idm/
H A Didm_impl.c915 uint8_t byte0, byte1, byte2, byte3; in idm_crc32c() local
939 byte2 = (uint8_t)((result >> 16) & 0xFF); in idm_crc32c()
941 result = ((byte0 << 24) | (byte1 << 16) | (byte2 << 8) | byte3); in idm_crc32c()
958 uint8_t byte0, byte1, byte2, byte3; in idm_crc32c_continued() local
977 byte2 = (uint8_t)((crc >> 8) & 0xFF); in idm_crc32c_continued()
979 crc = ((byte3 << 24) | (byte2 << 16) | (byte1 << 8) | byte0); in idm_crc32c_continued()
992 byte2 = (uint8_t)((result >> 16) & 0xFF); in idm_crc32c_continued()
994 result = ((byte0 << 24) | (byte1 << 16) | (byte2 << 8) | byte3); in idm_crc32c_continued()
/titanic_54/usr/src/uts/common/sys/nxge/
H A Dnxge_espc.h106 uint32_t byte2 : 8; member
112 uint32_t byte2 : 8;
/titanic_54/usr/src/cmd/luxadm/
H A Dqlgcupdate.c1359 char byte2; in emulex_fcode_reader() local
1405 byte2 = image[i++]; in emulex_fcode_reader()
1410 buffer1[b++] = byte2; in emulex_fcode_reader()
1416 if (pattern[n++] != byte2) { in emulex_fcode_reader()
1464 byte2 = image[i++]; in emulex_fcode_reader()
1507 buffer1[b++] = byte2; in emulex_fcode_reader()
1513 if (pattern[n++] != byte2) { in emulex_fcode_reader()
/titanic_54/usr/src/lib/efcode/fcdriver/
H A Dmisc.c434 char *str1, *str2, byte1, byte2; in fcd_comp() local
447 byte2 = POP(DS); in fcd_comp()
448 if (byte1 > byte2) { in fcd_comp()
452 if (byte1 < byte2) { in fcd_comp()
/titanic_54/usr/src/cmd/hal/utils/
H A Dcdutils.c163 uchar_t byte2; in get_mode_page() local
167 byte2 = (uchar_t)(((pc << 6) & 0xC0) | (page_no & 0x3f)); in get_mode_page()
170 if ((ret = mode_sense(fd, byte2, 1, 254, buf)) == 0) { in get_mode_page()
/titanic_54/usr/src/uts/common/kiconv/kiconv_tc/
H A Dkiconv_tc.c89 uchar_t byte2);
864 uchar_t byte2; in utf8_to_euctw() local
877 byte2 = 0xA1 + index % 94; in utf8_to_euctw()
902 byte2 = euctw_val & 0xFF; in utf8_to_euctw()
917 *ob = byte2; in utf8_to_euctw()

12