Lines Matching refs:ctype
164 is_code_ctype(OnigCodePoint code, unsigned int ctype)
167 return ONIGENC_IS_ASCII_CODE_CTYPE(code, ctype);
169 if (CTYPE_IS_WORD_GRAPH_PRINT(ctype)) {
244 hash_data_type ctype; in property_name_to_ctype() local
248 if (onig_st_lookup_strend(PropertyNameTable, p, end, &ctype) == 0) { in property_name_to_ctype()
252 return (int )ctype; in property_name_to_ctype()
256 is_code_ctype(OnigCodePoint code, unsigned int ctype) in is_code_ctype() argument
258 if (ctype <= ONIGENC_MAX_STD_CTYPE) { in is_code_ctype()
260 return ONIGENC_IS_ASCII_CODE_CTYPE(code, ctype); in is_code_ctype()
262 if (CTYPE_IS_WORD_GRAPH_PRINT(ctype)) { in is_code_ctype()
270 ctype -= (ONIGENC_MAX_STD_CTYPE + 1); in is_code_ctype()
271 if (ctype >= (unsigned int )PropertyListNum) in is_code_ctype()
274 return onig_is_in_code_range((UChar* )PropertyList[ctype], code); in is_code_ctype()
281 get_ctype_code_range(OnigCtype ctype, OnigCodePoint* sb_out, in get_ctype_code_range() argument
284 if (ctype <= ONIGENC_MAX_STD_CTYPE) { in get_ctype_code_range()
292 ctype -= (ONIGENC_MAX_STD_CTYPE + 1); in get_ctype_code_range()
293 if (ctype >= (OnigCtype )PropertyListNum) in get_ctype_code_range()
296 *ranges = PropertyList[ctype]; in get_ctype_code_range()