Lines Matching refs:p
115 const OnigUChar* p, const OnigUChar* end, in get_case_fold_codes_by_str() argument
118 if (0x41 <= *p && *p <= 0x5a) { in get_case_fold_codes_by_str()
121 items[0].code[0] = (OnigCodePoint )(*p + 0x20); in get_case_fold_codes_by_str()
122 if (*p == 0x53 && end > p + 1 in get_case_fold_codes_by_str()
123 && (*(p+1) == 0x53 || *(p+1) == 0x73)) { /* SS */ in get_case_fold_codes_by_str()
132 else if (0x61 <= *p && *p <= 0x7a) { in get_case_fold_codes_by_str()
135 items[0].code[0] = (OnigCodePoint )(*p - 0x20); in get_case_fold_codes_by_str()
136 if (*p == 0x73 && end > p + 1 in get_case_fold_codes_by_str()
137 && (*(p+1) == 0x73 || *(p+1) == 0x53)) { /* ss */ in get_case_fold_codes_by_str()
146 else if (0xc0 <= *p && *p <= 0xcf) { in get_case_fold_codes_by_str()
149 items[0].code[0] = (OnigCodePoint )(*p + 0x20); in get_case_fold_codes_by_str()
152 else if (0xd0 <= *p && *p <= 0xdf) { in get_case_fold_codes_by_str()
153 if (*p == 0xdf) { in get_case_fold_codes_by_str()
176 else if (*p != 0xd7) { in get_case_fold_codes_by_str()
179 items[0].code[0] = (OnigCodePoint )(*p + 0x20); in get_case_fold_codes_by_str()
183 else if (0xe0 <= *p && *p <= 0xef) { in get_case_fold_codes_by_str()
186 items[0].code[0] = (OnigCodePoint )(*p - 0x20); in get_case_fold_codes_by_str()
189 else if (0xf0 <= *p && *p <= 0xfe) { in get_case_fold_codes_by_str()
190 if (*p != 0xf7) { in get_case_fold_codes_by_str()
193 items[0].code[0] = (OnigCodePoint )(*p - 0x20); in get_case_fold_codes_by_str()
205 const UChar* p = *pp; in mbc_case_fold() local
207 if (*p == 0xdf && (flag & INTERNAL_ONIGENC_CASE_FOLD_MULTI_CHAR) != 0) { in mbc_case_fold()
214 *lower = ONIGENC_ISO_8859_1_TO_LOWER_CASE(*p); in mbc_case_fold()
225 const UChar* p = *pp;
227 if (*p == 0xdf && (flag & INTERNAL_ONIGENC_CASE_FOLD_MULTI_CHAR) != 0) {
233 v = (EncISO_8859_1_CtypeTable[*p] & (BIT_CTYPE_UPPER | BIT_CTYPE_LOWER));
236 if (*p >= 0xaa && *p <= 0xba)