MagickCore 7.0.10
|
#include "wizard/studio.h"
#include "wizard/exception.h"
#include "wizard/exception-private.h"
#include "wizard/memory_.h"
#include "wizard/lzma.h"
Go to the source code of this file.
Data Structures | |
struct | _LZMAInfo |
Functions | |
WizardExport LZMAInfo * | AcquireLZMAInfo (const size_t level) |
WizardExport const StringInfo * | GetLZMAChaos (const LZMAInfo *lzma_info) |
WizardExport LZMAInfo * | DestroyLZMAInfo (LZMAInfo *lzma_info) |
static void * | AcquireLZMAMemory (void *context, size_t items, size_t size) |
static void | RelinquishLZMAMemory (void *context, void *memory) |
WizardExport WizardBooleanType | IncreaseLZMA (LZMAInfo *lzma_info, const StringInfo *message, ExceptionInfo *exception) |
WizardExport WizardBooleanType | RestoreLZMA (LZMAInfo *lzma_info, const size_t length, const StringInfo *message, ExceptionInfo *exception) |
WizardExport LZMAInfo * AcquireLZMAInfo | ( | const size_t | level | ) |
Definition at line 96 of file lzma.c.
References AcquireStringInfo(), AcquireWizardMemory(), _LZMAInfo::chaos, EntropyError, _LZMAInfo::level, MemoryError, _LZMAInfo::signature, ThrowWizardFatalError, _LZMAInfo::timestamp, WizardEpoch, and WizardSignature.
Referenced by AcquireEntropyInfo().
|
static |
Definition at line 203 of file lzma.c.
References AcquireQuantumMemory().
Referenced by IncreaseLZMA(), and RestoreLZMA().
WizardExport LZMAInfo * DestroyLZMAInfo | ( | LZMAInfo * | lzma_info | ) |
Definition at line 164 of file lzma.c.
References _LZMAInfo::chaos, DestroyStringInfo(), EntropyDomain, GetWizardModule, LogWizardEvent(), RelinquishWizardMemory(), _LZMAInfo::signature, TraceEvent, WizardAssert, and WizardSignature.
Referenced by DestroyEntropyInfo().
WizardExport const StringInfo * GetLZMAChaos | ( | const LZMAInfo * | lzma_info | ) |
Definition at line 134 of file lzma.c.
References _LZMAInfo::chaos, EntropyDomain, GetWizardModule, LogWizardEvent(), _LZMAInfo::signature, TraceEvent, WizardAssert, and WizardSignature.
Referenced by GetEntropyChaos().
WizardExport WizardBooleanType IncreaseLZMA | ( | LZMAInfo * | lzma_info, |
const StringInfo * | message, | ||
ExceptionInfo * | exception | ||
) |
Definition at line 213 of file lzma.c.
References AcquireLZMAMemory(), _LZMAInfo::chaos, EntropyDomain, EntropyError, GetStringInfoDatum(), GetStringInfoLength(), GetWizardModule, _LZMAInfo::level, LogWizardEvent(), RelinquishLZMAMemory(), SetStringInfoLength(), _LZMAInfo::signature, ThrowWizardException(), TraceEvent, WizardAssert, WizardFalse, WizardSignature, and WizardTrue.
Referenced by IncreaseEntropy().
|
static |
Definition at line 208 of file lzma.c.
References RelinquishWizardMemory().
Referenced by IncreaseLZMA(), and RestoreLZMA().
WizardExport WizardBooleanType RestoreLZMA | ( | LZMAInfo * | lzma_info, |
const size_t | length, | ||
const StringInfo * | message, | ||
ExceptionInfo * | exception | ||
) |
Definition at line 311 of file lzma.c.
References AcquireLZMAMemory(), _LZMAInfo::chaos, EntropyDomain, EntropyError, GetStringInfoDatum(), GetStringInfoLength(), GetWizardModule, LogWizardEvent(), RelinquishLZMAMemory(), SetStringInfoLength(), _LZMAInfo::signature, ThrowWizardException(), TraceEvent, WizardAssert, WizardFalse, WizardSignature, and WizardTrue.
Referenced by RestoreEntropy().