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 */
546 /* write the output character bytes from diff and length */
775 /* write the output character bytes from diff and length */
859 * Function for BOCU-1 decoder; handles multi-byte lead bytes.
872 /* two bytes */
876 /* three bytes */
880 /* four bytes */
887 /* two bytes */
891 /* three bytes */
895 /* four bytes */
906 * Function for BOCU-1 decoder; handles multi-byte trail bytes.
908 * @param count number of remaining trail bytes including this one
950 uint8_t *bytes;
972 bytes=cnv->toUBytes;
1015 /* decode a sequence of single and lead bytes */
1059 bytes[0]=source[-2];
1060 bytes[1]=source[-1];
1072 * For multi-byte difference lead bytes, set the decoder state
1074 * with the number of trail bytes.
1076 bytes[0]=(uint8_t)c;
1088 c=bytes[byteIndex++]=*source++;
1172 uint8_t *bytes;
1193 bytes=cnv->toUBytes;
1229 /* decode a sequence of single and lead bytes */
1267 bytes[0]=source[-2];
1268 bytes[1]=source[-1];
1279 * For multi-byte difference lead bytes, set the decoder state
1281 * with the number of trail bytes.
1283 bytes[0]=(uint8_t)c;
1294 c=bytes[byteIndex++]=*source++;
1387 1, 4, /* one UChar generates at least 1 byte and at most 4 bytes */