Home
last modified time | relevance | path

Searched defs:utf16Length (Results 1 – 8 of 8) sorted by relevance

/arkcompiler/runtime_core/static_core/runtime/
Dstring_table.cpp24 coretypes::String *StringTable::GetOrInternString(const uint8_t *mutf8Data, uint32_t utf16Length, in GetOrInternString()
35 coretypes::String *StringTable::GetOrInternString(const uint16_t *utf16Data, uint32_t utf16Length, in GetOrInternString()
92 coretypes::String *StringTable::Table::GetString(const uint8_t *utf8Data, uint32_t utf16Length, boo… in GetString()
106 coretypes::String *StringTable::Table::GetString(const uint16_t *utf16Data, uint32_t utf16Length, in GetString()
168 …ypes::String *StringTable::Table::GetOrInternString(const uint8_t *mutf8Data, uint32_t utf16Length, in GetOrInternString()
188 …pes::String *StringTable::Table::GetOrInternString(const uint16_t *utf16Data, uint32_t utf16Length, in GetOrInternString()
271 …ring *StringTable::InternalTable::GetOrInternString(const uint8_t *mutf8Data, uint32_t utf16Length, in GetOrInternString()
288 …ing *StringTable::InternalTable::GetOrInternString(const uint16_t *utf16Data, uint32_t utf16Length, in GetOrInternString()
/arkcompiler/runtime_core/static_core/runtime/coretypes/
Dstring.cpp68 String *String::CreateFromMUtf8(const uint8_t *mutf8Data, size_t mutf8Length, uint32_t utf16Length, in CreateFromMUtf8()
92 String *String::CreateFromMUtf8(const uint8_t *mutf8Data, uint32_t utf16Length, const LanguageConte… in CreateFromMUtf8()
102 String *String::CreateFromMUtf8(const uint8_t *mutf8Data, uint32_t utf16Length, bool canBeCompresse… in CreateFromMUtf8()
116 size_t utf16Length = utf::MUtf8ToUtf16Size(mutf8Data, mutf8Length); in CreateFromMUtf8() local
122 …ring *String::CreateFromMUtf8(const uint8_t *mutf8Data, uint32_t mutf8Length, uint32_t utf16Length, in CreateFromMUtf8()
135 auto utf16Length = utf::Utf8ToUtf16Size(utf8Data, utf8Length); in CreateFromUtf8() local
150 String *String::CreateFromUtf16(const uint16_t *utf16Data, uint32_t utf16Length, const LanguageCont… in CreateFromUtf16()
181 void String::CopyUtf16AsMUtf8(const uint16_t *utf16From, uint8_t *mutf8To, uint32_t utf16Length) in CopyUtf16AsMUtf8()
567 bool String::CanBeCompressed(const uint16_t *utf16Data, uint32_t utf16Length) in CanBeCompressed()
607 bool String::CanBeCompressedUtf16(const uint16_t *utf16Data, uint32_t utf16Length, uint16_t non) in CanBeCompressedUtf16()
[all …]
/arkcompiler/runtime_core/static_core/runtime/tests/
Dstring_test.cpp86 uint32_t utf16Length = data.size() - 1; in TEST_F() local
101 uint32_t utf16Length = data.size() - 2U; in TEST_F() local
111 uint32_t utf16Length = 2; in TEST_F() local
143 uint32_t utf16Length = 2; in TEST_F() local
285 uint32_t utf16Length = data.size(); in TEST_F() local
302 uint32_t utf16Length = data.size(); in TEST_F() local
369 uint32_t utf16Length = data.size() - 1; in TEST_F() local
389 uint32_t utf16Length = data.size() - 1 - 1; in TEST_F() local
482 uint32_t utf16Length = data.size() - 1; in TEST_F() local
490 uint32_t utf16Length = data.size() / 2U; in TEST_F() local
/arkcompiler/runtime_core/static_core/runtime/include/coretypes/
Dstring.h102 static size_t ComputeSizeUtf16(uint32_t utf16Length) in ComputeSizeUtf16()
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/
Dstd_core_Double.cpp136 size_t utf16Length = s->GetUtf16Length(); in StdCoreDoubleParseInt() local
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/types/
Dets_string.h43 static EtsString *CreateFromMUtf8(const char *mutf8, uint32_t utf16Length) in CreateFromMUtf8()
/arkcompiler/runtime_core/static_core/libpandafile/
Dfile.h92 uint32_t utf16Length; // NOLINT(misc-non-private-member-variables-in-classes) member
/arkcompiler/ets_frontend/es2panda/util/
Dhelpers.cpp891 … const int utf16Length = MultiByteToWideChar(CP_UTF8, kFlags, utf8.data(), utf8Length, nullptr, 0); in Utf8ToUtf16() local