| /arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/ |
| H A D | escompat_ArrayBuffer.cpp | 46 auto byteLength = static_cast<EtsInt>(array->GetLength() * array->GetElementSize()); in EtsArrayBufferFrom() local
|
| H A D | escompat_Atomics.cpp | 201 extern "C" EtsSharedMemory *SharedMemoryCreate(int32_t byteLength) in SharedMemoryCreate() argument
|
| /arkcompiler/ets_runtime/test/fuzztest/dataviewref_fuzzer/ |
| H A D | dataviewref_fuzzer.cpp | 33 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 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
|
| /arkcompiler/runtime_core/static_core/plugins/ets/runtime/interop_js/ |
| H A D | js_convert.h | 499 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 D | builtins_sendable_arraybuffer.cpp | 222 AllocateSendableArrayBuffer( JSThread *thread, const JSHandle<JSTaggedValue> &newTarget, uint64_t byteLength) AllocateSendableArrayBuffer() argument
|
| H A D | builtins_sharedarraybuffer.cpp | 40 uint64_t byteLength = lenNum.GetNumber(); in SharedArrayBufferConstructor() local 89 AllocateSharedArrayBuffer( JSThread *thread, const JSHandle<JSTaggedValue> &newTarget, uint64_t byteLength) AllocateSharedArrayBuffer() argument [all...] |
| H A D | builtins_arraybuffer.cpp | 217 AllocateArrayBuffer(JSThread *thread, const JSHandle<JSTaggedValue> &newTarget, uint64_t byteLength) AllocateArrayBuffer() argument
|
| /arkcompiler/ets_runtime/ecmascript/ |
| H A D | ecma_string_table.cpp | 574 size_t byteLength = sd.is_ascii ? 1 : sizeof(uint16_t); in RelocateConstantData() local
|
| /arkcompiler/ets_runtime/ecmascript/base/ |
| H A D | typed_array_helper.cpp | 158 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 D | runtime_impl.cpp | 756 int32_t byteLength = static_cast<int32_t>(dataViewRef->ByteLength()); in GetDataViewValue() local
|
| /arkcompiler/ets_runtime/ecmascript/serializer/tests/ |
| H A D | serializer_test.cpp | 549 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 D | builtins_typedarray_stub_builder.cpp | 3271 GateRef byteLength = Int64Mul(ZExtInt32ToInt64(elementSize), ZExtInt32ToInt64(length));
in AllocateTypedArrayBuffer() local
|
| /arkcompiler/ets_runtime/ecmascript/napi/ |
| H A D | jsnapi_expo.cpp | 1115 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 D | stub_builder-inl.h | 3126 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
|