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>.
|
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 self().
Referenced by QRandomGenerator::QRandomGenerator(), QRandomGenerator::QRandomGenerator(), QRandomGenerator64::global(), and QRandomGenerator::operator=().
|
inlinestatic |
Definition at line 369 of file qrandom.cpp.
References MersenneTwister, and self().
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().
Referenced by QRandomGenerator64::system().
uchar QRandomGenerator::SystemAndGlobalGenerators::data[sizeof(QRandomGenerator64)] |
Definition at line 329 of file qrandom.cpp.
struct { ... } QRandomGenerator::SystemAndGlobalGenerators::global_ |
QBasicMutex QRandomGenerator::SystemAndGlobalGenerators::globalPRNGMutex |
Definition at line 325 of file qrandom.cpp.
SystemGenerator QRandomGenerator::SystemAndGlobalGenerators::sys |
Definition at line 327 of file qrandom.cpp.
struct QRandomGenerator::SystemAndGlobalGenerators::ShortenedSystem QRandomGenerator::SystemAndGlobalGenerators::system_ |