Home
last modified time | relevance | path

Searched refs:emptyString (Results 1 – 8 of 8) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/base/tests/
Djson_parser_test.cpp200 JSHandle<EcmaString> emptyString(thread->GlobalConstants()->GetHandledEmptyString()); in HWTEST_F_L0() local
201 JSHandle<JSTaggedValue> result = parser.ParseUtf8(*emptyString); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_function.cpp227 JSHandle<JSTaggedValue> emptyString(factory->GetEmptyString()); in FunctionPrototypeBind() local
228 …Function::SetFunctionName(thread, JSHandle<JSFunctionBase>(boundFunction), emptyString, boundName); in FunctionPrototypeBind()
Dbuiltins.cpp477 JSHandle<JSTaggedValue> emptyString(thread_->GlobalConstants()->GetHandledEmptyString()); in InitializeFunction() local
479 …JSFunction::SetFunctionName(thread_, JSHandle<JSFunctionBase>(funcFuncPrototype), emptyString, und… in InitializeFunction()
3725 JSHandle<JSTaggedValue> emptyString = thread_->GlobalConstants()->GetHandledEmptyString(); in InitializeGlobalRegExp() local
3726 … JSHandle<JSTaggedValue> newBox1 = JSHandle<JSTaggedValue>(factory_->NewPropertyBox(emptyString)); in InitializeGlobalRegExp()
3728 … JSHandle<JSTaggedValue> newBox2 = JSHandle<JSTaggedValue>(factory_->NewPropertyBox(emptyString)); in InitializeGlobalRegExp()
3730 … JSHandle<JSTaggedValue> newBox3 = JSHandle<JSTaggedValue>(factory_->NewPropertyBox(emptyString)); in InitializeGlobalRegExp()
3732 … JSHandle<JSTaggedValue> newBox4 = JSHandle<JSTaggedValue>(factory_->NewPropertyBox(emptyString)); in InitializeGlobalRegExp()
3734 … JSHandle<JSTaggedValue> newBox5 = JSHandle<JSTaggedValue>(factory_->NewPropertyBox(emptyString)); in InitializeGlobalRegExp()
3736 … JSHandle<JSTaggedValue> newBox6 = JSHandle<JSTaggedValue>(factory_->NewPropertyBox(emptyString)); in InitializeGlobalRegExp()
3738 … JSHandle<JSTaggedValue> newBox7 = JSHandle<JSTaggedValue>(factory_->NewPropertyBox(emptyString)); in InitializeGlobalRegExp()
[all …]
Dbuiltins_regexp.cpp1530 JSHandle<JSTaggedValue> emptyString = thread->GlobalConstants()->GetHandledEmptyString(); in RegExpBuiltinExec() local
1535 cell->SetValue(thread, emptyString); in RegExpBuiltinExec()
/arkcompiler/ets_runtime/ecmascript/tests/
Dlocale_helper_test.cpp162 JSHandle<EcmaString> emptyString = factory->GetEmptyString(); in HWTEST_F_L0() local
163 EXPECT_EQ(EcmaStringAccessor::Compare(instance, canonicalizeLocaleId, emptyString), 0); in HWTEST_F_L0()
Ddump_test.cpp640 … JSHandle<EcmaString> emptyString(thread->GlobalConstants()->GetHandledEmptyString()); in HWTEST_F_L0() local
643 factory->NewJSRegExpIterator(jsRegExp, emptyString, false, false); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/
Djs_serializer.cpp1457 … JSHandle<JSTaggedValue> emptyString = JSHandle<JSTaggedValue>::Cast(factory_->GetEmptyString()); in ReadEcmaString() local
1458 referenceMap_.emplace(objectId_++, emptyString); in ReadEcmaString()
1459 return emptyString; in ReadEcmaString()
Dobject_factory.cpp795 JSHandle<EcmaString> emptyString(thread_->GlobalConstants()->GetHandledEmptyString()); in GetJSError() local
796 return NewJSError(errorType, emptyString, needCheckStack); in GetJSError()
1695 JSHandle<JSTaggedValue> emptyString = globalConst->GetHandledEmptyString(); in NewJSIntlBoundFunction() local
1697 PropertyDescriptor nameDesc(thread_, emptyString, false, false, true); in NewJSIntlBoundFunction()
1716 JSHandle<JSTaggedValue> emptyString = globalConst->GetHandledEmptyString(); in NewJSProxyRevocFunction() local
1718 PropertyDescriptor nameDesc(thread_, emptyString, false, false, true); in NewJSProxyRevocFunction()