Home
last modified time | relevance | path

Searched defs:utf16Data (Results 1 – 10 of 10) 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/runtime_core/static_core/runtime/coretypes/
Dstring.cpp134 String *String::CreateFromUtf16(const uint16_t *utf16Data, uint32_t utf16Length, const LanguageCont… in CreateFromUtf16()
553 bool String::CanBeCompressed(const uint16_t *utf16Data, uint32_t utf16Length) in CanBeCompressed()
593 bool String::CanBeCompressedUtf16(const uint16_t *utf16Data, uint32_t utf16Length, uint16_t non) in CanBeCompressedUtf16()
683 bool String::StringsAreEqualUtf16(String *str1, const uint16_t *utf16Data, uint32_t utf16DataLength) in StringsAreEqualUtf16()
699 …ng::IsMutf8EqualsUtf16(const uint8_t *utf8Data, uint32_t utf8DataLength, const uint16_t *utf16Data, in IsMutf8EqualsUtf16()
716 bool String::IsMutf8EqualsUtf16(const uint8_t *utf8Data, const uint16_t *utf16Data, uint32_t utf16D… in IsMutf8EqualsUtf16()
861 uint32_t String::ComputeHashcodeUtf16(const uint16_t *utf16Data, uint32_t length) in ComputeHashcodeUtf16()
/arkcompiler/ets_runtime/ecmascript/tests/
Decma_string_table_test.cpp99 uint16_t utf16Data[] = {0x7F16, 0x7801, 0x89E3, 0x7801}; // “ 编码解码 ” in HWTEST_F_L0() local
/arkcompiler/ets_runtime/ecmascript/
Decma_string_table.cpp61 std::pair<EcmaString *, uint32_t> EcmaStringTable::GetString(const uint16_t *utf16Data, uint32_t ut… in GetString() argument
153 EcmaString *EcmaStringTable::GetOrInternString(const uint16_t *utf16Data, uint32_t utf16Len, bool c… in GetOrInternString()
Decma_string.h1301 static uint32_t ComputeHashcodeUtf16(const uint16_t *utf16Data, uint32_t length) in ComputeHashcodeUtf16()
1356 …static bool StringsAreEqualUtf16(const EcmaString *str1, const uint16_t *utf16Data, uint32_t utf16… in StringsAreEqualUtf16()
1374 static bool CanBeCompressed(const uint16_t *utf16Data, uint32_t utf16Len) in CanBeCompressed()
Decma_string.cpp474 bool EcmaString::CanBeCompressed(const uint16_t *utf16Data, uint32_t utf16Len) in CanBeCompressed()
648 bool EcmaString::StringsAreEqualUtf16(const EcmaString *str1, const uint16_t *utf16Data, uint32_t u… in StringsAreEqualUtf16()
775 uint32_t EcmaString::ComputeHashcodeUtf16(const uint16_t *utf16Data, uint32_t length) in ComputeHashcodeUtf16()
787 …l EcmaString::IsUtf8EqualsUtf16(const uint8_t *utf8Data, size_t utf8Len, const uint16_t *utf16Data, in IsUtf8EqualsUtf16()
Decma_string-inl.h100 inline EcmaString *EcmaString::CreateFromUtf16(const EcmaVM *vm, const uint16_t *utf16Data, uint32_… in CreateFromUtf16()
Dobject_factory.cpp3002 JSHandle<EcmaString> ObjectFactory::GetStringFromStringTable(const uint16_t *utf16Data, uint32_t ut… in GetStringFromStringTable()
3941 auto utf16Data = reinterpret_cast<const uint16_t *>(data.data()); in NewFromUtf16() local
3959 JSHandle<EcmaString> ObjectFactory::NewFromUtf16(const uint16_t *utf16Data, uint32_t utf16Len) in NewFromUtf16()
3965 JSHandle<EcmaString> ObjectFactory::NewFromUtf16Compress(const uint16_t *utf16Data, uint32_t utf16L… in NewFromUtf16Compress()
3971 JSHandle<EcmaString> ObjectFactory::NewFromUtf16NotCompress(const uint16_t *utf16Data, uint32_t utf… in NewFromUtf16NotCompress()
3998 JSHandle<EcmaString> ObjectFactory::NewFromUtf16Literal(const uint16_t *utf16Data, uint32_t utf16Le… in NewFromUtf16Literal()
4005 JSHandle<EcmaString> ObjectFactory::NewFromUtf16LiteralCompress(const uint16_t *utf16Data, uint32_t… in NewFromUtf16LiteralCompress()
4012 JSHandle<EcmaString> ObjectFactory::NewFromUtf16LiteralNotCompress(const uint16_t *utf16Data, uint3… in NewFromUtf16LiteralNotCompress()
/arkcompiler/ets_runtime/ecmascript/base/tests/
Dstring_helper_test.cpp154 uint16_t utf16Data[utf16DataLen] = { // "world" in HWTEST_F_L0() local
/arkcompiler/ets_runtime/ecmascript/base/
Dstring_helper.h82 static inline std::u16string Utf16ToU16String(const uint16_t *utf16Data, uint32_t dataLen) in Utf16ToU16String()