Home
last modified time | relevance | path

Searched refs:arrLen (Results 1 - 7 of 7) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/
H A Djs_typed_array.cpp116 uint32_t arrLen = typedarrayObj->GetArrayLength(); in HasProperty() local
117 JSHandle<JSTaggedValue> arrLenHandle(thread, JSTaggedValue(arrLen)); in HasProperty()
179 uint32_t arrLen = typedarrayObj->GetArrayLength(); in DefineOwnProperty() local
180 JSHandle<JSTaggedValue> arrLenHandle(thread, JSTaggedValue(arrLen)); in DefineOwnProperty()
420 uint32_t arrLen = typedarrayObj->GetArrayLength(); in IntegerIndexedElementGet() local
421 JSHandle<JSTaggedValue> arrLenHandle(thread, JSTaggedValue(arrLen)); in IntegerIndexedElementGet()
464 uint32_t arrLen = typedarrayObj->GetArrayLength(); in IsValidIntegerIndex() local
466 if (val < 0 || val >= arrLen) { in IsValidIntegerIndex()
542 uint32_t arrLen = typedarrayObj->GetArrayLength(); in FastCopyElementToArray() local
550 for (uint32_t index = 0; index < arrLen; inde in FastCopyElementToArray()
582 uint32_t arrLen = typedarrayObj->GetArrayLength(); FastElementGet() local
696 uint32_t arrLen = typedarrayObj->GetArrayLength(); FastGetPropertyByIndex() local
731 uint32_t arrLen = typedarrayObj->GetArrayLength(); FastSetPropertyByIndex() local
830 uint32_t arrLen = typedArrayObj->GetArrayLength(); FastTypedArrayFill() local
[all...]
/arkcompiler/ets_runtime/ecmascript/builtins/
H A Dbuiltins_regexp.cpp652 uint32_t arrLen = 1; in RegExpMatch() local
712 if (arrLen > elements->GetLength()) { in RegExpMatch()
716 elements->Set(thread, arrLen - 1, matchValue); in RegExpMatch()
717 array->SetArrayLength(thread, arrLen); in RegExpMatch()
718 arrLen++; in RegExpMatch()
1703 uint32_t arrLen = 1; // at least one result string in RegExpSplitFast() local
1729 if (arrLen > elements->GetLength()) { in RegExpSplitFast()
1733 elements->Set(thread, arrLen - 1, matchValue); in RegExpSplitFast()
1734 splitArray->SetArrayLength(thread, arrLen); in RegExpSplitFast()
1735 if (arrLen in RegExpSplitFast()
[all...]
/arkcompiler/ets_runtime/ecmascript/ic/
H A Dic_runtime_stub-inl.h540 uint32_t arrLen = typedarrayObj->GetArrayLength(); in LoadTypedArrayElement() local
541 if (index >= arrLen) { in LoadTypedArrayElement()
615 uint32_t arrLen = typedarrayObj->GetArrayLength(); in StoreTypedArrayElement() local
616 if (index >= arrLen) { in StoreTypedArrayElement()
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/
H A Dstd_core_TypeCreator.cpp441 auto arrLen = pars - (isStatic ? 0 : 1); in TypeAPITypeCreatorCtxMethodAddBodyFromErasedLambda() local
442 fn.AddInstruction(pandasm::Create_MOVI(TMP_REG, arrLen)); in TypeAPITypeCreatorCtxMethodAddBodyFromErasedLambda()
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/types/
H A Dets_string_builder.cpp195 auto arrLen = v != 0U ? std::char_traits<char>::length("true") : std::char_traits<char>::length("false"); in BoolToCharArray() local
196 EtsCharArray *arr = EtsCharArray::Create(arrLen); in BoolToCharArray()
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/
H A Dbuiltins_typedarray_stub_builder.cpp66 GateRef arrLen = GetArrayLength(array); in CheckTypedArrayIndexInRange() local
67 BRANCH(Int64GreaterThanOrEqual(index, ZExtInt32ToInt64(arrLen)), &exit, &indexIsvalid); in CheckTypedArrayIndexInRange()
164 GateRef arrLen = GetArrayLength(array); in FastGetPropertyByIndex() local
165 BRANCH(Int32GreaterThanOrEqual(index, arrLen), &exit, &indexIsvalid); in FastGetPropertyByIndex()
209 GateRef arrLen = GetArrayLength(typedArray); in FastCopyElementToArray() local
217 BRANCH(Int32UnsignedLessThan(*start, arrLen), &storeValue, &exit); in FastCopyElementToArray()
2788 GateRef arrLen = GetArrayLength(array); in FastSetPropertyByIndex() local
2789 BRANCH(Int32GreaterThanOrEqual(index, arrLen), &exit, &indexIsvalid); in FastSetPropertyByIndex()
H A Dbuiltins_array_stub_builder.cpp5138 GateRef arrLen = ZExtInt32ToInt64(GetArrayLength(retValue)); in FlatMap() local
5149 BRANCH(Int64LessThan(*k, arrLen), &next3, &loopExit3); in FlatMap()

Completed in 26 milliseconds