/arkcompiler/ets_runtime/ecmascript/ |
H A D | js_dataview.h | 39 ACCESSORS_PRIMITIVE_FIELD(ByteLength, uint32_t, BYTE_LENGTH_OFFSET, BYTE_OFFSET_OFFSET);
|
H A D | byte_array.h | 60 ACCESSORS_PRIMITIVE_FIELD(ByteLength, uint32_t, BYTE_LENGTH_OFFSET, LAST_OFFSET)
|
H A D | js_typed_array.h | 109 ACCESSORS_PRIMITIVE_FIELD(ByteLength, uint32_t, BYTE_LENGTH_OFFSET, BYTE_OFFSET_OFFSET)
|
/arkcompiler/ets_runtime/test/fuzztest/uint32arrayrefbytelength_fuzzer/ |
H A D | uint32arrayrefbytelength_fuzzer.cpp | 49 typedArray->ByteLength(vm); in Uint32ArrayRefByteLengthFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/arraybufferrefnewwithtwoparameters_fuzzer/ |
H A D | arraybufferrefnewwithtwoparameters_fuzzer.cpp | 66 arrayBuffer->ByteLength(vm); in ArrayBufferRef_New_IsDetach_Detach_ByteLength_GetBuffer_FuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/arraybufferrefnew_fuzzer/ |
H A D | arraybufferrefnew_fuzzer.cpp | 50 arrayBuffer->ByteLength(vm); in ArrayBufferRef_New_IsDetach_Detach_ByteLength_GetBuffer_FuzzTest()
|
/arkcompiler/ets_runtime/ecmascript/napi/test/ |
H A D | jsnapi_sample.cpp | 1831 int32_t arrayLength = arrayBuffer->ByteLength(vm_); in HWTEST_F_L0() 1840 GTEST_LOG_(INFO) << "sample_Int8Array_byteLength : " << typedArray->ByteLength(vm_); in HWTEST_F_L0() 1856 int32_t arrayLength = arrayBuffer->ByteLength(vm_); in HWTEST_F_L0() 1865 GTEST_LOG_(INFO) << "sample_Uint8Array_byteLength : " << typedArray->ByteLength(vm_); in HWTEST_F_L0() 1881 int32_t arrayLength = arrayBuffer->ByteLength(vm_); in HWTEST_F_L0() 1890 GTEST_LOG_(INFO) << "sample_Uint8ClampedArray_byteLength : " << typedArray->ByteLength(vm_); in HWTEST_F_L0() 1906 int32_t arrayLength = arrayBuffer->ByteLength(vm_); in HWTEST_F_L0() 1915 GTEST_LOG_(INFO) << "sample_Int16Array_byteLength : " << typedArray->ByteLength(vm_); in HWTEST_F_L0() 1931 int32_t arrayLength = arrayBuffer->ByteLength(vm_); in HWTEST_F_L0() 1940 GTEST_LOG_(INFO) << "sample_Uint16Array_byteLength : " << typedArray->ByteLength(vm in HWTEST_F_L0() [all...] |
H A D | jsnapi_first_tests.cpp | 768 ASSERT_EQ(arrayBuffer->ByteLength(vm_), length); in HWTEST_F_L0() 794 ASSERT_EQ(arrayBuffer->ByteLength(vm_), length); in HWTEST_F_L0() 813 ASSERT_EQ(dataView->ByteLength(), 7U); // 7 : size of arguments in HWTEST_F_L0() 840 ASSERT_EQ(typedArray->ByteLength(vm_), 6U); // 6 : length of bytes in HWTEST_F_L0() 865 ASSERT_EQ(typedArray->ByteLength(vm_), 6U); // 6 : length of bytes in HWTEST_F_L0() 888 ASSERT_EQ(typedArray->ByteLength(vm_), 6U); // 6 : length of bytes in HWTEST_F_L0() 911 ASSERT_EQ(typedArray->ByteLength(vm_), 12U); // 12 : length of bytes in HWTEST_F_L0() 934 ASSERT_EQ(typedArray->ByteLength(vm_), 12U); // 12 : length of bytes in HWTEST_F_L0() 958 ASSERT_EQ(typedArray->ByteLength(vm_), 24U); // 24 : length of bytes in HWTEST_F_L0() 981 ASSERT_EQ(typedArray->ByteLength(vm in HWTEST_F_L0() [all...] |
H A D | jsnapi_third_tests.cpp | 261 * ByteLength:Returns the length of the buffer 271 EXPECT_EQ(buffer->ByteLength(vm_), length); in HWTEST_F_L0() 279 * ByteLength:Returns the length of the buffer 290 EXPECT_EQ(buffer->ByteLength(vm_), 10U); in HWTEST_F_L0() 323 EXPECT_EQ(bufferRef->ByteLength(vm_), 15U); in HWTEST_F_L0() 526 ASSERT_EQ(arrayBuffer->ByteLength(vm_), length); in HWTEST_F_L0() 558 ASSERT_EQ(arrayBuffer->ByteLength(vm_), length); in HWTEST_F_L0() 575 ASSERT_EQ(arrayBuffer->ByteLength(vm_), length); in HWTEST_F_L0()
|
H A D | ffi_workload.cpp | 881 (void)arrayBuffer->ByteLength(vm_); in HWTEST_F_L0() 884 TEST_TIME(ArrayBufferRef::ByteLength); in HWTEST_F_L0() 924 obj->ByteLength(vm_); in HWTEST_F_L0() 927 TEST_TIME(ArrayBufferRef::ByteLength); in HWTEST_F_L0() 1032 (void)dataView->ByteLength(); in HWTEST_F_L0() 1035 TEST_TIME(DataView::ByteLength); in HWTEST_F_L0() 1077 (void)obj->ByteLength(vm_); in HWTEST_F_L0() 1080 TEST_TIME(TypedArrayRef::ByteLength); in HWTEST_F_L0()
|
H A D | jsnapi_second_tests.cpp | 1697 EXPECT_NE(res->ByteLength(vm_), length); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/test/fuzztest/bufferrefnew_fuzzer/ |
H A D | bufferrefnew_fuzzer.cpp | 61 buffer->ByteLength(vm); in BufferRefByteLengthFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/dataviewref_fuzzer/ |
H A D | dataviewref_fuzzer.cpp | 57 (void)dataView->ByteLength(); in DataViewRefByteLengthFuzzTest()
|
/arkcompiler/ets_runtime/ecmascript/napi/include/ |
H A D | jsnapi_expo.h | 1071 int32_t ByteLength(const EcmaVM *vm); 1084 int32_t ByteLength(const EcmaVM *vm); 1100 uint32_t ByteLength(const EcmaVM *vm); 1108 uint32_t ByteLength(const EcmaVM *vm); 1430 int32_t ByteLength(const EcmaVM *vm); 1470 uint32_t ByteLength();
|
/arkcompiler/toolchain/tooling/agent/ |
H A D | runtime_impl.cpp | 335 int32_t arrayBufferByteLength = arrayBufferRef->ByteLength(vm_); in AddTypedArrayRefs() 365 int32_t arrayBufferByteLength = arrayBufferRef->ByteLength(vm_); in AddSharedArrayBufferRefs() 756 int32_t byteLength = static_cast<int32_t>(dataViewRef->ByteLength()); in GetDataViewValue()
|
/arkcompiler/toolchain/tooling/base/ |
H A D | pt_types.cpp | 720 std::string description = ("DataView(" + std::to_string(tagged->ByteLength()) + ")"); in DescriptionForDataView() 759 int32_t len = tagged->ByteLength(ecmaVm); in DescriptionForArrayBuffer() 766 int32_t len = tagged->ByteLength(ecmaVm); in DescriptionForSharedArrayBuffer() 773 uint32_t len = tagged->ByteLength(ecmaVm); in DescriptionForUint8Array() 780 uint32_t len = tagged->ByteLength(ecmaVm); in DescriptionForInt8Array() 787 uint32_t len = tagged->ByteLength(ecmaVm) / NumberSize::BYTES_OF_16BITS; in DescriptionForInt16Array() 794 uint32_t len = tagged->ByteLength(ecmaVm) / NumberSize::BYTES_OF_32BITS; in DescriptionForInt32Array()
|
/arkcompiler/ets_runtime/ecmascript/napi/ |
H A D | jsnapi_expo.cpp | 1181 uint32_t DataViewRef::ByteLength() in ByteLength() function in panda::DataViewRef 1848 int32_t BufferRef::ByteLength(const EcmaVM *vm) in ByteLength() function in panda::BufferRef 3070 int32_t ArrayBufferRef::ByteLength(const EcmaVM *vm) in ByteLength() function in panda::ArrayBufferRef 3128 int32_t SendableArrayBufferRef::ByteLength(const EcmaVM *vm) in ByteLength() function in panda::SendableArrayBufferRef 3205 uint32_t TypedArrayRef::ByteLength(const EcmaVM *vm) in ByteLength() function in panda::TypedArrayRef 3242 uint32_t SendableTypedArrayRef::ByteLength(const EcmaVM *vm) in ByteLength() function in panda::SendableTypedArrayRef
|