Home
last modified time | relevance | path

Searched refs:contentType (Results 1 – 6 of 6) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/
Djs_serializer.cpp763 ContentType contentType = typedArray->GetContentType(); in WriteJSTypedArray() local
764 if (!WriteRawData(&contentType, sizeof(ContentType))) { in WriteJSTypedArray()
1723 ContentType *contentType = reinterpret_cast<ContentType*>(GetBuffer(sizeof(ContentType))); in ReadJSTypedArray() local
1724 if (contentType == nullptr) { in ReadJSTypedArray()
1727 typedArray->SetContentType(*contentType); in ReadJSTypedArray()
Djs_typed_array.cpp569 ContentType contentType = JSHandle<JSTypedArray>::Cast(typedarray)->GetContentType(); in IntegerIndexedElementSet() local
570 if (UNLIKELY(contentType == ContentType::BigInt)) { in IntegerIndexedElementSet()
Djs_stable_array.cpp686 ContentType contentType = targetArray->GetContentType(); in FastCopyFromArrayToTypedArray() local
694 if (contentType == ContentType::BigInt) { in FastCopyFromArrayToTypedArray()
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_typedarray.cpp1120 ContentType contentType = JSHandle<JSTypedArray>::Cast(target)->GetContentType(); in Set() local
1132 if (contentType == ContentType::BigInt) { in Set()
1754 ContentType contentType = thisObj->GetContentType(); in With() local
1756 if (contentType == ContentType::BigInt) { in With()
Dbuiltins_array.cpp752 ContentType contentType = JSHandle<JSTypedArray>::Cast(thisHandle)->GetContentType(); in Fill() local
753 if (contentType == ContentType::BigInt) { in Fill()
/arkcompiler/ets_runtime/ecmascript/tests/
Djs_serializer_test.cpp624 ContentType contentType = resJSInt8Array->GetContentType(); in TypedArrayTest1() local
633 EXPECT_TRUE(contentType == ContentType::Number) << "Not Same ContentType"; in TypedArrayTest1()
663 ContentType contentType = resJSInt8Array->GetContentType(); in TypedArrayTest2() local
672 EXPECT_TRUE(contentType == ContentType::Number) << "Not Same ContentType"; in TypedArrayTest2()
904 ContentType contentType = resJSInt8Array->GetContentType(); in TransferJSArrayBufferTest4() local
909 EXPECT_TRUE(contentType == ContentType::Number) << "Not Same ContentType"; in TransferJSArrayBufferTest4()