Home
last modified time | relevance | path

Searched refs:resultString (Results 1 – 5 of 5) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/base/tests/
Djson_stringifier_test.cpp142 …JSHandle<JSTaggedValue> resultString = stringifier.Stringify(handleValue, handleReplacer, handleGa… in HWTEST_F_L0() local
143 EXPECT_TRUE(resultString->IsString()); in HWTEST_F_L0()
144 JSHandle<EcmaString> handleEcmaStr(resultString); in HWTEST_F_L0()
170 …JSHandle<JSTaggedValue> resultString = stringifier.Stringify(handleValue, handleReplacer, handleGa… in HWTEST_F_L0() local
171 EXPECT_TRUE(resultString->IsString()); in HWTEST_F_L0()
174 …EXPECT_EQ(EcmaStringAccessor::Compare(instance, resultStr, JSHandle<EcmaString>(resultString)), 0); in HWTEST_F_L0()
210 …JSHandle<JSTaggedValue> resultString = stringifier.Stringify(handleValue, handleReplacer, handleGa… in HWTEST_F_L0() local
211 EXPECT_TRUE(resultString->IsString()); in HWTEST_F_L0()
212 JSHandle<EcmaString> handleEcmaStr(resultString); in HWTEST_F_L0()
233 …JSHandle<JSTaggedValue> resultString = stringifier.Stringify(handleValue, handleReplacer, handleGa… in HWTEST_F_L0() local
[all …]
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_string_iterator.cpp70 std::vector<uint16_t> resultString {first, 0x0}; in Next() local
71 result.Update(factory->NewFromUtf16(resultString.data(), 1).GetTaggedValue()); in Next()
80 std::vector<uint16_t> resultString {first, 0x0}; in Next() local
81 … result.Update(factory->NewFromUtf16NotCompress(resultString.data(), 1).GetTaggedValue()); in Next()
83 std::vector<uint16_t> resultString {first, second, 0x0}; in Next() local
85 … factory->NewFromUtf16NotCompress(resultString.data(), 2).GetTaggedValue()); // 2: two bytes in Next()
Dbuiltins_string.cpp1947 std::u16string resultString; in Pad() local
1949 resultString = fiString + u16strSearch; in Pad()
1951 resultString = u16strSearch + fiString; in Pad()
1954 return factory->NewFromUtf16Literal(reinterpret_cast<const uint16_t *>(resultString.c_str()), in Pad()
1955 resultString.size()).GetTaggedValue(); in Pad()
Dbuiltins_regexp.cpp645 std::string resultString; in RegExpReplaceFast() local
675resultString += EcmaStringAccessor(substr).ToStdString(StringConvertedUsage::LOGICOPERATION); in RegExpReplaceFast()
695 resultString += EcmaStringAccessor(substr).ToStdString(StringConvertedUsage::LOGICOPERATION); in RegExpReplaceFast()
696 auto resultValue = factory->NewFromStdString(resultString); in RegExpReplaceFast()
/arkcompiler/ets_runtime/ecmascript/builtins/tests/
Dbuiltins_symbol_test.cpp373 JSHandle<EcmaString> resultString = JSTaggedValue::ToString( in HWTEST_F_L0() local
375 ASSERT_EQ(EcmaStringAccessor::Compare(ecmaVM, resultString, string), 0); in HWTEST_F_L0()