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
qv4atomics.cpp File Reference

(22df353c14800d2e9b6d57a9a0cb9c6baa337999)

#include "qv4arraybuffer_p.h"
#include "qv4typedarray_p.h"
#include "qv4atomics_p.h"
#include "qv4symbol_p.h"
Include dependency graph for qv4atomics.cpp:

Go to the source code of this file.

Functions

 DEFINE_OBJECT_VTABLE (Atomics)
static SharedArrayBuffervalidateSharedIntegerTypedArray (Scope &scope, const Value &typedArray, bool onlyInt32=false)
static int validateAtomicAccess (Scope &scope, const TypedArray &typedArray, const Value &index)
ReturnedValue atomicReadModifyWrite (const FunctionObject *f, const Value *argv, int argc, AtomicModifyOps modify)

Function Documentation

◆ atomicReadModifyWrite()

ReturnedValue atomicReadModifyWrite ( const FunctionObject * f,
const Value * argv,
int argc,
AtomicModifyOps modify )

Definition at line 72 of file qv4atomics.cpp.

◆ DEFINE_OBJECT_VTABLE()

DEFINE_OBJECT_VTABLE ( Atomics )

◆ validateAtomicAccess()

int validateAtomicAccess ( Scope & scope,
const TypedArray & typedArray,
const Value & index )
static

Definition at line 59 of file qv4atomics.cpp.

◆ validateSharedIntegerTypedArray()

SharedArrayBuffer * validateSharedIntegerTypedArray ( Scope & scope,
const Value & typedArray,
bool onlyInt32 = false )
static

Definition at line 36 of file qv4atomics.cpp.