Lines Matching refs:p
33 utf32be_mbc_enc_len(const UChar* p ARG_UNUSED) in utf32be_mbc_enc_len()
45 utf32be_is_mbc_newline(const UChar* p, const UChar* end) in utf32be_is_mbc_newline() argument
47 if (p + 3 < end) { in utf32be_is_mbc_newline()
48 if (*(p+3) == 0x0a && *(p+2) == 0 && *(p+1) == 0 && *p == 0) in utf32be_is_mbc_newline()
53 *(p+3) == 0x0d || in utf32be_is_mbc_newline()
55 *(p+3) == 0x85) in utf32be_is_mbc_newline()
56 && *(p+2) == 0 && *(p+1) == 0 && *p == 0x00) in utf32be_is_mbc_newline()
59 if (*(p+2) == 0x20 && (*(p+3) == 0x29 || *(p+3) == 0x28) in utf32be_is_mbc_newline()
60 && *(p+1) == 0 && *p == 0) in utf32be_is_mbc_newline()
68 utf32be_mbc_to_code(const UChar* p, const UChar* end ARG_UNUSED) in utf32be_mbc_to_code() argument
70 if (end - p < 4) return 0; in utf32be_mbc_to_code()
71 return (OnigCodePoint )(((p[0] * 256 + p[1]) * 256 + p[2]) * 256 + p[3]); in utf32be_mbc_to_code()
83 UChar* p = buf; in utf32be_code_to_mbc() local
85 *p++ = (UChar )((code & 0xff000000) >>24); in utf32be_code_to_mbc()
86 *p++ = (UChar )((code & 0xff0000) >>16); in utf32be_code_to_mbc()
87 *p++ = (UChar )((code & 0xff00) >> 8); in utf32be_code_to_mbc()
88 *p++ = (UChar ) (code & 0xff); in utf32be_code_to_mbc()
96 const UChar* p = *pp; in utf32be_mbc_case_fold() local
98 if (ONIGENC_IS_ASCII_CODE(*(p+3)) && *(p+2) == 0 && *(p+1) == 0 && *p == 0) { in utf32be_mbc_case_fold()
104 if (*(p+3) == 0x49) { in utf32be_mbc_case_fold()
114 *fold = ONIGENC_ASCII_CODE_TO_LOWER_CASE(*(p+3)); in utf32be_mbc_case_fold()
127 const UChar* p = *pp;
131 if (*(p+2) == 0 && *(p+1) == 0 && *p == 0) {
134 p += 3;
135 if (*p == 0xdf && (flag & INTERNAL_ONIGENC_CASE_FOLD_MULTI_CHAR) != 0) {
139 c = *p;
169 const OnigUChar* p, const OnigUChar* end, OnigCaseFoldCodeItem items[]) in utf32be_get_case_fold_codes_by_str() argument
172 flag, p, end, items); in utf32be_get_case_fold_codes_by_str()