| /arkcompiler/runtime_core/static_core/runtime/ |
| D | string_table.cpp | 34 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/ |
| D | base_string.cpp | 125 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()
|
| D | base_string_table.cpp | 153 const uint16_t* utf16Data, uint32_t utf16Len, in GetOrInternString() 257 … const uint16_t* utf16Data, uint32_t utf16Len, bool canBeCompress) in GetOrInternString()
|
| /arkcompiler/runtime_core/common_interfaces/objects/ |
| D | base_string_table.h | 51 …OrInternString(ThreadHolder *holder, const HandleCreator &handleCreator, const uint16_t *utf16Data, in GetOrInternString()
|
| /arkcompiler/ets_runtime/ecmascript/tests/ |
| D | ecma_string_equals_test.cpp | 26 const uint16_t *utf16Data, uint32_t utf16Len) in IsUtf8EqualsUtf16UT()
|
| D | base_string_table_test.cpp | 96 uint16_t utf16Data[] = {0x7F16, 0x7801, 0x89E3, 0x7801}; // “ 编码解码 ” in HWTEST_F_L0() local
|
| D | ecma_string_table_test.cpp | 92 uint16_t utf16Data[] = {0x7F16, 0x7801, 0x89E3, 0x7801}; // “ 编码解码 ” in HWTEST_F_L0() local
|
| /arkcompiler/runtime_core/static_core/runtime/coretypes/ |
| D | string.cpp | 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() 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/ |
| D | stringtableutf16stringintern_fuzzer.cpp | 133 std::vector<uint16_t> utf16Data = CreateValidUtf16(data, size); in StringTableUtf16StringInternFuzzTest() local
|
| /arkcompiler/runtime_core/static_core/plugins/ets/sdk/native/api/ |
| D | ani_textdecoder.cpp | 72 bool TextDecoder::CanBeCompressed(Span<const uint16_t> utf16Data) in CanBeCompressed()
|
| /arkcompiler/ets_runtime/ecmascript/ |
| D | ecma_string_table.cpp | 166 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()
|
| D | ecma_string_table_optimization.cpp | 332 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()
|
| D | ecma_string.h | 1015 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()
|
| D | ecma_string.cpp | 484 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()
|
| D | object_factory.cpp | 3527 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()
|
| D | ecma_string-inl.h | 120 inline EcmaString *EcmaString::CreateFromUtf16(const EcmaVM *vm, const uint16_t *utf16Data, uint32_… in CreateFromUtf16()
|
| /arkcompiler/runtime_core/common_interfaces/objects/string/ |
| D | base_string_impl.h | 339 …:StringsAreEqualUtf16(ReadBarrier &&readBarrier, const BaseString *str1, const uint16_t *utf16Data, in StringsAreEqualUtf16()
|
| D | base_string-inl2.h | 73 BaseString *BaseString::CreateFromUtf16(Allocator &&allocator, const uint16_t *utf16Data, uint32_t … in CreateFromUtf16()
|
| /arkcompiler/ets_runtime/ecmascript/base/tests/ |
| D | string_helper_test.cpp | 160 uint16_t utf16Data[utf16DataLen] = { // "world" in HWTEST_F_L0() local
|
| /arkcompiler/ets_runtime/ecmascript/base/ |
| D | string_helper.h | 113 static inline std::u16string Utf16ToU16String(const uint16_t *utf16Data, uint32_t dataLen) in Utf16ToU16String()
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/runtime/types/ |
| D | ets_string_test.cpp | 674 auto utf16Data = str->GetDataUtf16(); in CheckConvertString() local
|
| /arkcompiler/ets_runtime/ecmascript/builtins/ |
| D | builtins_string.cpp | 1007 uint16_t *utf16Data = const_cast<uint16_t *>(EcmaStringAccessor(result).GetDataUtf16()); in Repeat() local
|