Searched refs:posStart (Results 1 – 3 of 3) sorted by relevance
/arkcompiler/ets_runtime/ecmascript/tests/ |
D | constant_string_test.cpp | 310 int32_t posStart = 0; in HWTEST_F_L0() local 311 EXPECT_EQ(EcmaStringAccessor::IndexOf(ecmaVMPtr, handleEcmaStr, handleEcmaStr1, posStart), 2); in HWTEST_F_L0() 312 EXPECT_EQ(EcmaStringAccessor::IndexOf(ecmaVMPtr, handleEcmaStr1, handleEcmaStr, posStart), -1); in HWTEST_F_L0() 313 posStart = -1; in HWTEST_F_L0() 314 EXPECT_EQ(EcmaStringAccessor::IndexOf(ecmaVMPtr, handleEcmaStr, handleEcmaStr1, posStart), 2); in HWTEST_F_L0() 315 posStart = 1; in HWTEST_F_L0() 316 EXPECT_EQ(EcmaStringAccessor::IndexOf(ecmaVMPtr, handleEcmaStr, handleEcmaStr1, posStart), 2); in HWTEST_F_L0() 317 posStart = 2; in HWTEST_F_L0() 318 EXPECT_EQ(EcmaStringAccessor::IndexOf(ecmaVMPtr, handleEcmaStr, handleEcmaStr1, posStart), 2); in HWTEST_F_L0() 319 posStart = 3; in HWTEST_F_L0() [all …]
|
D | ecma_string_test.cpp | 986 int32_t posStart = 0; in HWTEST_F_L0() local 987 EXPECT_EQ(handleEcmaStr->IndexOf(*handleEcmaStr1, posStart), 2); in HWTEST_F_L0() 988 EXPECT_EQ(handleEcmaStr1->IndexOf(*handleEcmaStr, posStart), -1); in HWTEST_F_L0() 989 posStart = -1; in HWTEST_F_L0() 990 EXPECT_EQ(handleEcmaStr->IndexOf(*handleEcmaStr1, posStart), 2); in HWTEST_F_L0() 991 posStart = 1; in HWTEST_F_L0() 992 EXPECT_EQ(handleEcmaStr->IndexOf(*handleEcmaStr1, posStart), 2); in HWTEST_F_L0() 993 posStart = 2; in HWTEST_F_L0() 994 EXPECT_EQ(handleEcmaStr->IndexOf(*handleEcmaStr1, posStart), 2); in HWTEST_F_L0() 995 posStart = 3; in HWTEST_F_L0() [all …]
|
D | ecma_string_accessor_test.cpp | 910 int32_t posStart = 0; in HWTEST_F_L0() local 911 EXPECT_EQ(EcmaStringAccessor::IndexOf(ecmaVMPtr, handleEcmaStr, handleEcmaStr1, posStart), 2); in HWTEST_F_L0() 912 EXPECT_EQ(EcmaStringAccessor::IndexOf(ecmaVMPtr, handleEcmaStr1, handleEcmaStr, posStart), -1); in HWTEST_F_L0() 913 posStart = -1; in HWTEST_F_L0() 914 EXPECT_EQ(EcmaStringAccessor::IndexOf(ecmaVMPtr, handleEcmaStr, handleEcmaStr1, posStart), 2); in HWTEST_F_L0() 915 posStart = 1; in HWTEST_F_L0() 916 EXPECT_EQ(EcmaStringAccessor::IndexOf(ecmaVMPtr, handleEcmaStr, handleEcmaStr1, posStart), 2); in HWTEST_F_L0() 917 posStart = 2; in HWTEST_F_L0() 918 EXPECT_EQ(EcmaStringAccessor::IndexOf(ecmaVMPtr, handleEcmaStr, handleEcmaStr1, posStart), 2); in HWTEST_F_L0() 919 posStart = 3; in HWTEST_F_L0() [all …]
|