Home
last modified time | relevance | path

Searched defs:byteLength (Results 1 - 15 of 15) sorted by relevance

/arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/
H A Descompat_ArrayBuffer.cpp46 auto byteLength = static_cast<EtsInt>(array->GetLength() * array->GetElementSize()); in EtsArrayBufferFrom() local
H A Descompat_Atomics.cpp201 extern "C" EtsSharedMemory *SharedMemoryCreate(int32_t byteLength) in SharedMemoryCreate() argument
/arkcompiler/ets_runtime/test/fuzztest/dataviewref_fuzzer/
H A Ddataviewref_fuzzer.cpp33 const uint32_t byteLength = 7; in DataViewRefByteOffSetFuzzTest() local
51 const uint32_t byteLength = 7; in DataViewRefByteLengthFuzzTest() local
69 const uint32_t byteLength = 7; in DataViewRefGetArrayBufferFuzzTest() local
/arkcompiler/ets_runtime/ecmascript/builtins/tests/
H A 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
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/interop_js/
H A Djs_convert.h499 size_t byteLength = 0; in JSCONVERT_UNWRAP() local
509 std::copy_n(reinterpret_cast<uint8_t *>(data), byteLength, buf->GetData()->GetData<EtsByte>()); in JSCONVERT_UNWRAP() local
/arkcompiler/ets_runtime/ecmascript/builtins/
H A Dbuiltins_sendable_arraybuffer.cpp222 AllocateSendableArrayBuffer( JSThread *thread, const JSHandle<JSTaggedValue> &newTarget, uint64_t byteLength) AllocateSendableArrayBuffer() argument
H A Dbuiltins_sharedarraybuffer.cpp40 uint64_t byteLength = lenNum.GetNumber(); in SharedArrayBufferConstructor() local
89 AllocateSharedArrayBuffer( JSThread *thread, const JSHandle<JSTaggedValue> &newTarget, uint64_t byteLength) AllocateSharedArrayBuffer() argument
[all...]
H A Dbuiltins_arraybuffer.cpp217 AllocateArrayBuffer(JSThread *thread, const JSHandle<JSTaggedValue> &newTarget, uint64_t byteLength) AllocateArrayBuffer() argument
/arkcompiler/ets_runtime/ecmascript/
H A Decma_string_table.cpp574 size_t byteLength = sd.is_ascii ? 1 : sizeof(uint16_t); in RelocateConstantData() local
/arkcompiler/ets_runtime/ecmascript/base/
H A 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; AllocateTypedArrayBuffer() local
465 uint64_t byteLength = elementSize * static_cast<uint64_t>(elementLength); CreateFromTypedArray() local
577 SetTypedArrayProperties(JSThread *thread, const JSHandle<JSObject> &obj, JSMutableHandle<JSTaggedValue> &data, const uint64_t byteLength, const uint32_t elementLength) SetTypedArrayProperties() argument
601 AllocatAndUpdateArrayBuffer(JSThread *thread, uint64_t byteLength, JSMutableHandle<JSTaggedValue> &data) AllocatAndUpdateArrayBuffer() argument
648 uint64_t byteLength = elementSize * static_cast<uint64_t>(elementLength); CreateSharedFromTypedArray() local
[all...]
/arkcompiler/toolchain/tooling/agent/
H A Druntime_impl.cpp756 int32_t byteLength = static_cast<int32_t>(dataViewRef->ByteLength()); in GetDataViewValue() local
/arkcompiler/ets_runtime/ecmascript/serializer/tests/
H A Dserializer_test.cpp549 void JSSharedArrayBufferTest(SerializeData *data, int32_t byteLength, const char *msg) in JSSharedArrayBufferTest() argument
719 uint32_t byteLength = resJSInt8Array->GetByteLength(); in TypedArrayTest1() local
758 uint32_t byteLength = resJSInt8Array->GetByteLength(); in TypedArrayTest2() local
2105 int32_t byteLength = 10; in CreateTestJSArrayBuffer() local
2127 int byteLength = 10; HWTEST_F_L0() local
2164 int byteLength = 10; HWTEST_F_L0() local
[all...]
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/
H A Dbuiltins_typedarray_stub_builder.cpp3271 GateRef byteLength = Int64Mul(ZExtInt32ToInt64(elementSize), ZExtInt32ToInt64(length)); in AllocateTypedArrayBuffer() local
/arkcompiler/ets_runtime/ecmascript/napi/
H A Djsnapi_expo.cpp1115 GetDataViewInfo(const EcmaVM *vm, bool &isDataView, size_t *byteLength, void **data, JSValueRef **arrayBuffer, size_t *byteOffset) GetDataViewInfo() argument
1168 New( const EcmaVM *vm, Local<ArrayBufferRef> arrayBuffer, uint32_t byteOffset, uint32_t byteLength) New() argument
/arkcompiler/ets_runtime/ecmascript/compiler/
H A Dstub_builder-inl.h3126 inline void StubBuilder::SetByteLength(GateRef glue, GateRef typedArray, GateRef byteLength) in SetByteLength() argument
3129 Store(VariableType::INT8(), glue, typedArray, offset, byteLength, MemoryAttribute::NoBarrier()); in SetByteLength() local

Completed in 40 milliseconds