• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/xnu-2782.1.97/bsd/vfs/

Lines Matching defs:character

43  * character as a sequence of one to four bytes. Only the shortest form
78 * Test for a combining character.
84 unicode_combinable(u_int16_t character)
89 if (character < 0x0300)
92 value = bitmap[(character >> 8) & 0xFF];
98 return (bitmap[(character & 0xFF) / 8] & (1 << (character % 8)) ? 1 : 0);
104 * Test for a precomposed character.
109 unicode_decomposeable(u_int16_t character) {
113 if (character < 0x00C0)
116 value = bitmap[(character >> 8) & 0xFF];
122 return (bitmap[(character & 0xFF) / 8] & (1 << (character % 8)) ? 1 : 0);
134 get_combining_class(u_int16_t character) {
137 u_int8_t value = bitmap[(character >> 8)];
141 return bitmap[character % 256];
147 static int unicode_decompose(u_int16_t character, u_int16_t *convertedChars);
519 /* Before decomposing a new unicode character, sort
557 * Make multiple combining character sequences canonical
836 u_int16_t character)
840 if ((character < theTable[0]._key) || (character > theTable[numElem-1]._key))
847 if (character < divider->_key) { q = divider - 1; }
848 else if (character > divider->_key) { p = divider + 1; }
864 u_int16_t character)
868 if ((character < theTable[0]._key) || (character > theTable[numElem-1]._key))
875 if (character < divider->_key)
877 else if (character > divider->_key)
887 unicode_recursive_decompose(u_int16_t character, u_int16_t *convertedChars)
898 __UniCharDecompositionTableLength, character);
939 * composed character into its correct decomposed
945 unicode_decompose(u_int16_t character, u_int16_t *convertedChars)
947 if ((character >= HANGUL_SBASE) &&
948 (character <= (HANGUL_SBASE + HANGUL_SCOUNT))) {
951 character -= HANGUL_SBASE;
952 length = (character % HANGUL_TCOUNT ? 3 : 2);
955 character / HANGUL_NCOUNT + HANGUL_LBASE;
957 (character % HANGUL_NCOUNT) / HANGUL_TCOUNT + HANGUL_VBASE;
959 *convertedChars = (character % HANGUL_TCOUNT) + HANGUL_TBASE;
962 return (unicode_recursive_decompose(character, convertedChars));
971 * a decomposed character sequence into a single precomposed
972 * (composite) character.
1048 * character now stored at *ch2. This isn't required for
1049 * correctness, but it will be more efficient if a character
1131 /* The last character of filename cannot be a space or period. */