Home
last modified time | relevance | path

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

/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_string.cpp835 JSHandle<JSTaggedValue> replaceTag = BuiltinsString::GetCallArg(argv, 1); in Replace() local
839 if (searchTag->IsJSRegExp() && replaceTag->IsString()) { in Replace()
846 replaceTag.GetTaggedValue()); in Replace()
867 info->SetCallArg(thisTag.GetTaggedValue(), replaceTag.GetTaggedValue()); in Replace()
881 if (!replaceTag->IsCallable()) { in Replace()
885 replaceTag = JSHandle<JSTaggedValue>(JSTaggedValue::ToString(thread, replaceTag)); in Replace()
898 if (replaceTag->IsCallable()) { in Replace()
902 … EcmaInterpreter::NewRuntimeCallInfo(thread, replaceTag, undefined, undefined, argsLength); in Replace()
911 ASSERT_PRINT(replaceTag->IsString(), "replace must be string"); in Replace()
912 JSHandle<EcmaString> replacement(thread, replaceTag->GetTaggedObject()); in Replace()
[all …]