Home | History | Annotate | Download | only in common

Lines Matching refs:CurByte

1116     ulmbcs_byte_t   CurByte; /* A byte from the input stream */
1125 CurByte = *((ulmbcs_byte_t *) (args->source++));
1129 * 1. 'CurByte' points at the first byte of a LMBCS character
1130 * 2. '*source'points to the next byte of the source stream after 'CurByte'
1139 if(((CurByte > ULMBCS_C0END) && (CurByte < ULMBCS_C1START)) /* ascii range */
1140 || (CurByte == 0)
1141 || CurByte == ULMBCS_HT || CurByte == ULMBCS_CR
1142 || CurByte == ULMBCS_LF || CurByte == ULMBCS_123SYSTEMRANGE)
1144 uniChar = CurByte;
1152 if (CurByte == ULMBCS_GRP_CTRL) /* Control character group - no opt group update */
1160 if (CurByte == ULMBCS_GRP_UNICODE) /* Unicode compatibility group: BigEndian UTF16 */
1167 else if (CurByte <= ULMBCS_CTRLOFFSET)
1169 group = CurByte; /* group byte is in the source */
1195 CurByte = *(args->source)++;
1197 if (CurByte >= ULMBCS_C1START)
1199 uniChar = _MBCS_SINGLE_SIMPLE_GET_NEXT_BMP(cnv, CurByte);
1213 bytes[1] = CurByte;
1218 else if (CurByte >= ULMBCS_C1START) /* group byte is implicit */
1225 if (!ucnv_MBCSIsLeadByte(cnv, CurByte))
1229 /* let the MBCS conversion consume CurByte again */
1235 /* let the MBCS conversion consume CurByte again */
1242 uniChar = _MBCS_SINGLE_SIMPLE_GET_NEXT_BMP(cnv, CurByte);