Home
last modified time | relevance | path

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

/arkcompiler/ets_runtime/ecmascript/
Djs_symbol.h125 EcmaString *srcString = EcmaString::Cast(src.GetDescription(thread).GetTaggedObject()); in Equal() local
127 return EcmaStringAccessor::StringsAreEqual(thread, srcString, dstString); in Equal()
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/types/
Dets_string_builder.cpp134 coretypes::String *srcString = EtsString::FromEtsObject(obj)->GetCoreType(); in ReconstructStringAsMUtf8() local
135 uint32_t n = srcString->CopyDataRegionMUtf8(dstData, 0, srcString->GetLength(), length); in ReconstructStringAsMUtf8()
160 coretypes::String *srcString = EtsString::FromEtsObject(obj)->GetCoreType(); in ReconstructStringAsUtf16() local
161 uint32_t n = srcString->CopyDataRegionUtf16(dstData, 0, srcString->GetLength(), length); in ReconstructStringAsUtf16()
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_regexp.cpp1024 JSHandle<EcmaString> srcString = JSTaggedValue::ToString(thread, string); in ReplaceInternal() local
1029 JSHandle<JSTaggedValue> inputStr = JSHandle<JSTaggedValue>::Cast(srcString); in ReplaceInternal()
1031 uint32_t length = EcmaStringAccessor(srcString).GetLength(); in ReplaceInternal()
1078 return RegExpReplaceFast(thread, thisObj, srcString, length); in ReplaceInternal()
1314 replacementString.Update(BuiltinsString::GetSubstitution(thread, matchString, srcString, in ReplaceInternal()
1332 thread->GetEcmaVM(), srcString, nextSourcePosition, position - nextSourcePosition); in ReplaceInternal()
1357 thread->GetEcmaVM(), srcString, nextSourcePosition, length - nextSourcePosition); in ReplaceInternal()
1364 …CreateStringFromResultArray(thread, resultArray, resultLengthArray, srcString, resultStrLength, is… in ReplaceInternal()
2900 JSHandle<EcmaString> srcString, uint32_t resultStrLength, bool isUtf8) in CreateStringFromResultArray() argument
2904 … FlatStringInfo flatStrInfo = EcmaStringAccessor::FlattenAllString(thread->GetEcmaVM(), srcString); in CreateStringFromResultArray()
[all …]
Dbuiltins_string.h147 const JSHandle<EcmaString> &srcString, int position,
Dbuiltins_string.cpp1296 …ollarBacktick(EcmaVM *ecmaVm, std::u16string &stringBuilder, const JSHandle<EcmaString> &srcString, in ProcessDollarBacktick() argument
1300 EcmaString *prefix = EcmaStringAccessor::FastSubString(ecmaVm, srcString, 0, position); in ProcessDollarBacktick()
1309 …arSingleQuote(EcmaVM *ecmaVm, std::u16string &stringBuilder, const JSHandle<EcmaString> &srcString, in ProcessDollarSingleQuote() argument
1312 int32_t srcLength = static_cast<int32_t>(EcmaStringAccessor(srcString).GetLength()); in ProcessDollarSingleQuote()
1314 …EcmaString *suffix = EcmaStringAccessor::FastSubString(ecmaVm, srcString, tailPos, srcLength - tai… in ProcessDollarSingleQuote()
1394 const JSHandle<EcmaString> &srcString, int position, in GetSubstitution() argument
1442 ProcessDollarBacktick(ecmaVm, stringBuilder, srcString, position, canBeCompress); in GetSubstitution()
1446 ProcessDollarSingleQuote(ecmaVm, stringBuilder, srcString, tailPos, canBeCompress); in GetSubstitution()
Dbuiltins_regexp.h208 const std::vector<uint64_t> &resultLengthArray, JSHandle<EcmaString> srcString,
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/
Dbuiltins_string_stub_builder.h73 GateRef EcmaStringTrim(GateRef glue, GateRef srcString, GateRef trimMode);
Dbuiltins_string_stub_builder.cpp2922 GateRef srcString = srcStringInfoGate.GetString(); in EcmaStringTrimBody() local
2935 … start = CallNGCRuntime(glue, RTSTUB_ID(StringGetStart), {isUtf8, srcString, srcLen, startIndex}); in EcmaStringTrimBody()
2944 …end = CallNGCRuntime(glue, RTSTUB_ID(StringGetEnd), {isUtf8, srcString, *start, srcLen, startIndex… in EcmaStringTrimBody()
/arkcompiler/ets_runtime/ecmascript/stubs/
Druntime_stubs.h162 …static int32_t StringGetStart(bool isUtf8, EcmaString *srcString, int32_t length, int32_t startInd…
163 …static int32_t StringGetEnd(bool isUtf8, EcmaString *srcString, int32_t start, int32_t length, int…
Druntime_stubs.cpp394 …JSHandle<EcmaString> srcString = GetHArg<EcmaString>(argv, argc, 1); // 1: means the first param… in DEF_RUNTIME_STUBS() local
400 …JSTaggedValue result = builtins::BuiltinsString::GetSubstitution(thread, matched, srcString, posit… in DEF_RUNTIME_STUBS()
3848 int32_t RuntimeStubs::StringGetStart(bool isUtf8, EcmaString *srcString, int32_t length, int32_t st… in DEF_RUNTIME_STUBS() argument
3852 Span<const uint8_t> data(EcmaStringAccessor(srcString).GetDataUtf8() + startIndex, length); in DEF_RUNTIME_STUBS()
3855 … Span<const uint16_t> data(EcmaStringAccessor(srcString).GetDataUtf16() + startIndex, length); in DEF_RUNTIME_STUBS()
3860 int32_t RuntimeStubs::StringGetEnd(bool isUtf8, EcmaString *srcString, in DEF_RUNTIME_STUBS() argument
3865 Span<const uint8_t> data(EcmaStringAccessor(srcString).GetDataUtf8() + startIndex, length); in DEF_RUNTIME_STUBS()
3868 … Span<const uint16_t> data(EcmaStringAccessor(srcString).GetDataUtf16() + startIndex, length); in DEF_RUNTIME_STUBS()
Druntime_stubs-inl.h494 JSHandle<EcmaString> srcString = JSTaggedValue::ToString(thread, src); in RuntimeStArraySpread() local
497 EcmaStringAccessor::Flatten(thread->GetEcmaVM(), srcString)); in RuntimeStArraySpread()