Home
last modified time | relevance | path

Searched refs:handleEcmaStrU16Comp (Results 1 – 2 of 2) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/tests/
Decma_string_test.cpp147 JSHandle<EcmaString> handleEcmaStrU16Comp(thread, in HWTEST_F_L0() local
149 EXPECT_EQ(handleEcmaStrU16Comp->GetLength(), lengthEcmaStrU16Comp); in HWTEST_F_L0()
150 EXPECT_TRUE(handleEcmaStrU16Comp->IsUtf8()); in HWTEST_F_L0()
151 EXPECT_FALSE(handleEcmaStrU16Comp->IsUtf16()); in HWTEST_F_L0()
194 JSHandle<EcmaString> handleEcmaStrU16Comp(thread, in HWTEST_F_L0() local
196 …EXPECT_EQ(handleEcmaStrU16Comp->ObjectSize(), EcmaString::SIZE + sizeof(uint8_t) * lengthEcmaStrU1… in HWTEST_F_L0()
531 JSHandle<EcmaString> handleEcmaStrU16Comp(thread, in HWTEST_F_L0() local
536 …EcmaString::FastSubString(ecmaVMPtr, handleEcmaStrU16Comp, indexStartSubU16Comp, lengthSubU16Comp)… in HWTEST_F_L0()
538 … EXPECT_EQ(handleEcmaStrSubU16Comp->At(i), handleEcmaStrU16Comp->At(i + indexStartSubU16Comp)); in HWTEST_F_L0()
744 JSHandle<EcmaString> handleEcmaStrU16Comp(thread, in HWTEST_F_L0() local
[all …]
Decma_string_accessor_test.cpp183 JSHandle<EcmaString> handleEcmaStrU16Comp(thread, in HWTEST_F_L0() local
185 EXPECT_EQ(EcmaStringAccessor(handleEcmaStrU16Comp).GetLength(), lengthEcmaStrU16Comp); in HWTEST_F_L0()
186 EXPECT_TRUE(EcmaStringAccessor(handleEcmaStrU16Comp).IsUtf8()); in HWTEST_F_L0()
187 EXPECT_FALSE(EcmaStringAccessor(handleEcmaStrU16Comp).IsUtf16()); in HWTEST_F_L0()
330 JSHandle<EcmaString> handleEcmaStrU16Comp(thread, in HWTEST_F_L0() local
335 …EcmaStringAccessor::FastSubString(ecmaVMPtr, handleEcmaStrU16Comp, indexStartSubU16Comp, lengthSub… in HWTEST_F_L0()
338 EcmaStringAccessor(handleEcmaStrU16Comp).Get(i + indexStartSubU16Comp)); in HWTEST_F_L0()
427 JSHandle<EcmaString> handleEcmaStrU16Comp(thread, in HWTEST_F_L0() local
432 EXPECT_EQ(EcmaStringAccessor(handleEcmaStrU16Comp).GetUtf8Length(), lengthEcmaStrU16Comp + 1); in HWTEST_F_L0()
468 JSHandle<EcmaString> handleEcmaStrU16Comp(thread, in HWTEST_F_L0() local
[all …]