Home
last modified time | relevance | path

Searched refs:GetDataUtf16 (Results 1 – 6 of 6) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/
Decma_string-inl.h187 bool canBeCompressed = CanBeCompressed(src->GetDataUtf16() + start, length); in FastSubUtf16String()
191 CopyChars(string->GetDataUtf8Writable(), src->GetDataUtf16() + start, length); in FastSubUtf16String()
196 Span<const uint16_t> source(src->GetDataUtf16() + start, length); in FastSubUtf16String()
218 inline const uint16_t *EcmaString::GetDataUtf16() const in GetDataUtf16() function
297 CopyChars(buf, src->GetDataUtf16(), length); in WriteToFlat()
352 inline const uint16_t *EcmaStringAccessor::GetDataUtf16() in GetDataUtf16() function
354 return string_->GetDataUtf16(); in GetDataUtf16()
Decma_string.cpp79 Span<const uint16_t> srcLeft(strLeft->GetDataUtf16(), leftLength); in Concat()
87 Span<const uint16_t> srcRight(strRight->GetDataUtf16(), rightLength); in Concat()
121 Span<const uint16_t> srcSp(strOrigin->GetDataUtf16(), length); in CopyStringToOldSpace()
215 Span<const uint16_t> rhsSp(rhs->GetDataUtf16(), rhsCount); in Compare()
221 Span<const uint16_t> lhsSp(lhs->GetDataUtf16(), rhsCount); in Compare()
228 Span<const uint16_t> lhsSp(lhs->GetDataUtf16(), lhsCount); in Compare()
229 Span<const uint16_t> rhsSp(rhs->GetDataUtf16(), rhsCount); in Compare()
334 Span<const uint16_t> lhsSp(lhs->GetDataUtf16(), lhsCount); in IndexOf()
335 Span<const uint16_t> rhsSp(rhs->GetDataUtf16(), rhsCount); in IndexOf()
340 Span<const uint16_t> lhsSp(lhs->GetDataUtf16(), lhsCount); in IndexOf()
[all …]
Decma_string.h127 inline const uint16_t *GetDataUtf16() const;
611 Span<const uint16_t> sp(GetDataUtf16(), length); in Get()
849 inline const uint16_t *GetDataUtf16();
Djs_serializer.cpp620 const uint16_t *data = EcmaStringAccessor(string).GetDataUtf16(); in WriteEcmaString()
/arkcompiler/ets_runtime/ecmascript/tests/
Decma_string_test.cpp786 HWTEST_F_L0(EcmaStringTest, GetDataUtf16) in HWTEST_F_L0() argument
794 EXPECT_EQ(*(handleEcmaStrU16NotComp->GetDataUtf16() + i), arrayU16NotComp[i]); in HWTEST_F_L0()
Decma_string_accessor_test.cpp549 HWTEST_F_L0(EcmaStringAccessorTest, GetDataUtf16) in HWTEST_F_L0() argument
557 … EXPECT_EQ(*(EcmaStringAccessor(handleEcmaStrU16NotComp).GetDataUtf16() + i), arrayU16NotComp[i]); in HWTEST_F_L0()