MagickCore 7.1.0
Convert, Edit, Or Compose Bitmap Images
|
#include "MagickCore/memory_.h"
#include "MagickCore/nt-base.h"
#include "MagickCore/nt-base-private.h"
Go to the source code of this file.
Functions | |
MagickPrivate char ** | GetPathComponents (const char *, size_t *) |
MagickPrivate char ** | ListFiles (const char *, const char *, size_t *) |
MagickPrivate MagickBooleanType | GetExecutionPath (char *, const size_t) |
MagickPrivate MagickBooleanType | ShredFile (const char *) |
MagickPrivate ssize_t | GetMagickPageSize (void) |
MagickPrivate void | ChopPathComponents (char *, const size_t) |
MagickPrivate void | ExpandFilename (char *) |
static int | MagickReadDirectory (DIR *directory, struct dirent *entry, struct dirent **result) |
static int | access_utf8 (const char *path, int mode) |
static FILE * | fopen_utf8 (const char *path, const char *mode) |
static void | getcwd_utf8 (char *path, size_t extent) |
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 | set_file_timestamp (const char *path, struct stat *attributes) |
static int | stat_utf8 (const char *path, struct stat *attributes) |
|
inlinestatic |
Definition at line 134 of file utility-private.h.
References RelinquishMagickMemory().
Referenced by InvokeDelegate(), IsPathAccessible(), and RelinquishUniqueFileResource().
MagickPrivate void ChopPathComponents | ( | char * | , |
const | size_t | ||
) |
Referenced by GetConfigurePaths().
MagickPrivate void ExpandFilename | ( | char * | path | ) |
Definition at line 619 of file utility.c.
References ConcatenateMagickString(), CopyMagickString(), DestroyString(), DirectorySeparator, GetEnvironmentValue(), and MagickPathExtent.
Referenced by ExpandFilenames().
|
inlinestatic |
Definition at line 154 of file utility-private.h.
References RelinquishMagickMemory().
Referenced by LogMagickEventList(), and OpenBlob().
|
inlinestatic |
Definition at line 182 of file utility-private.h.
References MagickPathExtent.
Referenced by ExpandFilenames().
MagickPrivate MagickBooleanType GetExecutionPath | ( | char * | , |
const | size_t | ||
) |
Referenced by MagickCoreGenesis().
MagickPrivate ssize_t GetMagickPageSize | ( | void | ) |
Definition at line 1136 of file utility.c.
Referenced by PersistPixelCache(), and ResourceComponentGenesis().
MagickPrivate char ** GetPathComponents | ( | const char * | , |
size_t * | |||
) |
Referenced by AddPathToXMLTree(), and GetXMLTreePath().
MagickPrivate char ** ListFiles | ( | const char * | directory, |
const char * | pattern, | ||
size_t * | number_entries | ||
) |
Definition at line 1614 of file utility.c.
References AcquireMagickMemory(), AcquireQuantumMemory(), AcquireString(), closedir(), dirent::d_name, FileCompare(), GetMagickModule, GlobExpression(), IsEventLogging(), IsPathDirectory(), LocaleCompare(), LogMagickEvent(), MagickFalse, MagickReadDirectory(), MagickTrue, opendir(), RelinquishMagickMemory(), ResizeQuantumMemory(), ResourceLimitFatalError, ThrowFatalException, and TraceEvent.
Referenced by ExpandFilenames().
|
inlinestatic |
Definition at line 204 of file utility-private.h.
References RelinquishMagickMemory().
Referenced by AcquireUniqueFileResource(), AcquireUniqueSymbolicLink(), BlobToFile(), ConfigureFileToStringInfo(), CopyDelegateFile(), FileToBlob(), FileToImage(), FileToXML(), GenerateEntropicChaos(), ImageToFile(), InjectImageBlob(), OpenPixelCacheOnDisk(), and ShredFile().
|
inlinestatic |
Definition at line 225 of file utility-private.h.
References AcquireQuantumMemory(), and RelinquishMagickMemory().
Referenced by ExternalDelegateCommand(), and OpenBlob().
|
inlinestatic |
Definition at line 258 of file utility-private.h.
References RelinquishMagickMemory().
Referenced by ShredFile().
|
inlinestatic |
Definition at line 278 of file utility-private.h.
References RelinquishMagickMemory().
|
inlinestatic |
Definition at line 306 of file utility-private.h.
References RelinquishMagickMemory().
MagickPrivate MagickBooleanType ShredFile | ( | const char * | path | ) |
Definition at line 1851 of file utility.c.
References AcquireRandomInfo(), DestroyRandomInfo(), DestroyString(), DestroyStringInfo(), ExceptionEvent, GetEnvironmentValue(), GetMagickModule, GetPolicyValue(), GetRandomKey(), GetStringInfoDatum(), LogMagickEvent(), MagickFalse, MagickMaxBufferExtent, MagickMin, MagickTrue, O_BINARY, open_utf8(), random_info, remove_utf8(), ResetStringInfo(), S_MODE, and StringToInteger().
Referenced by AsynchronousResourceComponentTerminus(), DestroyTemporaryResources(), and RelinquishUniqueFileResource().
|
inlinestatic |
Definition at line 374 of file utility-private.h.
References RelinquishMagickMemory().
Referenced by GetPathAttributes().