MagickCore 7.1.0
Convert, Edit, Or Compose Bitmap Images
|
#include "MagickCore/string_.h"
Go to the source code of this file.
Typedefs | |
typedef struct _RandomInfo | RandomInfo |
Functions | |
MagickExport double | GetRandomValue (RandomInfo *) |
MagickExport double | GetPseudoRandomValue (RandomInfo *magick_restrict) |
MagickExport RandomInfo * | AcquireRandomInfo (void) |
MagickExport RandomInfo * | DestroyRandomInfo (RandomInfo *) |
MagickExport StringInfo * | GetRandomKey (RandomInfo *, const size_t) |
MagickExport unsigned long | GetRandomSecretKey (const RandomInfo *) |
MagickExport void | SetRandomKey (RandomInfo *, const size_t, unsigned char *) |
MagickExport void | SetRandomSecretKey (const unsigned long) |
MagickExport void | SetRandomTrueRandom (const MagickBooleanType) |
typedef struct _RandomInfo RandomInfo |
MagickExport RandomInfo * AcquireRandomInfo | ( | void | ) |
MagickExport RandomInfo * DestroyRandomInfo | ( | RandomInfo * | random_info | ) |
Definition at line 277 of file random.c.
References DestroySignatureInfo(), DestroyStringInfo(), GetMagickModule, IsEventLogging(), LockSemaphoreInfo(), LogMagickEvent(), MagickCoreSignature, MagickFalse, _RandomInfo::nonce, random_info, RelinquishMagickMemory(), RelinquishSemaphoreInfo(), _RandomInfo::reservoir, _RandomInfo::seed, _RandomInfo::semaphore, _RandomInfo::signature, _RandomInfo::signature_info, TraceEvent, and UnlockSemaphoreInfo().
Referenced by DestroyFxRt(), DestroyPixelCache(), DestroyRandomInfoTLS(), KmeansImage(), PlasmaImage(), ResourceComponentTerminus(), and ShredFile().
MagickExport double GetPseudoRandomValue | ( | RandomInfo * | magick_restrict | ) |
MagickExport StringInfo * GetRandomKey | ( | RandomInfo * | random_info, |
const | size_t | ||
) |
Definition at line 700 of file random.c.
References AcquireStringInfo(), GetStringInfoDatum(), random_info, and SetRandomKey().
Referenced by AcquireRandomInfo(), AcquireUniqueFileResource(), and ShredFile().
MagickExport unsigned long GetRandomSecretKey | ( | const RandomInfo * | random_info | ) |
Definition at line 733 of file random.c.
References random_info, and _RandomInfo::secret_key.
Referenced by AddNoiseImage(), EvaluateImage(), EvaluateImages(), RandomThresholdImage(), SketchImage(), and SpreadImage().
MagickExport double GetRandomValue | ( | RandomInfo * | ) |
MagickExport void SetRandomKey | ( | RandomInfo * | , |
const | size_t, | ||
unsigned char * | |||
) |
MagickExport void SetRandomSecretKey | ( | const unsigned long | ) |
MagickExport void SetRandomTrueRandom | ( | const | MagickBooleanType | ) |
Definition at line 974 of file random.c.
References gather_true_random.