| /arkcompiler/runtime_core/static_core/runtime/ |
| D | string_table.cpp | 23 coretypes::String *StringTable::GetOrInternString(const uint8_t *mutf8Data, uint32_t utf16Length, in GetOrInternString() 34 coretypes::String *StringTable::GetOrInternString(const uint16_t *utf16Data, uint32_t utf16Length, in GetOrInternString() 89 coretypes::String *StringTable::Table::GetString(const uint8_t *utf8Data, uint32_t utf16Length, boo… in GetString() 103 coretypes::String *StringTable::Table::GetString(const uint16_t *utf16Data, uint32_t utf16Length, in GetString() 165 …ypes::String *StringTable::Table::GetOrInternString(const uint8_t *mutf8Data, uint32_t utf16Length, in GetOrInternString() 185 …pes::String *StringTable::Table::GetOrInternString(const uint16_t *utf16Data, uint32_t utf16Length, in GetOrInternString() 263 …ring *StringTable::InternalTable::GetOrInternString(const uint8_t *mutf8Data, uint32_t utf16Length, in GetOrInternString() 280 …ing *StringTable::InternalTable::GetOrInternString(const uint16_t *utf16Data, uint32_t utf16Length, in GetOrInternString()
|
| /arkcompiler/runtime_core/static_core/runtime/coretypes/ |
| D | string.cpp | 69 String *String::CreateFromMUtf8(const uint8_t *mutf8Data, size_t mutf8Length, uint32_t utf16Length, in CreateFromMUtf8() 93 String *String::CreateFromMUtf8(const uint8_t *mutf8Data, uint32_t utf16Length, const LanguageConte… in CreateFromMUtf8() 103 String *String::CreateFromMUtf8(const uint8_t *mutf8Data, uint32_t utf16Length, bool canBeCompresse… in CreateFromMUtf8() 117 size_t utf16Length = utf::MUtf8ToUtf16Size(mutf8Data, mutf8Length); in CreateFromMUtf8() local 123 …ring *String::CreateFromMUtf8(const uint8_t *mutf8Data, uint32_t mutf8Length, uint32_t utf16Length, in CreateFromMUtf8() 136 auto utf16Length = utf::Utf8ToUtf16Size(utf8Data, utf8Length); in CreateFromUtf8() local 151 String *String::CreateFromUtf16(const uint16_t *utf16Data, uint32_t utf16Length, bool canBeCompress… in CreateFromUtf16() 175 String *String::CreateFromUtf16(const uint16_t *utf16Data, uint32_t utf16Length, const LanguageCont… in CreateFromUtf16() 190 void String::CopyUtf16AsMUtf8(const uint16_t *utf16From, uint8_t *mutf8To, uint32_t utf16Length) in CopyUtf16AsMUtf8() 578 bool String::CanBeCompressed(const uint16_t *utf16Data, uint32_t utf16Length) in CanBeCompressed() [all …]
|
| /arkcompiler/runtime_core/static_core/runtime/tests/ |
| D | string_test.cpp | 86 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 409 uint32_t utf16Length = data.size() - 1 - 1; in TEST_F() local 524 uint32_t utf16Length = data.size() - 1; in TEST_F() local 532 uint32_t utf16Length = data.size() / 2U; in TEST_F() local
|
| /arkcompiler/runtime_core/static_core/runtime/include/coretypes/ |
| D | string.h | 106 static size_t ComputeSizeUtf16(uint32_t utf16Length) in ComputeSizeUtf16()
|
| /arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/ |
| D | std_core_Double.cpp | 106 size_t utf16Length = s->GetUtf16Length(); in StdCoreDoubleParseInt() local
|
| /arkcompiler/runtime_core/static_core/plugins/ets/runtime/types/ |
| D | ets_string.h | 45 static EtsString *CreateFromMUtf8(const char *mutf8, uint32_t utf16Length) in CreateFromMUtf8()
|
| /arkcompiler/runtime_core/static_core/libpandafile/ |
| D | file.h | 92 uint32_t utf16Length; // NOLINT(misc-non-private-member-variables-in-classes) member
|
| /arkcompiler/ets_frontend/es2panda/util/ |
| D | helpers.cpp | 895 … const int utf16Length = MultiByteToWideChar(CP_UTF8, kFlags, utf8.data(), utf8Length, nullptr, 0); in Utf8ToUtf16() local
|
| /arkcompiler/runtime_core/static_core/plugins/ets/runtime/ani/ |
| D | ani_interaction_api.cpp | 4308 auto utf16Length = internalString->GetUtf16Length(); in String_GetUTF16() local 4334 auto utf16Length = internalString->GetUtf16Length(); in String_GetUTF16SubString() local
|