#include <DataView.h>
|
unsigned | byteLength () const override |
|
TypedArrayType | getType () const override |
|
JSArrayBufferView * | wrap (ExecState *, JSGlobalObject *) override |
|
template<typename T > |
T | get (unsigned offset, bool littleEndian, bool *status=0) |
|
template<typename T > |
T | read (unsigned &offset, bool littleEndian, bool *status=0) |
|
template<typename T > |
void | set (unsigned offset, T value, bool littleEndian, bool *status=0) |
|
unsigned | byteLength () const override |
|
TypedArrayType | getType () const override |
|
JSArrayBufferView * | wrap (ExecState *, JSGlobalObject *) override |
|
template<typename T > |
T | get (unsigned offset, bool littleEndian, bool *status=0) |
|
template<typename T > |
T | read (unsigned &offset, bool littleEndian, bool *status=0) |
|
template<typename T > |
void | set (unsigned offset, T value, bool littleEndian, bool *status=0) |
|
bool | isNeutered () const |
|
RefPtr< ArrayBuffer > | possiblySharedBuffer () const |
|
RefPtr< ArrayBuffer > | unsharedBuffer () const |
|
bool | isShared () const |
|
void * | baseAddress () const |
|
void * | data () const |
|
unsigned | byteOffset () const |
|
JS_EXPORT_PRIVATE void | setNeuterable (bool flag) |
|
bool | isNeuterable () const |
|
virtual JS_EXPORT_PRIVATE | ~ArrayBufferView () |
|
bool | isNeutered () const |
|
RefPtr< ArrayBuffer > | possiblySharedBuffer () const |
|
RefPtr< ArrayBuffer > | unsharedBuffer () const |
|
bool | isShared () const |
|
void * | baseAddress () const |
|
void * | data () const |
|
unsigned | byteOffset () const |
|
JS_EXPORT_PRIVATE void | setNeuterable (bool flag) |
|
bool | isNeuterable () const |
|
virtual JS_EXPORT_PRIVATE | ~ArrayBufferView () |
|
|
static JS_EXPORT_PRIVATE Ref< DataView > | create (RefPtr< ArrayBuffer > &&, unsigned byteOffset, unsigned length) |
|
static Ref< DataView > | create (RefPtr< ArrayBuffer > &&) |
|
static JS_EXPORT_PRIVATE Ref< DataView > | create (RefPtr< ArrayBuffer > &&, unsigned byteOffset, unsigned length) |
|
static Ref< DataView > | create (RefPtr< ArrayBuffer > &&) |
|
static bool | verifyByteOffsetAlignment (unsigned byteOffset, size_t size) |
|
static bool | verifySubRangeLength (const ArrayBuffer &buffer, unsigned byteOffset, unsigned numElements, size_t size) |
|
static bool | verifyByteOffsetAlignment (unsigned byteOffset, size_t size) |
|
static bool | verifySubRangeLength (const ArrayBuffer &buffer, unsigned byteOffset, unsigned numElements, size_t size) |
|
|
| DataView (RefPtr< ArrayBuffer > &&, unsigned byteOffset, unsigned byteLength) |
|
| DataView (RefPtr< ArrayBuffer > &&, unsigned byteOffset, unsigned byteLength) |
|
JS_EXPORT_PRIVATE | ArrayBufferView (RefPtr< ArrayBuffer > &&, unsigned byteOffset) |
|
bool | setImpl (ArrayBufferView *, unsigned byteOffset) |
|
bool | setRangeImpl (const char *data, size_t dataByteLength, unsigned byteOffset) |
|
bool | zeroRangeImpl (unsigned byteOffset, size_t rangeByteLength) |
|
JS_EXPORT_PRIVATE | ArrayBufferView (RefPtr< ArrayBuffer > &&, unsigned byteOffset) |
|
bool | setImpl (ArrayBufferView *, unsigned byteOffset) |
|
bool | setRangeImpl (const char *data, size_t dataByteLength, unsigned byteOffset) |
|
bool | zeroRangeImpl (unsigned byteOffset, size_t rangeByteLength) |
|
|
static void | calculateOffsetAndLength (int start, int end, unsigned arraySize, unsigned *offset, unsigned *length) |
|
template<typename T > |
static void | clampOffsetAndNumElements (const ArrayBuffer &buffer, unsigned arrayByteOffset, unsigned *offset, unsigned *numElements) |
|
static void | calculateOffsetAndLength (int start, int end, unsigned arraySize, unsigned *offset, unsigned *length) |
|
template<typename T > |
static void | clampOffsetAndNumElements (const ArrayBuffer &buffer, unsigned arrayByteOffset, unsigned *offset, unsigned *numElements) |
|
void * | m_baseAddress |
|
unsigned | m_byteOffset: 31 |
|
bool | m_isNeuterable: 1 |
|
◆ DataView() [1/2]
JSC::DataView::DataView |
( |
RefPtr< ArrayBuffer > && |
buffer, |
|
|
unsigned |
byteOffset, |
|
|
unsigned |
byteLength |
|
) |
| |
|
protected |
◆ DataView() [2/2]
JSC::DataView::DataView |
( |
RefPtr< ArrayBuffer > && |
, |
|
|
unsigned |
byteOffset, |
|
|
unsigned |
byteLength |
|
) |
| |
|
protected |
◆ byteLength() [1/2]
unsigned JSC::DataView::byteLength |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ byteLength() [2/2]
unsigned JSC::DataView::byteLength |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ create() [1/4]
◆ create() [2/4]
Ref< DataView > JSC::DataView::create |
( |
RefPtr< ArrayBuffer > && |
buffer, |
|
|
unsigned |
byteOffset, |
|
|
unsigned |
length |
|
) |
| |
|
static |
◆ create() [3/4]
◆ create() [4/4]
◆ get() [1/2]
template<typename T >
T JSC::DataView::get |
( |
unsigned |
offset, |
|
|
bool |
littleEndian, |
|
|
bool * |
status = 0 |
|
) |
| |
|
inline |
◆ get() [2/2]
template<typename T >
T JSC::DataView::get |
( |
unsigned |
offset, |
|
|
bool |
littleEndian, |
|
|
bool * |
status = 0 |
|
) |
| |
|
inline |
◆ getType() [1/2]
◆ getType() [2/2]
◆ read() [1/2]
template<typename T >
T JSC::DataView::read |
( |
unsigned & |
offset, |
|
|
bool |
littleEndian, |
|
|
bool * |
status = 0 |
|
) |
| |
|
inline |
◆ read() [2/2]
template<typename T >
T JSC::DataView::read |
( |
unsigned & |
offset, |
|
|
bool |
littleEndian, |
|
|
bool * |
status = 0 |
|
) |
| |
|
inline |
◆ set() [1/2]
template<typename T >
void JSC::DataView::set |
( |
unsigned |
offset, |
|
|
T |
value, |
|
|
bool |
littleEndian, |
|
|
bool * |
status = 0 |
|
) |
| |
|
inline |
◆ set() [2/2]
template<typename T >
void JSC::DataView::set |
( |
unsigned |
offset, |
|
|
T |
value, |
|
|
bool |
littleEndian, |
|
|
bool * |
status = 0 |
|
) |
| |
|
inline |
◆ wrap() [1/2]
◆ wrap() [2/2]
The documentation for this class was generated from the following files:
- DerivedData/WebKit/Build/Products/Debug/JavaScriptCore.framework/Versions/A/PrivateHeaders/DataView.h
- Source/JavaScriptCore/runtime/DataView.cpp