Back to index

glibc  2.9
Defines | Variables
iso_6937-2.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_6937-2//"
#define FROM_LOOP   from_iso6937_2
#define TO_LOOP   to_iso6937_2
#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 457 of file iso_6937-2.c.

#define BODY

Definition at line 457 of file iso_6937-2.c.

#define CHARSET_NAME   "ISO_6937-2//"

Definition at line 376 of file iso_6937-2.c.

#define DEFINE_FINI   1

Definition at line 380 of file iso_6937-2.c.

#define DEFINE_INIT   1

Definition at line 379 of file iso_6937-2.c.

#define FROM_LOOP   from_iso6937_2

Definition at line 377 of file iso_6937-2.c.

#define LOOP_NEED_FLAGS

Definition at line 550 of file iso_6937-2.c.

#define LOOP_NEED_FLAGS

Definition at line 550 of file iso_6937-2.c.

#define LOOPFCT   FROM_LOOP

Definition at line 456 of file iso_6937-2.c.

#define LOOPFCT   TO_LOOP

Definition at line 456 of file iso_6937-2.c.

#define MAX_NEEDED_FROM   2

Definition at line 382 of file iso_6937-2.c.

Definition at line 388 of file iso_6937-2.c.

Definition at line 455 of file iso_6937-2.c.

#define MIN_NEEDED_FROM   1

Definition at line 381 of file iso_6937-2.c.

Definition at line 453 of file iso_6937-2.c.

Definition at line 453 of file iso_6937-2.c.

Definition at line 454 of file iso_6937-2.c.

Definition at line 454 of file iso_6937-2.c.

#define MIN_NEEDED_TO   4

Definition at line 383 of file iso_6937-2.c.

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

Definition at line 442 of file iso_6937-2.c.

#define TO_LOOP   to_iso6937_2

Definition at line 378 of file iso_6937-2.c.


Variable Documentation

const char from_ucs4[][2] [static]

Definition at line 271 of file iso_6937-2.c.

const uint32_t to_ucs4[256] [static]

Definition at line 25 of file iso_6937-2.c.

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

Definition at line 63 of file iso_6937-2.c.