Back to index

glibc  2.9
Defines | Variables
ansi_x3.110.c File Reference
#include <dlfcn.h>
#include <gconv.h>
#include <stdint.h>
#include <string.h>
#include <iconv/loop.c>
#include <iconv/skeleton.c>

Go to the source code of this file.

Defines

#define CHARSET_NAME   "ANSI_X3.110//"
#define FROM_LOOP   from_ansi_x3_110
#define TO_LOOP   to_ansi_x3_110
#define DEFINE_INIT   1
#define DEFINE_FINI   1
#define MIN_NEEDED_FROM   1
#define MAX_NEEDED_FROM   2
#define MIN_NEEDED_TO   4
#define MIN_NEEDED_INPUT   MIN_NEEDED_FROM
#define MAX_NEEDED_INPUT   MAX_NEEDED_FROM
#define MIN_NEEDED_OUTPUT   MIN_NEEDED_TO
#define LOOPFCT   FROM_LOOP
#define BODY
#define LOOP_NEED_FLAGS
#define ONEBYTE_BODY
#define MIN_NEEDED_INPUT   MIN_NEEDED_TO
#define MIN_NEEDED_OUTPUT   MIN_NEEDED_FROM
#define MAX_NEEDED_OUTPUT   MAX_NEEDED_FROM
#define LOOPFCT   TO_LOOP
#define BODY
#define LOOP_NEED_FLAGS

Variables

static const uint32_t to_ucs4 [256]
static const uint32_t to_ucs4_comb [15][96]
static const char from_ucs4 [][2]

Define Documentation

#define BODY

Definition at line 468 of file ansi_x3.110.c.

#define BODY

Definition at line 468 of file ansi_x3.110.c.

#define CHARSET_NAME   "ANSI_X3.110//"

Definition at line 386 of file ansi_x3.110.c.

#define DEFINE_FINI   1

Definition at line 390 of file ansi_x3.110.c.

#define DEFINE_INIT   1

Definition at line 389 of file ansi_x3.110.c.

#define FROM_LOOP   from_ansi_x3_110

Definition at line 387 of file ansi_x3.110.c.

#define LOOP_NEED_FLAGS

Definition at line 583 of file ansi_x3.110.c.

#define LOOP_NEED_FLAGS

Definition at line 583 of file ansi_x3.110.c.

#define LOOPFCT   FROM_LOOP

Definition at line 467 of file ansi_x3.110.c.

#define LOOPFCT   TO_LOOP

Definition at line 467 of file ansi_x3.110.c.

#define MAX_NEEDED_FROM   2

Definition at line 392 of file ansi_x3.110.c.

Definition at line 397 of file ansi_x3.110.c.

Definition at line 466 of file ansi_x3.110.c.

#define MIN_NEEDED_FROM   1

Definition at line 391 of file ansi_x3.110.c.

Definition at line 464 of file ansi_x3.110.c.

Definition at line 464 of file ansi_x3.110.c.

Definition at line 465 of file ansi_x3.110.c.

Definition at line 465 of file ansi_x3.110.c.

#define MIN_NEEDED_TO   4

Definition at line 393 of file ansi_x3.110.c.

#define ONEBYTE_BODY
Value:
{                                                                    \
    uint32_t ch = to_ucs4[c];                                               \
                                                                     \
    if (__builtin_expect (ch == 0, 0) && c != '\0')                         \
      return WEOF;                                                   \
    else                                                             \
      return ch;                                                     \
  }

Definition at line 451 of file ansi_x3.110.c.

#define TO_LOOP   to_ansi_x3_110

Definition at line 388 of file ansi_x3.110.c.


Variable Documentation

const char from_ucs4[][2] [static]

Definition at line 273 of file ansi_x3.110.c.

const uint32_t to_ucs4[256] [static]

Definition at line 27 of file ansi_x3.110.c.

const uint32_t to_ucs4_comb[15][96] [static]

Definition at line 65 of file ansi_x3.110.c.