Home
last modified time | relevance | path

Searched defs:utf16Data (Results 1 – 11 of 11) sorted by relevance

/arkcompiler/runtime_core/static_core/runtime/
Dstring_table.cpp35 coretypes::String *StringTable::GetOrInternString(const uint16_t *utf16Data, uint32_t utf16Length, in GetOrInternString()
106 coretypes::String *StringTable::Table::GetString(const uint16_t *utf16Data, uint32_t utf16Length, in GetString()
188 coretypes::String *StringTable::Table::GetOrInternString(const uint16_t *utf16Data, uint32_t utf16L… in GetOrInternString()
288 coretypes::String *StringTable::InternalTable::GetOrInternString(const uint16_t *utf16Data, uint32_… in GetOrInternString()
/arkcompiler/ets_runtime/ecmascript/tests/
Decma_string_table_test.cpp75 uint16_t utf16Data[] = {0x7F16, 0x7801, 0x89E3, 0x7801}; // “ 编码解码 ” in HWTEST_F_L0() local
Decma_string_equals_test.cpp26 const uint16_t *utf16Data, uint32_t utf16Len) in IsUtf8EqualsUtf16UT()
/arkcompiler/runtime_core/static_core/runtime/coretypes/
Dstring.cpp150 String *String::CreateFromUtf16(const uint16_t *utf16Data, uint32_t utf16Length, const LanguageCont… in CreateFromUtf16()
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()
698 bool String::StringsAreEqualUtf16(String *str1, const uint16_t *utf16Data, uint32_t utf16DataLength) in StringsAreEqualUtf16()
714 …ng::IsMutf8EqualsUtf16(const uint8_t *utf8Data, uint32_t utf8DataLength, const uint16_t *utf16Data, in IsMutf8EqualsUtf16()
731 bool String::IsMutf8EqualsUtf16(const uint8_t *utf8Data, const uint16_t *utf16Data, uint32_t utf16D… in IsMutf8EqualsUtf16()
876 uint32_t String::ComputeHashcodeUtf16(const uint16_t *utf16Data, uint32_t length) in ComputeHashcodeUtf16()
/arkcompiler/ets_runtime/ecmascript/
Decma_string_table.cpp163 EcmaString *EcmaStringTable::GetString(JSThread *thread, const uint16_t *utf16Data, uint32_t utf16L… in GetString()
357 EcmaString *EcmaStringTable::GetOrInternString(EcmaVM *vm, const uint16_t *utf16Data, uint32_t utf1… in GetOrInternString()
652 EcmaString *EcmaStringTable::GetStringThreadUnsafe(const uint16_t *utf16Data, uint32_t utf16Len, in GetStringThreadUnsafe()
Decma_string.h1358 static uint32_t ComputeHashcodeUtf16(const uint16_t *utf16Data, uint32_t length) in ComputeHashcodeUtf16()
1421 …static bool StringsAreEqualUtf16(const EcmaString *str1, const uint16_t *utf16Data, uint32_t utf16… in StringsAreEqualUtf16()
1439 static bool CanBeCompressed(const uint16_t *utf16Data, uint32_t utf16Len) in CanBeCompressed()
Decma_string.cpp673 bool EcmaString::CanBeCompressed(const uint16_t *utf16Data, uint32_t utf16Len) in CanBeCompressed()
856 bool EcmaString::StringsAreEqualUtf16(const EcmaString *str1, const uint16_t *utf16Data, uint32_t u… in StringsAreEqualUtf16()
983 uint32_t EcmaString::ComputeHashcodeUtf16(const uint16_t *utf16Data, uint32_t length) in ComputeHashcodeUtf16()
1018 const uint16_t *utf16Data, uint32_t utf16Len) in IsUtf8EqualsUtf16()
Decma_string-inl.h114 inline EcmaString *EcmaString::CreateFromUtf16(const EcmaVM *vm, const uint16_t *utf16Data, uint32_… in CreateFromUtf16()
Dobject_factory.cpp3433 JSHandle<EcmaString> ObjectFactory::GetStringFromStringTable(const uint16_t *utf16Data, uint32_t ut… in GetStringFromStringTable()
4350 auto utf16Data = reinterpret_cast<const uint16_t *>(data.data()); in NewFromUtf16WithoutStringTable() local
4366 auto utf16Data = reinterpret_cast<const uint16_t *>(data.data()); in NewFromUtf16() local
4398 JSHandle<EcmaString> ObjectFactory::NewFromUtf16WithoutStringTable(const uint16_t *utf16Data, uint3… in NewFromUtf16WithoutStringTable()
4412 JSHandle<EcmaString> ObjectFactory::NewFromUtf16(const uint16_t *utf16Data, uint32_t utf16Len) in NewFromUtf16()
4418 JSHandle<EcmaString> ObjectFactory::NewFromUtf16Compress(const uint16_t *utf16Data, uint32_t utf16L… in NewFromUtf16Compress()
4424 JSHandle<EcmaString> ObjectFactory::NewFromUtf16NotCompress(const uint16_t *utf16Data, uint32_t utf… in NewFromUtf16NotCompress()
4468 JSHandle<EcmaString> ObjectFactory::NewFromUtf16Literal(const uint16_t *utf16Data, uint32_t utf16Le… in NewFromUtf16Literal()
4475 JSHandle<EcmaString> ObjectFactory::NewFromUtf16LiteralCompress(const uint16_t *utf16Data, uint32_t… in NewFromUtf16LiteralCompress()
4482 JSHandle<EcmaString> ObjectFactory::NewFromUtf16LiteralNotCompress(const uint16_t *utf16Data, uint3… in NewFromUtf16LiteralNotCompress()
/arkcompiler/ets_runtime/ecmascript/base/tests/
Dstring_helper_test.cpp160 uint16_t utf16Data[utf16DataLen] = { // "world" in HWTEST_F_L0() local
/arkcompiler/ets_runtime/ecmascript/base/
Dstring_helper.h112 static inline std::u16string Utf16ToU16String(const uint16_t *utf16Data, uint32_t dataLen) in Utf16ToU16String()