| /arkcompiler/ets_runtime/ecmascript/builtins/ |
| D | builtins_typedarray.cpp | 386 if (!thisHandle->IsTypedArray()) { in GetBuffer() 411 if (!thisHandle->IsTypedArray()) { in GetByteLength() 441 if (!thisHandle->IsTypedArray()) { in GetByteOffset() 463 if (!GetThis(argv)->IsTypedArray()) { in CopyWithin() 577 if (thisObjVal->IsTypedArray() || thisObjVal->IsSharedTypedArray()) { in Fill() 632 if (thisObjVal->IsTypedArray() || thisObjVal->IsSharedTypedArray()) { in Fill() 743 if (!GetThis(argv)->IsTypedArray()) { in Find() 754 if (!GetThis(argv)->IsTypedArray()) { in FindIndex() 844 if (!thisHandle->IsTypedArray()) { in Join() 979 if (!thisHandle->IsTypedArray()) { in GetLength() [all …]
|
| D | builtins_shared_array.cpp | 132 if (!mapping && (items->IsTypedArray() || items->IsSharedTypedArray())) { in From() 565 if (thisObjVal->IsTypedArray() || thisObjVal->IsSharedTypedArray()) { in Fill() 624 if (thisObjVal->IsTypedArray() || thisObjVal->IsSharedTypedArray()) { in Fill() 1316 … bool exists = (thisHandle->IsTypedArray() || JSTaggedValue::HasProperty(thread, thisObjVal, k)); in ReduceUnStableJSArray() 1397 kPresent = (thisHandle->IsTypedArray() || thisHandle->IsSharedTypedArray() || in Reduce()
|
| D | builtins_array.cpp | 189 if (!mapping && items->IsTypedArray()) { in From() 679 bool exists = (thisObjVal->IsTypedArray() || thisObjVal->IsSharedTypedArray() || in CopyWithin() 1702 … bool exists = (thisHandle->IsTypedArray() || JSTaggedValue::HasProperty(thread, thisObjVal, k)); in ReduceUnStableJSArray() 1792 kPresent = (thisHandle->IsTypedArray() || thisHandle->IsSharedTypedArray() || in ReduceInner() 1882 … kPresent = (thisHandle->IsTypedArray() || JSTaggedValue::HasProperty(thread, thisObjVal, k)); in ReduceRightInner() 1920 … bool exists = (thisHandle->IsTypedArray() || JSTaggedValue::HasProperty(thread, thisObjVal, key)); in ReduceRightInner()
|
| D | builtins_atomics.cpp | 282 if (!typedArray->IsTypedArray()) { in AtomicReadModifyWrite()
|
| D | builtins_shared_typedarray.cpp | 1109 if (!argArray->IsTypedArray() && !argArray->IsSharedTypedArray()) { in Set() 1189 ASSERT(argArray->IsTypedArray() || argArray->IsSharedTypedArray()); in Set()
|
| /arkcompiler/ets_runtime/ecmascript/ |
| D | js_typed_array.h | 31 if (!(JSTaggedValue(object).IsTypedArray() || JSTaggedValue(object).IsJSTypedArray() || in Cast() 37 ASSERT(JSTaggedValue(object).IsTypedArray() || JSTaggedValue(object).IsJSTypedArray() || in Cast()
|
| D | js_typed_array.cpp | 386 ASSERT(typedarray->IsTypedArray() || typedarray->IsSharedTypedArray()); in IntegerIndexedElementGet() 525 ASSERT(typedArray->IsTypedArray() || typedArray->IsSharedTypedArray()); in FastCopyElementToArray() 567 ASSERT(typedarray->IsTypedArray() || typedarray->IsSharedTypedArray()); in FastElementGet() 607 ASSERT(typedarray->IsTypedArray() || typedarray->IsSharedTypedArray()); in IntegerIndexedElementSet() 682 ASSERT(typedarray.IsTypedArray() || typedarray.IsSharedTypedArray()); in FastGetPropertyByIndex() 717 ASSERT(typedarray.IsTypedArray() || typedarray.IsSharedTypedArray()); in FastSetPropertyByIndex() 819 ASSERT(typedArray->IsTypedArray() || typedArray->IsSharedTypedArray()); in FastTypedArrayFill()
|
| D | js_tagged_value.cpp | 975 if (obj->IsTypedArray() || obj->IsSharedTypedArray()) { in GetProperty() 1004 if (obj->IsTypedArray() || obj->IsSharedTypedArray()) { in GetProperty() 1032 if (obj->IsTypedArray() || obj->IsSharedTypedArray()) { in GetProperty() 1058 } else if (obj->IsTypedArray() || obj->IsSharedTypedArray()) { in SetProperty() 1086 } else if (obj->IsTypedArray() || obj->IsSharedTypedArray()) { in SetProperty() 1118 } else if (obj->IsTypedArray() || obj->IsSharedTypedArray()) { in SetProperty() 1145 if (obj->IsTypedArray()) { in DeleteProperty() 1211 if (obj->IsTypedArray()) { in DefineOwnProperty() 1232 if (obj->IsTypedArray() || obj->IsSharedTypedArray()) { in GetOwnProperty() 1299 if (obj->IsTypedArray() || obj->IsSharedTypedArray()) { in GetOwnPropertyKeys() [all …]
|
| D | js_array_iterator.cpp | 58 if (array->IsTypedArray()) { in NextInternal()
|
| D | js_object-inl.h | 242 inline bool JSObject::IsTypedArray() const in IsTypedArray() function 244 return GetJSHClass()->IsTypedArray(); in IsTypedArray() 422 if (obj->IsTypedArray()) { in CreateListFromArrayLike()
|
| D | js_tagged_value-inl.h | 705 inline bool JSTaggedValue::IsTypedArray() const in IsTypedArray() function 707 return IsHeapObject() && GetTaggedObject()->GetClass()->IsTypedArray(); in IsTypedArray() 1202 return IsTypedArray() || IsModuleNamespace() || IsSpecialContainer(); in IsSpecialKeysObject()
|
| D | object_operator.cpp | 351 } else if (receiver.IsTypedArray() || in UpdateDetector() 674 } else if (receiver->IsTypedArray()) { in UpdateDataValue() 994 if (obj->IsTypedArray()) { in LookupElementInlinedProps()
|
| D | js_tagged_value.h | 517 bool IsTypedArray() const;
|
| D | js_object.h | 644 bool IsTypedArray() const;
|
| /arkcompiler/ets_runtime/ecmascript/builtins/tests/ |
| D | builtins_typedarray_test.cpp | 445 EXPECT_TRUE(result1.IsTypedArray()); in HWTEST_F_L0() 461 EXPECT_TRUE(result2.IsTypedArray()); in HWTEST_F_L0() 491 EXPECT_TRUE(result1.IsTypedArray()); in HWTEST_F_L0() 509 EXPECT_TRUE(result2.IsTypedArray()); in HWTEST_F_L0()
|
| /arkcompiler/ets_runtime/test/fuzztest/jsvaluereffoundationvalue_fuzzer/ |
| D | jsvaluereffoundationvalue_fuzzer.cpp | 140 targetUInt->IsTypedArray(vm); in JSValueRefIsTypedArrayValueFuzzTest() 153 typedArray->IsTypedArray(vm); in JSValueRefIsTypedArrayValueFuzzTest()
|
| /arkcompiler/ets_runtime/ecmascript/base/ |
| D | atomic_helper.cpp | 62 ASSERT(typedArray->IsECMAObject() && typedArray->IsTypedArray()); in ValidateAtomicAccess()
|
| D | array_helper.cpp | 105 bool exists = thisObjVal->IsTypedArray() || thisObjVal->IsSharedTypedArray() || in ElementIsStrictEqualTo() 250 if (thisHandle->IsTypedArray() || thisHandle->IsSharedTypedArray()) { in GetLength()
|
| D | typed_array_helper.cpp | 66 if (firstArg->IsTypedArray()) { in TypedArrayConstructor() 119 if (firstArg->IsTypedArray() || firstArg->IsSharedTypedArray()) { in SharedTypedArrayConstructor() 1035 if (!value->IsTypedArray() && !value->IsSharedTypedArray()) { in ValidateTypedArray() 1146 if (iterMethod->IsUndefined() || (!obj->IsTypedArray() && !obj->IsArray(thread))) { in IsNativeArrayIterator() 1207 bool exists = (BuiltinsBase::GetThis(argv)->IsTypedArray() in someCommon()
|
| D | json_stringifier.cpp | 411 … if (UNLIKELY(value->IsJSProxy() || value->IsTypedArray())) { // serialize proxy and typedArray in SerializeJSONObject()
|
| /arkcompiler/ets_runtime/ecmascript/tests/ |
| D | js_typed_array_test.cpp | 177 EXPECT_TRUE(handleTagValInt8Array->IsJSInt8Array() && handleTagValInt8Array->IsTypedArray()); in HWTEST_F_L0() 181 EXPECT_TRUE(handleTagValUint8Array->IsJSUint8Array() && handleTagValUint8Array->IsTypedArray()); in HWTEST_F_L0() 186 handleTagValUint8ClampedArray->IsTypedArray()); in HWTEST_F_L0() 190 EXPECT_TRUE(handleTagValInt16Array->IsJSInt16Array() && handleTagValInt16Array->IsTypedArray()); in HWTEST_F_L0() 194 …EXPECT_TRUE(handleTagValUint16Array->IsJSUint16Array() && handleTagValUint16Array->IsTypedArray()); in HWTEST_F_L0() 198 EXPECT_TRUE(handleTagValInt32Array->IsJSInt32Array() && handleTagValInt32Array->IsTypedArray()); in HWTEST_F_L0() 202 …EXPECT_TRUE(handleTagValUint32Array->IsJSUint32Array() && handleTagValUint32Array->IsTypedArray()); in HWTEST_F_L0() 206 …ECT_TRUE(handleTagValFloat32Array->IsJSFloat32Array() && handleTagValFloat32Array->IsTypedArray()); in HWTEST_F_L0() 210 …ECT_TRUE(handleTagValFloat64Array->IsJSFloat64Array() && handleTagValFloat64Array->IsTypedArray()); in HWTEST_F_L0()
|
| /arkcompiler/ets_runtime/ecmascript/compiler/builtins/ |
| D | builtins_typedarray_stub_builder.cpp | 515 BRANCH(IsTypedArray(thisValue), &typedArray, slowPath); in LastIndexOf() 621 BRANCH(IsTypedArray(thisValue), &typedArray, slowPath); in IndexOf() 719 BRANCH(IsTypedArray(thisValue), &typedArray, slowPath); in Find() 797 BRANCH(IsTypedArray(thisValue), &typedArray, slowPath); in Includes() 1026 BRANCH(IsTypedArray(thisValue), &typedArray, slowPath); in ReduceRight() 1134 BRANCH(IsTypedArray(thisValue), &typedArray, slowPath); in Reduce() 1239 BRANCH(IsTypedArray(thisValue), &typedArray, slowPath); in Every() 1322 BRANCH(IsTypedArray(thisValue), &typedArray, slowPath); in Some() 1650 BRANCH(IsTypedArray(thisValue), &typedArray, slowPath); in SubArray() 1729 BRANCH(IsTypedArray(thisValue), &typedArray, slowPath); in With() [all …]
|
| D | builtins_object_stub_builder.cpp | 54 BRANCH(IsTypedArray(arrayObj), &targetIsTypeArray, &targetNotTypeArray); in CreateListFromArrayLike() 1203 .And(BoolNot(LogicOrBuilder(env).Or(IsTypedArray(obj)).Or(IsModuleNamespace(obj)) in IsNotSlowObjectKey() 2128 BRANCH(IsTypedArray(obj), slowPath, &isNotTypedArray); in TestIntegrityLevel()
|
| /arkcompiler/ets_runtime/ecmascript/ic/ |
| D | ic_runtime.cpp | 186 if (receiver->IsTypedArray() || receiver->IsSharedTypedArray()) { in LoadValueMiss() 356 if (receiver->IsTypedArray() || receiver->IsSharedTypedArray()) { in StoreMiss()
|
| /arkcompiler/ets_runtime/ecmascript/napi/test/ |
| D | jsnapi_first_tests.cpp | 2260 HWTEST_F_L0(JSNApiTests, IsTypedArray) in HWTEST_F_L0() argument 2269 ASSERT_FALSE(testString->IsTypedArray(vm_)); in HWTEST_F_L0() 2275 ASSERT_TRUE(typedArray->IsTypedArray(vm_)); in HWTEST_F_L0()
|