![]() |
Qt 6.x
The Qt SDK
|
Classes | |
struct | PRNGLocker |
struct | ShortenedSystem |
Public Member Functions | |
constexpr | SystemAndGlobalGenerators () |
void | confirmLiteral () |
Static Public Member Functions | |
static SystemAndGlobalGenerators * | self () |
static QRandomGenerator64 * | system () |
static QRandomGenerator64 * | globalNoInit () |
static void | securelySeed (QRandomGenerator *rng) |
Public Attributes | ||
QBasicMutex | globalPRNGMutex | |
struct QRandomGenerator::SystemAndGlobalGenerators::ShortenedSystem | system_ | |
SystemGenerator | sys | |
struct { | ||
uchar data [sizeof(QRandomGenerator64)] | ||
} | global_ | |
Definition at line 312 of file qrandom.cpp.
|
inlineconstexpr |
Definition at line 332 of file qrandom.cpp.
|
inline |
Definition at line 336 of file qrandom.cpp.
References Q_UNUSED.
|
inlinestatic |
Definition at line 361 of file qrandom.cpp.
References global_, and self().
Referenced by QRandomGenerator::QRandomGenerator(), QRandomGenerator::QRandomGenerator(), QRandomGenerator64::global(), and QRandomGenerator::operator=().
|
inlinestatic |
Definition at line 369 of file qrandom.cpp.
References MersenneTwister, self(), and sys.
Referenced by QRandomGenerator64::global(), and QRandomGenerator64::securelySeeded().
|
inlinestatic |
Definition at line 345 of file qrandom.cpp.
Referenced by QRandomGenerator::SystemAndGlobalGenerators::PRNGLocker::PRNGLocker(), QRandomGenerator::SystemAndGlobalGenerators::PRNGLocker::~PRNGLocker(), globalNoInit(), securelySeed(), QRandomGenerator::SystemGenerator::self(), and system().
|
inlinestatic |
Definition at line 352 of file qrandom.cpp.
References self(), and system_.
Referenced by QRandomGenerator64::system().
uchar QRandomGenerator::SystemAndGlobalGenerators::data[sizeof(QRandomGenerator64)] |
Definition at line 329 of file qrandom.cpp.
struct { ... } QRandomGenerator::SystemAndGlobalGenerators::global_ |
Referenced by globalNoInit().
QBasicMutex QRandomGenerator::SystemAndGlobalGenerators::globalPRNGMutex |
Definition at line 325 of file qrandom.cpp.
Referenced by QRandomGenerator::SystemAndGlobalGenerators::PRNGLocker::PRNGLocker(), and QRandomGenerator::SystemAndGlobalGenerators::PRNGLocker::~PRNGLocker().
SystemGenerator QRandomGenerator::SystemAndGlobalGenerators::sys |
Definition at line 327 of file qrandom.cpp.
Referenced by securelySeed(), and QRandomGenerator::SystemGenerator::self().
struct QRandomGenerator::SystemAndGlobalGenerators::ShortenedSystem QRandomGenerator::SystemAndGlobalGenerators::system_ |
Referenced by system().