Back to index

glibc  2.9
Defines
iso_11548-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_11548-1//"
#define FROM_LOOP   from_iso11548_1
#define TO_LOOP   to_iso11548_1
#define DEFINE_INIT   1
#define DEFINE_FINI   1
#define MIN_NEEDED_FROM   1
#define MIN_NEEDED_TO   4
#define BRAILLE_UCS_BASE   0x2800
#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) = BRAILLE_UCS_BASE | (*inptr++);              \
  outptr += sizeof (uint32_t);

Definition at line 54 of file iso_11548-1.c.

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

Definition at line 54 of file iso_11548-1.c.

#define BRAILLE_UCS_BASE   0x2800

Definition at line 34 of file iso_11548-1.c.

#define CHARSET_NAME   "ISO_11548-1//"

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

#define DEFINE_FINI   1

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

#define DEFINE_INIT   1

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

#define FROM_LOOP   from_iso11548_1

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

#define LOOP_NEED_FLAGS

Definition at line 68 of file iso_11548-1.c.

#define LOOPFCT   FROM_LOOP

Definition at line 53 of file iso_11548-1.c.

#define LOOPFCT   TO_LOOP

Definition at line 53 of file iso_11548-1.c.

#define MIN_NEEDED_FROM   1

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

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

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

Definition at line 52 of file iso_11548-1.c.

Definition at line 52 of file iso_11548-1.c.

#define MIN_NEEDED_TO   4

Definition at line 32 of file iso_11548-1.c.

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

Definition at line 43 of file iso_11548-1.c.

#define TO_LOOP   to_iso11548_1

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