Lines Matching refs:pUtf8Ptr
112 static inline uint32_t getUtf32FromUtf8(const char** pUtf8Ptr) in getUtf32FromUtf8() argument
122 if (((**pUtf8Ptr) & 0xc0) == 0x80) { in getUtf32FromUtf8()
123 (*pUtf8Ptr)++; in getUtf32FromUtf8()
128 seq_len = UTF8_SEQ_LENGTH(**pUtf8Ptr); in getUtf32FromUtf8()
130 ret = (**pUtf8Ptr) & leaderMask [seq_len - 1]; in getUtf32FromUtf8()
132 if (**pUtf8Ptr == '\0') return ret; in getUtf32FromUtf8()
134 (*pUtf8Ptr)++; in getUtf32FromUtf8()
135 for (i = 1; i < seq_len ; i++, (*pUtf8Ptr)++) { in getUtf32FromUtf8()
136 if ((**pUtf8Ptr) == '\0') return UTF16_REPLACEMENT_CHAR; in getUtf32FromUtf8()
137 if (((**pUtf8Ptr) & 0xc0) != 0x80) return UTF16_REPLACEMENT_CHAR; in getUtf32FromUtf8()
139 UTF8_SHIFT_AND_MASK(ret, **pUtf8Ptr); in getUtf32FromUtf8()