Home
last modified time | relevance | path

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

/arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/
Descompat_ArrayBuffer.cpp46 auto byteLength = static_cast<EtsInt>(array->GetLength() * array->GetElementSize()); in EtsArrayBufferFrom() 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/ets_runtime/ecmascript/base/
Dtyped_array_helper.cpp158 uint64_t byteLength = static_cast<uint64_t>(elementSize) * length; in FastCreateTypedArray() local
203 uint64_t byteLength = static_cast<uint64_t>(elementSize) * length; in AllocateTypedArrayBuffer() local
259 uint64_t byteLength = static_cast<uint64_t>(elementSize) * length; in AllocateTypedArrayBuffer() local
465 uint64_t byteLength = elementSize * static_cast<uint64_t>(elementLength); in CreateFromTypedArray() local
578 const uint64_t byteLength, const uint32_t elementLength) in SetTypedArrayProperties()
601 JSTaggedValue AllocatAndUpdateArrayBuffer(JSThread *thread, uint64_t byteLength, in AllocatAndUpdateArrayBuffer()
648 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/serializer/tests/
Dserializer_test.cpp564 void JSSharedArrayBufferTest(SerializeData *data, int32_t byteLength, const char *msg) in JSSharedArrayBufferTest()
734 uint32_t byteLength = resJSInt8Array->GetByteLength(); in TypedArrayTest1() local
773 uint32_t byteLength = resJSInt8Array->GetByteLength(); in TypedArrayTest2() local
2173 int32_t byteLength = 10; in CreateTestJSArrayBuffer() local
2195 int byteLength = 10; in HWTEST_F_L0() local
2232 int byteLength = 10; in HWTEST_F_L0() local
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/interop_js/
Djs_convert.h497 size_t byteLength = 0; in JSCONVERT_UNWRAP() local
/arkcompiler/ets_runtime/ecmascript/
Decma_string_table.cpp524 size_t byteLength = sd.is_ascii ? 1 : sizeof(uint16_t); in RelocateConstantData() local
/arkcompiler/toolchain/tooling/agent/
Druntime_impl.cpp751 int32_t byteLength = static_cast<int32_t>(dataViewRef->ByteLength()); in GetDataViewValue() local
/arkcompiler/jsvm/src/
Djs_native_api_v8.cpp3605 JSVM_Status OH_JSVM_CreateArraybuffer(JSVM_Env env, size_t byteLength, void** data, JSVM_Value* res… in OH_JSVM_CreateArraybuffer()
3623 JSVM_Status OH_JSVM_AllocateArrayBufferBackingStoreData(size_t byteLength, in OH_JSVM_AllocateArrayBufferBackingStoreData()
3667 …s OH_JSVM_GetArraybufferInfo(JSVM_Env env, JSVM_Value arraybuffer, void** data, size_t* byteLength) in OH_JSVM_GetArraybufferInfo()
3828 size_t byteLength, in OH_JSVM_CreateDataview()
3868 size_t* byteLength, in OH_JSVM_GetDataviewInfo()
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/
Dbuiltins_typedarray_stub_builder.cpp3302 GateRef byteLength = Int64Mul(ZExtInt32ToInt64(elementSize), ZExtInt32ToInt64(length)); in AllocateTypedArrayBuffer() local
/arkcompiler/ets_runtime/ecmascript/napi/
Djsnapi_expo.cpp1196 size_t *byteLength, in GetDataViewInfo()
1254 const EcmaVM *vm, Local<ArrayBufferRef> arrayBuffer, uint32_t byteOffset, uint32_t byteLength) in New()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/aarch64/
Daarch64_cgfunc.cpp3190 uint32 byteLength = GetPrimTypeSize(primType); in CreateRegisterOperandOfType() local
/arkcompiler/ets_runtime/ecmascript/compiler/
Dstub_builder-inl.h3296 inline void StubBuilder::SetByteLength(GateRef glue, GateRef typedArray, GateRef byteLength) in SetByteLength()