|
MagickCore
6.9.7
|
#include "magick/string_.h"Go to the source code of this file.
Typedefs | |
| typedef struct _RandomInfo | RandomInfo |
Functions | |
| MagickExport double | GetRandomValue (RandomInfo *) |
| MagickExport double | GetPseudoRandomValue (RandomInfo *) |
| MagickExport MagickBooleanType | RandomComponentGenesis (void) |
| MagickExport RandomInfo * | AcquireRandomInfo (void) |
| MagickExport RandomInfo * | DestroyRandomInfo (RandomInfo *) |
| MagickExport StringInfo * | GetRandomKey (RandomInfo *, const size_t) |
| MagickExport unsigned long | GetRandomSecretKey (const RandomInfo *) |
| MagickExport void | RandomComponentTerminus (void) |
| MagickExport void | SeedPseudoRandomGenerator (const unsigned long) |
| 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 * | ) |
References DestroySemaphoreInfo(), DestroySignatureInfo(), DestroyStringInfo(), GetMagickModule, LockSemaphoreInfo(), LogMagickEvent(), MagickSignature, _RandomInfo::nonce, RelinquishMagickMemory(), _RandomInfo::reservoir, ResetMagickMemory(), _RandomInfo::seed, _RandomInfo::semaphore, _RandomInfo::signature, _RandomInfo::signature_info, TraceEvent, and UnlockSemaphoreInfo().
Referenced by DestroyFxInfo(), DestroyPixelCache(), DestroyRandomInfoThreadSet(), DistributePixelCacheClient(), PlasmaImage(), RandomChannelThresholdImage(), ResourceComponentTerminus(), and ShredFile().
| MagickExport double GetPseudoRandomValue | ( | RandomInfo * | ) |
References _RandomInfo::normalize, and _RandomInfo::seed.
Referenced by FxEvaluateSubexpression(), GenerateDifferentialNoise(), PlasmaPixel(), RandomChannelThresholdImage(), RandomThresholdImageChannel(), RandomX(), RandomY(), SketchImage(), and SpreadImage().
| MagickExport StringInfo* GetRandomKey | ( | RandomInfo * | , |
| const size_t | |||
| ) |
References AcquireStringInfo(), GetStringInfoDatum(), and SetRandomKey().
Referenced by AcquireRandomInfo(), AcquireUniqueFileResource(), DistributePixelCacheClient(), and ShredFile().
| MagickExport unsigned long GetRandomSecretKey | ( | const RandomInfo * | ) |
References _RandomInfo::secret_key.
Referenced by AddNoiseImageChannel(), EvaluateImageChannel(), EvaluateImages(), RandomThresholdImageChannel(), SketchImage(), and SpreadImage().
| MagickExport double GetRandomValue | ( | RandomInfo * | ) |
| MagickExport MagickBooleanType RandomComponentGenesis | ( | void | ) |
References AllocateSemaphoreInfo(), MagickTrue, and random_semaphore.
Referenced by MagickCoreGenesis().
| MagickExport void RandomComponentTerminus | ( | void | ) |
| MagickExport void SeedPseudoRandomGenerator | ( | const unsigned long | ) |
| MagickExport void SetRandomKey | ( | RandomInfo * | , |
| const size_t | , | ||
| unsigned char * | |||
| ) |
| MagickExport void SetRandomSecretKey | ( | const unsigned long | ) |
| MagickExport void SetRandomTrueRandom | ( | const MagickBooleanType | ) |
References gather_true_random.