QtBase  v6.3.1
Classes | Macros | Enumerations | Functions
qrandom.cpp File Reference
#include "qrandom.h"
#include "qrandom_p.h"
#include <qendian.h>
#include <qmutex.h>
#include <qobjectdefs.h>
#include <qthreadstorage.h>
#include <errno.h>
#include <qt_windows.h>
#include <assert.h>
Include dependency graph for qrandom.cpp:

Go to the source code of this file.

Classes

struct  QRandomGenerator::SystemGenerator
 
struct  QRandomGenerator::SystemAndGlobalGenerators
 
struct  QRandomGenerator::SystemAndGlobalGenerators::ShortenedSystem
 
struct  QRandomGenerator::SystemAndGlobalGenerators::PRNGLocker
 

Macros

#define _CRT_RAND_S
 
#define Q_ASSERT(cond)   assert(cond)
 
#define Q_ASSERT_X(cond, x, msg)   assert(cond && msg)
 

Enumerations

enum  { FillBufferNoexcept = true }
 

Functions

DECLSPEC_IMPORT BOOLEAN WINAPI SystemFunction036 (PVOID RandomBuffer, ULONG RandomBufferLength)
 
bool operator== (const QRandomGenerator &rng1, const QRandomGenerator &rng2)
 
QRandomGenerator::InitialRandomData qt_initial_random_value () noexcept
 

Macro Definition Documentation

◆ _CRT_RAND_S

#define _CRT_RAND_S

Definition at line 42 of file qrandom.cpp.

◆ Q_ASSERT

#define Q_ASSERT (   cond)    assert(cond)

Definition at line 84 of file qrandom.cpp.

◆ Q_ASSERT_X

#define Q_ASSERT_X (   cond,
  x,
  msg 
)    assert(cond && msg)

Definition at line 85 of file qrandom.cpp.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
FillBufferNoexcept 

Definition at line 93 of file qrandom.cpp.

Function Documentation

◆ operator==()

bool operator== ( const QRandomGenerator rng1,
const QRandomGenerator rng2 
)
related

Definition at line 1256 of file qrandom.cpp.

◆ qt_initial_random_value()

QRandomGenerator::InitialRandomData qt_initial_random_value ( )
noexcept

Definition at line 1324 of file qrandom.cpp.

◆ SystemFunction036()

DECLSPEC_IMPORT BOOLEAN WINAPI SystemFunction036 ( PVOID  RandomBuffer,
ULONG  RandomBufferLength 
)