Back to index

glibc  2.9
Defines
iso8859-1.c File Reference
#include <dlfcn.h>
#include <stdint.h>
#include <iconv/loop.c>
#include <iconv/skeleton.c>

Go to the source code of this file.

Defines

#define CHARSET_NAME   "ISO-8859-1//"
#define FROM_LOOP   from_iso8859_1
#define TO_LOOP   to_iso8859_1
#define DEFINE_INIT   1
#define DEFINE_FINI   1
#define MIN_NEEDED_FROM   1
#define MIN_NEEDED_TO   4
#define MIN_NEEDED_INPUT   MIN_NEEDED_FROM
#define MIN_NEEDED_OUTPUT   MIN_NEEDED_TO
#define LOOPFCT   FROM_LOOP
#define BODY
#define ONEBYTE_BODY
#define MIN_NEEDED_INPUT   MIN_NEEDED_TO
#define MIN_NEEDED_OUTPUT   MIN_NEEDED_FROM
#define LOOPFCT   TO_LOOP
#define BODY
#define LOOP_NEED_FLAGS

Define Documentation

#define BODY
Value:
*((uint32_t *) outptr) = *inptr++;                                   \
  outptr += sizeof (uint32_t);

Definition at line 51 of file iso8859-1.c.

#define BODY
Value:
{                                                                    \
    uint32_t ch = *((const uint32_t *) inptr);                              \
    if (__builtin_expect (ch > 0xff, 0))                             \
      {                                                                     \
       UNICODE_TAG_HANDLER (ch, 4);                                         \
                                                                     \
       /* We have an illegal character.  */                                 \
       STANDARD_TO_LOOP_ERR_HANDLER (4);                             \
      }                                                                     \
    else                                                             \
      *outptr++ = (unsigned char) ch;                                       \
    inptr += 4;                                                             \
  }

Definition at line 51 of file iso8859-1.c.

#define CHARSET_NAME   "ISO-8859-1//"

Definition at line 25 of file iso8859-1.c.

#define DEFINE_FINI   1

Definition at line 29 of file iso8859-1.c.

#define DEFINE_INIT   1

Definition at line 28 of file iso8859-1.c.

#define FROM_LOOP   from_iso8859_1

Definition at line 26 of file iso8859-1.c.

#define LOOP_NEED_FLAGS

Definition at line 65 of file iso8859-1.c.

#define LOOPFCT   FROM_LOOP

Definition at line 50 of file iso8859-1.c.

#define LOOPFCT   TO_LOOP

Definition at line 50 of file iso8859-1.c.

#define MIN_NEEDED_FROM   1

Definition at line 30 of file iso8859-1.c.

Definition at line 48 of file iso8859-1.c.

Definition at line 48 of file iso8859-1.c.

Definition at line 49 of file iso8859-1.c.

Definition at line 49 of file iso8859-1.c.

#define MIN_NEEDED_TO   4

Definition at line 31 of file iso8859-1.c.

#define ONEBYTE_BODY
Value:
{                                                                    \
    return c;                                                        \
  }

Definition at line 40 of file iso8859-1.c.

#define TO_LOOP   to_iso8859_1

Definition at line 27 of file iso8859-1.c.