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,
967 * - If any of the non-initial bytes could be the start of a character,
969 * In escape sequences, all following bytes are "printable", that is,
971 * they are valid single/lead bytes.
973 * illegal sequence and back out all other bytes we looked at.
975 /* Back out some bytes. */
982 /* Back out bytes from the previous buffer: Need to replay them. */
1054 * @return number of bytes in *value; negative number if fallback; 0 if no mapping
1078 /* get the bytes and the length for the output */
1139 /* convert the Unicode code point in c into codepage bytes (same as in _MBCSFromUnicodeWithOffsets) */
1347 * (ii) If the last character on a line is represented by two bytes then an ASCII or
1349 * (iii) If the first character on the line is represented by two bytes then a two
1459 * to JIS X 0208, and convert it to a pair of 21..7E bytes.
1494 * Convert a pair of JIS X 0208 21..7E bytes to Shift-JIS.
1501 _2022ToSJIS(uint8_t c1, uint8_t c2, char bytes[2]) {
1526 bytes[0] = (char)c1;
1527 bytes[1] = (char)c2;
1534 * because Shift-JIS roundtrips half-width Katakana to single bytes.
1761 /* Shift U+FF61..U+FF9F to bytes 21..5F. */
1767 /* JIS8: use 8-bit bytes with any single-byte charset, see escape sequence output below */
1768 /* Shift U+FF61..U+FF9F to bytes A1..DF. */
1841 * Check for valid bytes for the encoding scheme.
1864 outLen = 0; /* count output bytes */
1899 /* write the output bytes */
1922 /* output outLen>0 bytes in buffer[] */
2124 /* convert one or two bytes */
2182 * - If any of the non-initial bytes could be the start of a character,
2187 * Otherwise we convert or report the pair of bytes.
2198 /* Copy before we modify tmpSourceChar so toUnicodeCallback() sees the correct bytes. */
2208 /* report a pair of illegal bytes if the second byte is not a DBCS starter */
2210 /* add another bit so that the code below writes 2 bytes in case of error */
2696 * - If any of the non-initial bytes could be the start of a character,
2701 * Otherwise we convert or report the pair of bytes.
2712 /* report a pair of illegal bytes if the second byte is not a DBCS starter */
2714 /* add another bit so that the code below writes 2 bytes in case of error */
2775 * ESC $ ) A Indicates the bytes following SO are Chinese
2780 * ESC $ ) E Indicates the bytes following SO are as defined
2784 * ESC $ ) G Indicates the bytes following SO are as defined
2788 * ESC $ * H Indicates the two bytes immediately following
2795 * ESC $ + I Indicates the immediate two bytes following SS3
2802 * ESC $ + J Indicates the immediate two bytes following SS3
2809 * ESC $ + K Indicates the immediate two bytes following SS3
2814 * ESC $ + L Indicates the immediate two bytes following SS3
2819 * ESC $ + M Indicates the immediate two bytes following SS3
3065 len = 0; /* count output bytes; it must have been abs(len) == 2 */
3102 /* write the two output bytes */
3115 /* output len>0 bytes in buffer[] */
3296 /* convert one or two bytes */
3310 * - If any of the non-initial bytes could be the start of a character,
3315 * Otherwise we convert or report the pair of bytes.
3338 /* report a pair of illegal bytes if the second byte is not a DBCS starter */
3340 /* add another bit so that the code below writes 2 bytes in case of error */
3737 3, /* max 3 bytes per UChar from UTF-8 (4 bytes from surrogate _pair_) */
3787 6, /* max 6 bytes per UChar: 4-byte escape sequence + DBCS */
3837 3, /* max 3 bytes per UChar: SO+DBCS */
3888 8, /* max 8 bytes per UChar: 4-byte CNS designator + 2 bytes for SS2/SS3 + DBCS */