Lines Matching defs:byte
416 * Return -1 with errno set if string has invalid byte sequence or too long.
473 * Return -1 with errno set if string has invalid byte sequence or too long.
553 unsigned int byte;
556 while ((byte = *((const unsigned char *)s++))) {
559 if (byte >= 0xF5) {
565 if (byte >= 0xC0)
569 if (byte >= 0xE0)
573 if (byte >= 0xF0) {
595 unsigned int byte = *((const unsigned char *)s);
597 /* single byte */
598 if (byte == 0) {
601 } else if (byte < 0x80) {
602 *wc = (u32) byte;
604 /* double byte */
605 } else if (byte < 0xc2) {
607 } else if (byte < 0xE0) {
611 *wc = ((u32)(byte & 0x1F) << 6)
616 /* three-byte */
617 } else if (byte < 0xF0) {
621 *wc = ((u32)(byte & 0x0F) << 12)
636 /* four-byte */
637 } else if (byte < 0xF5) {
642 *wc = ((u32)(byte & 0x07) << 18)
712 * Convert the input little endian, 2-byte Unicode string @ins, of length
719 * string *@outs (>= 0), not counting the terminating NULL byte. If the output
829 * corresponding little endian, 2-byte Unicode string.
864 /* Determine the size of the multi-byte string in bytes. */
866 /* Determine the length of the multi-byte string. */
1029 * 2-byte Unicode string. The length of the converted string is less