MagickCore  7.0.7
Convert, Edit, Or Compose Bitmap Images
utility-private.h File Reference
Include dependency graph for utility-private.h:
This graph shows which files directly or indirectly include this file:

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)
 

Function Documentation

◆ access_utf8()

static int access_utf8 ( const char *  path,
int  mode 
)
inlinestatic

Definition at line 108 of file utility-private.h.

References RelinquishMagickMemory().

Referenced by InvokeDelegate(), and IsPathAccessible().

◆ ChopPathComponents()

MagickPrivate void ChopPathComponents ( char *  ,
const size_t   
)

Referenced by GetConfigurePaths().

◆ ExpandFilename()

MagickPrivate void ExpandFilename ( char *  )

◆ fopen_utf8()

static FILE* fopen_utf8 ( const char *  path,
const char *  mode 
)
inlinestatic

Definition at line 128 of file utility-private.h.

References RelinquishMagickMemory().

Referenced by LogMagickEventList(), and OpenBlob().

◆ getcwd_utf8()

static void getcwd_utf8 ( char *  path,
size_t  extent 
)
inlinestatic

Definition at line 156 of file utility-private.h.

References MagickPathExtent.

Referenced by ExpandFilenames().

◆ GetExecutionPath()

MagickPrivate MagickBooleanType GetExecutionPath ( char *  ,
const size_t   
)

Referenced by MagickCoreGenesis().

◆ GetMagickPageSize()

MagickPrivate ssize_t GetMagickPageSize ( void  )

Definition at line 1122 of file utility.c.

Referenced by AcquireAlignedMemory(), PersistPixelCache(), and ResourceComponentGenesis().

◆ GetPathComponents()

MagickPrivate char** GetPathComponents ( const char *  ,
size_t *   
)

Referenced by AddPathToXMLTree(), and GetXMLTreePath().

◆ ListFiles()

◆ MagickReadDirectory()

static int MagickReadDirectory ( DIR directory,
struct dirent entry,
struct dirent **  result 
)
inlinestatic

◆ open_utf8()

◆ popen_utf8()

static FILE* popen_utf8 ( const char *  command,
const char *  type 
)
inlinestatic

Definition at line 198 of file utility-private.h.

References RelinquishMagickMemory().

Referenced by OpenBlob().

◆ remove_utf8()

static int remove_utf8 ( const char *  path)
inlinestatic

Definition at line 226 of file utility-private.h.

References RelinquishMagickMemory().

Referenced by GenerateEntropicChaos(), and ShredFile().

◆ rename_utf8()

static int rename_utf8 ( const char *  source,
const char *  destination 
)
inlinestatic

Definition at line 246 of file utility-private.h.

References RelinquishMagickMemory().

◆ ShredFile()

◆ stat_utf8()

static int stat_utf8 ( const char *  path,
struct stat *  attributes 
)
inlinestatic

Definition at line 274 of file utility-private.h.

References RelinquishMagickMemory().

Referenced by GetPathAttributes().