Lines Matching refs:bytes
69 * ISO-2022 bytes 00..7f should be interpreted as ISO-8859-7 bytes 80..ff.
94 * as bytes 21..7E. (Subtract 0x80.)
96 * as bytes 20..7F. (Subtract 0x80.)
97 * Do not encode C1 control codes with native bytes 80..9F
98 * as bytes 00..1F (C0 control codes).
406 const char *bytes, int32_t length,
413 ucnv_fromUWriteBytes(cnv, bytes, length, &targetChars, targetLimit,
989 * - If any of the non-initial bytes could be the start of a character,
991 * In escape sequences, all following bytes are "printable", that is,
993 * they are valid single/lead bytes.
995 * illegal sequence and back out all other bytes we looked at.
997 /* Back out some bytes. */
1004 /* Back out bytes from the previous buffer: Need to replay them. */
1076 * @return number of bytes in *value; negative number if fallback; 0 if no mapping
1100 /* get the bytes and the length for the output */
1161 /* convert the Unicode code point in c into codepage bytes (same as in _MBCSFromUnicodeWithOffsets) */
1369 * (ii) If the last character on a line is represented by two bytes then an ASCII or
1371 * (iii) If the first character on the line is represented by two bytes then a two
1481 * to JIS X 0208, and convert it to a pair of 21..7E bytes.
1516 * Convert a pair of JIS X 0208 21..7E bytes to Shift-JIS.
1523 _2022ToSJIS(uint8_t c1, uint8_t c2, char bytes[2]) {
1548 bytes[0] = (char)c1;
1549 bytes[1] = (char)c2;
1556 * because Shift-JIS roundtrips half-width Katakana to single bytes.
1783 /* Shift U+FF61..U+FF9F to bytes 21..5F. */
1789 /* JIS8: use 8-bit bytes with any single-byte charset, see escape sequence output below */
1790 /* Shift U+FF61..U+FF9F to bytes A1..DF. */
1863 * Check for valid bytes for the encoding scheme.
1886 outLen = 0; /* count output bytes */
1921 /* write the output bytes */
1944 /* output outLen>0 bytes in buffer[] */
2146 /* convert one or two bytes */
2204 * - If any of the non-initial bytes could be the start of a character,
2209 * Otherwise we convert or report the pair of bytes.
2220 /* Copy before we modify tmpSourceChar so toUnicodeCallback() sees the correct bytes. */
2230 /* report a pair of illegal bytes if the second byte is not a DBCS starter */
2232 /* add another bit so that the code below writes 2 bytes in case of error */
2718 * - If any of the non-initial bytes could be the start of a character,
2723 * Otherwise we convert or report the pair of bytes.
2734 /* report a pair of illegal bytes if the second byte is not a DBCS starter */
2736 /* add another bit so that the code below writes 2 bytes in case of error */
2797 * ESC $ ) A Indicates the bytes following SO are Chinese
2802 * ESC $ ) E Indicates the bytes following SO are as defined
2806 bytes following SO are as defined
2810 * ESC $ * H Indicates the two bytes immediately following
2817 * ESC $ + I Indicates the immediate two bytes following SS3
2824 * ESC $ + J Indicates the immediate two bytes following SS3
2831 * ESC $ + K Indicates the immediate two bytes following SS3
2836 * ESC $ + L Indicates the immediate two bytes following SS3
2841 * ESC $ + M Indicates the immediate two bytes following SS3
3087 len = 0; /* count output bytes; it must have been abs(len) == 2 */
3124 /* write the two output bytes */
3137 /* output len>0 bytes in buffer[] */
3318 /* convert one or two bytes */
3332 * - If any of the non-initial bytes could be the start of a character,
3337 * Otherwise we convert or report the pair of bytes.
3360 /* report a pair of illegal bytes if the second byte is not a DBCS starter */
3362 /* add another bit so that the code below writes 2 bytes in case of error */
3759 3, /* max 3 bytes per UChar from UTF-8 (4 bytes from surrogate _pair_) */
3809 6, /* max 6 bytes per UChar: 4-byte escape sequence + DBCS */
3859 3, /* max 3 bytes per UChar: SO+DBCS */
3910 8, /* max 8 bytes per UChar: 4-byte CNS designator + 2 bytes for SS2/SS3 + DBCS */