Home
last modified time | relevance | path

Searched refs:NumberSize (Results 1 – 6 of 6) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_arraybuffer.h41 enum NumberSize : uint8_t { enum
90 template<typename T, NumberSize size>
93 template<typename T, typename UnionType, NumberSize size>
95 template<typename T, NumberSize size>
Dbuiltins_arraybuffer.cpp341 … return GetValueFromBufferForInteger<uint16_t, NumberSize::UINT16>(block, byteIndex, littleEndian); in GetValueFromBuffer()
343 … return GetValueFromBufferForInteger<int16_t, NumberSize::INT16>(block, byteIndex, littleEndian); in GetValueFromBuffer()
345 … return GetValueFromBufferForInteger<uint32_t, NumberSize::UINT32>(block, byteIndex, littleEndian); in GetValueFromBuffer()
347 … return GetValueFromBufferForInteger<int32_t, NumberSize::INT32>(block, byteIndex, littleEndian); in GetValueFromBuffer()
349 …return GetValueFromBufferForFloat<float, UnionType32, NumberSize::FLOAT32>(block, byteIndex, littl… in GetValueFromBuffer()
351 …return GetValueFromBufferForFloat<double, UnionType64, NumberSize::FLOAT64>(block, byteIndex, litt… in GetValueFromBuffer()
353 …return GetValueFromBufferForBigInt<int64_t, NumberSize::BIGINT64>(thread, block, byteIndex, little… in GetValueFromBuffer()
355 …return GetValueFromBufferForBigInt<uint64_t, NumberSize::BIGUINT64>(thread, block, byteIndex, litt… in GetValueFromBuffer()
432 case NumberSize::UINT16: in LittleEndianToBigEndian()
436 case NumberSize::UINT32: in LittleEndianToBigEndian()
[all …]
/arkcompiler/toolchain/tooling/agent/
Druntime_impl.cpp338 if ((arrayBufferByteLength % NumberSize::BYTES_OF_16BITS) == 0) { in AddTypedArrayRefs()
339 typedArrayLength = arrayBufferByteLength / NumberSize::BYTES_OF_16BITS; in AddTypedArrayRefs()
344 if ((arrayBufferByteLength % NumberSize::BYTES_OF_32BITS) == 0) { in AddTypedArrayRefs()
345 typedArrayLength = arrayBufferByteLength / NumberSize::BYTES_OF_32BITS; in AddTypedArrayRefs()
351 if ((arrayBufferByteLength % NumberSize::BYTES_OF_64BITS) == 0) { in AddTypedArrayRefs()
352 typedArrayLength = arrayBufferByteLength / NumberSize::BYTES_OF_64BITS; in AddTypedArrayRefs()
367 if ((arrayBufferByteLength % NumberSize::BYTES_OF_16BITS) == 0) { in AddSharedArrayBufferRefs()
368 typedArrayLength = arrayBufferByteLength / NumberSize::BYTES_OF_16BITS; in AddSharedArrayBufferRefs()
372 if ((arrayBufferByteLength % NumberSize::BYTES_OF_32BITS) == 0) { in AddSharedArrayBufferRefs()
373 typedArrayLength = arrayBufferByteLength / NumberSize::BYTES_OF_32BITS; in AddSharedArrayBufferRefs()
Druntime_impl.h72 enum NumberSize : uint8_t { BYTES_OF_16BITS = 2, BYTES_OF_32BITS = 4, BYTES_OF_64BITS = 8 }; enum
/arkcompiler/toolchain/tooling/base/
Dpt_types.cpp718 int32_t len = tagged->ByteLength(ecmaVm) / static_cast<int32_t>(NumberSize::BYTES_OF_16BITS); in DescriptionForInt16Array()
725 int32_t len = tagged->ByteLength(ecmaVm) / static_cast<int32_t>(NumberSize::BYTES_OF_32BITS); in DescriptionForInt32Array()
Dpt_types.h539 enum NumberSize : uint8_t { BYTES_OF_16BITS = 2, BYTES_OF_32BITS = 4, BYTES_OF_64BITS = 8 }; enum