Lines Matching refs:p

33 utf32be_mbc_enc_len(const UChar* p)  in utf32be_mbc_enc_len()  argument
39 utf32be_is_mbc_newline(const UChar* p, const UChar* end) in utf32be_is_mbc_newline() argument
41 if (p + 3 < end) { in utf32be_is_mbc_newline()
42 if (*(p+3) == 0x0a && *(p+2) == 0 && *(p+1) == 0 && *p == 0) in utf32be_is_mbc_newline()
45 if ((*(p+3) == 0x0d || *(p+3) == 0x85) in utf32be_is_mbc_newline()
46 && *(p+2) == 0 && *(p+1) == 0 && *p == 0x00) in utf32be_is_mbc_newline()
48 if (*(p+2) == 0x20 && (*(p+3) == 0x29 || *(p+3) == 0x28) in utf32be_is_mbc_newline()
49 && *(p+1) == 0 && *p == 0) in utf32be_is_mbc_newline()
57 utf32be_mbc_to_code(const UChar* p, const UChar* end) in utf32be_mbc_to_code() argument
59 return (OnigCodePoint )(((p[0] * 256 + p[1]) * 256 + p[2]) * 256 + p[3]); in utf32be_mbc_to_code()
71 UChar* p = buf; in utf32be_code_to_mbc() local
73 *p++ = (UChar )((code & 0xff000000) >>24); in utf32be_code_to_mbc()
74 *p++ = (UChar )((code & 0xff0000) >>16); in utf32be_code_to_mbc()
75 *p++ = (UChar )((code & 0xff00) >> 8); in utf32be_code_to_mbc()
76 *p++ = (UChar ) (code & 0xff); in utf32be_code_to_mbc()
84 const UChar* p = *pp; in utf32be_mbc_to_normalize() local
86 if (*(p+2) == 0 && *(p+1) == 0 && *p == 0) { in utf32be_mbc_to_normalize()
87 p += 3; in utf32be_mbc_to_normalize()
92 ONIGENC_IS_MBC_ASCII(p)) || in utf32be_mbc_to_normalize()
94 !ONIGENC_IS_MBC_ASCII(p))) { in utf32be_mbc_to_normalize()
95 *lower = ONIGENC_ISO_8859_1_TO_LOWER_CASE(*p); in utf32be_mbc_to_normalize()
98 *lower = *p; in utf32be_mbc_to_normalize()
106 if (lower != p) { in utf32be_mbc_to_normalize()
109 *lower++ = *p++; in utf32be_mbc_to_normalize()
120 const UChar* p = *pp; in utf32be_is_mbc_ambiguous() local
124 if (*(p+2) == 0 && *(p+1) == 0 && *p == 0) { in utf32be_is_mbc_ambiguous()
127 p += 3; in utf32be_is_mbc_ambiguous()
129 ONIGENC_IS_MBC_ASCII(p)) || in utf32be_is_mbc_ambiguous()
131 !ONIGENC_IS_MBC_ASCII(p))) { in utf32be_is_mbc_ambiguous()
132 c = *p; in utf32be_is_mbc_ambiguous()