Lines Matching defs:bytes
49 * C0 control codes and space are encoded with their US-ASCII bytes.
63 /* number of lead bytes */
70 /* number of trail bytes */
79 /* number of lead bytes for positive and negative 2/3/4-byte sequences */
144 * but are also used as trail bytes in difference encoding
153 * External byte values that are illegal as trail bytes are mapped to -1.
220 /** Is a diff value encodable in two bytes? */
268 * Encode a difference -0x10ffff..0x10ffff in 1..4 bytes
298 /* two bytes */
308 /* three bytes */
322 /* four bytes */
344 /* two bytes */
353 /* three bytes */
365 /* four bytes */
544 /* write the output character bytes from diff and length */
773 /* write the output character bytes from diff and length */
857 * Function for BOCU-1 decoder; handles multi-byte lead bytes.
870 /* two bytes */
874 /* three bytes */
878 /* four bytes */
885 /* two bytes */
889 /* three bytes */
893 /* four bytes */
904 * Function for BOCU-1 decoder; handles multi-byte trail bytes.
906 * @param count number of remaining trail bytes including this one
948 uint8_t *bytes;
970 bytes=cnv->toUBytes;
1013 /* decode a sequence of single and lead bytes */
1057 bytes[0]=source[-2];
1058 bytes[1]=source[-1];
1070 * For multi-byte difference lead bytes, set the decoder state
1072 * with the number of trail bytes.
1074 bytes[0]=(uint8_t)c;
1086 c=bytes[byteIndex++]=*source++;
1170 uint8_t *bytes;
1189 bytes=cnv->toUBytes;
1225 /* decode a sequence of single and lead bytes */
1263 bytes[0]=source[-2];
1264 bytes[1]=source[-1];
1275 * For multi-byte difference lead bytes, set the decoder state
1277 * with the number of trail bytes.
1279 bytes[0]=(uint8_t)c;
1290 c=bytes[byteIndex++]=*source++;
1383 1, 4, /* one UChar generates at least 1 byte and at most 4 bytes */