Home
last modified time | relevance | path

Searched refs:mutf8 (Results 1 – 4 of 4) sorted by relevance

/arkcompiler/ets_frontend/es2panda/util/
Dustring.cpp24 std::string mutf8; in Mutf8() local
25 mutf8.reserve(sv_.size()); in Mutf8()
30 Mutf8Encode(&mutf8, iter.Next()); in Mutf8()
33 return mutf8; in Mutf8()
/arkcompiler/runtime_core/libpandabase/utils/
Dutf.h94 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() argument
113 return reinterpret_cast<const char *>(mutf8); in Mutf8AsCString()
Dutf.cpp320 size_t Mutf8Size(const uint8_t *mutf8) in Mutf8Size() argument
322 return strlen(Mutf8AsCString(mutf8)); in Mutf8Size()
325 size_t MUtf8ToUtf16Size(const uint8_t *mutf8) in MUtf8ToUtf16Size() argument
329 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() argument
342 auto [pair, nbytes] = ConvertMUtf8ToUtf16Pair(mutf8, mutf8_len - pos); in MUtf8ToUtf16Size()
347 mutf8 += nbytes; // NOLINT(cppcoreguidelines-pro-bounds-pointer-arithmetic) in MUtf8ToUtf16Size()
/arkcompiler/runtime_core/docs/
Dassembly_format.md32 …racters and characters out of Latin-1 character set must be encoded with `mutf8` encoding. For exa…