Home
last modified time | relevance | path

Searched defs:byteLength (Results 1 – 25 of 26) sorted by relevance

12

/arkcompiler/ets_frontend/ets2panda/linter/test/concurrent/oh_modules/
DsharedArrayBuffer.ts20 readonly byteLength: number; property
/arkcompiler/runtime_core/static_core/plugins/ets/sdk/native/
Dmain.cpp45 static char *GetUint8ArrayInfo(ani_env *env, ani_object array, int32_t &byteLength, int32_t &byteOf… in GetUint8ArrayInfo()
88 int32_t byteLength; in Decode() local
212 int32_t byteLength; in DoWrite() local
239 int32_t byteLength; in DoEnd() local
/arkcompiler/ets_runtime/ecmascript/containers/
Dcontainers_buffer.cpp146 uint32_t byteLength = JSHandle<JSArrayBuffer>(value)->GetArrayBufferByteLength(); in BufferConstructor() local
627 uint32_t byteLength = GetValueUInt32(byteLengthHandle); in WriteUIntBE() local
654 uint32_t byteLength = GetValueUInt32(byteLengthHandle); in WriteUIntLE() local
682 uint32_t byteLength = GetValueUInt32(byteLengthHandle); in ReadUIntBE() local
709 uint32_t byteLength = GetValueUInt32(byteLengthHandle); in ReadUIntLE() local
738 uint32_t byteLength = GetValueUInt32(byteLengthHandle); in WriteIntBE() local
766 uint32_t byteLength = GetValueUInt32(byteLengthHandle); in WriteIntLE() local
793 uint32_t byteLength = GetValueUInt32(byteLengthHandle); in ReadIntBE() local
820 uint32_t byteLength = GetValueUInt32(byteLengthHandle); in ReadIntLE() local
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/
Descompat_ArrayBuffer.cpp34 static EtsHandle<EtsEscompatArrayBuffer> CreateArrayBuffer(EtsCoroutine *coro, EtsInt byteLength, in CreateArrayBuffer()
100 auto byteLength = static_cast<EtsInt>(bytes.size()); in EtsArrayBufferFromEncodedString() local
196 EtsInt byteLength = buf->GetByteLength(); in EtsArrayBufferToString() local
Descompat_TypedArrays.cpp593 size_t byteLength = static_cast<size_t>(arrayLength) * elementSize; in REVERSE_CALL_DECL() local
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_sharedarraybuffer.cpp40 uint64_t byteLength = lenNum.GetNumber(); in SharedArrayBufferConstructor() local
90 JSThread *thread, const JSHandle<JSTaggedValue> &newTarget, uint64_t byteLength) in AllocateSharedArrayBuffer()
Dbuiltins_sendable_arraybuffer.cpp220 JSThread *thread, const JSHandle<JSTaggedValue> &newTarget, uint64_t byteLength) in AllocateSendableArrayBuffer()
Dbuiltins_arraybuffer.cpp215 uint64_t byteLength) in AllocateArrayBuffer()
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/types/
Dets_typed_unsigned_arrays.h86 void SetByteLength(EtsDouble byteLength) in SetByteLength()
Dets_typed_arrays.h91 void SetByteLength(EtsDouble byteLength) in SetByteLength()
/arkcompiler/ets_runtime/ecmascript/base/
Dtyped_array_helper.cpp157 uint64_t byteLength = static_cast<uint64_t>(elementSize) * length; in FastCreateTypedArray() local
202 uint64_t byteLength = static_cast<uint64_t>(elementSize) * length; in AllocateTypedArrayBuffer() local
258 uint64_t byteLength = static_cast<uint64_t>(elementSize) * length; in AllocateTypedArrayBuffer() local
464 uint64_t byteLength = elementSize * static_cast<uint64_t>(elementLength); in CreateFromTypedArray() local
577 const uint64_t byteLength, const uint32_t elementLength) in SetTypedArrayProperties()
600 JSTaggedValue AllocatAndUpdateArrayBuffer(JSThread *thread, uint64_t byteLength, in AllocatAndUpdateArrayBuffer()
647 uint64_t byteLength = elementSize * static_cast<uint64_t>(elementLength); in CreateSharedFromTypedArray() local
/arkcompiler/ets_runtime/ecmascript/builtins/tests/
Dbuiltins_sendable_arraybuffer_test.cpp288 uint64_t byteLength = static_cast<uint64_t>(INT_MAX) + 1; in HWTEST_F_L0() local
300 uint32_t byteLength = 8; in HWTEST_F_L0() local
Dbuiltins_dataview_test.cpp250 HWTEST_F_L0(BuiltinsDataViewTest, byteLength) in HWTEST_F_L0() argument
/arkcompiler/ets_runtime/ecmascript/js_api/
Djs_api_buffer.cpp602 uint32_t byteLength, uint32_t byteOffset) in AllocateFastBuffer()
612 … const JSHandle<JSTaggedValue> &src, uint32_t byteLength, in AllocateFromBufferObject()
1216 …::pair<JSTaggedValue, JSTaggedValue> SplitUInt(JSHandle<JSTaggedValue> &value, uint64_t byteLength) in SplitUInt()
1243 … JSHandle<JSTaggedValue> &value, uint32_t offset, ByteLength byteLength, in WriteBytesValue()
1296 ByteLength byteLength, bool littleEndian) in ReadBytes()
1333 ByteLength byteLength, bool littleEndian) in ReadInt()
/arkcompiler/runtime_core/static_core/plugins/ets/sdk/native/api/
Dani_textencoder.cpp305 ani_int byteLength; in DoEncodeIntoUint8Array() local
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/helpers/
Darray_buffer_helper.cpp216 [[nodiscard]] Result<bool> ValidateIndices(int byteLength, int start, int end) in ValidateIndices()
/arkcompiler/ets_runtime/ecmascript/serializer/tests/
Dinter_op_serializer_test.cpp582 void JSSharedArrayBufferTest(SerializeData *data, int32_t byteLength, const char *msg) in JSSharedArrayBufferTest()
800 uint32_t byteLength = resJSInt8Array->GetByteLength(); in TypedArrayTest1() local
839 uint32_t byteLength = resJSInt8Array->GetByteLength(); in TypedArrayTest2() local
2253 int32_t byteLength = 10; in CreateTestJSArrayBuffer() local
2275 int byteLength = 10; in HWTEST_F_L0() local
2312 int byteLength = 10; in HWTEST_F_L0() local
Dserializer_test.cpp567 void JSSharedArrayBufferTest(SerializeData *data, int32_t byteLength, const char *msg) in JSSharedArrayBufferTest()
802 uint32_t byteLength = resJSInt8Array->GetByteLength(); in TypedArrayTest1() local
841 uint32_t byteLength = resJSInt8Array->GetByteLength(); in TypedArrayTest2() local
2382 int32_t byteLength = 10; in CreateTestJSArrayBuffer() local
2404 int byteLength = 10; in HWTEST_F_L0() local
2441 int byteLength = 10; in HWTEST_F_L0() local
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/interop_js/
Dintrinsics_api_impl.cpp1279 size_t byteLength = 0; in TransferArrayBufferToStatic() local
1340 EtsObject *CreateDynamicDataView(EtsEscompatArrayBuffer *staticArrayBuffer, double byteLength, doub… in CreateDynamicDataView()
/arkcompiler/toolchain/tooling/dynamic/agent/
Druntime_impl.cpp779 int32_t byteLength = static_cast<int32_t>(dataViewRef->ByteLength()); in GetDataViewValue() local
/arkcompiler/jsvm/src/
Djs_native_api_v8.cpp3874 JSVM_Status OH_JSVM_CreateArraybuffer(JSVM_Env env, size_t byteLength, void** data, JSVM_Value* res… in OH_JSVM_CreateArraybuffer()
3893 JSVM_Status OH_JSVM_AllocateArrayBufferBackingStoreData(size_t byteLength, in OH_JSVM_AllocateArrayBufferBackingStoreData()
3938 …s OH_JSVM_GetArraybufferInfo(JSVM_Env env, JSVM_Value arraybuffer, void** data, size_t* byteLength) in OH_JSVM_GetArraybufferInfo()
4105 size_t byteLength, in OH_JSVM_CreateDataview()
4148 size_t* byteLength, in OH_JSVM_GetDataviewInfo()
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/napi/
Dets_napi_native_interface.cpp2804 NO_UB_SANITIZE static ets_status ArrayBufferCreate(ets_env *env, size_t byteLength, void **resultDa… in ArrayBufferCreate()
2813 …ZE static ets_status ArrayBufferCreateExternal(ets_env *env, void *externalData, size_t byteLength, in ArrayBufferCreateExternal()
/arkcompiler/ets_runtime/ecmascript/napi/
Djsnapi_expo.cpp1213 size_t *byteLength, in GetDataViewInfo()
1277 const EcmaVM *vm, Local<ArrayBufferRef> arrayBuffer, uint32_t byteOffset, uint32_t byteLength) in New()
1290 const EcmaVM *vm, Local<ArrayBufferRef> arrayBuffer, uint32_t byteOffset, uint32_t byteLength) in NewWithoutSwitchState()
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/
Dbuiltins_typedarray_stub_builder.cpp3331 GateRef byteLength = Int64Mul(ZExtInt32ToInt64(elementSize), ZExtInt32ToInt64(length)); in AllocateTypedArrayBuffer() local
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/aarch64/
Daarch64_cgfunc.cpp3154 uint32 byteLength = GetPrimTypeSize(primType); in CreateRegisterOperandOfType() local

12