Home | History | Annotate | Download | only in common

Lines Matching refs:bytes

46  * C0 control codes and space are encoded with their US-ASCII bytes.
60 /* number of lead bytes */
67 /* number of trail bytes */
76 /* number of lead bytes for positive and negative 2/3/4-byte sequences */
141 * but are also used as trail bytes in difference encoding
150 * External byte values that are illegal as trail bytes are mapped to -1.
254 * Encode a difference -0x10ffff..0x10ffff in 1..4 bytes
283 /* two bytes */
293 /* three bytes */
307 /* four bytes */
329 /* two bytes */
338 /* three bytes */
350 /* four bytes */
381 /** Is a diff value encodable in two bytes? */
541 /* write the output character bytes from diff and length */
770 /* write the output character bytes from diff and length */
854 * Function for BOCU-1 decoder; handles multi-byte lead bytes.
867 /* two bytes */
871 /* three bytes */
875 /* four bytes */
882 /* two bytes */
886 /* three bytes */
890 /* four bytes */
901 * Function for BOCU-1 decoder; handles multi-byte trail bytes.
903 * @param count number of remaining trail bytes including this one
945 uint8_t *bytes;
967 bytes=cnv->toUBytes;
1010 /* decode a sequence of single and lead bytes */
1054 bytes[0]=source[-2];
1055 bytes[1]=source[-1];
1067 * For multi-byte difference lead bytes, set the decoder state
1069 * with the number of trail bytes.
1071 bytes[0]=(uint8_t)c;
1083 c=bytes[byteIndex++]=*source++;
1167 uint8_t *bytes;
1188 bytes=cnv->toUBytes;
1224 /* decode a sequence of single and lead bytes */
1262 bytes[0]=source[-2];
1263 bytes[1]=source[-1];
1274 * For multi-byte difference lead bytes, set the decoder state
1276 * with the number of trail bytes.
1278 bytes[0]=(uint8_t)c;
1289 c=bytes[byteIndex++]=*source++;
1379 1, 4, /* one UChar generates at least 1 byte and at most 4 bytes */