Searched refs:thisFlat (Results 1 – 2 of 2) sorted by relevance
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/ |
D | builtins_stubs.cpp | 173 DEFVARIABLE(thisFlat, VariableType::JS_POINTER(), thisValue); in DECLARE_BUILTINS() 174 FlattenString(thisValue, &thisFlat, &flattenFastPath, &slowPath); in DECLARE_BUILTINS() 176 GateRef thisLen = GetLengthFromString(*thisFlat); in DECLARE_BUILTINS() 200 res = IntToTaggedPtr(stringBuilder.StringAt(*thisFlat, *pos)); in DECLARE_BUILTINS() 291 DEFVARIABLE(thisFlat, VariableType::JS_POINTER(), thisValue); in DECLARE_BUILTINS() 293 FlattenString(thisValue, &thisFlat, &flattenFastPath, &slowPath); in DECLARE_BUILTINS() 298 GateRef resPos = stringBuilder.StringIndexOf(*thisFlat, *searchFlat, *pos); in DECLARE_BUILTINS() 464 DEFVARIABLE(thisFlat, VariableType::JS_POINTER(), thisValue); in DECLARE_BUILTINS() 465 FlattenString(thisValue, &thisFlat, &flattenFastPath, &slowPath); in DECLARE_BUILTINS() 469 res = stringBuilder.FastSubString(glue, *thisFlat, *from, len); in DECLARE_BUILTINS() [all …]
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
D | builtins_string.cpp | 253 …JSHandle<EcmaString> thisFlat(thread, EcmaStringAccessor::Flatten(thread->GetEcmaVM(), thisHandle)… in CharAt() local 254 int32_t thisLen = static_cast<int32_t>(EcmaStringAccessor(thisFlat).GetLength()); in CharAt() 269 uint16_t res = EcmaStringAccessor(thisFlat).Get<false>(pos); in CharAt() 284 …JSHandle<EcmaString> thisFlat(thread, EcmaStringAccessor::Flatten(thread->GetEcmaVM(), thisHandle)… in CharCodeAt() local 285 int32_t thisLen = static_cast<int32_t>(EcmaStringAccessor(thisFlat).GetLength()); in CharCodeAt() 300 uint16_t ret = EcmaStringAccessor(thisFlat).Get<false>(pos); in CharCodeAt() 315 …JSHandle<EcmaString> thisFlat(thread, EcmaStringAccessor::Flatten(thread->GetEcmaVM(), thisHandle)… in CodePointAt() local 321 int32_t thisLen = static_cast<int32_t>(EcmaStringAccessor(thisFlat).GetLength()); in CodePointAt() 325 uint16_t first = EcmaStringAccessor(thisFlat).Get<false>(pos); in CodePointAt() 329 uint16_t second = EcmaStringAccessor(thisFlat).Get<false>(pos + 1); in CodePointAt()
|