| /arkcompiler/ets_runtime/ecmascript/ |
| D | js_symbol.h | 125 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/ |
| D | ets_string_builder.cpp | 134 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/ |
| D | builtins_regexp.cpp | 1024 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 …]
|
| D | builtins_string.h | 147 const JSHandle<EcmaString> &srcString, int position,
|
| D | builtins_string.cpp | 1296 …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()
|
| D | builtins_regexp.h | 208 const std::vector<uint64_t> &resultLengthArray, JSHandle<EcmaString> srcString,
|
| /arkcompiler/ets_runtime/ecmascript/compiler/builtins/ |
| D | builtins_string_stub_builder.h | 73 GateRef EcmaStringTrim(GateRef glue, GateRef srcString, GateRef trimMode);
|
| D | builtins_string_stub_builder.cpp | 2922 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/ |
| D | runtime_stubs.h | 162 …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…
|
| D | runtime_stubs.cpp | 394 …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()
|
| D | runtime_stubs-inl.h | 494 JSHandle<EcmaString> srcString = JSTaggedValue::ToString(thread, src); in RuntimeStArraySpread() local 497 EcmaStringAccessor::Flatten(thread->GetEcmaVM(), srcString)); in RuntimeStArraySpread()
|