Home
last modified time | relevance | path

Searched refs:lengthEcmaStrBackU8 (Results 1 – 3 of 3) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/tests/
Dconstant_string_test.cpp185 uint32_t lengthEcmaStrBackU8 = sizeof(arrayBackU8) - 1; in HWTEST_F_L0() local
189 … EcmaStringAccessor::CreateConstantString(ecmaVMPtr, &arrayBackU8[0], lengthEcmaStrBackU8, true)); in HWTEST_F_L0()
196 for (uint32_t i = 0; i < lengthEcmaStrBackU8; i++) { in HWTEST_F_L0()
199 …EcmaStringAccessor(handleEcmaStrConcatU8).GetLength(), lengthEcmaStrFrontU8 + lengthEcmaStrBackU8); in HWTEST_F_L0()
Decma_string_test.cpp418 uint32_t lengthEcmaStrBackU8 = sizeof(arrayBackU8) - 1; in HWTEST_F_L0() local
422 EcmaString::CreateFromUtf8(ecmaVMPtr, &arrayBackU8[0], lengthEcmaStrBackU8, true)); in HWTEST_F_L0()
429 for (uint32_t i = 0; i < lengthEcmaStrBackU8; i++) { in HWTEST_F_L0()
432 EXPECT_EQ(handleEcmaStrConcatU8->GetLength(), lengthEcmaStrFrontU8 + lengthEcmaStrBackU8); in HWTEST_F_L0()
Decma_string_accessor_test.cpp212 uint32_t lengthEcmaStrBackU8 = sizeof(arrayBackU8) - 1; in HWTEST_F_L0() local
216 EcmaStringAccessor::CreateFromUtf8(ecmaVMPtr, &arrayBackU8[0], lengthEcmaStrBackU8, true)); in HWTEST_F_L0()
223 for (uint32_t i = 0; i < lengthEcmaStrBackU8; i++) { in HWTEST_F_L0()
226 …EcmaStringAccessor(handleEcmaStrConcatU8).GetLength(), lengthEcmaStrFrontU8 + lengthEcmaStrBackU8); in HWTEST_F_L0()