Home | History | Annotate | Download | only in cintltst

Lines Matching refs:bytes

58  * C0 control codes and space are encoded with their US-ASCII bytes.
74 /* number of lead bytes */
81 /* number of trail bytes */
90 /* number of lead bytes for positive and negative 2/3/4-byte sequences */
155 * but are also used as trail bytes in difference encoding
164 * External byte values that are illegal as trail bytes are mapped to -1.
272 * Encode a difference -0x10ffff..0x10ffff in 1..4 bytes
295 /* two bytes */
300 /* three bytes */
305 /* four bytes */
313 /* two bytes */
318 /* three bytes */
323 /* four bytes */
337 /* calculate trail bytes like digits in itoa() */
405 * Function for BOCU-1 decoder; handles multi-byte lead bytes.
421 /* two bytes */
425 /* three bytes */
429 /* four bytes */
436 /* two bytes */
440 /* three bytes */
444 /* four bytes */
457 * Function for BOCU-1 decoder; handles multi-byte trail bytes.
564 * For multi-byte difference lead bytes, set the decoder state
566 * with the number of trail bytes.
605 * @return number of bytes
665 * Encode one difference value -0x10ffff..+0x10ffff in 1..4 bytes,
672 * @return p advanced by number of bytes output
707 * @return number of bytes output
728 * @param p pointer to input BOCU-1 bytes
729 * @param length number of input bytes
761 * @param bytes 0-terminated byte array to print
764 printBytes(uint8_t *bytes, char *out) {
769 while((b=*bytes++)!=0) {
794 log_verbose("reach of single bytes: %ld\n", 1+BOCU1_REACH_POS_1-BOCU1_REACH_NEG_1);
795 log_verbose("reach of 2 bytes : %ld\n", 1+BOCU1_REACH_POS_2-BOCU1_REACH_NEG_2);
796 log_verbose("reach of 3 bytes : %ld\n\n", 1+BOCU1_REACH_POS_3-BOCU1_REACH_NEG_3);
823 /* show first number and bytes */
850 /* remember the previous bytes */
854 /* show last number and bytes */