Home
last modified time | relevance | path

Searched refs:IsTypedArray (Results 1 – 25 of 27) sorted by relevance

12

/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_typedarray.cpp376 if (!thisHandle->IsTypedArray()) { in GetBuffer()
401 if (!thisHandle->IsTypedArray()) { in GetByteLength()
431 if (!thisHandle->IsTypedArray()) { in GetByteOffset()
453 if (!GetThis(argv)->IsTypedArray()) { in CopyWithin()
489 if (!thisHandle->IsTypedArray()) { in Every()
554 if (!GetThis(argv)->IsTypedArray()) { in Fill()
650 if (!GetThis(argv)->IsTypedArray()) { in Find()
661 if (!GetThis(argv)->IsTypedArray()) { in FindIndex()
677 if (!thisHandle->IsTypedArray()) { in ForEach()
736 if (!GetThis(argv)->IsTypedArray()) { in IndexOf()
[all …]
Dbuiltins_array.cpp617 …bool exists = (thisObjVal->IsTypedArray() || JSTaggedValue::HasProperty(thread, thisObjVal, fromKe… in CopyWithin()
751 if (thisHandle->IsTypedArray()) { in Fill()
1193 … bool exists = (thisHandle->IsTypedArray() || JSTaggedValue::HasProperty(thread, thisObjVal, key)); in IndexOf()
1372 … bool exists = (thisHandle->IsTypedArray() || JSTaggedValue::HasProperty(thread, thisObjVal, key)); in LastIndexOf()
1639 … kPresent = (thisHandle->IsTypedArray() || JSTaggedValue::HasProperty(thread, thisObjVal, k)); in Reduce()
1669 … bool exists = (thisHandle->IsTypedArray() || JSTaggedValue::HasProperty(thread, thisObjVal, k)); in Reduce()
1749 … kPresent = (thisHandle->IsTypedArray() || JSTaggedValue::HasProperty(thread, thisObjVal, k)); in ReduceRight()
1776 … bool exists = (thisHandle->IsTypedArray() || JSTaggedValue::HasProperty(thread, thisObjVal, key)); in ReduceRight()
1869 …bool lowerExists = (thisHandle->IsTypedArray() || JSTaggedValue::HasProperty(thread, thisObjVal, l… in Reverse()
1875 …bool upperExists = (thisHandle->IsTypedArray() || JSTaggedValue::HasProperty(thread, thisObjVal, u… in Reverse()
[all …]
Dbuiltins_arraybuffer.cpp68 if (arg->IsDataView() || arg->IsTypedArray()) { in IsView()
Dbuiltins_atomics.cpp280 if (!typedArray->IsTypedArray()) { in AtomicReadModifyWrite()
/arkcompiler/ets_runtime/ecmascript/
Djs_tagged_value.cpp540 if (obj->IsTypedArray()) { in GetProperty()
569 if (obj->IsTypedArray()) { in GetProperty()
597 if (obj->IsTypedArray()) { in GetProperty()
622 } else if (obj->IsTypedArray()) { in SetProperty()
650 } else if (obj->IsTypedArray()) { in SetProperty()
682 } else if (obj->IsTypedArray()) { in SetProperty()
709 if (obj->IsTypedArray()) { in DeleteProperty()
770 if (obj->IsTypedArray()) { in DefineOwnProperty()
791 if (obj->IsTypedArray()) { in GetOwnProperty()
854 if (obj->IsTypedArray()) { in GetOwnPropertyKeys()
[all …]
Djs_typed_array.h31 if (!(JSTaggedValue(object).IsTypedArray() || JSTaggedValue(object).IsJSTypedArray())) { in Cast()
36 ASSERT(JSTaggedValue(object).IsTypedArray() || JSTaggedValue(object).IsJSTypedArray()); in Cast()
Djs_typed_array.cpp375 ASSERT(typedarray->IsTypedArray()); in IntegerIndexedElementGet()
492 ASSERT(typedArray->IsTypedArray()); in FastCopyElementToArray()
529 ASSERT(typedarray->IsTypedArray()); in FastElementGet()
566 ASSERT(typedarray->IsTypedArray()); in IntegerIndexedElementSet()
641 ASSERT(typedarray.IsTypedArray()); in FastGetPropertyByIndex()
674 ASSERT(typedarray.IsTypedArray()); in FastSetPropertyByIndex()
Djs_object-inl.h221 inline bool JSObject::IsTypedArray() const in IsTypedArray() function
223 return GetJSHClass()->IsTypedArray(); in IsTypedArray()
370 if (obj->IsTypedArray()) { in CreateListFromArrayLike()
Djs_array_iterator.cpp57 if (array->IsTypedArray()) { in Next()
Djs_hclass.h601 inline bool IsTypedArray() const in IsTypedArray() function
609 return (IsTypedArray() || IsSpecialContainer() || IsModuleNamespace()); in HasOrdinaryGet()
Djs_tagged_value-inl.h895 inline bool JSTaggedValue::IsTypedArray() const in IsTypedArray() function
897 return IsHeapObject() && GetTaggedObject()->GetClass()->IsTypedArray(); in IsTypedArray()
Djs_stable_array.cpp612 …bool lowerExists = (thisHandle->IsTypedArray() || JSTaggedValue::HasProperty(thread, thisObjVal, l… in Reverse()
617 …bool upperExists = (thisHandle->IsTypedArray() || JSTaggedValue::HasProperty(thread, thisObjVal, u… in Reverse()
Djs_tagged_value.h543 bool IsTypedArray() const;
Djs_object.h562 bool IsTypedArray() const;
Djs_object.cpp1557 if (tagObj->IsJSObject() && !tagObj->IsTypedArray() && !tagObj->IsModuleNamespace()) { in EnumerableOwnNames()
1646 …if (tagObj->IsJSObject() && !tagObj->IsJSProxy() && !tagObj->IsTypedArray() && !tagObj->IsModuleNa… in EnumerableOwnPropertyNames()
/arkcompiler/ets_runtime/ecmascript/builtins/tests/
Dbuiltins_typedarray_test.cpp495 EXPECT_TRUE(result1.IsTypedArray()); in HWTEST_F_L0()
511 EXPECT_TRUE(result2.IsTypedArray()); in HWTEST_F_L0()
541 EXPECT_TRUE(result1.IsTypedArray()); in HWTEST_F_L0()
559 EXPECT_TRUE(result2.IsTypedArray()); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/base/
Datomic_helper.cpp62 ASSERT(typedArray->IsECMAObject() && typedArray->IsTypedArray()); in ValidateAtomicAccess()
Darray_helper.cpp132 if (thisHandle->IsTypedArray()) { in GetLength()
Dtyped_array_helper.cpp74 if (firstArg->IsTypedArray()) { in TypedArrayConstructor()
573 if (!value->IsTypedArray()) { in ValidateTypedArray()
Djson_stringifier.cpp480 … if (UNLIKELY(value->IsJSProxy() || value->IsTypedArray())) { // serialize proxy and typedArray in SerializeJSONObject()
/arkcompiler/ets_runtime/ecmascript/tests/
Djs_typed_array_test.cpp199 EXPECT_TRUE(handleTagValInt8Array->IsJSInt8Array() && handleTagValInt8Array->IsTypedArray()); in HWTEST_F_L0()
203 EXPECT_TRUE(handleTagValUint8Array->IsJSUint8Array() && handleTagValUint8Array->IsTypedArray()); in HWTEST_F_L0()
208 handleTagValUint8ClampedArray->IsTypedArray()); in HWTEST_F_L0()
212 EXPECT_TRUE(handleTagValInt16Array->IsJSInt16Array() && handleTagValInt16Array->IsTypedArray()); in HWTEST_F_L0()
216 …EXPECT_TRUE(handleTagValUint16Array->IsJSUint16Array() && handleTagValUint16Array->IsTypedArray()); in HWTEST_F_L0()
220 EXPECT_TRUE(handleTagValInt32Array->IsJSInt32Array() && handleTagValInt32Array->IsTypedArray()); in HWTEST_F_L0()
224 …EXPECT_TRUE(handleTagValUint32Array->IsJSUint32Array() && handleTagValUint32Array->IsTypedArray()); in HWTEST_F_L0()
228 …ECT_TRUE(handleTagValFloat32Array->IsJSFloat32Array() && handleTagValFloat32Array->IsTypedArray()); in HWTEST_F_L0()
232 …ECT_TRUE(handleTagValFloat64Array->IsJSFloat64Array() && handleTagValFloat64Array->IsTypedArray()); in HWTEST_F_L0()
/arkcompiler/toolchain/tooling/agent/
Druntime_impl.cpp453 if (value->IsTypedArray()) { in GetAdditionalProperties()
/arkcompiler/ets_runtime/ecmascript/compiler/
Dstub_builder.h373 GateRef IsTypedArray(GateRef obj);
/arkcompiler/ets_runtime/ecmascript/napi/include/
Djsnapi.h426 bool IsTypedArray();
/arkcompiler/ets_runtime/ecmascript/napi/
Djsnapi.cpp3127 bool JSValueRef::IsTypedArray() in IsTypedArray() function in panda::JSValueRef
3129 return JSNApiHelper::ToJSTaggedValue(this).IsTypedArray(); in IsTypedArray()

12