Home
last modified time | relevance | path

Searched refs:mutf8_in (Results 1 – 2 of 2) sorted by relevance

/arkcompiler/runtime_core/libpandabase/utils/
Dutf.cpp146 bool IsMUtf8OnlySingleBytes(const uint8_t *mutf8_in) in IsMUtf8OnlySingleBytes() argument
148 while (*mutf8_in != '\0') { // NOLINT(cppcoreguidelines-pro-bounds-pointer-arithmetic) in IsMUtf8OnlySingleBytes()
149 if (*mutf8_in >= MASK1) { // NOLINT(cppcoreguidelines-pro-bounds-pointer-arithmetic) in IsMUtf8OnlySingleBytes()
152 mutf8_in += 1; // NOLINT(cppcoreguidelines-pro-bounds-pointer-arithmetic) in IsMUtf8OnlySingleBytes()
183 void ConvertMUtf8ToUtf16(const uint8_t *mutf8_in, size_t mutf8_len, uint16_t *utf16_out) in ConvertMUtf8ToUtf16() argument
187 auto [pair, nbytes] = ConvertMUtf8ToUtf16Pair(mutf8_in, mutf8_len - in_pos); in ConvertMUtf8ToUtf16()
195 mutf8_in += nbytes; // NOLINT(cppcoreguidelines-pro-bounds-pointer-arithmetic) in ConvertMUtf8ToUtf16()
200 size_t ConvertRegionMUtf8ToUtf16(const uint8_t *mutf8_in, uint16_t *utf16_out, size_t mutf8_len, si… in ConvertRegionMUtf8ToUtf16() argument
206 auto [pair, nbytes] = ConvertMUtf8ToUtf16Pair(mutf8_in, mutf8_len - in_pos); in ConvertRegionMUtf8ToUtf16()
209 mutf8_in += nbytes; // NOLINT(cppcoreguidelines-pro-bounds-pointer-arithmetic) in ConvertRegionMUtf8ToUtf16()
Dutf.h76 bool IsMUtf8OnlySingleBytes(const uint8_t *mutf8_in);
78 void ConvertMUtf8ToUtf16(const uint8_t *mutf8_in, size_t mutf8_len, uint16_t *utf16_out);
80 size_t ConvertRegionMUtf8ToUtf16(const uint8_t *mutf8_in, uint16_t *utf16_out, size_t mutf8_len, si…