MagickCore
6.9.10
Convert, Edit, Or Compose Bitmap Images
|
#include "magick/studio.h"
#include "magick/exception.h"
#include "magick/exception-private.h"
#include "magick/hashmap.h"
#include "magick/locale_.h"
#include "magick/memory_.h"
#include "magick/semaphore.h"
#include "magick/signature-private.h"
#include "magick/string_.h"
Data Structures | |
struct | _ElementInfo |
struct | _EntryInfo |
struct | _LinkedListInfo |
struct | _HashmapInfo |
Macros | |
#define | MaxCapacities 20 |
Typedefs | |
typedef struct _ElementInfo | ElementInfo |
typedef struct _EntryInfo | EntryInfo |
#define MaxCapacities 20 |
Referenced by IncreaseHashmapCapacity().
typedef struct _ElementInfo ElementInfo |
typedef struct _EntryInfo EntryInfo |
MagickExport MagickBooleanType AppendValueToLinkedList | ( | LinkedListInfo * | list_info, |
const void * | value | ||
) |
References AcquireMagickMemory(), _LinkedListInfo::capacity, _LinkedListInfo::elements, _LinkedListInfo::head, LockSemaphoreInfo(), MagickCoreSignature, MagickFalse, MagickTrue, _ElementInfo::next, _LinkedListInfo::next, _LinkedListInfo::semaphore, _LinkedListInfo::signature, _LinkedListInfo::tail, UnlockSemaphoreInfo(), and _ElementInfo::value.
Referenced by AcquireColorCache(), AcquireConfigureCache(), AcquireLogCache(), AcquirePolicyCache(), GetConfigureOptions(), GetConfigurePaths(), GetLocaleOptions(), LoadColorCache(), LoadConfigureCache(), LoadDelegateCache(), LoadLogCache(), LoadMagicCache(), LoadMimeCache(), LoadPolicyCache(), and ThrowException().
MagickExport void ClearLinkedList | ( | LinkedListInfo * | list_info, |
void *(*)(void *) | relinquish_value | ||
) |
References _LinkedListInfo::elements, _LinkedListInfo::head, LockSemaphoreInfo(), MagickCoreSignature, _ElementInfo::next, _LinkedListInfo::next, RelinquishMagickMemory(), _LinkedListInfo::semaphore, _LinkedListInfo::signature, _LinkedListInfo::tail, UnlockSemaphoreInfo(), and _ElementInfo::value.
Referenced by ClearExceptionInfo(), and ClearMagickException().
MagickExport MagickBooleanType CompareHashmapString | ( | const void * | target, |
const void * | source | ||
) |
References LocaleCompare(), MagickFalse, and MagickTrue.
MagickExport MagickBooleanType CompareHashmapStringInfo | ( | const void * | target, |
const void * | source | ||
) |
References CompareStringInfo(), MagickFalse, and MagickTrue.
MagickExport HashmapInfo* DestroyHashmap | ( | HashmapInfo * | hashmap_info | ) |
References _HashmapInfo::capacity, DestroyLinkedList(), DestroySemaphoreInfo(), GetNextValueInLinkedList(), _LinkedListInfo::head, _EntryInfo::key, LockSemaphoreInfo(), MagickCoreSignature, _HashmapInfo::map, _LinkedListInfo::next, _HashmapInfo::relinquish_key, _HashmapInfo::relinquish_value, RelinquishMagickMemory(), _HashmapInfo::semaphore, _HashmapInfo::signature, UnlockSemaphoreInfo(), and _EntryInfo::value.
MagickExport LinkedListInfo* DestroyLinkedList | ( | LinkedListInfo * | list_info, |
void *(*)(void *) | relinquish_value | ||
) |
References DestroySemaphoreInfo(), _LinkedListInfo::head, LockSemaphoreInfo(), MagickCoreSignature, _ElementInfo::next, RelinquishMagickMemory(), _LinkedListInfo::semaphore, _LinkedListInfo::signature, UnlockSemaphoreInfo(), and _ElementInfo::value.
Referenced by ClearExceptionInfo(), ColorComponentTerminus(), ConfigureComponentTerminus(), DelegateComponentTerminus(), DestroyConfigureOptions(), DestroyHashmap(), DestroyLocaleOptions(), GetConfigureOptions(), GetLocaleOptions(), GetMagickHomeURL(), LogComponentTerminus(), MagicComponentTerminus(), MimeComponentTerminus(), and PolicyComponentTerminus().
MagickExport void* GetLastValueInLinkedList | ( | LinkedListInfo * | list_info | ) |
MagickExport void* GetNextKeyInHashmap | ( | HashmapInfo * | hashmap_info | ) |
References _HashmapInfo::capacity, GetNextValueInLinkedList(), _LinkedListInfo::head, _HashmapInfo::head_of_list, _EntryInfo::key, LockSemaphoreInfo(), MagickCoreSignature, MagickFalse, MagickTrue, _HashmapInfo::map, _LinkedListInfo::next, _HashmapInfo::next, _HashmapInfo::semaphore, _HashmapInfo::signature, and UnlockSemaphoreInfo().
MagickExport void* GetNextValueInHashmap | ( | HashmapInfo * | hashmap_info | ) |
References _HashmapInfo::capacity, GetNextValueInLinkedList(), _LinkedListInfo::head, _HashmapInfo::head_of_list, LockSemaphoreInfo(), MagickCoreSignature, MagickFalse, MagickTrue, _HashmapInfo::map, _LinkedListInfo::next, _HashmapInfo::next, _HashmapInfo::semaphore, _HashmapInfo::signature, UnlockSemaphoreInfo(), _ElementInfo::value, and _EntryInfo::value.
MagickExport void* GetNextValueInLinkedList | ( | LinkedListInfo * | list_info | ) |
References LockSemaphoreInfo(), MagickCoreSignature, _ElementInfo::next, _LinkedListInfo::next, _LinkedListInfo::semaphore, _LinkedListInfo::signature, UnlockSemaphoreInfo(), and _ElementInfo::value.
Referenced by AcquireCoderCache(), AcquireColorCache(), AcquireConfigureCache(), AcquireDelegateCache(), AcquireLocaleSplayTree(), AcquireLogCache(), AcquireMagicCache(), AcquireMimeCache(), AcquirePolicyCache(), AcquireTypeCache(), CatchException(), CheckEventLogging(), DestroyHashmap(), GetColorCompliance(), GetColorInfoList(), GetColorList(), GetConfigureInfo(), GetConfigureInfoList(), GetConfigureList(), GetConfigureOptions(), GetDelegateInfo(), GetDelegateInfoList(), GetDelegateList(), GetLocaleOptions(), GetLogInfo(), GetLogInfoList(), GetLogList(), GetMagicInfo(), GetMagicInfoList(), GetMagickHomeURL(), GetMagicList(), GetMimeInfo(), GetMimeInfoList(), GetMimeList(), GetNextKeyInHashmap(), GetNextValueInHashmap(), GetPolicyInfo(), GetPolicyInfoList(), GetPolicyList(), GetThresholdMap(), GetValueFromHashmap(), InheritException(), IsRightsAuthorized(), ListThresholdMaps(), PutEntryInHashmap(), QueryMagickColorname(), RemoveEntryFromHashmap(), and SetMagickSecurityPolicy().
MagickExport size_t GetNumberOfElementsInLinkedList | ( | const LinkedListInfo * | list_info | ) |
References _LinkedListInfo::elements, MagickCoreSignature, and _LinkedListInfo::signature.
Referenced by GetColorInfoList(), GetColorList(), GetConfigureInfoList(), GetConfigureList(), GetConfigureOptions(), GetConfigurePaths(), GetDelegateInfoList(), GetDelegateList(), GetLogInfoList(), GetLogList(), GetMagicInfoList(), GetMagicList(), GetMimeInfoList(), GetMimeList(), GetPolicyInfoList(), GetPolicyList(), and ThrowException().
MagickExport size_t GetNumberOfEntriesInHashmap | ( | const HashmapInfo * | hashmap_info | ) |
References _HashmapInfo::entries, MagickCoreSignature, and _HashmapInfo::signature.
MagickExport void* GetValueFromHashmap | ( | HashmapInfo * | hashmap_info, |
const void * | key | ||
) |
References _HashmapInfo::capacity, _HashmapInfo::compare, GetNextValueInLinkedList(), _EntryInfo::hash, _HashmapInfo::hash, _LinkedListInfo::head, _EntryInfo::key, LockSemaphoreInfo(), MagickCoreSignature, MagickFalse, MagickTrue, _HashmapInfo::map, _LinkedListInfo::next, _HashmapInfo::semaphore, _HashmapInfo::signature, UnlockSemaphoreInfo(), _ElementInfo::value, and _EntryInfo::value.
MagickExport void* GetValueFromLinkedList | ( | LinkedListInfo * | list_info, |
const size_t | index | ||
) |
References _LinkedListInfo::elements, _LinkedListInfo::head, LockSemaphoreInfo(), MagickCoreSignature, _ElementInfo::next, _LinkedListInfo::semaphore, _LinkedListInfo::signature, _LinkedListInfo::tail, UnlockSemaphoreInfo(), and _ElementInfo::value.
Referenced by SetLogEventMask(), and SetLogMethod().
MagickExport size_t HashPointerType | ( | const void * | pointer | ) |
Referenced by NewHashmap().
MagickExport size_t HashStringInfoType | ( | const void * | string_info | ) |
MagickExport size_t HashStringType | ( | const void * | string | ) |
|
static |
References AcquireQuantumMemory(), _HashmapInfo::capacity, DestroySemaphoreInfo(), _LinkedListInfo::elements, _EntryInfo::hash, _LinkedListInfo::head, LockSemaphoreInfo(), MagickCoreSignature, MagickFalse, MagickTrue, _HashmapInfo::map, MaxCapacities, NewLinkedList(), _ElementInfo::next, _LinkedListInfo::next, RelinquishMagickMemory(), _LinkedListInfo::semaphore, _LinkedListInfo::signature, UnlockSemaphoreInfo(), and _ElementInfo::value.
Referenced by PutEntryInHashmap().
MagickExport MagickBooleanType InsertValueInLinkedList | ( | LinkedListInfo * | list_info, |
const size_t | index, | ||
const void * | value | ||
) |
References AcquireMagickMemory(), _LinkedListInfo::capacity, _LinkedListInfo::elements, _LinkedListInfo::head, LockSemaphoreInfo(), MagickCoreSignature, MagickFalse, MagickTrue, _ElementInfo::next, _LinkedListInfo::next, _LinkedListInfo::semaphore, _LinkedListInfo::signature, _LinkedListInfo::tail, UnlockSemaphoreInfo(), and _ElementInfo::value.
Referenced by GetColorCompliance(), GetConfigureInfo(), GetDelegateInfo(), GetLogInfo(), GetMagicInfo(), GetMimeInfo(), GetPolicyInfo(), and PutEntryInHashmap().
MagickExport MagickBooleanType InsertValueInSortedLinkedList | ( | LinkedListInfo * | list_info, |
int(*)(const void *, const void *) | compare, | ||
void ** | replace, | ||
const void * | value | ||
) |
References AcquireMagickMemory(), _LinkedListInfo::capacity, _LinkedListInfo::elements, _LinkedListInfo::head, LockSemaphoreInfo(), MagickCoreSignature, MagickFalse, MagickTrue, _ElementInfo::next, RelinquishMagickMemory(), _LinkedListInfo::semaphore, _LinkedListInfo::signature, _LinkedListInfo::tail, UnlockSemaphoreInfo(), and _ElementInfo::value.
Referenced by AcquireMagicCache().
MagickExport MagickBooleanType IsHashmapEmpty | ( | const HashmapInfo * | hashmap_info | ) |
References _HashmapInfo::entries, MagickCoreSignature, MagickFalse, MagickTrue, and _HashmapInfo::signature.
MagickExport MagickBooleanType IsLinkedListEmpty | ( | const LinkedListInfo * | list_info | ) |
References _LinkedListInfo::elements, MagickCoreSignature, MagickFalse, MagickTrue, and _LinkedListInfo::signature.
Referenced by AcquireDelegateCache(), AcquireMimeCache(), and CheckEventLogging().
MagickExport MagickBooleanType LinkedListToArray | ( | LinkedListInfo * | list_info, |
void ** | array | ||
) |
MagickExport HashmapInfo* NewHashmap | ( | const size_t | capacity, |
size_t(*)(const void *) | hash, | ||
MagickBooleanType(*)(const void *, const void *) | compare, | ||
void *(*)(void *) | relinquish_key, | ||
void *(*)(void *) | relinquish_value | ||
) |
References AcquireMagickMemory(), AcquireQuantumMemory(), AllocateSemaphoreInfo(), _HashmapInfo::capacity, _HashmapInfo::compare, _HashmapInfo::entries, _HashmapInfo::hash, HashPointerType(), MagickCoreSignature, _HashmapInfo::map, _HashmapInfo::relinquish_key, _HashmapInfo::relinquish_value, ResourceLimitFatalError, _HashmapInfo::semaphore, _HashmapInfo::signature, and ThrowFatalException.
MagickExport LinkedListInfo* NewLinkedList | ( | const size_t | capacity | ) |
References AcquireMagickMemory(), AllocateSemaphoreInfo(), _LinkedListInfo::capacity, _LinkedListInfo::elements, _LinkedListInfo::head, MagickCoreSignature, _LinkedListInfo::next, ResourceLimitFatalError, _LinkedListInfo::semaphore, _LinkedListInfo::signature, _LinkedListInfo::tail, and ThrowFatalException.
Referenced by AcquireColorCache(), AcquireConfigureCache(), AcquireDelegateCache(), AcquireLogCache(), AcquireMagicCache(), AcquireMimeCache(), AcquirePolicyCache(), GetConfigureOptions(), GetConfigurePaths(), GetExceptionInfo(), GetLocaleOptions(), IncreaseHashmapCapacity(), InitializeExceptionInfo(), and PutEntryInHashmap().
MagickExport MagickBooleanType PutEntryInHashmap | ( | HashmapInfo * | hashmap_info, |
const void * | key, | ||
const void * | value | ||
) |
References AcquireMagickMemory(), _HashmapInfo::capacity, _HashmapInfo::compare, _LinkedListInfo::elements, _HashmapInfo::entries, GetNextValueInLinkedList(), _EntryInfo::hash, _HashmapInfo::hash, _LinkedListInfo::head, IncreaseHashmapCapacity(), InsertValueInLinkedList(), _EntryInfo::key, LockSemaphoreInfo(), MagickCoreSignature, MagickFalse, MagickTrue, _HashmapInfo::map, NewLinkedList(), _ElementInfo::next, _LinkedListInfo::next, _HashmapInfo::relinquish_key, _HashmapInfo::relinquish_value, RelinquishMagickMemory(), RemoveElementFromLinkedList(), _HashmapInfo::semaphore, _HashmapInfo::signature, UnlockSemaphoreInfo(), and _EntryInfo::value.
MagickExport void* RemoveElementByValueFromLinkedList | ( | LinkedListInfo * | list_info, |
const void * | value | ||
) |
References _LinkedListInfo::elements, _LinkedListInfo::head, LockSemaphoreInfo(), MagickCoreSignature, _ElementInfo::next, _LinkedListInfo::next, RelinquishMagickMemory(), _LinkedListInfo::semaphore, _LinkedListInfo::signature, _LinkedListInfo::tail, UnlockSemaphoreInfo(), and _ElementInfo::value.
Referenced by GetColorCompliance(), GetConfigureInfo(), GetDelegateInfo(), GetLogInfo(), GetMagicInfo(), GetMimeInfo(), and GetPolicyInfo().
MagickExport void* RemoveElementFromLinkedList | ( | LinkedListInfo * | list_info, |
const size_t | index | ||
) |
References _LinkedListInfo::elements, _LinkedListInfo::head, LockSemaphoreInfo(), MagickCoreSignature, _ElementInfo::next, _LinkedListInfo::next, RelinquishMagickMemory(), _LinkedListInfo::semaphore, _LinkedListInfo::signature, _LinkedListInfo::tail, UnlockSemaphoreInfo(), and _ElementInfo::value.
Referenced by PutEntryInHashmap(), and RemoveEntryFromHashmap().
MagickExport void* RemoveEntryFromHashmap | ( | HashmapInfo * | hashmap_info, |
const void * | key | ||
) |
References _HashmapInfo::capacity, _HashmapInfo::compare, _HashmapInfo::entries, GetNextValueInLinkedList(), _EntryInfo::hash, _HashmapInfo::hash, _LinkedListInfo::head, _EntryInfo::key, LockSemaphoreInfo(), MagickCoreSignature, MagickFalse, MagickTrue, _HashmapInfo::map, _LinkedListInfo::next, _HashmapInfo::relinquish_key, RelinquishMagickMemory(), RemoveElementFromLinkedList(), _HashmapInfo::semaphore, _HashmapInfo::signature, UnlockSemaphoreInfo(), _ElementInfo::value, and _EntryInfo::value.
MagickExport void* RemoveLastElementFromLinkedList | ( | LinkedListInfo * | list_info | ) |
MagickExport void ResetHashmapIterator | ( | HashmapInfo * | hashmap_info | ) |
MagickExport void ResetLinkedListIterator | ( | LinkedListInfo * | list_info | ) |
References _LinkedListInfo::head, LockSemaphoreInfo(), MagickCoreSignature, _LinkedListInfo::next, _LinkedListInfo::semaphore, _LinkedListInfo::signature, and UnlockSemaphoreInfo().
Referenced by CatchException(), CheckEventLogging(), GetColorCompliance(), GetColorInfoList(), GetColorList(), GetConfigureInfo(), GetConfigureInfoList(), GetConfigureList(), GetConfigureOptions(), GetDelegateInfo(), GetDelegateInfoList(), GetDelegateList(), GetLocaleOptions(), GetLogInfo(), GetLogInfoList(), GetLogList(), GetMagicInfo(), GetMagicInfoList(), GetMagicList(), GetMimeInfo(), GetMimeInfoList(), GetMimeList(), GetPolicyInfo(), GetPolicyInfoList(), GetPolicyList(), InheritException(), IsRightsAuthorized(), QueryMagickColorname(), and SetMagickSecurityPolicy().