Home
last modified time | relevance | path

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

/arkcompiler/runtime_core/static_core/runtime/
Dstring_table.cpp34 coretypes::String *StringTable::GetOrInternString(const uint16_t *utf16Data, uint32_t utf16Length, in GetOrInternString()
103 coretypes::String *StringTable::Table::GetString(const uint16_t *utf16Data, uint32_t utf16Length, in GetString()
185 coretypes::String *StringTable::Table::GetOrInternString(const uint16_t *utf16Data, uint32_t utf16L… in GetOrInternString()
280 coretypes::String *StringTable::InternalTable::GetOrInternString(const uint16_t *utf16Data, uint32_… in GetOrInternString()
/arkcompiler/ets_runtime/common_components/objects/
Dbase_string.cpp125 uint32_t BaseString::ComputeHashcodeUtf16(const uint16_t *utf16Data, uint32_t length) in ComputeHashcodeUtf16()
164 const uint16_t* utf16Data, uint32_t utf16Len) in IsUtf8EqualsUtf16()
298 bool BaseString::CanBeCompressed(const uint16_t* utf16Data, uint32_t utf16Len) in CanBeCompressed()
472 std::u16string Utf16ToU16String(const uint16_t* utf16Data, uint32_t dataLen) in Utf16ToU16String()
Dbase_string_table.cpp153 const uint16_t* utf16Data, uint32_t utf16Len, in GetOrInternString()
257const uint16_t* utf16Data, uint32_t utf16Len, bool canBeCompress) in GetOrInternString()
/arkcompiler/runtime_core/common_interfaces/objects/
Dbase_string_table.h51 …OrInternString(ThreadHolder *holder, const HandleCreator &handleCreator, const uint16_t *utf16Data, in GetOrInternString()
/arkcompiler/ets_runtime/ecmascript/tests/
Decma_string_equals_test.cpp26 const uint16_t *utf16Data, uint32_t utf16Len) in IsUtf8EqualsUtf16UT()
Dbase_string_table_test.cpp96 uint16_t utf16Data[] = {0x7F16, 0x7801, 0x89E3, 0x7801}; // “ 编码解码 ” in HWTEST_F_L0() local
Decma_string_table_test.cpp92 uint16_t utf16Data[] = {0x7F16, 0x7801, 0x89E3, 0x7801}; // “ 编码解码 ” in HWTEST_F_L0() local
/arkcompiler/runtime_core/static_core/runtime/coretypes/
Dstring.cpp151 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()
578 bool String::CanBeCompressed(const uint16_t *utf16Data, uint32_t utf16Length) in CanBeCompressed()
618 bool String::CanBeCompressedUtf16(const uint16_t *utf16Data, uint32_t utf16Length, uint16_t non) in CanBeCompressedUtf16()
709 bool String::StringsAreEqualUtf16(String *str1, const uint16_t *utf16Data, uint32_t utf16DataLength) in StringsAreEqualUtf16()
725 …ng::IsMutf8EqualsUtf16(const uint8_t *utf8Data, uint32_t utf8DataLength, const uint16_t *utf16Data, in IsMutf8EqualsUtf16()
742 bool String::IsMutf8EqualsUtf16(const uint8_t *utf8Data, const uint16_t *utf16Data, uint32_t utf16D… in IsMutf8EqualsUtf16()
887 uint32_t String::ComputeHashcodeUtf16(const uint16_t *utf16Data, uint32_t length) in ComputeHashcodeUtf16()
/arkcompiler/ets_runtime/test/fuzztest/stringtableutf16stringintern_fuzzer/
Dstringtableutf16stringintern_fuzzer.cpp133 std::vector<uint16_t> utf16Data = CreateValidUtf16(data, size); in StringTableUtf16StringInternFuzzTest() local
/arkcompiler/runtime_core/static_core/plugins/ets/sdk/native/api/
Dani_textdecoder.cpp72 bool TextDecoder::CanBeCompressed(Span<const uint16_t> utf16Data) in CanBeCompressed()
/arkcompiler/ets_runtime/ecmascript/
Decma_string_table.cpp166 EcmaString *EcmaStringTable::GetString(JSThread *thread, const uint16_t *utf16Data, uint32_t utf16L… in GetString()
370 EcmaString *EcmaStringTable::GetOrInternString(EcmaVM *vm, const uint16_t *utf16Data, uint32_t utf1… in GetOrInternString()
631 EcmaString *EcmaStringTable::GetStringThreadUnsafe(JSThread *thread, const uint16_t *utf16Data, uin… in GetStringThreadUnsafe()
Decma_string_table_optimization.cpp332 EcmaString* EcmaStringTableImpl<Traits>::GetOrInternString(EcmaVM* vm, const uint16_t* utf16Data, u… in GetOrInternString()
421 const uint16_t *utf16Data = u16Buffer.data(); in GetOrInternStringWithoutJSHandleForJit() local
601 EcmaString* EcmaStringTable::GetOrInternString(EcmaVM* vm, const uint16_t* utf16Data, uint32_t utf1… in GetOrInternString()
Decma_string.h1015 static uint32_t ComputeHashcodeUtf16(const uint16_t *utf16Data, uint32_t length) in ComputeHashcodeUtf16()
1080 …ool StringsAreEqualUtf16(const JSThread *thread, const EcmaString *str1, const uint16_t *utf16Data, in StringsAreEqualUtf16()
1099 static bool CanBeCompressed(const uint16_t *utf16Data, uint32_t utf16Len) in CanBeCompressed()
Decma_string.cpp484 bool EcmaString::CanBeCompressed(const uint16_t *utf16Data, uint32_t utf16Len) in CanBeCompressed()
573 …ng::StringsAreEqualUtf16(const JSThread *thread, const EcmaString *str1, const uint16_t *utf16Data, in StringsAreEqualUtf16()
601 uint32_t EcmaString::ComputeHashcodeUtf16(const uint16_t *utf16Data, uint32_t length) in ComputeHashcodeUtf16()
Dobject_factory.cpp3527 JSHandle<EcmaString> ObjectFactory::GetStringFromStringTable(const uint16_t *utf16Data, uint32_t ut… in GetStringFromStringTable()
4460 auto utf16Data = reinterpret_cast<const uint16_t *>(data.data()); in NewFromUtf16WithoutStringTable() local
4476 auto utf16Data = reinterpret_cast<const uint16_t *>(data.data()); in NewFromUtf16() local
4508 JSHandle<EcmaString> ObjectFactory::NewFromUtf16WithoutStringTable(const uint16_t *utf16Data, uint3… in NewFromUtf16WithoutStringTable()
4522 JSHandle<EcmaString> ObjectFactory::NewFromUtf16(const uint16_t *utf16Data, uint32_t utf16Len) in NewFromUtf16()
4528 JSHandle<EcmaString> ObjectFactory::NewFromUtf16Compress(const uint16_t *utf16Data, uint32_t utf16L… in NewFromUtf16Compress()
4534 JSHandle<EcmaString> ObjectFactory::NewFromUtf16NotCompress(const uint16_t *utf16Data, uint32_t utf… in NewFromUtf16NotCompress()
4578 JSHandle<EcmaString> ObjectFactory::NewFromUtf16Literal(const uint16_t *utf16Data, uint32_t utf16Le… in NewFromUtf16Literal()
4585 JSHandle<EcmaString> ObjectFactory::NewFromUtf16LiteralCompress(const uint16_t *utf16Data, uint32_t… in NewFromUtf16LiteralCompress()
4592 JSHandle<EcmaString> ObjectFactory::NewFromUtf16LiteralNotCompress(const uint16_t *utf16Data, uint3… in NewFromUtf16LiteralNotCompress()
Decma_string-inl.h120 inline EcmaString *EcmaString::CreateFromUtf16(const EcmaVM *vm, const uint16_t *utf16Data, uint32_… in CreateFromUtf16()
/arkcompiler/runtime_core/common_interfaces/objects/string/
Dbase_string_impl.h339 …:StringsAreEqualUtf16(ReadBarrier &&readBarrier, const BaseString *str1, const uint16_t *utf16Data, in StringsAreEqualUtf16()
Dbase_string-inl2.h73 BaseString *BaseString::CreateFromUtf16(Allocator &&allocator, const uint16_t *utf16Data, uint32_t … in CreateFromUtf16()
/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.h113 static inline std::u16string Utf16ToU16String(const uint16_t *utf16Data, uint32_t dataLen) in Utf16ToU16String()
/arkcompiler/runtime_core/static_core/plugins/ets/tests/runtime/types/
Dets_string_test.cpp674 auto utf16Data = str->GetDataUtf16(); in CheckConvertString() local
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_string.cpp1007 uint16_t *utf16Data = const_cast<uint16_t *>(EcmaStringAccessor(result).GetDataUtf16()); in Repeat() local