MagickCore 7.1.0
Convert, Edit, Or Compose Bitmap Images
|
#include "MagickCore/studio.h"
#include "MagickCore/exception.h"
#include "MagickCore/exception-private.h"
#include "MagickCore/linked-list.h"
#include "MagickCore/locale_.h"
#include "MagickCore/memory_.h"
#include "MagickCore/memory-private.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 | _LinkedListInfo |
Typedefs | |
typedef struct _ElementInfo | ElementInfo |
typedef struct _ElementInfo ElementInfo |
MagickExport MagickBooleanType AppendValueToLinkedList | ( | LinkedListInfo * | list_info, |
const void * | value | ||
) |
Definition at line 111 of file linked-list.c.
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(), AcquirePolicyCache(), AddConfigureKey(), GetConfigureOptions(), GetConfigurePaths(), GetLocaleOptions(), LoadColorCache(), LoadConfigureCache(), LoadDelegateCache(), LoadLogCache(), LoadMimeCache(), LoadPolicyCache(), SetPolicyValue(), and ThrowException().
MagickExport void ClearLinkedList | ( | LinkedListInfo * | list_info, |
void *(*)(void *) | relinquish_value | ||
) |
Definition at line 165 of file linked-list.c.
References _LinkedListInfo::elements, _LinkedListInfo::head, LockSemaphoreInfo(), MagickCoreSignature, _ElementInfo::next, _LinkedListInfo::next, RelinquishMagickMemory(), _LinkedListInfo::semaphore, _LinkedListInfo::signature, _LinkedListInfo::tail, UnlockSemaphoreInfo(), and _ElementInfo::value.
Referenced by ClearMagickException(), and DestroyExceptionInfo().
MagickExport LinkedListInfo * DestroyLinkedList | ( | LinkedListInfo * | list_info, |
void *(*)(void *) | relinquish_value | ||
) |
Definition at line 219 of file linked-list.c.
References _LinkedListInfo::head, LockSemaphoreInfo(), MagickCoreSignature, _ElementInfo::next, RelinquishMagickMemory(), RelinquishSemaphoreInfo(), _LinkedListInfo::semaphore, _LinkedListInfo::signature, UnlockSemaphoreInfo(), and _ElementInfo::value.
Referenced by ColorComponentTerminus(), ConfigureComponentTerminus(), DelegateComponentTerminus(), DestroyConfigureOptions(), DestroyExceptionInfo(), DestroyLocaleOptions(), GetConfigureOptions(), GetLocaleOptions(), GetMagickHomeURL(), LogComponentTerminus(), MagicComponentTerminus(), MimeComponentTerminus(), and PolicyComponentTerminus().
MagickExport void * GetLastValueInLinkedList | ( | LinkedListInfo * | list_info | ) |
Definition at line 268 of file linked-list.c.
References _LinkedListInfo::elements, LockSemaphoreInfo(), MagickCoreSignature, _LinkedListInfo::semaphore, _LinkedListInfo::signature, _LinkedListInfo::tail, UnlockSemaphoreInfo(), and _ElementInfo::value.
Referenced by ThrowException().
MagickExport void * GetNextValueInLinkedList | ( | LinkedListInfo * | list_info | ) |
Definition at line 305 of file linked-list.c.
References LockSemaphoreInfo(), MagickCoreSignature, _ElementInfo::next, _LinkedListInfo::next, _LinkedListInfo::semaphore, _LinkedListInfo::signature, UnlockSemaphoreInfo(), and _ElementInfo::value.
Referenced by AcquireColorCache(), AcquireConfigureCache(), AcquireDelegateCache(), AcquireLocaleSplayTree(), AcquireMimeCache(), AcquirePolicyCache(), AcquireTypeCache(), CatchException(), CheckEventLogging(), GetColorCompliance(), GetColorInfoList(), GetColorList(), GetConfigureInfo(), GetConfigureInfoList(), GetConfigureList(), GetConfigureOptions(), GetDelegateInfo(), GetDelegateInfoList(), GetDelegateList(), GetLocaleOptions(), GetLogInfo(), GetLogInfoList(), GetLogList(), GetMagicInfo(), GetMagicInfoList(), GetMagickHomeURL(), GetMagicList(), GetMagicPatternExtent(), GetMimeInfo(), GetMimeInfoList(), GetMimeList(), GetPolicyInfo(), GetPolicyInfoList(), GetPolicyList(), GetThresholdMap(), InheritException(), IsRightsAuthorized(), ListThresholdMaps(), QueryColorname(), SetMagickSecurityPolicy(), and SetPolicyValue().
MagickExport size_t GetNumberOfElementsInLinkedList | ( | const LinkedListInfo * | list_info | ) |
Definition at line 348 of file linked-list.c.
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 void * GetValueFromLinkedList | ( | LinkedListInfo * | list_info, |
const size_t | index | ||
) |
Definition at line 382 of file linked-list.c.
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 MagickBooleanType InsertValueInLinkedList | ( | LinkedListInfo * | list_info, |
const size_t | index, | ||
const void * | value | ||
) |
Definition at line 447 of file linked-list.c.
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(), GetMimeInfo(), and GetPolicyInfo().
MagickExport MagickBooleanType InsertValueInSortedLinkedList | ( | LinkedListInfo * | list_info, |
int(*)(const void *, const void *) | compare, | ||
void ** | replace, | ||
const void * | value | ||
) |
Definition at line 548 of file linked-list.c.
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 AcquireMagicList(), and GetMagicInfo().
MagickExport MagickBooleanType IsLinkedListEmpty | ( | const LinkedListInfo * | list_info | ) |
Definition at line 633 of file linked-list.c.
References _LinkedListInfo::elements, MagickCoreSignature, MagickFalse, MagickTrue, and _LinkedListInfo::signature.
Referenced by AcquireDelegateCache(), and CheckEventLogging().
MagickExport MagickBooleanType LinkedListToArray | ( | LinkedListInfo * | list_info, |
void ** | array | ||
) |
Definition at line 666 of file linked-list.c.
References _LinkedListInfo::head, LockSemaphoreInfo(), MagickCoreSignature, MagickFalse, MagickTrue, _ElementInfo::next, _LinkedListInfo::semaphore, _LinkedListInfo::signature, UnlockSemaphoreInfo(), and _ElementInfo::value.
MagickExport LinkedListInfo * NewLinkedList | ( | const size_t | capacity | ) |
Definition at line 713 of file linked-list.c.
References AcquireCriticalMemory(), AcquireSemaphoreInfo(), _LinkedListInfo::capacity, _LinkedListInfo::elements, _LinkedListInfo::head, MagickCoreSignature, _LinkedListInfo::next, _LinkedListInfo::semaphore, _LinkedListInfo::signature, and _LinkedListInfo::tail.
Referenced by AcquireColorCache(), AcquireConfigureCache(), AcquireDelegateCache(), AcquireMagicList(), AcquireMimeCache(), AcquirePolicyCache(), GetConfigureOptions(), GetConfigurePaths(), GetLocaleOptions(), InitializeExceptionInfo(), and IsMagicCacheInstantiated().
MagickExport void * RemoveElementByValueFromLinkedList | ( | LinkedListInfo * | list_info, |
const void * | value | ||
) |
Definition at line 756 of file linked-list.c.
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(), GetMimeInfo(), and GetPolicyInfo().
MagickExport void * RemoveElementFromLinkedList | ( | LinkedListInfo * | list_info, |
const size_t | index | ||
) |
Definition at line 828 of file linked-list.c.
References _LinkedListInfo::elements, _LinkedListInfo::head, LockSemaphoreInfo(), MagickCoreSignature, _ElementInfo::next, _LinkedListInfo::next, RelinquishMagickMemory(), _LinkedListInfo::semaphore, _LinkedListInfo::signature, _LinkedListInfo::tail, UnlockSemaphoreInfo(), and _ElementInfo::value.
MagickExport void * RemoveLastElementFromLinkedList | ( | LinkedListInfo * | list_info | ) |
Definition at line 899 of file linked-list.c.
References _LinkedListInfo::elements, _LinkedListInfo::head, LockSemaphoreInfo(), MagickCoreSignature, _ElementInfo::next, _LinkedListInfo::next, RelinquishMagickMemory(), _LinkedListInfo::semaphore, _LinkedListInfo::signature, _LinkedListInfo::tail, UnlockSemaphoreInfo(), and _ElementInfo::value.
MagickExport void ResetLinkedListIterator | ( | LinkedListInfo * | list_info | ) |
Definition at line 959 of file linked-list.c.
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(), GetMagicPatternExtent(), GetMimeInfo(), GetMimeInfoList(), GetMimeList(), GetPolicyInfo(), GetPolicyInfoList(), GetPolicyList(), InheritException(), IsRightsAuthorized(), QueryColorname(), SetMagickSecurityPolicy(), and SetPolicyValue().