Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qv4typedarray.cpp File Reference

(22df353c14800d2e9b6d57a9a0cb9c6baa337999)

#include "qv4typedarray_p.h"
#include "qv4arrayiterator_p.h"
#include "qv4arraybuffer_p.h"
#include "qv4symbol_p.h"
#include "qv4runtime_p.h"
#include <QtCore/qatomic.h>
#include <cmath>
Include dependency graph for qv4typedarray.cpp:

Go to the source code of this file.

Classes

struct  ClampedUInt8

Functions

 DEFINE_OBJECT_VTABLE (IntrinsicTypedArrayCtor)
 DEFINE_OBJECT_VTABLE (IntrinsicTypedArrayPrototype)
 DEFINE_OBJECT_VTABLE (TypedArrayCtor)
 DEFINE_OBJECT_VTABLE (TypedArrayPrototype)
 DEFINE_OBJECT_VTABLE (TypedArray)
 Q_STATIC_ASSERT ((int) ExecutionEngine::NTypedArrayTypes==(int) NTypedArrayTypes)
static int toInt32 (Value v)
static double toDouble (Value v)
static TypedArraytypedArraySpeciesCreate (Scope &scope, const TypedArray *instance, uint len)
static bool validateTypedArray (const Object *o)

Variables

const TypedArrayOperations operations [NTypedArrayTypes]

Function Documentation

◆ DEFINE_OBJECT_VTABLE() [1/5]

DEFINE_OBJECT_VTABLE ( IntrinsicTypedArrayCtor )

◆ DEFINE_OBJECT_VTABLE() [2/5]

DEFINE_OBJECT_VTABLE ( IntrinsicTypedArrayPrototype )

◆ DEFINE_OBJECT_VTABLE() [3/5]

DEFINE_OBJECT_VTABLE ( TypedArray )

◆ DEFINE_OBJECT_VTABLE() [4/5]

DEFINE_OBJECT_VTABLE ( TypedArrayCtor )

◆ DEFINE_OBJECT_VTABLE() [5/5]

DEFINE_OBJECT_VTABLE ( TypedArrayPrototype )

◆ Q_STATIC_ASSERT()

Q_STATIC_ASSERT ( (int) ExecutionEngine::NTypedArrayTypes = =(int) NTypedArrayTypes)

◆ toDouble()

double toDouble ( Value v)
inlinestatic

Definition at line 32 of file qv4typedarray.cpp.

◆ toInt32()

int toInt32 ( Value v)
inlinestatic

Definition at line 24 of file qv4typedarray.cpp.

◆ typedArraySpeciesCreate()

TypedArray * typedArraySpeciesCreate ( Scope & scope,
const TypedArray * instance,
uint len )
static

Definition at line 793 of file qv4typedarray.cpp.

◆ validateTypedArray()

bool validateTypedArray ( const Object * o)
static

Definition at line 1607 of file qv4typedarray.cpp.

Variable Documentation

◆ operations

const TypedArrayOperations operations
Initial value:

Definition at line 224 of file qv4typedarray.cpp.