Home
last modified time | relevance | path

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

/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins.cpp2346 constexpr int bytesPerElement = 1; in InitializeInt8Array() local
2347 SetConstant(int8ArrFuncPrototype, "BYTES_PER_ELEMENT", JSTaggedValue(bytesPerElement)); in InitializeInt8Array()
2348 …nstant(JSHandle<JSObject>(int8ArrayFunction), "BYTES_PER_ELEMENT", JSTaggedValue(bytesPerElement)); in InitializeInt8Array()
2370 constexpr int bytesPerElement = 1; in InitializeUint8Array() local
2371 SetConstant(uint8ArrFuncPrototype, "BYTES_PER_ELEMENT", JSTaggedValue(bytesPerElement)); in InitializeUint8Array()
2372 …stant(JSHandle<JSObject>(uint8ArrayFunction), "BYTES_PER_ELEMENT", JSTaggedValue(bytesPerElement)); in InitializeUint8Array()
2411 constexpr int bytesPerElement = 1; in ITERATE_TYPED_ARRAY() local
2412 SetConstant(uint8ClampedArrFuncPrototype, "BYTES_PER_ELEMENT", JSTaggedValue(bytesPerElement)); in ITERATE_TYPED_ARRAY()
2413 …SHandle<JSObject>(uint8ClampedArrayFunction), "BYTES_PER_ELEMENT", JSTaggedValue(bytesPerElement)); in ITERATE_TYPED_ARRAY()
2435 constexpr int bytesPerElement = 2; in InitializeInt16Array() local
[all …]