tclUniData.c File Reference
Go to the source code of this file.
|
Defines |
#define | OFFSET_BITS 5 |
#define | UNICODE_CATEGORY_MASK 0X1F |
#define | GetCaseType(info) (((info) & 0xE0) >> 5) |
#define | GetCategory(info) ((info) & 0x1F) |
#define | GetDelta(info) (((info) > 0) ? ((info) >> 22) : (~(~((info)) >> 22))) |
#define | GetUniCharInfo(ch) (groups[groupMap[(pageMap[(((int)(ch)) & 0xffff) >> OFFSET_BITS] << OFFSET_BITS) | ((ch) & ((1 << OFFSET_BITS)-1))]]) |
Enumerations |
enum | {
UNASSIGNED,
UPPERCASE_LETTER,
LOWERCASE_LETTER,
TITLECASE_LETTER,
MODIFIER_LETTER,
OTHER_LETTER,
NON_SPACING_MARK,
ENCLOSING_MARK,
COMBINING_SPACING_MARK,
DECIMAL_DIGIT_NUMBER,
LETTER_NUMBER,
OTHER_NUMBER,
SPACE_SEPARATOR,
LINE_SEPARATOR,
PARAGRAPH_SEPARATOR,
CONTROL,
FORMAT,
PRIVATE_USE,
SURROGATE,
CONNECTOR_PUNCTUATION,
DASH_PUNCTUATION,
OPEN_PUNCTUATION,
CLOSE_PUNCTUATION,
INITIAL_QUOTE_PUNCTUATION,
FINAL_QUOTE_PUNCTUATION,
OTHER_PUNCTUATION,
MATH_SYMBOL,
CURRENCY_SYMBOL,
MODIFIER_SYMBOL,
OTHER_SYMBOL
} |
Define Documentation
#define GetCaseType |
( |
info |
|
) |
(((info) & 0xE0) >> 5) |
#define GetCategory |
( |
info |
|
) |
((info) & 0x1F) |
#define GetDelta |
( |
info |
|
) |
(((info) > 0) ? ((info) >> 22) : (~(~((info)) >> 22))) |
#define GetUniCharInfo |
( |
ch |
|
) |
(groups[groupMap[(pageMap[(((int)(ch)) & 0xffff) >> OFFSET_BITS] << OFFSET_BITS) | ((ch) & ((1 << OFFSET_BITS)-1))]]) |
Definition at line 903 of file tclUniData.c.
Referenced by Tcl_UniCharIsAlnum(), Tcl_UniCharIsAlpha(), Tcl_UniCharIsControl(), Tcl_UniCharIsDigit(), Tcl_UniCharIsGraph(), Tcl_UniCharIsLower(), Tcl_UniCharIsPrint(), Tcl_UniCharIsPunct(), Tcl_UniCharIsSpace(), Tcl_UniCharIsUpper(), Tcl_UniCharIsWordChar(), Tcl_UniCharToLower(), Tcl_UniCharToTitle(), and Tcl_UniCharToUpper().
#define UNICODE_CATEGORY_MASK 0X1F |
Definition at line 853 of file tclUniData.c.
Referenced by Tcl_UniCharIsAlnum(), Tcl_UniCharIsAlpha(), Tcl_UniCharIsControl(), Tcl_UniCharIsDigit(), Tcl_UniCharIsGraph(), Tcl_UniCharIsLower(), Tcl_UniCharIsPrint(), Tcl_UniCharIsPunct(), Tcl_UniCharIsSpace(), Tcl_UniCharIsUpper(), and Tcl_UniCharIsWordChar().
Enumeration Type Documentation
- Enumerator:
-
UNASSIGNED |
|
UPPERCASE_LETTER |
|
LOWERCASE_LETTER |
|
TITLECASE_LETTER |
|
MODIFIER_LETTER |
|
OTHER_LETTER |
|
NON_SPACING_MARK |
|
ENCLOSING_MARK |
|
COMBINING_SPACING_MARK |
|
DECIMAL_DIGIT_NUMBER |
|
LETTER_NUMBER |
|
OTHER_NUMBER |
|
SPACE_SEPARATOR |
|
LINE_SEPARATOR |
|
PARAGRAPH_SEPARATOR |
|
CONTROL |
|
FORMAT |
|
PRIVATE_USE |
|
SURROGATE |
|
CONNECTOR_PUNCTUATION |
|
DASH_PUNCTUATION |
|
OPEN_PUNCTUATION |
|
CLOSE_PUNCTUATION |
|
INITIAL_QUOTE_PUNCTUATION |
|
FINAL_QUOTE_PUNCTUATION |
|
OTHER_PUNCTUATION |
|
MATH_SYMBOL |
|
CURRENCY_SYMBOL |
|
MODIFIER_SYMBOL |
|
OTHER_SYMBOL |
|
Definition at line 855 of file tclUniData.c.
Generated on Wed Mar 12 12:18:34 2008 by
1.5.1
|