• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.5.8/xnu-1228.15.4/bsd/vfs/

Lines Matching defs:byte

173  * a NULL termination byte). The string must reside in kernel memory.
179 * UTF_REVERSE_ENDIAN: Unicode byte order is opposite current runtime
181 * UTF_BIG_ENDIAN: Unicode byte order is always big endian
183 * UTF_LITTLE_ENDIAN: Unicode byte order is always little endian
246 * UTF_BIG_ENDIAN: Unicode byte order is always big endian
248 * UTF_LITTLE_ENDIAN: Unicode byte order is always little endian
393 * UTF_REV_ENDIAN: Unicode byte order is opposite current runtime
395 * UTF_BIG_ENDIAN: Unicode byte order is always big endian
397 * UTF_LITTLE_ENDIAN: Unicode byte order is always little endian
417 unsigned int byte;
433 while (utf8len-- > 0 && (byte = *utf8p++) != '\0') {
438 if (byte < 0x80) {
439 ucs_ch = sfmconv ? ucs_to_sfm(byte, utf8len == 0) : byte;
443 extrabytes = utf_extrabytes[byte >> 3];
451 ch = byte; ch <<= 6; /* 1st byte */
452 byte = *utf8p++; /* 2nd byte */
453 if ((byte >> 6) != 2)
455 ch += byte;
462 ch = byte; ch <<= 6; /* 1st byte */
463 byte = *utf8p++; /* 2nd byte */
464 if ((byte >> 6) != 2)
466 ch += byte; ch <<= 6;
467 byte = *utf8p++; /* 3rd byte */
468 if ((byte >> 6) != 2)
470 ch += byte;
483 ch = byte; ch <<= 6; /* 1st byte */
484 byte = *utf8p++; /* 2nd byte */
485 if ((byte >> 6) != 2)
487 ch += byte; ch <<= 6;
488 byte = *utf8p++; /* 3rd byte */
489 if ((byte >> 6) != 2)
491 ch += byte; ch <<= 6;
492 byte = *utf8p++; /* 4th byte */
493 if ((byte >> 6) != 2)
495 ch += byte;
589 byte = *(utf8p - 1);
596 ucs_ch = hexdigits[byte >> 4];
598 ucs_ch = hexdigits[byte & 0x0F];
624 unsigned int byte;
629 while (utf8len-- > 0 && (byte = *utf8p++) != '\0') {
630 if (byte < 0x80)
633 extrabytes = utf_extrabytes[byte >> 3];
641 ch = byte; ch <<= 6; /* 1st byte */
642 byte = *utf8p++; /* 2nd byte */
643 if ((byte >> 6) != 2)
645 ch += byte;
651 ch = byte; ch <<= 6; /* 1st byte */
652 byte = *utf8p++; /* 2nd byte */
653 if ((byte >> 6) != 2)
655 ch += byte; ch <<= 6;
656 byte = *utf8p++; /* 3rd byte */
657 if ((byte >> 6) != 2)
659 ch += byte;
671 ch = byte; ch <<= 6; /* 1st byte */
672 byte = *utf8p++; /* 2nd byte */
673 if ((byte >> 6) != 2)
675 ch += byte; ch <<= 6;
676 byte = *utf8p++; /* 3rd byte */
677 if ((byte >> 6) != 2)
679 ch += byte; ch <<= 6;
680 byte = *utf8p++; /* 4th byte */
681 if ((byte >> 6) != 2)
683 ch += byte;
708 * a NULL termination byte) is returned in outlen. In-place conversions
736 unsigned int byte;
753 while (inlen-- > 0 && (byte = *instr++) != '\0') {
758 if (byte >= 0x80) {
762 *outstr++ = byte;
791 * For pre-composed output, every UTF-8 input byte will be at