Home
last modified time | relevance | path

Searched refs:IsJSArray (Results 1 – 25 of 34) sorted by relevance

12

/arkcompiler/ets_runtime/ecmascript/
Dtemplate_map.h32 ASSERT(obj.IsJSArray()); in Hash()
Djs_array_iterator.cpp59 } else if (array->IsJSArray()) { in Next()
Djs_array.h31 CAST_CHECK(JSArray, IsJSArray);
Djs_array.cpp117 if (hclass->IsJSArray() && !hclass->HasConstructor()) { in ArraySpeciesCreate()
441 ASSERT(obj->IsJSArray()); in IncludeInSortedValue()
466 ASSERT(obj->IsJSArray()); in ToTaggedArray()
Djs_object-inl.h91 inline bool JSObject::IsJSArray() const in IsJSArray() function
93 return GetJSHClass()->IsJSArray(); in IsJSArray()
Djs_thread.cpp369 if (!receiver->GetJSHClass()->IsPrototype() && !receiver->IsJSArray()) { in NotifyStableArrayElementsGuardians()
378 if (changeKind == StableArrayChangeKind::PROTO && receiver->IsJSArray()) { in NotifyStableArrayElementsGuardians()
Djs_tagged_value-inl.h857 if (jsHclass->IsJSArray()) { in IsArray()
872 inline bool JSTaggedValue::IsJSArray() const in IsJSArray() function
874 return IsHeapObject() && GetTaggedObject()->GetClass()->IsJSArray(); in IsJSArray()
Djs_tagged_value.h538 bool IsJSArray() const;
Djs_object.h536 bool IsJSArray() const;
Djs_tagged_value.cpp101 return IsJSArray() && JSArray::Cast(GetTaggedObject())->GetElements().IsCOWArray(); in IsJSCOWArray()
762 if (obj->IsJSArray()) { in DefineOwnProperty()
Djs_hclass.cpp495 if (!object->IsJSArray()) { in TransitToElementsKind()
Dobject_fast_operator-inl.h493 …if (objHandle->IsJSArray() && keyHandle.GetTaggedValue() == thread->GlobalConstants()->GetConstruc… in AddPropertyByName()
Djs_hclass.h596 inline bool IsJSArray() const in IsJSArray() function
/arkcompiler/ets_runtime/ecmascript/ic/tests/
Dic_handler_test.cpp129 EXPECT_TRUE(HandlerBase::IsJSArray(handlerInfo1->GetInt())); in HWTEST_F_L0()
130 EXPECT_TRUE(HandlerBase::IsJSArray(handlerInfo2->GetInt())); in HWTEST_F_L0()
131 EXPECT_FALSE(HandlerBase::IsJSArray(handlerInfo3->GetInt())); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/base/
Darray_helper.cpp129 if (thisHandle->IsJSArray()) { in GetLength()
145 if (thisHandle->IsJSArray()) { in GetArrayLength()
Djson_stringifier.cpp157 if (replacer->IsJSArray()) { in Stringify()
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/
Dpgo_profiler.cpp185 if (newHClass->IsJSArray()) { in ProfileCreateObject()
246 } else if (hclass->IsJSArray()) { in ProfileObjLayout()
/arkcompiler/ets_runtime/ecmascript/ic/
Dic_handler.h87 static inline bool IsJSArray(uint32_t handler) in IsJSArray() function
196 if (receiver->IsJSArray()) { in StoreElement()
Dic_runtime_stub-inl.h451 if (HandlerBase::IsJSArray(handlerInfo)) { in StoreElement()
/arkcompiler/ets_runtime/ecmascript/containers/tests/
Dcontainers_vector_test.cpp589 EXPECT_TRUE(arr.IsJSArray()); in HWTEST_F_L0()
612 EXPECT_TRUE(array->IsJSArray()); in HWTEST_F_L0()
637 EXPECT_TRUE(longArray->IsJSArray()); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/js_api/
Djs_api_lightweightset.cpp262 if (value.GetTaggedValue().IsJSArray()) { in Equal()
/arkcompiler/ets_runtime/ecmascript/stubs/
Druntime_stubs-inl.h274 if (!array->IsJSArray()) { in RuntimeNewObjApply()
416 ASSERT(dst->IsJSArray()); in RuntimeStArraySpread()
417 if (dst->IsJSArray()) { in RuntimeStArraySpread()
456 } else if (src->IsJSArray()) { in RuntimeStArraySpread()
2013 … if ((!obj->IsUndefined() && !obj->IsECMAObject()) || !func->IsCallable() || !array->IsJSArray()) { in RuntimeCallSpread()
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_object.cpp798 bool isArray = object->IsJSArray(); in GetBuiltinTag()
/arkcompiler/ets_runtime/ecmascript/builtins/tests/
Dbuiltins_string_test.cpp1252 ASSERT_TRUE(resultArray->IsJSArray()); in HWTEST_F_L0()
1291 ASSERT_TRUE(resultArray->IsJSArray()); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/containers/
Dcontainers_vector.cpp666 if (!arg0->IsJSArray()) { in CopyToArray()

12