Searched refs:mutf8 (Results 1 – 4 of 4) sorted by relevance
24 std::string mutf8; in Mutf8() local25 mutf8.reserve(sv_.size()); in Mutf8()30 Mutf8Encode(&mutf8, iter.Next()); in Mutf8()33 return mutf8; in Mutf8()
94 size_t MUtf8ToUtf16Size(const uint8_t *mutf8);96 size_t MUtf8ToUtf16Size(const uint8_t *mutf8, size_t mutf8_len);100 size_t Mutf8Size(const uint8_t *mutf8);111 inline const char *Mutf8AsCString(const uint8_t *mutf8) in Mutf8AsCString() argument113 return reinterpret_cast<const char *>(mutf8); in Mutf8AsCString()
320 size_t Mutf8Size(const uint8_t *mutf8) in Mutf8Size() argument322 return strlen(Mutf8AsCString(mutf8)); in Mutf8Size()325 size_t MUtf8ToUtf16Size(const uint8_t *mutf8) in MUtf8ToUtf16Size() argument329 while (*mutf8 != '\0') { // NOLINT(cppcoreguidelines-pro-bounds-pointer-arithmetic) in MUtf8ToUtf16Size()330 auto [pair, nbytes] = ConvertMUtf8ToUtf16Pair(mutf8); in MUtf8ToUtf16Size()332 mutf8 += nbytes; // NOLINT(cppcoreguidelines-pro-bounds-pointer-arithmetic) in MUtf8ToUtf16Size()337 size_t MUtf8ToUtf16Size(const uint8_t *mutf8, size_t mutf8_len) in MUtf8ToUtf16Size() argument342 auto [pair, nbytes] = ConvertMUtf8ToUtf16Pair(mutf8, mutf8_len - pos); in MUtf8ToUtf16Size()347 mutf8 += nbytes; // NOLINT(cppcoreguidelines-pro-bounds-pointer-arithmetic) in MUtf8ToUtf16Size()
32 …racters and characters out of Latin-1 character set must be encoded with `mutf8` encoding. For exa…