• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.5.8/xnu-1228.15.4/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
830 u_int16_t character)
834 if ((character < theTable[0]._key) || (character > theTable[numElem-1]._key))
841 if (character < divider->_key) { q = divider - 1; }
842 else if (character > divider->_key) { p = divider + 1; }
858 u_int16_t character)
862 if ((character < theTable[0]._key) || (character > theTable[numElem-1]._key))
869 if (character < divider->_key)
871 else if (character > divider->_key)
881 unicode_recursive_decompose(u_int16_t character, u_int16_t *convertedChars)
892 __UniCharDecompositionTableLength, character);
933 * composed character into its correct decomposed
939 unicode_decompose(u_int16_t character, u_int16_t *convertedChars)
941 if ((character >= HANGUL_SBASE) &&
942 (character <= (HANGUL_SBASE + HANGUL_SCOUNT))) {
945 character -= HANGUL_SBASE;
946 length = (character % HANGUL_TCOUNT ? 3 : 2);
949 character / HANGUL_NCOUNT + HANGUL_LBASE;
951 (character % HANGUL_NCOUNT) / HANGUL_TCOUNT + HANGUL_VBASE;
953 *convertedChars = (character % HANGUL_TCOUNT) + HANGUL_TBASE;
956 return (unicode_recursive_decompose(character, convertedChars));
965 * a decomposed character sequence into a single precomposed
966 * (composite) character.
1116 /* The last character of filename cannot be a space or period. */