Searched refs:arrayFrontU8 (Results 1 – 3 of 3) sorted by relevance
/arkcompiler/ets_runtime/ecmascript/tests/ |
D | constant_string_test.cpp | 182 uint8_t arrayFrontU8[] = {"abcdef"}; in HWTEST_F_L0() local 184 uint32_t lengthEcmaStrFrontU8 = sizeof(arrayFrontU8) - 1; in HWTEST_F_L0() 187 …EcmaStringAccessor::CreateConstantString(ecmaVMPtr, &arrayFrontU8[0], lengthEcmaStrFrontU8, true)); in HWTEST_F_L0() 194 EXPECT_EQ(EcmaStringAccessor(handleEcmaStrConcatU8).Get(i), arrayFrontU8[i]); in HWTEST_F_L0() 212 uint8_t arrayFrontU8[] = {"abcdef"}; in HWTEST_F_L0() local 214 uint32_t lengthEcmaStrFrontU8 = sizeof(arrayFrontU8) - 1; in HWTEST_F_L0() 217 …EcmaStringAccessor::CreateConstantString(ecmaVMPtr, &arrayFrontU8[0], lengthEcmaStrFrontU8, true)); in HWTEST_F_L0() 224 EXPECT_EQ(EcmaStringAccessor(handleEcmaStrConcatU8U16NotComp).Get(i), arrayFrontU8[i]); in HWTEST_F_L0()
|
D | ecma_string_test.cpp | 415 uint8_t arrayFrontU8[] = {"abcdef"}; in HWTEST_F_L0() local 417 uint32_t lengthEcmaStrFrontU8 = sizeof(arrayFrontU8) - 1; in HWTEST_F_L0() 420 EcmaString::CreateFromUtf8(ecmaVMPtr, &arrayFrontU8[0], lengthEcmaStrFrontU8, true)); in HWTEST_F_L0() 427 EXPECT_EQ(handleEcmaStrConcatU8->At(i), arrayFrontU8[i]); in HWTEST_F_L0() 475 uint8_t arrayFrontU8[] = {"abcdef"}; in HWTEST_F_L0() local 477 uint32_t lengthEcmaStrFrontU8 = sizeof(arrayFrontU8) - 1; in HWTEST_F_L0() 480 EcmaString::CreateFromUtf8(ecmaVMPtr, &arrayFrontU8[0], lengthEcmaStrFrontU8, true)); in HWTEST_F_L0() 487 EXPECT_EQ(handleEcmaStrConcatU8U16NotComp->At(i), arrayFrontU8[i]); in HWTEST_F_L0()
|
D | ecma_string_accessor_test.cpp | 209 uint8_t arrayFrontU8[] = {"abcdef"}; in HWTEST_F_L0() local 211 uint32_t lengthEcmaStrFrontU8 = sizeof(arrayFrontU8) - 1; in HWTEST_F_L0() 214 … EcmaStringAccessor::CreateFromUtf8(ecmaVMPtr, &arrayFrontU8[0], lengthEcmaStrFrontU8, true)); in HWTEST_F_L0() 221 EXPECT_EQ(EcmaStringAccessor(handleEcmaStrConcatU8).Get(i), arrayFrontU8[i]); in HWTEST_F_L0() 271 uint8_t arrayFrontU8[] = {"abcdef"}; in HWTEST_F_L0() local 273 uint32_t lengthEcmaStrFrontU8 = sizeof(arrayFrontU8) - 1; in HWTEST_F_L0() 276 … EcmaStringAccessor::CreateFromUtf8(ecmaVMPtr, &arrayFrontU8[0], lengthEcmaStrFrontU8, true)); in HWTEST_F_L0() 283 EXPECT_EQ(EcmaStringAccessor(handleEcmaStrConcatU8U16NotComp).Get(i), arrayFrontU8[i]); in HWTEST_F_L0()
|