Lines Matching refs:characters
233 // a) Name start characters must have one of the categories Ll, Lu, Lo, Lt, Nl.
234 // b) Name characters other than Name-start characters must have one of the categories Mc, Me, Mn, Lm, or Nd.
235 // c) Characters in the compatibility area (i.e. with character code greater than #xF900 and less than #xFFFE) are not allowed in XML names.
236 // d) Characters which have a font or compatibility decomposition (i.e. those with a "compatibility formatting tag" in field 5 of the database -- marked by field 5 beginning with a "<") are not allowed.
237 // e) The following characters are treated as name-start characters rather than name characters, because the property file classifies them as Alphabetic: [#x02BB-#x02C1], #x0559, #x06E5, #x06E6.
238 // f) Characters #x20DD-#x20E0 are excluded (in accordance with Unicode, section 5.14).
241 // i) Characters ':' and '_' are allowed as name-start characters.
242 // j) Characters '-' and '.' are allowed as name characters.
1141 * 1. Convert control characters to spaces
1147 const UChar* characters = title.characters();
1154 // Skip leading spaces and leading characters that would convert to spaces
1156 UChar c = characters[i];
1164 // Replace control characters with spaces, and backslashes with currency symbols, and collapse whitespace.
1167 UChar c = characters[i];
1192 document->displayBufferModifiedByEncoding(buffer.characters(), buffer.length());
3332 static bool isValidNameNonASCII(const UChar* characters, unsigned length)
3337 U16_NEXT(characters, i, length, c)
3342 U16_NEXT(characters, i, length, c)
3350 static inline bool isValidNameASCII(const UChar* characters, unsigned length)
3352 UChar c = characters[0];
3357 c = characters[i];
3371 const UChar* characters = name.characters();
3372 return isValidNameASCII(characters, length) || isValidNameNonASCII(characters, length);
3388 const UChar* s = qualifiedName.characters();