|
MagickCore
6.7.5
|
#include "MagickCore/studio.h"#include "MagickCore/exception.h"#include "MagickCore/exception-private.h"#include "MagickCore/hashmap.h"#include "MagickCore/memory_.h"#include "MagickCore/semaphore.h"#include "MagickCore/signature-private.h"#include "MagickCore/string_.h"
Go to the source code of this file.
Data Structures | |
| struct | _ElementInfo |
| struct | _EntryInfo |
| struct | _LinkedListInfo |
| struct | _HashmapInfo |
Defines | |
| #define | MaxCapacities 20 |
Typedefs | |
| typedef struct _ElementInfo | ElementInfo |
| typedef struct _EntryInfo | EntryInfo |
Functions | |
| MagickExport MagickBooleanType | AppendValueToLinkedList (LinkedListInfo *list_info, const void *value) |
| MagickExport void | ClearLinkedList (LinkedListInfo *list_info, void *(*relinquish_value)(void *)) |
| MagickExport MagickBooleanType | CompareHashmapString (const void *target, const void *source) |
| MagickExport MagickBooleanType | CompareHashmapStringInfo (const void *target, const void *source) |
| MagickExport HashmapInfo * | DestroyHashmap (HashmapInfo *hashmap_info) |
| MagickExport LinkedListInfo * | DestroyLinkedList (LinkedListInfo *list_info, void *(*relinquish_value)(void *)) |
| MagickExport void * | GetLastValueInLinkedList (LinkedListInfo *list_info) |
| MagickExport void * | GetNextKeyInHashmap (HashmapInfo *hashmap_info) |
| MagickExport void * | GetNextValueInHashmap (HashmapInfo *hashmap_info) |
| MagickExport void * | GetNextValueInLinkedList (LinkedListInfo *list_info) |
| MagickExport size_t | GetNumberOfEntriesInHashmap (const HashmapInfo *hashmap_info) |
| MagickExport size_t | GetNumberOfElementsInLinkedList (const LinkedListInfo *list_info) |
| MagickExport void * | GetValueFromHashmap (HashmapInfo *hashmap_info, const void *key) |
| MagickExport void * | GetValueFromLinkedList (LinkedListInfo *list_info, const size_t index) |
| MagickExport size_t | HashPointerType (const void *pointer) |
| MagickExport size_t | HashStringType (const void *string) |
| MagickExport size_t | HashStringInfoType (const void *string_info) |
| MagickExport MagickBooleanType | InsertValueInLinkedList (LinkedListInfo *list_info, const size_t index, const void *value) |
| MagickExport MagickBooleanType | InsertValueInSortedLinkedList (LinkedListInfo *list_info, int(*compare)(const void *, const void *), void **replace, const void *value) |
| MagickExport MagickBooleanType | IsHashmapEmpty (const HashmapInfo *hashmap_info) |
| MagickExport MagickBooleanType | IsLinkedListEmpty (const LinkedListInfo *list_info) |
| MagickExport MagickBooleanType | LinkedListToArray (LinkedListInfo *list_info, void **array) |
| MagickExport HashmapInfo * | NewHashmap (const size_t capacity, size_t(*hash)(const void *), MagickBooleanType(*compare)(const void *, const void *), void *(*relinquish_key)(void *), void *(*relinquish_value)(void *)) |
| MagickExport LinkedListInfo * | NewLinkedList (const size_t capacity) |
| static MagickBooleanType | IncreaseHashmapCapacity (HashmapInfo *hashmap_info) |
| MagickExport MagickBooleanType | PutEntryInHashmap (HashmapInfo *hashmap_info, const void *key, const void *value) |
| MagickExport void * | RemoveElementByValueFromLinkedList (LinkedListInfo *list_info, const void *value) |
| MagickExport void * | RemoveElementFromLinkedList (LinkedListInfo *list_info, const size_t index) |
| MagickExport void * | RemoveEntryFromHashmap (HashmapInfo *hashmap_info, const void *key) |
| MagickExport void * | RemoveLastElementFromLinkedList (LinkedListInfo *list_info) |
| MagickExport void | ResetHashmapIterator (HashmapInfo *hashmap_info) |
| MagickExport void | ResetLinkedListIterator (LinkedListInfo *list_info) |
| #define MaxCapacities 20 |
Referenced by IncreaseHashmapCapacity().
| typedef struct _ElementInfo ElementInfo |
| typedef struct _EntryInfo EntryInfo |
| MagickExport MagickBooleanType AppendValueToLinkedList | ( | LinkedListInfo * | list_info, |
| const void * | value | ||
| ) |
Definition at line 155 of file hashmap.c.
References _LinkedListInfo::signature, MagickSignature, _LinkedListInfo::debug, IsEventLogging(), MagickFalse, LogMagickEvent(), TraceEvent, GetMagickModule, _LinkedListInfo::elements, _LinkedListInfo::capacity, AcquireMagickMemory(), _ElementInfo::value, _ElementInfo::next, LockSemaphoreInfo(), _LinkedListInfo::semaphore, _LinkedListInfo::next, _LinkedListInfo::head, _LinkedListInfo::tail, UnlockSemaphoreInfo(), and MagickTrue.
Referenced by LoadColorList(), LoadColorLists(), GetConfigureOptions(), GetConfigurePaths(), LoadConfigureList(), LoadConfigureLists(), LoadDelegateList(), ThrowException(), GetLocaleOptions(), LoadLogList(), LoadLogLists(), LoadMagicList(), LoadMagicLists(), LoadMimeList(), LoadPolicyList(), and LoadPolicyLists().
| MagickExport void ClearLinkedList | ( | LinkedListInfo * | list_info, |
| void *(*)(void *) | relinquish_value | ||
| ) |
Definition at line 212 of file hashmap.c.
References _LinkedListInfo::signature, MagickSignature, _LinkedListInfo::debug, MagickFalse, LogMagickEvent(), TraceEvent, GetMagickModule, LockSemaphoreInfo(), _LinkedListInfo::semaphore, _LinkedListInfo::head, _ElementInfo::value, _ElementInfo::next, RelinquishMagickMemory(), _LinkedListInfo::tail, _LinkedListInfo::next, _LinkedListInfo::elements, and UnlockSemaphoreInfo().
| MagickExport MagickBooleanType CompareHashmapString | ( | const void * | target, |
| const void * | source | ||
| ) |
Definition at line 268 of file hashmap.c.
References LocaleCompare(), MagickTrue, and MagickFalse.
| MagickExport MagickBooleanType CompareHashmapStringInfo | ( | const void * | target, |
| const void * | source | ||
| ) |
Definition at line 306 of file hashmap.c.
References CompareStringInfo(), MagickTrue, and MagickFalse.
| MagickExport HashmapInfo* DestroyHashmap | ( | HashmapInfo * | hashmap_info | ) |
Definition at line 340 of file hashmap.c.
References _HashmapInfo::signature, MagickSignature, _HashmapInfo::debug, MagickFalse, LogMagickEvent(), TraceEvent, GetMagickModule, LockSemaphoreInfo(), _HashmapInfo::semaphore, _HashmapInfo::capacity, _HashmapInfo::map, _LinkedListInfo::next, _LinkedListInfo::head, GetNextValueInLinkedList(), _HashmapInfo::relinquish_key, _EntryInfo::key, _HashmapInfo::relinquish_value, _EntryInfo::value, DestroyLinkedList(), RelinquishMagickMemory(), UnlockSemaphoreInfo(), and DestroySemaphoreInfo().
| MagickExport LinkedListInfo* DestroyLinkedList | ( | LinkedListInfo * | list_info, |
| void *(*)(void *) | relinquish_value | ||
| ) |
Definition at line 410 of file hashmap.c.
References _LinkedListInfo::signature, MagickSignature, _LinkedListInfo::debug, MagickFalse, LogMagickEvent(), TraceEvent, GetMagickModule, LockSemaphoreInfo(), _LinkedListInfo::semaphore, _LinkedListInfo::head, _ElementInfo::value, _ElementInfo::next, RelinquishMagickMemory(), UnlockSemaphoreInfo(), and DestroySemaphoreInfo().
Referenced by ColorComponentTerminus(), ConfigureComponentTerminus(), DestroyConfigureOptions(), GetConfigureOptions(), DelegateComponentTerminus(), DestroyExceptionInfo(), DestroyHashmap(), DestroyLocaleOptions(), GetLocaleOptions(), LogComponentTerminus(), MagicComponentTerminus(), MimeComponentTerminus(), and PolicyComponentTerminus().
| MagickExport void* GetLastValueInLinkedList | ( | LinkedListInfo * | list_info | ) |
Definition at line 461 of file hashmap.c.
References _LinkedListInfo::signature, MagickSignature, _LinkedListInfo::debug, MagickFalse, LogMagickEvent(), TraceEvent, GetMagickModule, _LinkedListInfo::elements, LockSemaphoreInfo(), _LinkedListInfo::semaphore, _LinkedListInfo::tail, _ElementInfo::value, and UnlockSemaphoreInfo().
Referenced by ThrowException().
| MagickExport void* GetNextKeyInHashmap | ( | HashmapInfo * | hashmap_info | ) |
Definition at line 500 of file hashmap.c.
References _HashmapInfo::signature, MagickSignature, _HashmapInfo::debug, MagickFalse, LogMagickEvent(), TraceEvent, GetMagickModule, LockSemaphoreInfo(), _HashmapInfo::semaphore, _HashmapInfo::next, _HashmapInfo::capacity, _HashmapInfo::map, _HashmapInfo::head_of_list, _LinkedListInfo::next, _LinkedListInfo::head, MagickTrue, GetNextValueInLinkedList(), _EntryInfo::key, and UnlockSemaphoreInfo().
| MagickExport void* GetNextValueInHashmap | ( | HashmapInfo * | hashmap_info | ) |
Definition at line 563 of file hashmap.c.
References _HashmapInfo::signature, MagickSignature, _HashmapInfo::debug, MagickFalse, LogMagickEvent(), TraceEvent, GetMagickModule, LockSemaphoreInfo(), _HashmapInfo::semaphore, _HashmapInfo::next, _HashmapInfo::capacity, _HashmapInfo::map, _HashmapInfo::head_of_list, _LinkedListInfo::next, _LinkedListInfo::head, MagickTrue, GetNextValueInLinkedList(), _EntryInfo::value, and UnlockSemaphoreInfo().
| MagickExport void* GetNextValueInLinkedList | ( | LinkedListInfo * | list_info | ) |
Definition at line 626 of file hashmap.c.
References _LinkedListInfo::signature, MagickSignature, _LinkedListInfo::debug, MagickFalse, LogMagickEvent(), TraceEvent, GetMagickModule, LockSemaphoreInfo(), _LinkedListInfo::semaphore, _LinkedListInfo::next, UnlockSemaphoreInfo(), _ElementInfo::value, and _ElementInfo::next.
Referenced by LoadCoderLists(), GetColorCompliance(), GetColorInfoList(), GetColorList(), LoadColorLists(), QueryColorname(), GetConfigureInfo(), GetConfigureInfoList(), GetConfigureList(), GetConfigureOptions(), LoadConfigureLists(), GetDelegateInfo(), GetDelegateInfoList(), GetDelegateList(), LoadDelegateLists(), CatchException(), InheritException(), DestroyHashmap(), GetNextKeyInHashmap(), GetNextValueInHashmap(), GetValueFromHashmap(), PutEntryInHashmap(), RemoveEntryFromHashmap(), GetLocaleOptions(), LoadLocaleLists(), GetLogInfo(), GetLogInfoList(), GetLogList(), LoadLogLists(), GetMagicInfo(), GetMagicInfoList(), GetMagicList(), LoadMagicLists(), GetMimeInfo(), GetMimeInfoList(), GetMimeList(), LoadMimeLists(), GetPolicyInfo(), GetPolicyInfoList(), GetPolicyList(), IsRightsAuthorized(), LoadPolicyLists(), GetThresholdMap(), ListThresholdMaps(), LoadTypeLists(), and GetMagickHomeURL().
| MagickExport size_t GetNumberOfElementsInLinkedList | ( | const LinkedListInfo * | list_info | ) |
Definition at line 703 of file hashmap.c.
References _LinkedListInfo::signature, MagickSignature, _LinkedListInfo::debug, MagickFalse, LogMagickEvent(), TraceEvent, GetMagickModule, and _LinkedListInfo::elements.
Referenced by GetColorInfoList(), GetColorList(), GetConfigureInfoList(), GetConfigureList(), GetConfigureOptions(), GetDelegateInfoList(), GetDelegateList(), GetLogInfoList(), GetLogList(), GetMagicInfoList(), GetMagicList(), GetMimeInfoList(), GetMimeList(), GetPolicyInfoList(), and GetPolicyList().
| MagickExport size_t GetNumberOfEntriesInHashmap | ( | const HashmapInfo * | hashmap_info | ) |
Definition at line 669 of file hashmap.c.
References _HashmapInfo::signature, MagickSignature, _HashmapInfo::debug, MagickFalse, LogMagickEvent(), TraceEvent, GetMagickModule, and _HashmapInfo::entries.
| MagickExport void* GetValueFromHashmap | ( | HashmapInfo * | hashmap_info, |
| const void * | key | ||
| ) |
Definition at line 737 of file hashmap.c.
References _HashmapInfo::signature, MagickSignature, _HashmapInfo::debug, MagickFalse, LogMagickEvent(), TraceEvent, GetMagickModule, LockSemaphoreInfo(), _HashmapInfo::semaphore, _HashmapInfo::hash, _HashmapInfo::map, _HashmapInfo::capacity, _LinkedListInfo::next, _LinkedListInfo::head, GetNextValueInLinkedList(), _EntryInfo::hash, MagickTrue, _HashmapInfo::compare, _EntryInfo::key, _EntryInfo::value, and UnlockSemaphoreInfo().
| MagickExport void* GetValueFromLinkedList | ( | LinkedListInfo * | list_info, |
| const size_t | index | ||
| ) |
Definition at line 816 of file hashmap.c.
References _LinkedListInfo::signature, MagickSignature, _LinkedListInfo::debug, MagickFalse, LogMagickEvent(), TraceEvent, GetMagickModule, _LinkedListInfo::elements, LockSemaphoreInfo(), _LinkedListInfo::semaphore, _LinkedListInfo::head, _ElementInfo::value, UnlockSemaphoreInfo(), _LinkedListInfo::tail, and _ElementInfo::next.
Referenced by GetColorCompliance(), GetConfigureInfo(), GetDelegateInfo(), GetLogInfo(), SetLogEventMask(), GetMagicInfo(), GetMimeInfo(), and GetPolicyInfo().
| MagickExport size_t HashPointerType | ( | const void * | pointer | ) |
Definition at line 878 of file hashmap.c.
Referenced by NewHashmap().
| MagickExport size_t HashStringInfoType | ( | const void * | string_info | ) |
Definition at line 967 of file hashmap.c.
References AcquireSignatureInfo(), UpdateSignature(), FinalizeSignature(), GetStringInfoDatum(), GetSignatureDigest(), and DestroySignatureInfo().
| MagickExport size_t HashStringType | ( | const void * | string | ) |
Definition at line 914 of file hashmap.c.
References AcquireSignatureInfo(), StringToStringInfo(), UpdateSignature(), FinalizeSignature(), GetStringInfoDatum(), GetSignatureDigest(), DestroyStringInfo(), and DestroySignatureInfo().
| static MagickBooleanType IncreaseHashmapCapacity | ( | HashmapInfo * | hashmap_info | ) | [static] |
Definition at line 1453 of file hashmap.c.
References MaxCapacities, _HashmapInfo::capacity, MagickFalse, AcquireQuantumMemory(), ResetMagickMemory(), _HashmapInfo::map, LockSemaphoreInfo(), _LinkedListInfo::semaphore, _LinkedListInfo::head, _ElementInfo::next, _ElementInfo::value, _EntryInfo::hash, NewLinkedList(), _LinkedListInfo::next, _LinkedListInfo::elements, _LinkedListInfo::signature, MagickSignature, UnlockSemaphoreInfo(), DestroySemaphoreInfo(), RelinquishMagickMemory(), and MagickTrue.
Referenced by PutEntryInHashmap().
| MagickExport MagickBooleanType InsertValueInLinkedList | ( | LinkedListInfo * | list_info, |
| const size_t | index, | ||
| const void * | value | ||
| ) |
Definition at line 1020 of file hashmap.c.
References _LinkedListInfo::signature, MagickSignature, _LinkedListInfo::debug, MagickFalse, LogMagickEvent(), TraceEvent, GetMagickModule, _LinkedListInfo::elements, _LinkedListInfo::capacity, AcquireMagickMemory(), _ElementInfo::value, _ElementInfo::next, LockSemaphoreInfo(), _LinkedListInfo::semaphore, _LinkedListInfo::next, _LinkedListInfo::head, _LinkedListInfo::tail, UnlockSemaphoreInfo(), and MagickTrue.
Referenced by GetColorCompliance(), GetConfigureInfo(), GetDelegateInfo(), PutEntryInHashmap(), GetLogInfo(), GetMagicInfo(), GetMimeInfo(), and GetPolicyInfo().
| MagickExport MagickBooleanType InsertValueInSortedLinkedList | ( | LinkedListInfo * | list_info, |
| int(*)(const void *, const void *) | compare, | ||
| void ** | replace, | ||
| const void * | value | ||
| ) |
Definition at line 1123 of file hashmap.c.
References _LinkedListInfo::signature, MagickSignature, _LinkedListInfo::debug, MagickFalse, LogMagickEvent(), TraceEvent, GetMagickModule, _LinkedListInfo::elements, _LinkedListInfo::capacity, AcquireMagickMemory(), _ElementInfo::value, LockSemaphoreInfo(), _LinkedListInfo::semaphore, _ElementInfo::next, _LinkedListInfo::head, RelinquishMagickMemory(), _LinkedListInfo::tail, UnlockSemaphoreInfo(), and MagickTrue.
| MagickExport MagickBooleanType IsHashmapEmpty | ( | const HashmapInfo * | hashmap_info | ) |
Definition at line 1210 of file hashmap.c.
References _HashmapInfo::signature, MagickSignature, _HashmapInfo::debug, MagickFalse, LogMagickEvent(), TraceEvent, GetMagickModule, _HashmapInfo::entries, and MagickTrue.
| MagickExport MagickBooleanType IsLinkedListEmpty | ( | const LinkedListInfo * | list_info | ) |
Definition at line 1241 of file hashmap.c.
References _LinkedListInfo::signature, MagickSignature, _LinkedListInfo::debug, MagickFalse, LogMagickEvent(), TraceEvent, GetMagickModule, _LinkedListInfo::elements, and MagickTrue.
Referenced by GetColorCompliance(), GetConfigureInfo(), GetDelegateInfo(), LoadDelegateLists(), GetLogInfo(), IsEventLogging(), GetMagicInfo(), GetMimeInfo(), LoadMimeLists(), and GetPolicyInfo().
| MagickExport MagickBooleanType LinkedListToArray | ( | LinkedListInfo * | list_info, |
| void ** | array | ||
| ) |
Definition at line 1276 of file hashmap.c.
References _LinkedListInfo::signature, MagickSignature, _LinkedListInfo::debug, MagickFalse, LogMagickEvent(), TraceEvent, GetMagickModule, LockSemaphoreInfo(), _LinkedListInfo::semaphore, _LinkedListInfo::head, _ElementInfo::value, _ElementInfo::next, UnlockSemaphoreInfo(), and MagickTrue.
| 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 | ||
| ) |
Definition at line 1345 of file hashmap.c.
References AcquireMagickMemory(), ThrowFatalException, ResourceLimitFatalError, ResetMagickMemory(), _HashmapInfo::hash, HashPointerType(), _HashmapInfo::compare, _HashmapInfo::relinquish_key, _HashmapInfo::relinquish_value, _HashmapInfo::entries, _HashmapInfo::capacity, _HashmapInfo::map, AcquireQuantumMemory(), _HashmapInfo::debug, IsEventLogging(), _HashmapInfo::semaphore, AllocateSemaphoreInfo(), _HashmapInfo::signature, and MagickSignature.
| MagickExport LinkedListInfo* NewLinkedList | ( | const size_t | capacity | ) |
Definition at line 1404 of file hashmap.c.
References AcquireMagickMemory(), ThrowFatalException, ResourceLimitFatalError, ResetMagickMemory(), _LinkedListInfo::capacity, _LinkedListInfo::elements, _LinkedListInfo::head, _LinkedListInfo::tail, _LinkedListInfo::next, _LinkedListInfo::debug, MagickFalse, _LinkedListInfo::semaphore, AllocateSemaphoreInfo(), _LinkedListInfo::signature, and MagickSignature.
Referenced by LoadColorList(), LoadColorLists(), GetConfigureOptions(), GetConfigurePaths(), LoadConfigureList(), LoadConfigureLists(), LoadDelegateList(), GetExceptionInfo(), IncreaseHashmapCapacity(), PutEntryInHashmap(), GetLocaleOptions(), LoadLogList(), LoadLogLists(), LoadMagicList(), LoadMagicLists(), LoadMimeList(), LoadPolicyList(), and LoadPolicyLists().
| MagickExport MagickBooleanType PutEntryInHashmap | ( | HashmapInfo * | hashmap_info, |
| const void * | key, | ||
| const void * | value | ||
| ) |
Definition at line 1535 of file hashmap.c.
References _HashmapInfo::signature, MagickSignature, _HashmapInfo::debug, MagickFalse, LogMagickEvent(), TraceEvent, GetMagickModule, AcquireMagickMemory(), LockSemaphoreInfo(), _HashmapInfo::semaphore, _EntryInfo::hash, _HashmapInfo::hash, _EntryInfo::key, _EntryInfo::value, _HashmapInfo::map, _HashmapInfo::capacity, NewLinkedList(), _LinkedListInfo::next, _LinkedListInfo::head, GetNextValueInLinkedList(), MagickTrue, _HashmapInfo::compare, RemoveElementFromLinkedList(), _HashmapInfo::relinquish_key, _HashmapInfo::relinquish_value, RelinquishMagickMemory(), InsertValueInLinkedList(), UnlockSemaphoreInfo(), _LinkedListInfo::elements, IncreaseHashmapCapacity(), and _HashmapInfo::entries.
| MagickExport void* RemoveElementByValueFromLinkedList | ( | LinkedListInfo * | list_info, |
| const void * | value | ||
| ) |
Definition at line 1639 of file hashmap.c.
References _LinkedListInfo::signature, MagickSignature, _LinkedListInfo::debug, MagickFalse, LogMagickEvent(), TraceEvent, GetMagickModule, _LinkedListInfo::elements, LockSemaphoreInfo(), _LinkedListInfo::semaphore, _LinkedListInfo::head, _ElementInfo::value, _LinkedListInfo::next, _ElementInfo::next, RelinquishMagickMemory(), UnlockSemaphoreInfo(), and _LinkedListInfo::tail.
Referenced by GetColorCompliance(), GetConfigureInfo(), GetDelegateInfo(), GetLogInfo(), GetMagicInfo(), GetMimeInfo(), and GetPolicyInfo().
| MagickExport void* RemoveElementFromLinkedList | ( | LinkedListInfo * | list_info, |
| const size_t | index | ||
| ) |
Definition at line 1713 of file hashmap.c.
References _LinkedListInfo::signature, MagickSignature, _LinkedListInfo::debug, MagickFalse, LogMagickEvent(), TraceEvent, GetMagickModule, _LinkedListInfo::elements, LockSemaphoreInfo(), _LinkedListInfo::semaphore, _LinkedListInfo::next, _LinkedListInfo::head, _ElementInfo::next, _ElementInfo::value, RelinquishMagickMemory(), _LinkedListInfo::tail, and UnlockSemaphoreInfo().
Referenced by PutEntryInHashmap(), and RemoveEntryFromHashmap().
| MagickExport void* RemoveEntryFromHashmap | ( | HashmapInfo * | hashmap_info, |
| const void * | key | ||
| ) |
Definition at line 1787 of file hashmap.c.
References _HashmapInfo::signature, MagickSignature, _HashmapInfo::debug, MagickFalse, LogMagickEvent(), TraceEvent, GetMagickModule, LockSemaphoreInfo(), _HashmapInfo::semaphore, _HashmapInfo::hash, _HashmapInfo::map, _HashmapInfo::capacity, _LinkedListInfo::next, _LinkedListInfo::head, GetNextValueInLinkedList(), _EntryInfo::hash, MagickTrue, _HashmapInfo::compare, _EntryInfo::key, RemoveElementFromLinkedList(), UnlockSemaphoreInfo(), _HashmapInfo::relinquish_key, _EntryInfo::value, RelinquishMagickMemory(), and _HashmapInfo::entries.
| MagickExport void* RemoveLastElementFromLinkedList | ( | LinkedListInfo * | list_info | ) |
Definition at line 1876 of file hashmap.c.
References _LinkedListInfo::signature, MagickSignature, _LinkedListInfo::debug, MagickFalse, LogMagickEvent(), TraceEvent, GetMagickModule, _LinkedListInfo::elements, LockSemaphoreInfo(), _LinkedListInfo::semaphore, _LinkedListInfo::next, _LinkedListInfo::tail, _LinkedListInfo::head, _ElementInfo::value, RelinquishMagickMemory(), _ElementInfo::next, and UnlockSemaphoreInfo().
Referenced by ClearMagickException().
| MagickExport void ResetHashmapIterator | ( | HashmapInfo * | hashmap_info | ) |
Definition at line 1937 of file hashmap.c.
References _HashmapInfo::signature, MagickSignature, _HashmapInfo::debug, MagickFalse, LogMagickEvent(), TraceEvent, GetMagickModule, LockSemaphoreInfo(), _HashmapInfo::semaphore, _HashmapInfo::next, _HashmapInfo::head_of_list, and UnlockSemaphoreInfo().
| MagickExport void ResetLinkedListIterator | ( | LinkedListInfo * | list_info | ) |
Definition at line 1973 of file hashmap.c.
References _LinkedListInfo::signature, MagickSignature, _LinkedListInfo::debug, MagickFalse, LogMagickEvent(), TraceEvent, GetMagickModule, LockSemaphoreInfo(), _LinkedListInfo::semaphore, _LinkedListInfo::next, _LinkedListInfo::head, and UnlockSemaphoreInfo().
Referenced by GetColorCompliance(), GetColorInfoList(), GetColorList(), QueryColorname(), GetConfigureInfo(), GetConfigureInfoList(), GetConfigureList(), GetConfigureOptions(), GetDelegateInfo(), GetDelegateInfoList(), GetDelegateList(), CatchException(), InheritException(), GetLocaleOptions(), GetLogInfo(), GetLogInfoList(), GetLogList(), GetMagicInfo(), GetMagicInfoList(), GetMagicList(), GetMimeInfo(), GetMimeInfoList(), GetMimeList(), GetPolicyInfo(), GetPolicyInfoList(), GetPolicyList(), and IsRightsAuthorized().