Searched refs:mutf16 (Results 1 – 2 of 2) sorted by relevance
353 size_t Utf16ToMUtf8Size(const uint16_t *mutf16, uint32_t length) in Utf16ToMUtf8Size() argument358 …if (length == 1 && mutf16[0] >= HI_SURROGATE_MIN && // NOLINT(cppcoreguidelines-pro-bounds-pointe… in Utf16ToMUtf8Size()359 …mutf16[0] <= LO_SURROGATE_MAX) { // NOLINT(cppcoreguidelines-pro-bounds-pointer-ar… in Utf16ToMUtf8Size()366 …if (mutf16[i] == 0) { // NOLINT(cppcoreguidelines-pro-bounds-pointer-arithmetic) in Utf16ToMUtf8Size()368 …} else if (mutf16[i] <= MUTF8_1B_MAX) { // NOLINT(cppcoreguidelines-pro-bounds-pointer-arithmetic) in Utf16ToMUtf8Size()370 …} else if (mutf16[i] <= MUTF8_2B_MAX) { // NOLINT(cppcoreguidelines-pro-bounds-pointer-arithmetic) in Utf16ToMUtf8Size()373 } else if (mutf16[i] < HI_SURROGATE_MIN || mutf16[i] > HI_SURROGATE_MAX) { in Utf16ToMUtf8Size()
98 size_t Utf16ToMUtf8Size(const uint16_t *mutf16, uint32_t length);