Back to index

openldap  2.4.31
Classes | Defines | Functions | Variables
ucdata.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ucnumber

Defines

#define UCDATA_VERSION   "2.4"
#define UC_MN   0x00000001 /* Mark, Non-Spacing */
#define UC_MC   0x00000002 /* Mark, Spacing Combining */
#define UC_ME   0x00000004 /* Mark, Enclosing */
#define UC_ND   0x00000008 /* Number, Decimal Digit */
#define UC_NL   0x00000010 /* Number, Letter */
#define UC_NO   0x00000020 /* Number, Other */
#define UC_ZS   0x00000040 /* Separator, Space */
#define UC_ZL   0x00000080 /* Separator, Line */
#define UC_ZP   0x00000100 /* Separator, Paragraph */
#define UC_CC   0x00000200 /* Other, Control */
#define UC_CF   0x00000400 /* Other, Format */
#define UC_OS   0x00000800 /* Other, Surrogate */
#define UC_CO   0x00001000 /* Other, Private Use */
#define UC_CN   0x00002000 /* Other, Not Assigned */
#define UC_LU   0x00004000 /* Letter, Uppercase */
#define UC_LL   0x00008000 /* Letter, Lowercase */
#define UC_LT   0x00010000 /* Letter, Titlecase */
#define UC_LM   0x00020000 /* Letter, Modifier */
#define UC_LO   0x00040000 /* Letter, Other */
#define UC_PC   0x00080000 /* Punctuation, Connector */
#define UC_PD   0x00100000 /* Punctuation, Dash */
#define UC_PS   0x00200000 /* Punctuation, Open */
#define UC_PE   0x00400000 /* Punctuation, Close */
#define UC_PO   0x00800000 /* Punctuation, Other */
#define UC_SM   0x01000000 /* Symbol, Math */
#define UC_SC   0x02000000 /* Symbol, Currency */
#define UC_SK   0x04000000 /* Symbol, Modifier */
#define UC_SO   0x08000000 /* Symbol, Other */
#define UC_L   0x10000000 /* Left-To-Right */
#define UC_R   0x20000000 /* Right-To-Left */
#define UC_EN   0x40000000 /* European Number */
#define UC_ES   0x80000000 /* European Number Separator */
#define UC_ET   0x00000001 /* European Number Terminator */
#define UC_AN   0x00000002 /* Arabic Number */
#define UC_CS   0x00000004 /* Common Number Separator */
#define UC_B   0x00000008 /* Block Separator */
#define UC_S   0x00000010 /* Segment Separator */
#define UC_WS   0x00000020 /* Whitespace */
#define UC_ON   0x00000040 /* Other Neutrals */
#define UC_CM   0x00000080 /* Composite */
#define UC_NB   0x00000100 /* Non-Breaking */
#define UC_SY   0x00000200 /* Symmetric */
#define UC_HD   0x00000400 /* Hex Digit */
#define UC_QM   0x00000800 /* Quote Mark */
#define UC_MR   0x00001000 /* Mirroring */
#define UC_SS   0x00002000 /* Space, other */
#define UC_CP   0x00004000 /* Defined */
#define UC_PI   0x00008000 /* Punctuation, Initial */
#define UC_PF   0x00010000 /* Punctuation, Final */
#define ucisalpha(cc)   ucisprop(cc, UC_LU|UC_LL|UC_LM|UC_LO|UC_LT, 0)
#define ucisdigit(cc)   ucisprop(cc, UC_ND, 0)
#define ucisalnum(cc)   ucisprop(cc, UC_LU|UC_LL|UC_LM|UC_LO|UC_LT|UC_ND, 0)
#define uciscntrl(cc)   ucisprop(cc, UC_CC|UC_CF, 0)
#define ucisspace(cc)   ucisprop(cc, UC_ZS|UC_SS, 0)
#define ucisblank(cc)   ucisprop(cc, UC_ZS, 0)
#define ucispunct(cc)   ucisprop(cc, UC_PD|UC_PS|UC_PE|UC_PO, UC_PI|UC_PF)
#define ucisgraph(cc)
#define ucisprint(cc)
#define ucisupper(cc)   ucisprop(cc, UC_LU, 0)
#define ucislower(cc)   ucisprop(cc, UC_LL, 0)
#define ucistitle(cc)   ucisprop(cc, UC_LT, 0)
#define ucisxdigit(cc)   ucisprop(cc, 0, UC_HD)
#define ucisisocntrl(cc)   ucisprop(cc, UC_CC, 0)
#define ucisfmtcntrl(cc)   ucisprop(cc, UC_CF, 0)
#define ucissymbol(cc)   ucisprop(cc, UC_SM|UC_SC|UC_SO|UC_SK, 0)
#define ucisnumber(cc)   ucisprop(cc, UC_ND|UC_NO|UC_NL, 0)
#define ucisnonspacing(cc)   ucisprop(cc, UC_MN, 0)
#define ucisopenpunct(cc)   ucisprop(cc, UC_PS, 0)
#define ucisclosepunct(cc)   ucisprop(cc, UC_PE, 0)
#define ucisinitialpunct(cc)   ucisprop(cc, 0, UC_PI)
#define ucisfinalpunct(cc)   ucisprop(cc, 0, UC_PF)
#define uciscomposite(cc)   ucisprop(cc, 0, UC_CM)
#define ucishex(cc)   ucisprop(cc, 0, UC_HD)
#define ucisquote(cc)   ucisprop(cc, 0, UC_QM)
#define ucissymmetric(cc)   ucisprop(cc, 0, UC_SY)
#define ucismirroring(cc)   ucisprop(cc, 0, UC_MR)
#define ucisnonbreaking(cc)   ucisprop(cc, 0, UC_NB)
#define ucisrtl(cc)   ucisprop(cc, UC_R, 0)
#define ucisltr(cc)   ucisprop(cc, UC_L, 0)
#define ucisstrong(cc)   ucisprop(cc, UC_L|UC_R, 0)
#define ucisweak(cc)   ucisprop(cc, UC_EN|UC_ES, UC_ET|UC_AN|UC_CS)
#define ucisneutral(cc)   ucisprop(cc, 0, UC_B|UC_S|UC_WS|UC_ON)
#define ucisseparator(cc)   ucisprop(cc, 0, UC_B|UC_S)
#define ucismark(cc)   ucisprop(cc, UC_MN|UC_MC|UC_ME, 0)
#define ucismodif(cc)   ucisprop(cc, UC_LM, 0)
#define ucisletnum(cc)   ucisprop(cc, UC_NL, 0)
#define ucisconnect(cc)   ucisprop(cc, UC_PC, 0)
#define ucisdash(cc)   ucisprop(cc, UC_PD, 0)
#define ucismath(cc)   ucisprop(cc, UC_SM, 0)
#define uciscurrency(cc)   ucisprop(cc, UC_SC, 0)
#define ucismodifsymbol(cc)   ucisprop(cc, UC_SK, 0)
#define ucisnsmark(cc)   ucisprop(cc, UC_MN, 0)
#define ucisspmark(cc)   ucisprop(cc, UC_MC, 0)
#define ucisenclosing(cc)   ucisprop(cc, UC_ME, 0)
#define ucisprivate(cc)   ucisprop(cc, UC_CO, 0)
#define ucissurrogate(cc)   ucisprop(cc, UC_OS, 0)
#define ucislsep(cc)   ucisprop(cc, UC_ZL, 0)
#define ucispsep(cc)   ucisprop(cc, UC_ZP, 0)
#define ucisidentstart(cc)   ucisprop(cc, UC_LU|UC_LL|UC_LT|UC_LO|UC_NL, 0)
#define ucisidentpart(cc)
#define ucisdefined(cc)   ucisprop(cc, 0, UC_CP)
#define ucisundefined(cc)   !ucisprop(cc, 0, UC_CP)
#define ucishan(cc)
#define ucishangul(cc)   ((cc) >= 0xac00 && (cc) <= 0xd7ff)
#define UCDATA_CASE   0x01
#define UCDATA_CTYPE   0x02
#define UCDATA_DECOMP   0x04
#define UCDATA_CMBCL   0x08
#define UCDATA_NUM   0x10
#define UCDATA_COMP   0x20
#define UCDATA_KDECOMP   0x40
#define UCDATA_ALL

Functions

ucisprop LDAP_P ((ac_uint4 code, ac_uint4 mask1, ac_uint4 mask2))
 LDAP_LUNICODE_F (ac_uint4) uctoupper LDAP_P((ac_uint4 code))
 LDAP_LUNICODE_F (int) uccomp LDAP_P((ac_uint4 node1
ucdecomp LDAP_P ((ac_uint4 code, ac_uint4 *num, ac_uint4 **decomp))
ucdecomp_hangul LDAP_P ((ac_uint4 code, ac_uint4 *num, ac_uint4 decomp[]))
uccanondecomp LDAP_P ((const ac_uint4 *in, int inlen, ac_uint4 **out, int *outlen, void *ctx))
ucnumber_lookup LDAP_P ((ac_uint4 code, struct ucnumber *num))
ucdigit_lookup LDAP_P ((ac_uint4 code, int *digit))
 LDAP_LUNICODE_F (struct ucnumber) ucgetnumber LDAP_P((ac_uint4 code))
 LDAP_LUNICODE_F (void) ucdata_unload LDAP_P((int mask))

Variables

ac_uint4 node2
ac_uint4 ac_uint4comp
int len
int mask

Class Documentation

struct ucnumber

Definition at line 309 of file ucdata.h.

Class Members
int denominator
int numerator

Define Documentation

#define UC_AN   0x00000002 /* Arabic Number */

Definition at line 92 of file ucdata.h.

#define UC_B   0x00000008 /* Block Separator */

Definition at line 94 of file ucdata.h.

#define UC_CC   0x00000200 /* Other, Control */

Definition at line 63 of file ucdata.h.

#define UC_CF   0x00000400 /* Other, Format */

Definition at line 64 of file ucdata.h.

#define UC_CM   0x00000080 /* Composite */

Definition at line 101 of file ucdata.h.

#define UC_CN   0x00002000 /* Other, Not Assigned */

Definition at line 67 of file ucdata.h.

#define UC_CO   0x00001000 /* Other, Private Use */

Definition at line 66 of file ucdata.h.

#define UC_CP   0x00004000 /* Defined */

Definition at line 109 of file ucdata.h.

#define UC_CS   0x00000004 /* Common Number Separator */

Definition at line 93 of file ucdata.h.

#define UC_EN   0x40000000 /* European Number */

Definition at line 84 of file ucdata.h.

#define UC_ES   0x80000000 /* European Number Separator */

Definition at line 85 of file ucdata.h.

#define UC_ET   0x00000001 /* European Number Terminator */

Definition at line 91 of file ucdata.h.

#define UC_HD   0x00000400 /* Hex Digit */

Definition at line 104 of file ucdata.h.

#define UC_L   0x10000000 /* Left-To-Right */

Definition at line 82 of file ucdata.h.

#define UC_LL   0x00008000 /* Letter, Lowercase */

Definition at line 69 of file ucdata.h.

#define UC_LM   0x00020000 /* Letter, Modifier */

Definition at line 71 of file ucdata.h.

#define UC_LO   0x00040000 /* Letter, Other */

Definition at line 72 of file ucdata.h.

#define UC_LT   0x00010000 /* Letter, Titlecase */

Definition at line 70 of file ucdata.h.

#define UC_LU   0x00004000 /* Letter, Uppercase */

Definition at line 68 of file ucdata.h.

#define UC_MC   0x00000002 /* Mark, Spacing Combining */

Definition at line 55 of file ucdata.h.

#define UC_ME   0x00000004 /* Mark, Enclosing */

Definition at line 56 of file ucdata.h.

#define UC_MN   0x00000001 /* Mark, Non-Spacing */

Definition at line 54 of file ucdata.h.

#define UC_MR   0x00001000 /* Mirroring */

Definition at line 106 of file ucdata.h.

#define UC_NB   0x00000100 /* Non-Breaking */

Definition at line 102 of file ucdata.h.

#define UC_ND   0x00000008 /* Number, Decimal Digit */

Definition at line 57 of file ucdata.h.

#define UC_NL   0x00000010 /* Number, Letter */

Definition at line 58 of file ucdata.h.

#define UC_NO   0x00000020 /* Number, Other */

Definition at line 59 of file ucdata.h.

#define UC_ON   0x00000040 /* Other Neutrals */

Definition at line 97 of file ucdata.h.

#define UC_OS   0x00000800 /* Other, Surrogate */

Definition at line 65 of file ucdata.h.

#define UC_PC   0x00080000 /* Punctuation, Connector */

Definition at line 73 of file ucdata.h.

#define UC_PD   0x00100000 /* Punctuation, Dash */

Definition at line 74 of file ucdata.h.

#define UC_PE   0x00400000 /* Punctuation, Close */

Definition at line 76 of file ucdata.h.

#define UC_PF   0x00010000 /* Punctuation, Final */

Definition at line 115 of file ucdata.h.

#define UC_PI   0x00008000 /* Punctuation, Initial */

Definition at line 114 of file ucdata.h.

#define UC_PO   0x00800000 /* Punctuation, Other */

Definition at line 77 of file ucdata.h.

#define UC_PS   0x00200000 /* Punctuation, Open */

Definition at line 75 of file ucdata.h.

#define UC_QM   0x00000800 /* Quote Mark */

Definition at line 105 of file ucdata.h.

#define UC_R   0x20000000 /* Right-To-Left */

Definition at line 83 of file ucdata.h.

#define UC_S   0x00000010 /* Segment Separator */

Definition at line 95 of file ucdata.h.

#define UC_SC   0x02000000 /* Symbol, Currency */

Definition at line 79 of file ucdata.h.

#define UC_SK   0x04000000 /* Symbol, Modifier */

Definition at line 80 of file ucdata.h.

#define UC_SM   0x01000000 /* Symbol, Math */

Definition at line 78 of file ucdata.h.

#define UC_SO   0x08000000 /* Symbol, Other */

Definition at line 81 of file ucdata.h.

#define UC_SS   0x00002000 /* Space, other */

Definition at line 107 of file ucdata.h.

#define UC_SY   0x00000200 /* Symmetric */

Definition at line 103 of file ucdata.h.

#define UC_WS   0x00000020 /* Whitespace */

Definition at line 96 of file ucdata.h.

#define UC_ZL   0x00000080 /* Separator, Line */

Definition at line 61 of file ucdata.h.

#define UC_ZP   0x00000100 /* Separator, Paragraph */

Definition at line 62 of file ucdata.h.

#define UC_ZS   0x00000040 /* Separator, Space */

Definition at line 60 of file ucdata.h.

#define UCDATA_ALL
Value:

Definition at line 344 of file ucdata.h.

#define UCDATA_CASE   0x01

Definition at line 336 of file ucdata.h.

#define UCDATA_CMBCL   0x08

Definition at line 339 of file ucdata.h.

#define UCDATA_COMP   0x20

Definition at line 341 of file ucdata.h.

#define UCDATA_CTYPE   0x02

Definition at line 337 of file ucdata.h.

#define UCDATA_DECOMP   0x04

Definition at line 338 of file ucdata.h.

#define UCDATA_KDECOMP   0x40

Definition at line 342 of file ucdata.h.

#define UCDATA_NUM   0x10

Definition at line 340 of file ucdata.h.

#define UCDATA_VERSION   "2.4"

Definition at line 42 of file ucdata.h.

#define ucisalnum (   cc)    ucisprop(cc, UC_LU|UC_LL|UC_LM|UC_LO|UC_LT|UC_ND, 0)

Definition at line 127 of file ucdata.h.

#define ucisalpha (   cc)    ucisprop(cc, UC_LU|UC_LL|UC_LM|UC_LO|UC_LT, 0)

Definition at line 125 of file ucdata.h.

#define ucisblank (   cc)    ucisprop(cc, UC_ZS, 0)

Definition at line 130 of file ucdata.h.

#define ucisclosepunct (   cc)    ucisprop(cc, UC_PE, 0)

Definition at line 152 of file ucdata.h.

#define uciscntrl (   cc)    ucisprop(cc, UC_CC|UC_CF, 0)

Definition at line 128 of file ucdata.h.

#define uciscomposite (   cc)    ucisprop(cc, 0, UC_CM)

Definition at line 156 of file ucdata.h.

#define ucisconnect (   cc)    ucisprop(cc, UC_PC, 0)

Definition at line 179 of file ucdata.h.

#define uciscurrency (   cc)    ucisprop(cc, UC_SC, 0)

Definition at line 182 of file ucdata.h.

#define ucisdash (   cc)    ucisprop(cc, UC_PD, 0)

Definition at line 180 of file ucdata.h.

#define ucisdefined (   cc)    ucisprop(cc, 0, UC_CP)

Definition at line 196 of file ucdata.h.

#define ucisdigit (   cc)    ucisprop(cc, UC_ND, 0)

Definition at line 126 of file ucdata.h.

#define ucisenclosing (   cc)    ucisprop(cc, UC_ME, 0)

Definition at line 186 of file ucdata.h.

#define ucisfinalpunct (   cc)    ucisprop(cc, 0, UC_PF)

Definition at line 154 of file ucdata.h.

#define ucisfmtcntrl (   cc)    ucisprop(cc, UC_CF, 0)

Definition at line 146 of file ucdata.h.

#define ucisgraph (   cc)
#define ucishan (   cc)
Value:
(((cc) >= 0x4e00 && (cc) <= 0x9fff) ||\
                     ((cc) >= 0xf900 && (cc) <= 0xfaff))

Definition at line 202 of file ucdata.h.

#define ucishangul (   cc)    ((cc) >= 0xac00 && (cc) <= 0xd7ff)

Definition at line 204 of file ucdata.h.

#define ucishex (   cc)    ucisprop(cc, 0, UC_HD)

Definition at line 157 of file ucdata.h.

#define ucisidentpart (   cc)
Value:

Definition at line 193 of file ucdata.h.

#define ucisidentstart (   cc)    ucisprop(cc, UC_LU|UC_LL|UC_LT|UC_LO|UC_NL, 0)

Definition at line 192 of file ucdata.h.

#define ucisinitialpunct (   cc)    ucisprop(cc, 0, UC_PI)

Definition at line 153 of file ucdata.h.

#define ucisisocntrl (   cc)    ucisprop(cc, UC_CC, 0)

Definition at line 145 of file ucdata.h.

#define ucisletnum (   cc)    ucisprop(cc, UC_NL, 0)

Definition at line 178 of file ucdata.h.

#define ucislower (   cc)    ucisprop(cc, UC_LL, 0)

Definition at line 141 of file ucdata.h.

#define ucislsep (   cc)    ucisprop(cc, UC_ZL, 0)

Definition at line 189 of file ucdata.h.

#define ucisltr (   cc)    ucisprop(cc, UC_L, 0)

Definition at line 167 of file ucdata.h.

#define ucismark (   cc)    ucisprop(cc, UC_MN|UC_MC|UC_ME, 0)

Definition at line 176 of file ucdata.h.

#define ucismath (   cc)    ucisprop(cc, UC_SM, 0)

Definition at line 181 of file ucdata.h.

#define ucismirroring (   cc)    ucisprop(cc, 0, UC_MR)

Definition at line 160 of file ucdata.h.

#define ucismodif (   cc)    ucisprop(cc, UC_LM, 0)

Definition at line 177 of file ucdata.h.

#define ucismodifsymbol (   cc)    ucisprop(cc, UC_SK, 0)

Definition at line 183 of file ucdata.h.

#define ucisneutral (   cc)    ucisprop(cc, 0, UC_B|UC_S|UC_WS|UC_ON)

Definition at line 170 of file ucdata.h.

#define ucisnonbreaking (   cc)    ucisprop(cc, 0, UC_NB)

Definition at line 161 of file ucdata.h.

#define ucisnonspacing (   cc)    ucisprop(cc, UC_MN, 0)

Definition at line 150 of file ucdata.h.

#define ucisnsmark (   cc)    ucisprop(cc, UC_MN, 0)

Definition at line 184 of file ucdata.h.

#define ucisnumber (   cc)    ucisprop(cc, UC_ND|UC_NO|UC_NL, 0)

Definition at line 149 of file ucdata.h.

#define ucisopenpunct (   cc)    ucisprop(cc, UC_PS, 0)

Definition at line 151 of file ucdata.h.

#define ucisprint (   cc)
#define ucisprivate (   cc)    ucisprop(cc, UC_CO, 0)

Definition at line 187 of file ucdata.h.

#define ucispsep (   cc)    ucisprop(cc, UC_ZP, 0)

Definition at line 190 of file ucdata.h.

#define ucispunct (   cc)    ucisprop(cc, UC_PD|UC_PS|UC_PE|UC_PO, UC_PI|UC_PF)

Definition at line 131 of file ucdata.h.

#define ucisquote (   cc)    ucisprop(cc, 0, UC_QM)

Definition at line 158 of file ucdata.h.

#define ucisrtl (   cc)    ucisprop(cc, UC_R, 0)

Definition at line 166 of file ucdata.h.

#define ucisseparator (   cc)    ucisprop(cc, 0, UC_B|UC_S)

Definition at line 171 of file ucdata.h.

#define ucisspace (   cc)    ucisprop(cc, UC_ZS|UC_SS, 0)

Definition at line 129 of file ucdata.h.

#define ucisspmark (   cc)    ucisprop(cc, UC_MC, 0)

Definition at line 185 of file ucdata.h.

#define ucisstrong (   cc)    ucisprop(cc, UC_L|UC_R, 0)

Definition at line 168 of file ucdata.h.

#define ucissurrogate (   cc)    ucisprop(cc, UC_OS, 0)

Definition at line 188 of file ucdata.h.

#define ucissymbol (   cc)    ucisprop(cc, UC_SM|UC_SC|UC_SO|UC_SK, 0)

Definition at line 148 of file ucdata.h.

#define ucissymmetric (   cc)    ucisprop(cc, 0, UC_SY)

Definition at line 159 of file ucdata.h.

#define ucistitle (   cc)    ucisprop(cc, UC_LT, 0)

Definition at line 142 of file ucdata.h.

#define ucisundefined (   cc)    !ucisprop(cc, 0, UC_CP)

Definition at line 197 of file ucdata.h.

#define ucisupper (   cc)    ucisprop(cc, UC_LU, 0)

Definition at line 140 of file ucdata.h.

#define ucisweak (   cc)    ucisprop(cc, UC_EN|UC_ES, UC_ET|UC_AN|UC_CS)

Definition at line 169 of file ucdata.h.

#define ucisxdigit (   cc)    ucisprop(cc, 0, UC_HD)

Definition at line 143 of file ucdata.h.


Function Documentation

LDAP_LUNICODE_F ( struct ucnumber  )
ucisprop LDAP_P ( (ac_uint4 code, ac_uint4 mask1, ac_uint4 mask2)  )
uccanondecomp LDAP_P ( (const ac_uint4 *in, int inlen, ac_uint4 **out, int *outlen, void *ctx )

Variable Documentation

Definition at line 227 of file ucdata.h.

Definition at line 234 of file ucdata.h.

Definition at line 350 of file ucdata.h.

Definition at line 227 of file ucdata.h.