/arkcompiler/ets_runtime/ecmascript/builtins/ |
D | builtins_typedarray.cpp | 376 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 …]
|
D | builtins_array.cpp | 617 …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 …]
|
D | builtins_arraybuffer.cpp | 68 if (arg->IsDataView() || arg->IsTypedArray()) { in IsView()
|
D | builtins_atomics.cpp | 280 if (!typedArray->IsTypedArray()) { in AtomicReadModifyWrite()
|
/arkcompiler/ets_runtime/ecmascript/ |
D | js_tagged_value.cpp | 540 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 …]
|
D | js_typed_array.h | 31 if (!(JSTaggedValue(object).IsTypedArray() || JSTaggedValue(object).IsJSTypedArray())) { in Cast() 36 ASSERT(JSTaggedValue(object).IsTypedArray() || JSTaggedValue(object).IsJSTypedArray()); in Cast()
|
D | js_typed_array.cpp | 375 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()
|
D | js_object-inl.h | 221 inline bool JSObject::IsTypedArray() const in IsTypedArray() function 223 return GetJSHClass()->IsTypedArray(); in IsTypedArray() 370 if (obj->IsTypedArray()) { in CreateListFromArrayLike()
|
D | js_array_iterator.cpp | 57 if (array->IsTypedArray()) { in Next()
|
D | js_hclass.h | 601 inline bool IsTypedArray() const in IsTypedArray() function 609 return (IsTypedArray() || IsSpecialContainer() || IsModuleNamespace()); in HasOrdinaryGet()
|
D | js_tagged_value-inl.h | 895 inline bool JSTaggedValue::IsTypedArray() const in IsTypedArray() function 897 return IsHeapObject() && GetTaggedObject()->GetClass()->IsTypedArray(); in IsTypedArray()
|
D | js_stable_array.cpp | 612 …bool lowerExists = (thisHandle->IsTypedArray() || JSTaggedValue::HasProperty(thread, thisObjVal, l… in Reverse() 617 …bool upperExists = (thisHandle->IsTypedArray() || JSTaggedValue::HasProperty(thread, thisObjVal, u… in Reverse()
|
D | js_tagged_value.h | 543 bool IsTypedArray() const;
|
D | js_object.h | 562 bool IsTypedArray() const;
|
D | js_object.cpp | 1557 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/ |
D | builtins_typedarray_test.cpp | 495 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/ |
D | atomic_helper.cpp | 62 ASSERT(typedArray->IsECMAObject() && typedArray->IsTypedArray()); in ValidateAtomicAccess()
|
D | array_helper.cpp | 132 if (thisHandle->IsTypedArray()) { in GetLength()
|
D | typed_array_helper.cpp | 74 if (firstArg->IsTypedArray()) { in TypedArrayConstructor() 573 if (!value->IsTypedArray()) { in ValidateTypedArray()
|
D | json_stringifier.cpp | 480 … if (UNLIKELY(value->IsJSProxy() || value->IsTypedArray())) { // serialize proxy and typedArray in SerializeJSONObject()
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
D | js_typed_array_test.cpp | 199 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/ |
D | runtime_impl.cpp | 453 if (value->IsTypedArray()) { in GetAdditionalProperties()
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
D | stub_builder.h | 373 GateRef IsTypedArray(GateRef obj);
|
/arkcompiler/ets_runtime/ecmascript/napi/include/ |
D | jsnapi.h | 426 bool IsTypedArray();
|
/arkcompiler/ets_runtime/ecmascript/napi/ |
D | jsnapi.cpp | 3127 bool JSValueRef::IsTypedArray() in IsTypedArray() function in panda::JSValueRef 3129 return JSNApiHelper::ToJSTaggedValue(this).IsTypedArray(); in IsTypedArray()
|