Lines Matching refs:php_unicode_is_prop

104 MBSTRING_API int php_unicode_is_prop(unsigned long code, unsigned long mask1,
113 #define php_unicode_is_alpha(cc) php_unicode_is_prop(cc, UC_LU|UC_LL|UC_LM|UC_LO|UC_LT, 0)
114 #define php_unicode_is_digit(cc) php_unicode_is_prop(cc, UC_ND, 0)
115 #define php_unicode_is_alnum(cc) php_unicode_is_prop(cc, UC_LU|UC_LL|UC_LM|UC_LO|UC_LT|UC_ND, 0)
116 #define php_unicode_is_cntrl(cc) php_unicode_is_prop(cc, UC_CC|UC_CF, 0)
117 #define php_unicode_is_space(cc) php_unicode_is_prop(cc, UC_ZS|UC_SS, 0)
118 #define php_unicode_is_blank(cc) php_unicode_is_prop(cc, UC_ZS, 0)
119 #define php_unicode_is_punct(cc) php_unicode_is_prop(cc, UC_PD|UC_PS|UC_PE|UC_PO, UC_PI|UC_PF)
120 #define php_unicode_is_graph(cc) php_unicode_is_prop(cc, UC_MN|UC_MC|UC_ME|UC_ND|UC_NL|UC_NO|\
124 #define php_unicode_is_print(cc) php_unicode_is_prop(cc, UC_MN|UC_MC|UC_ME|UC_ND|UC_NL|UC_NO|\
128 #define php_unicode_is_upper(cc) php_unicode_is_prop(cc, UC_LU, 0)
129 #define php_unicode_is_lower(cc) php_unicode_is_prop(cc, UC_LL, 0)
130 #define php_unicode_is_title(cc) php_unicode_is_prop(cc, UC_LT, 0)
131 #define php_unicode_is_xdigit(cc) php_unicode_is_prop(cc, 0, UC_HD)
133 #define php_unicode_is_isocntrl(cc) php_unicode_is_prop(cc, UC_CC, 0)
134 #define php_unicode_is_fmtcntrl(cc) php_unicode_is_prop(cc, UC_CF, 0)
136 #define php_unicode_is_symbol(cc) php_unicode_is_prop(cc, UC_SM|UC_SC|UC_SO|UC_SK, 0)
137 #define php_unicode_is_number(cc) php_unicode_is_prop(cc, UC_ND|UC_NO|UC_NL, 0)
138 #define php_unicode_is_nonspacing(cc) php_unicode_is_prop(cc, UC_MN, 0)
139 #define php_unicode_is_openpunct(cc) php_unicode_is_prop(cc, UC_PS, 0)
140 #define php_unicode_is_closepunct(cc) php_unicode_is_prop(cc, UC_PE, 0)
141 #define php_unicode_is_initialpunct(cc) php_unicode_is_prop(cc, 0, UC_PI)
142 #define php_unicode_is_finalpunct(cc) php_unicode_is_prop(cc, 0, UC_PF)
144 #define php_unicode_is_composite(cc) php_unicode_is_prop(cc, 0, UC_CM)
145 #define php_unicode_is_hex(cc) php_unicode_is_prop(cc, 0, UC_HD)
146 #define php_unicode_is_quote(cc) php_unicode_is_prop(cc, 0, UC_QM)
147 #define php_unicode_is_symmetric(cc) php_unicode_is_prop(cc, 0, UC_SY)
148 #define php_unicode_is_mirroring(cc) php_unicode_is_prop(cc, 0, UC_MR)
149 #define php_unicode_is_nonbreaking(cc) php_unicode_is_prop(cc, 0, UC_NB)
154 #define php_unicode_is_rtl(cc) php_unicode_is_prop(cc, UC_R, 0)
155 #define php_unicode_is_ltr(cc) php_unicode_is_prop(cc, UC_L, 0)
156 #define php_unicode_is_strong(cc) php_unicode_is_prop(cc, UC_L|UC_R, 0)
157 #define php_unicode_is_weak(cc) php_unicode_is_prop(cc, UC_EN|UC_ES, UC_ET|UC_AN|UC_CS)
158 #define php_unicode_is_neutral(cc) php_unicode_is_prop(cc, 0, UC_B|UC_S|UC_WS|UC_ON)
159 #define php_unicode_is_separator(cc) php_unicode_is_prop(cc, 0, UC_B|UC_S)
164 #define php_unicode_is_mark(cc) php_unicode_is_prop(cc, UC_MN|UC_MC|UC_ME, 0)
165 #define php_unicode_is_modif(cc) php_unicode_is_prop(cc, UC_LM, 0)
166 #define php_unicode_is_letnum(cc) php_unicode_is_prop(cc, UC_NL, 0)
167 #define php_unicode_is_connect(cc) php_unicode_is_prop(cc, UC_PC, 0)
168 #define php_unicode_is_dash(cc) php_unicode_is_prop(cc, UC_PD, 0)
169 #define php_unicode_is_math(cc) php_unicode_is_prop(cc, UC_SM, 0)
170 #define php_unicode_is_currency(cc) php_unicode_is_prop(cc, UC_SC, 0)
171 #define php_unicode_is_modifsymbol(cc) php_unicode_is_prop(cc, UC_SK, 0)
172 #define php_unicode_is_nsmark(cc) php_unicode_is_prop(cc, UC_MN, 0)
173 #define php_unicode_is_spmark(cc) php_unicode_is_prop(cc, UC_MC, 0)
174 #define php_unicode_is_enclosing(cc) php_unicode_is_prop(cc, UC_ME, 0)
175 #define php_unicode_is_private(cc) php_unicode_is_prop(cc, UC_CO, 0)
176 #define php_unicode_is_surrogate(cc) php_unicode_is_prop(cc, UC_OS, 0)
177 #define php_unicode_is_lsep(cc) php_unicode_is_prop(cc, UC_ZL, 0)
178 #define php_unicode_is_psep(cc) php_unicode_is_prop(cc, UC_ZP, 0)
180 #define php_unicode_is_identstart(cc) php_unicode_is_prop(cc, UC_LU|UC_LL|UC_LT|UC_LO|UC_NL, 0)
181 #define php_unicode_is_identpart(cc) php_unicode_is_prop(cc, UC_LU|UC_LL|UC_LT|UC_LO|UC_NL|\
184 #define php_unicode_is_defined(cc) php_unicode_is_prop(cc, 0, UC_CP)
185 #define php_unicode_is_undefined(cc) !php_unicode_is_prop(cc, 0, UC_CP)