Lines Matching refs:code
32 #define ENC_IS_ISO_8859_1_CTYPE(code,ctype) \ argument
33 ((EncISO_8859_1_CtypeTable[code] & CTYPE_TO_BIT(ctype)) != 0)
121 items[0].code[0] = (OnigCodePoint )(*p + 0x20); in get_case_fold_codes_by_str()
126 items[1].code[0] = (OnigCodePoint )0xdf; in get_case_fold_codes_by_str()
135 items[0].code[0] = (OnigCodePoint )(*p - 0x20); in get_case_fold_codes_by_str()
140 items[1].code[0] = (OnigCodePoint )0xdf; in get_case_fold_codes_by_str()
149 items[0].code[0] = (OnigCodePoint )(*p + 0x20); in get_case_fold_codes_by_str()
156 items[0].code[0] = (OnigCodePoint )'s'; in get_case_fold_codes_by_str()
157 items[0].code[1] = (OnigCodePoint )'s'; in get_case_fold_codes_by_str()
161 items[1].code[0] = (OnigCodePoint )'S'; in get_case_fold_codes_by_str()
162 items[1].code[1] = (OnigCodePoint )'S'; in get_case_fold_codes_by_str()
166 items[2].code[0] = (OnigCodePoint )'s'; in get_case_fold_codes_by_str()
167 items[2].code[1] = (OnigCodePoint )'S'; in get_case_fold_codes_by_str()
171 items[3].code[0] = (OnigCodePoint )'S'; in get_case_fold_codes_by_str()
172 items[3].code[1] = (OnigCodePoint )'s'; in get_case_fold_codes_by_str()
179 items[0].code[0] = (OnigCodePoint )(*p + 0x20); in get_case_fold_codes_by_str()
186 items[0].code[0] = (OnigCodePoint )(*p - 0x20); in get_case_fold_codes_by_str()
193 items[0].code[0] = (OnigCodePoint )(*p - 0x20); in get_case_fold_codes_by_str()
247 is_code_ctype(OnigCodePoint code, unsigned int ctype) in is_code_ctype() argument
249 if (code < 256) in is_code_ctype()
250 return ENC_IS_ISO_8859_1_CTYPE(code, ctype); in is_code_ctype()