Home
last modified time | relevance | path

Searched refs:ctype (Results 1 – 25 of 122) sorted by relevance

12345

/PHP-7.2/ext/ctype/
H A Dconfig.m45 PHP_ARG_ENABLE(ctype, whether to enable ctype functions,
6 [ --disable-ctype Disable ctype functions], yes)
10 PHP_NEW_EXTENSION(ctype, ctype.c, $ext_shared)
H A Dconfig.w324 ARG_ENABLE("ctype", "ctype", "yes");
7 EXTENSION("ctype", "ctype.c");
8 AC_DEFINE('HAVE_CTYPE', 1, 'Have ctype');
/PHP-7.2/ext/mbstring/oniguruma/src/
H A Dsjis.c197 is_code_ctype(OnigCodePoint code, unsigned int ctype)
200 return ONIGENC_IS_ASCII_CODE_CTYPE(code, ctype);
202 if (CTYPE_IS_WORD_GRAPH_PRINT(ctype)) {
273 return pc->ctype; in property_name_to_ctype()
280 is_code_ctype(OnigCodePoint code, unsigned int ctype) in is_code_ctype() argument
282 if (ctype <= ONIGENC_MAX_STD_CTYPE) { in is_code_ctype()
286 if (CTYPE_IS_WORD_GRAPH_PRINT(ctype)) { in is_code_ctype()
292 ctype -= (ONIGENC_MAX_STD_CTYPE + 1); in is_code_ctype()
306 if (ctype <= ONIGENC_MAX_STD_CTYPE) { in get_ctype_code_range()
312 ctype -= (ONIGENC_MAX_STD_CTYPE + 1); in get_ctype_code_range()
[all …]
H A Deuc_jp.c241 return pc->ctype; in property_name_to_ctype()
248 is_code_ctype(OnigCodePoint code, unsigned int ctype) in is_code_ctype() argument
250 if (ctype <= ONIGENC_MAX_STD_CTYPE) { in is_code_ctype()
252 return ONIGENC_IS_ASCII_CODE_CTYPE(code, ctype); in is_code_ctype()
254 if (CTYPE_IS_WORD_GRAPH_PRINT(ctype)) { in is_code_ctype()
260 ctype -= (ONIGENC_MAX_STD_CTYPE + 1); in is_code_ctype()
264 return onig_is_in_code_range((UChar* )PropertyList[ctype], code); in is_code_ctype()
271 get_ctype_code_range(OnigCtype ctype, OnigCodePoint* sb_out, in get_ctype_code_range() argument
274 if (ctype <= ONIGENC_MAX_STD_CTYPE) { in get_ctype_code_range()
280 ctype -= (ONIGENC_MAX_STD_CTYPE + 1); in get_ctype_code_range()
[all …]
H A Diso8859_11.c32 #define ENC_IS_ISO_8859_11_CTYPE(code,ctype) \ argument
33 ((EncISO_8859_11_CtypeTable[code] & CTYPE_TO_BIT(ctype)) != 0)
71 is_code_ctype(OnigCodePoint code, unsigned int ctype) in is_code_ctype() argument
74 return ENC_IS_ISO_8859_11_CTYPE(code, ctype); in is_code_ctype()
H A Diso8859_6.c32 #define ENC_IS_ISO_8859_6_CTYPE(code,ctype) \ argument
33 ((EncISO_8859_6_CtypeTable[code] & CTYPE_TO_BIT(ctype)) != 0)
71 is_code_ctype(OnigCodePoint code, unsigned int ctype) in is_code_ctype() argument
74 return ENC_IS_ISO_8859_6_CTYPE(code, ctype); in is_code_ctype()
H A Diso8859_8.c32 #define ENC_IS_ISO_8859_8_CTYPE(code,ctype) \ argument
33 ((EncISO_8859_8_CtypeTable[code] & CTYPE_TO_BIT(ctype)) != 0)
71 is_code_ctype(OnigCodePoint code, unsigned int ctype) in is_code_ctype() argument
74 return ENC_IS_ISO_8859_8_CTYPE(code, ctype); in is_code_ctype()
H A Dregenc.h93 #define CTYPE_TO_BIT(ctype) (1<<(ctype)) argument
94 #define CTYPE_IS_WORD_GRAPH_PRINT(ctype) \ argument
95 ((ctype) == ONIGENC_CTYPE_WORD || (ctype) == ONIGENC_CTYPE_GRAPH ||\
96 (ctype) == ONIGENC_CTYPE_PRINT)
101 int ctype; member
107 int ctype; member
146 …XTERN int onigenc_mb2_is_code_ctype P_((OnigEncoding enc, OnigCodePoint code, unsigned int ctype));
155 ONIG_EXTERN int onigenc_unicode_is_code_ctype P_((OnigCodePoint code, unsigned int ctype));
157 ONIG_EXTERN int onigenc_unicode_ctype_code_range P_((int ctype, const OnigCodePoint* ranges[]));
236 #define ONIGENC_IS_ASCII_CODE_CTYPE(code,ctype) \ argument
[all …]
H A Dcp1251.c34 #define ENC_IS_CP1251_CTYPE(code,ctype) \ argument
35 ((EncCP1251_CtypeTable[code] & CTYPE_TO_BIT(ctype)) != 0)
119 cp1251_is_code_ctype(OnigCodePoint code, unsigned int ctype) in cp1251_is_code_ctype() argument
122 return ENC_IS_CP1251_CTYPE(code, ctype); in cp1251_is_code_ctype()
H A Dkoi8_r.c33 #define ENC_IS_KOI8_R_CTYPE(code,ctype) \ argument
34 ((EncKOI8_R_CtypeTable[code] & CTYPE_TO_BIT(ctype)) != 0)
131 koi8_r_is_code_ctype(OnigCodePoint code, unsigned int ctype) in koi8_r_is_code_ctype() argument
134 return ENC_IS_KOI8_R_CTYPE(code, ctype); in koi8_r_is_code_ctype()
H A Diso8859_5.c33 #define ENC_IS_ISO_8859_5_CTYPE(code,ctype) \ argument
34 ((EncISO_8859_5_CtypeTable[code] & CTYPE_TO_BIT(ctype)) != 0)
131 is_code_ctype(OnigCodePoint code, unsigned int ctype) in is_code_ctype() argument
134 return ENC_IS_ISO_8859_5_CTYPE(code, ctype); in is_code_ctype()
H A Dkoi8.c33 #define ENC_IS_KOI8_CTYPE(code,ctype) \ argument
34 ((EncKOI8_CtypeTable[code] & CTYPE_TO_BIT(ctype)) != 0)
138 koi8_is_code_ctype(OnigCodePoint code, unsigned int ctype) in koi8_is_code_ctype() argument
141 return ENC_IS_KOI8_CTYPE(code, ctype); in koi8_is_code_ctype()
H A Diso8859_7.c33 #define ENC_IS_ISO_8859_7_CTYPE(code,ctype) \ argument
34 ((EncISO_8859_7_CtypeTable[code] & CTYPE_TO_BIT(ctype)) != 0)
139 is_code_ctype(OnigCodePoint code, unsigned int ctype) in is_code_ctype() argument
142 return ENC_IS_ISO_8859_7_CTYPE(code, ctype); in is_code_ctype()
H A Diso8859_10.c33 #define ENC_IS_ISO_8859_10_CTYPE(code,ctype) \ argument
34 ((EncISO_8859_10_CtypeTable[code] & CTYPE_TO_BIT(ctype)) != 0)
147 is_code_ctype(OnigCodePoint code, unsigned int ctype) in is_code_ctype() argument
150 return ENC_IS_ISO_8859_10_CTYPE(code, ctype); in is_code_ctype()
H A Diso8859_13.c33 #define ENC_IS_ISO_8859_13_CTYPE(code,ctype) \ argument
34 ((EncISO_8859_13_CtypeTable[code] & CTYPE_TO_BIT(ctype)) != 0)
151 is_code_ctype(OnigCodePoint code, unsigned int ctype) in is_code_ctype() argument
154 return ENC_IS_ISO_8859_13_CTYPE(code, ctype); in is_code_ctype()
H A Diso8859_14.c33 #define ENC_IS_ISO_8859_14_CTYPE(code,ctype) \ argument
34 ((EncISO_8859_14_CtypeTable[code] & CTYPE_TO_BIT(ctype)) != 0)
148 is_code_ctype(OnigCodePoint code, unsigned int ctype) in is_code_ctype() argument
151 return ENC_IS_ISO_8859_14_CTYPE(code, ctype); in is_code_ctype()
H A Diso8859_16.c33 #define ENC_IS_ISO_8859_16_CTYPE(code,ctype) \ argument
34 ((EncISO_8859_16_CtypeTable[code] & CTYPE_TO_BIT(ctype)) != 0)
147 is_code_ctype(OnigCodePoint code, unsigned int ctype) in is_code_ctype() argument
150 return ENC_IS_ISO_8859_16_CTYPE(code, ctype); in is_code_ctype()
H A Diso8859_2.c33 #define ENC_IS_ISO_8859_2_CTYPE(code,ctype) \ argument
34 ((EncISO_8859_2_CtypeTable[code] & CTYPE_TO_BIT(ctype)) != 0)
210 is_code_ctype(OnigCodePoint code, unsigned int ctype) in is_code_ctype() argument
213 return ENC_IS_ISO_8859_2_CTYPE(code, ctype); in is_code_ctype()
H A Diso8859_3.c33 #define ENC_IS_ISO_8859_3_CTYPE(code,ctype) \ argument
34 ((EncISO_8859_3_CtypeTable[code] & CTYPE_TO_BIT(ctype)) != 0)
151 is_code_ctype(OnigCodePoint code, unsigned int ctype) in is_code_ctype() argument
154 return ENC_IS_ISO_8859_3_CTYPE(code, ctype); in is_code_ctype()
H A Diso8859_4.c33 #define ENC_IS_ISO_8859_4_CTYPE(code,ctype) \ argument
34 ((EncISO_8859_4_CtypeTable[code] & CTYPE_TO_BIT(ctype)) != 0)
150 is_code_ctype(OnigCodePoint code, unsigned int ctype) in is_code_ctype() argument
153 return ENC_IS_ISO_8859_4_CTYPE(code, ctype); in is_code_ctype()
H A Diso8859_9.c33 #define ENC_IS_ISO_8859_9_CTYPE(code,ctype) \ argument
34 ((EncISO_8859_9_CtypeTable[code] & CTYPE_TO_BIT(ctype)) != 0)
151 is_code_ctype(OnigCodePoint code, unsigned int ctype) in is_code_ctype() argument
154 return ENC_IS_ISO_8859_9_CTYPE(code, ctype); in is_code_ctype()
H A Diso8859_15.c33 #define ENC_IS_ISO_8859_15_CTYPE(code,ctype) \ argument
34 ((EncISO_8859_15_CtypeTable[code] & CTYPE_TO_BIT(ctype)) != 0)
152 is_code_ctype(OnigCodePoint code, unsigned int ctype) in is_code_ctype() argument
155 return ENC_IS_ISO_8859_15_CTYPE(code, ctype); in is_code_ctype()
H A Dunicode.c81 int ctype; member
131 e->ctype = CODE_RANGES_NUM + UserDefinedPropertyNum; in onig_unicode_define_user_property()
146 ctype <= ONIGENC_MAX_STD_CTYPE && in onigenc_unicode_is_code_ctype()
152 if (ctype >= CODE_RANGES_NUM) { in onigenc_unicode_is_code_ctype()
153 int index = ctype - CODE_RANGES_NUM; in onigenc_unicode_is_code_ctype()
167 if (ctype >= CODE_RANGES_NUM) { in onigenc_unicode_ctype_code_range()
168 int index = ctype - CODE_RANGES_NUM; in onigenc_unicode_ctype_code_range()
177 *ranges = CodeRanges[ctype]; in onigenc_unicode_ctype_code_range()
223 return e->ctype; in onigenc_unicode_property_name_to_ctype()
231 if (pc->ctype > ONIGENC_MAX_STD_CTYPE) in onigenc_unicode_property_name_to_ctype()
[all …]
/PHP-7.2/ext/reflection/tests/
H A DReflectionExtension_getClassNames_variation1.phpt7 extension_loaded('ctype') or die("skip Requires 'ctype' extension");
11 $extension = new ReflectionExtension('ctype');
/PHP-7.2/ext/ctype/tests/
H A Dskipif.inc1 <?php if (!extension_loaded('ctype')) die('skip ctype extension not available');?>

Completed in 97 milliseconds

12345