#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 | stat_utf8 (const char *path, struct stat *attributes) |
static int access_utf8 | ( | const char * | path, | |
int | mode | |||
) | [inline, static] |
References RelinquishMagickMemory().
Referenced by InvokeDelegate(), IsPathAccessible(), and RelinquishUniqueFileResource().
MagickPrivate void ChopPathComponents | ( | char * | , | |
const | size_t | |||
) |
Referenced by GetConfigurePaths(), and XFileBrowserWidget().
MagickPrivate void ExpandFilename | ( | char * | ) |
References ConcatenateMagickString(), CopyMagickString(), DestroyString(), DirectorySeparator, GetEnvironmentValue(), and MagickPathExtent.
Referenced by ExpandFilenames(), XFileBrowserWidget(), XGetResourceDatabase(), and XUserPreferences().
static FILE* fopen_utf8 | ( | const char * | path, | |
const char * | mode | |||
) | [inline, static] |
References RelinquishMagickMemory().
Referenced by LogMagickEventList(), and OpenBlob().
static void getcwd_utf8 | ( | char * | path, | |
size_t | extent | |||
) | [inline, static] |
References MagickPathExtent.
Referenced by ExpandFilenames().
MagickPrivate MagickBooleanType GetExecutionPath | ( | char * | , | |
const | size_t | |||
) |
Referenced by MagickCoreGenesis().
MagickPrivate ssize_t GetMagickPageSize | ( | void | ) |
Referenced by PersistPixelCache(), and ResourceComponentGenesis().
MagickPrivate char** GetPathComponents | ( | const char * | , | |
size_t * | ||||
) |
Referenced by AddPathToXMLTree(), and GetXMLTreePath().
MagickPrivate char** ** ListFiles | ( | const char * | , | |
const char * | , | |||
size_t * | ||||
) |
References AcquireMagickMemory(), AcquireQuantumMemory(), AcquireString(), FileCompare(), GetMagickModule, GlobExpression(), IsPathDirectory(), LocaleCompare(), LogMagickEvent(), MagickFalse, MagickReadDirectory(), MagickTrue, RelinquishMagickMemory(), ResizeQuantumMemory(), ResourceLimitFatalError, ThrowFatalException, and TraceEvent.
Referenced by ExpandFilenames(), and XFileBrowserWidget().
static int MagickReadDirectory | ( | DIR * | directory, | |
struct dirent * | entry, | |||
struct dirent ** | result | |||
) | [inline, static] |
Referenced by ListFiles().
static int open_utf8 | ( | const char * | path, | |
int | flags, | |||
mode_t | mode | |||
) | [inline, static] |
References RelinquishMagickMemory().
Referenced by AcquireUniqueFileResource(), AcquireUniqueSymbolicLink(), BlobToFile(), ConfigureFileToStringInfo(), CopyDelegateFile(), FileToBlob(), FileToImage(), FileToXML(), GenerateEntropicChaos(), ImageToFile(), InjectImageBlob(), OpenPixelCacheOnDisk(), and ShredFile().
static FILE* popen_utf8 | ( | const char * | command, | |
const char * | type | |||
) | [inline, static] |
References RelinquishMagickMemory().
Referenced by OpenBlob().
static int remove_utf8 | ( | const char * | path | ) | [inline, static] |
References RelinquishMagickMemory().
Referenced by GenerateEntropicChaos(), and ShredFile().
static int rename_utf8 | ( | const char * | source, | |
const char * | destination | |||
) | [inline, static] |
References RelinquishMagickMemory().
MagickPrivate MagickBooleanType ShredFile | ( | const char * | ) |
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().
static int stat_utf8 | ( | const char * | path, | |
struct stat * | attributes | |||
) | [inline, static] |
References RelinquishMagickMemory().
Referenced by GetPathAttributes().