|
MagickCore 7.0.10
|
#include "wizard/memory_.h"Go to the source code of this file.
Macros | |
| #define | WizardMax(x, y) (((x) > (y)) ? (x) : (y)) |
| #define | WizardMin(x, y) (((x) < (y)) ? (x) : (y)) |
Functions | |
| WizardExport char ** | GetPathComponents (const char *, size_t *) |
| WizardExport WizardBooleanType | GetExecutionPath (char *, const size_t) |
| WizardPrivate ssize_t | GetWizardPageSize (void) |
| WizardExport void | ChopPathComponents (char *, const size_t) |
| WizardExport void | WizardDelay (const WizardSizeType) |
| static int | access_utf8 (const char *path, int mode) |
| static FILE * | fopen_utf8 (const char *path, const char *mode) |
| static int | open_utf8 (const char *path, int flags, mode_t mode) |
| static FILE * | popen_utf8 (const char *command, const char *type) |
| static int | remove_utf8 (const char *path) |
| static int | rename_utf8 (const char *source, const char *destination) |
| static int | stat_utf8 (const char *path, struct stat *attributes) |
| #define WizardMax | ( | x, | |
| y | |||
| ) | (((x) > (y)) ? (x) : (y)) |
Definition at line 26 of file utility-private.h.
| #define WizardMin | ( | x, | |
| y | |||
| ) | (((x) < (y)) ? (x) : (y)) |
Definition at line 27 of file utility-private.h.
|
inlinestatic |
Definition at line 50 of file utility-private.h.
References AcquireQuantumMemory(), and RelinquishWizardMemory().
| WizardExport void ChopPathComponents | ( | char * | , |
| const size_t | |||
| ) |
Referenced by GetConfigurePaths().
|
inlinestatic |
Definition at line 74 of file utility-private.h.
References AcquireQuantumMemory(), and RelinquishWizardMemory().
Referenced by LogWizardEventList(), and OpenBlob().
| WizardExport WizardBooleanType GetExecutionPath | ( | char * | path, |
| const size_t | extent | ||
| ) |
Definition at line 643 of file utility.c.
References AcquireQuantumMemory(), ConcatenateWizardString(), CopyWizardString(), DirectorySeparator, FormatLocaleString(), IsPathAcessible(), PATH_MAX, RelinquishWizardMemory(), and WizardPathExtent.
Referenced by WizardsToolkitGenesis().
| WizardExport char ** GetPathComponents | ( | const char * | path, |
| size_t * | number_components | ||
| ) |
Definition at line 576 of file utility.c.
References AcquireQuantumMemory(), CopyWizardString(), IsBasenameSeparator, ResourceFatalError, ThrowFatalException, and WizardPathExtent.
Referenced by AddPathToXMLTree(), and GetXMLTreePath().
| WizardPrivate ssize_t GetWizardPageSize | ( | void | ) |
Definition at line 817 of file utility.c.
Referenced by AcquireAlignedMemory().
|
inlinestatic |
Definition at line 115 of file utility-private.h.
References AcquireQuantumMemory(), and RelinquishWizardMemory().
Referenced by AcquireFileInfo(), AcquireFileLock(), AcquireUniqueFileResource(), ConfigureFileToStringInfo(), FileToBlob(), FileToXML(), GenerateEntropicChaos(), and GetPhrase().
|
inlinestatic |
Definition at line 139 of file utility-private.h.
References AcquireQuantumMemory(), and RelinquishWizardMemory().
Referenced by OpenBlob().
|
inlinestatic |
Definition at line 175 of file utility-private.h.
References AcquireQuantumMemory(), and RelinquishWizardMemory().
Referenced by AcquireFileLock(), AcquireUniqueFileResource(), AsynchronousResourceComponentTerminus(), DestroyFile(), DestroyTemporaryResources(), RelinquishFileLock(), and RelinquishUniqueFileResource().
|
inlinestatic |
Definition at line 199 of file utility-private.h.
References AcquireQuantumMemory(), and RelinquishWizardMemory().
|
inlinestatic |
Definition at line 234 of file utility-private.h.
References AcquireQuantumMemory(), and RelinquishWizardMemory().
Referenced by GetPathAttributes(), GetPathTemplate(), IsDirectory(), IsPathAcessible(), and OpenBlob().
| WizardExport void WizardDelay | ( | const WizardSizeType | milliseconds | ) |
Definition at line 1042 of file utility.c.
Referenced by AcquireFileLock().