token-private.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  UTFInfo

Defines

#define EILSEQ   ENOENT
#define MaxMultibyteCodes   6

Functions

static unsigned long GetNextUTFCode (const char *text, size_t *octets)
static unsigned long GetUTFCode (const char *text)
static size_t GetUTFOctets (const char *text)
static MagickBooleanType IsUTFSpace (unsigned long code)
static MagickBooleanType IsUTFValid (unsigned long code)
static MagickBooleanType IsUTFAscii (unsigned long code)

Variables

static UTFInfo utf_info [MaxMultibyteCodes]

Define Documentation

#define EILSEQ   ENOENT

Definition at line 26 of file token-private.h.

Referenced by GetNextUTFCode().

#define MaxMultibyteCodes   6

Definition at line 29 of file token-private.h.

Referenced by GetNextUTFCode().


Function Documentation

static unsigned long GetNextUTFCode ( const char *  text,
size_t *  octets 
) [inline, static]

Definition at line 51 of file token-private.h.

References UTFInfo::code_value, EILSEQ, MaxMultibyteCodes, utf_info, and UTFInfo::utf_mask.

Referenced by GetUTFCode(), and GetUTFOctets().

static unsigned long GetUTFCode ( const char *  text  )  [static]

Definition at line 96 of file token-private.h.

References GetNextUTFCode().

Referenced by FormatMagickCaption(), and GlobExpression().

static size_t GetUTFOctets ( const char *  text  )  [static]

Definition at line 104 of file token-private.h.

References GetNextUTFCode().

Referenced by FormatMagickCaption(), and GlobExpression().

static MagickBooleanType IsUTFAscii ( unsigned long  code  )  [inline, static]

Definition at line 136 of file token-private.h.

References MagickFalse, and MagickTrue.

static MagickBooleanType IsUTFSpace ( unsigned long  code  )  [inline, static]

Definition at line 113 of file token-private.h.

References MagickFalse, and MagickTrue.

Referenced by FormatMagickCaption().

static MagickBooleanType IsUTFValid ( unsigned long  code  )  [inline, static]

Definition at line 124 of file token-private.h.

References MagickFalse, and MagickTrue.


Variable Documentation

UTFInfo utf_info[MaxMultibyteCodes] [static]
Initial value:
  {
    { 0x80, 0x00, 0x000007f, 0x0000000 },  
    { 0xE0, 0xC0, 0x00007ff, 0x0000080 },  
    { 0xF0, 0xE0, 0x000ffff, 0x0000800 },  
    { 0xF8, 0xF0, 0x01fffff, 0x0010000 },  
    { 0xFC, 0xF8, 0x03fffff, 0x0200000 },  
    { 0xFE, 0xFC, 0x7ffffff, 0x4000000 },  
  }

Definition at line 41 of file token-private.h.

Referenced by GetNextUTFCode().


Generated on 19 Nov 2009 for MagickCore by  doxygen 1.6.1