Lines Matching refs:p
33 utf32le_mbc_enc_len(const UChar* p ARG_UNUSED) in utf32le_mbc_enc_len()
39 utf32le_is_mbc_newline(const UChar* p, const UChar* end) in utf32le_is_mbc_newline() argument
41 if (p + 3 < end) { in utf32le_is_mbc_newline()
42 if (*p == 0x0a && *(p+1) == 0 && *(p+2) == 0 && *(p+3) == 0) in utf32le_is_mbc_newline()
47 *p == 0x0d || in utf32le_is_mbc_newline()
49 *p == 0x85) in utf32le_is_mbc_newline()
50 && *(p+1) == 0x00 && (p+2) == 0x00 && *(p+3) == 0x00) in utf32le_is_mbc_newline()
52 if (*(p+1) == 0x20 && (*p == 0x29 || *p == 0x28) in utf32le_is_mbc_newline()
53 && *(p+2) == 0x00 && *(p+3) == 0x00) in utf32le_is_mbc_newline()
61 utf32le_mbc_to_code(const UChar* p, const UChar* end ARG_UNUSED) in utf32le_mbc_to_code() argument
63 if (end - p < 4) return 0; in utf32le_mbc_to_code()
64 return (OnigCodePoint )(((p[3] * 256 + p[2]) * 256 + p[1]) * 256 + p[0]); in utf32le_mbc_to_code()
76 UChar* p = buf; in utf32le_code_to_mbc() local
78 *p++ = (UChar ) (code & 0xff); in utf32le_code_to_mbc()
79 *p++ = (UChar )((code & 0xff00) >> 8); in utf32le_code_to_mbc()
80 *p++ = (UChar )((code & 0xff0000) >>16); in utf32le_code_to_mbc()
81 *p++ = (UChar )((code & 0xff000000) >>24); in utf32le_code_to_mbc()
89 const UChar* p = *pp; in utf32le_mbc_case_fold() local
91 if (ONIGENC_IS_ASCII_CODE(*p) && *(p+1) == 0 && *(p+2) == 0 && *(p+3) == 0) { in utf32le_mbc_case_fold()
94 if (*p == 0x49) { in utf32le_mbc_case_fold()
101 *fold++ = ONIGENC_ASCII_CODE_TO_LOWER_CASE(*p); in utf32le_mbc_case_fold()
121 const UChar* p = *pp;
125 if (*(p+1) == 0 && *(p+2) == 0 && *(p+3) == 0) {
128 if (*p == 0xdf && (flag & INTERNAL_ONIGENC_CASE_FOLD_MULTI_CHAR) != 0) {
132 c = *p;
162 const OnigUChar* p, const OnigUChar* end, OnigCaseFoldCodeItem items[]) in utf32le_get_case_fold_codes_by_str() argument
165 flag, p, end, items); in utf32le_get_case_fold_codes_by_str()