| /arkcompiler/ets_frontend/ets2panda/linter/test/concurrent/oh_modules/ |
| D | sharedArrayBuffer.ts | 20 readonly byteLength: number; property
|
| /arkcompiler/runtime_core/static_core/plugins/ets/sdk/native/ |
| D | main.cpp | 45 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/ |
| D | containers_buffer.cpp | 146 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/ |
| D | escompat_ArrayBuffer.cpp | 34 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
|
| D | escompat_TypedArrays.cpp | 593 size_t byteLength = static_cast<size_t>(arrayLength) * elementSize; in REVERSE_CALL_DECL() local
|
| /arkcompiler/ets_runtime/ecmascript/builtins/ |
| D | builtins_sharedarraybuffer.cpp | 40 uint64_t byteLength = lenNum.GetNumber(); in SharedArrayBufferConstructor() local 90 JSThread *thread, const JSHandle<JSTaggedValue> &newTarget, uint64_t byteLength) in AllocateSharedArrayBuffer()
|
| D | builtins_sendable_arraybuffer.cpp | 220 JSThread *thread, const JSHandle<JSTaggedValue> &newTarget, uint64_t byteLength) in AllocateSendableArrayBuffer()
|
| D | builtins_arraybuffer.cpp | 215 uint64_t byteLength) in AllocateArrayBuffer()
|
| /arkcompiler/runtime_core/static_core/plugins/ets/runtime/types/ |
| D | ets_typed_unsigned_arrays.h | 86 void SetByteLength(EtsDouble byteLength) in SetByteLength()
|
| D | ets_typed_arrays.h | 91 void SetByteLength(EtsDouble byteLength) in SetByteLength()
|
| /arkcompiler/ets_runtime/ecmascript/base/ |
| D | typed_array_helper.cpp | 157 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/ |
| D | builtins_sendable_arraybuffer_test.cpp | 288 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
|
| D | builtins_dataview_test.cpp | 250 HWTEST_F_L0(BuiltinsDataViewTest, byteLength) in HWTEST_F_L0() argument
|
| /arkcompiler/ets_runtime/ecmascript/js_api/ |
| D | js_api_buffer.cpp | 602 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/ |
| D | ani_textencoder.cpp | 305 ani_int byteLength; in DoEncodeIntoUint8Array() local
|
| /arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/helpers/ |
| D | array_buffer_helper.cpp | 216 [[nodiscard]] Result<bool> ValidateIndices(int byteLength, int start, int end) in ValidateIndices()
|
| /arkcompiler/ets_runtime/ecmascript/serializer/tests/ |
| D | inter_op_serializer_test.cpp | 582 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
|
| D | serializer_test.cpp | 567 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/ |
| D | intrinsics_api_impl.cpp | 1279 size_t byteLength = 0; in TransferArrayBufferToStatic() local 1340 EtsObject *CreateDynamicDataView(EtsEscompatArrayBuffer *staticArrayBuffer, double byteLength, doub… in CreateDynamicDataView()
|
| /arkcompiler/toolchain/tooling/dynamic/agent/ |
| D | runtime_impl.cpp | 779 int32_t byteLength = static_cast<int32_t>(dataViewRef->ByteLength()); in GetDataViewValue() local
|
| /arkcompiler/jsvm/src/ |
| D | js_native_api_v8.cpp | 3874 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/ |
| D | ets_napi_native_interface.cpp | 2804 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/ |
| D | jsnapi_expo.cpp | 1213 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/ |
| D | builtins_typedarray_stub_builder.cpp | 3331 GateRef byteLength = Int64Mul(ZExtInt32ToInt64(elementSize), ZExtInt32ToInt64(length)); in AllocateTypedArrayBuffer() local
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/aarch64/ |
| D | aarch64_cgfunc.cpp | 3154 uint32 byteLength = GetPrimTypeSize(primType); in CreateRegisterOperandOfType() local
|