Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QV4::TypedArrayOperations Struct Reference

#include <qv4typedarray_p.h>

+ Collaboration diagram for QV4::TypedArrayOperations:

Public Types

typedef ReturnedValue(* Read) (const char *data)
 
typedef void(* Write) (char *data, Value value)
 
typedef ReturnedValue(* AtomicModify) (char *data, Value value)
 
typedef ReturnedValue(* AtomicCompareExchange) (char *data, Value expected, Value v)
 
typedef ReturnedValue(* AtomicLoad) (char *data)
 
typedef ReturnedValue(* AtomicStore) (char *data, Value value)
 

Static Public Member Functions

template<typename T >
static constexpr TypedArrayOperations create (const char *name)
 
template<typename T >
static constexpr TypedArrayOperations createWithAtomics (const char *name)
 

Public Attributes

int bytesPerElement
 
const char * name
 
Read read
 
Write write
 
AtomicModify atomicModifyOps [AtomicModifyOps::NAtomicModifyOps]
 
AtomicCompareExchange atomicCompareExchange
 
AtomicLoad atomicLoad
 
AtomicStore atomicStore
 

Detailed Description

Definition at line 50 of file qv4typedarray_p.h.

Member Typedef Documentation

◆ AtomicCompareExchange

typedef ReturnedValue(* QV4::TypedArrayOperations::AtomicCompareExchange) (char *data, Value expected, Value v)

Definition at line 54 of file qv4typedarray_p.h.

◆ AtomicLoad

typedef ReturnedValue(* QV4::TypedArrayOperations::AtomicLoad) (char *data)

Definition at line 55 of file qv4typedarray_p.h.

◆ AtomicModify

typedef ReturnedValue(* QV4::TypedArrayOperations::AtomicModify) (char *data, Value value)

Definition at line 53 of file qv4typedarray_p.h.

◆ AtomicStore

typedef ReturnedValue(* QV4::TypedArrayOperations::AtomicStore) (char *data, Value value)

Definition at line 56 of file qv4typedarray_p.h.

◆ Read

typedef ReturnedValue(* QV4::TypedArrayOperations::Read) (const char *data)

Definition at line 51 of file qv4typedarray_p.h.

◆ Write

typedef void(* QV4::TypedArrayOperations::Write) (char *data, Value value)

Definition at line 52 of file qv4typedarray_p.h.

Member Function Documentation

◆ create()

template<typename T >
constexpr TypedArrayOperations TypedArrayOperations::create ( const char * name)
staticconstexpr

Definition at line 194 of file qv4typedarray.cpp.

◆ createWithAtomics()

template<typename T >
constexpr TypedArrayOperations TypedArrayOperations::createWithAtomics ( const char * name)
staticconstexpr

Definition at line 208 of file qv4typedarray.cpp.

Member Data Documentation

◆ atomicCompareExchange

AtomicCompareExchange QV4::TypedArrayOperations::atomicCompareExchange

Definition at line 68 of file qv4typedarray_p.h.

◆ atomicLoad

AtomicLoad QV4::TypedArrayOperations::atomicLoad

Definition at line 69 of file qv4typedarray_p.h.

◆ atomicModifyOps

AtomicModify QV4::TypedArrayOperations::atomicModifyOps[AtomicModifyOps::NAtomicModifyOps]

Definition at line 67 of file qv4typedarray_p.h.

◆ atomicStore

AtomicStore QV4::TypedArrayOperations::atomicStore

Definition at line 70 of file qv4typedarray_p.h.

◆ bytesPerElement

int QV4::TypedArrayOperations::bytesPerElement

◆ name

const char* QV4::TypedArrayOperations::name

Definition at line 64 of file qv4typedarray_p.h.

◆ read

Read QV4::TypedArrayOperations::read

Definition at line 65 of file qv4typedarray_p.h.

◆ write

Write QV4::TypedArrayOperations::write

Definition at line 66 of file qv4typedarray_p.h.


The documentation for this struct was generated from the following files: