Back to index

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

Go to the source code of this file.

Defines

#define CHARSET_NAME   "GB18030//"
#define FROM_LOOP   from_gb18030
#define TO_LOOP   to_gb18030
#define DEFINE_INIT   1
#define DEFINE_FINI   1
#define MIN_NEEDED_FROM   1
#define MAX_NEEDED_FROM   4
#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 uint16_t __twobyte_to_ucs []
static const uint16_t __fourbyte_to_ucs [39419-11172-4295]
static const unsigned char __ucs_to_gb18030_tab1 [55168-11172][2]
static const unsigned char __ucs_to_gb18030_tab2 [8192][2]

Define Documentation

#define BODY

Definition at line 25788 of file gb18030.c.

#define BODY

Definition at line 25788 of file gb18030.c.

#define CHARSET_NAME   "GB18030//"

Definition at line 25649 of file gb18030.c.

#define DEFINE_FINI   1

Definition at line 25653 of file gb18030.c.

#define DEFINE_INIT   1

Definition at line 25652 of file gb18030.c.

#define FROM_LOOP   from_gb18030

Definition at line 25650 of file gb18030.c.

#define LOOP_NEED_FLAGS

Definition at line 25878 of file gb18030.c.

#define LOOP_NEED_FLAGS

Definition at line 25878 of file gb18030.c.

#define LOOPFCT   FROM_LOOP

Definition at line 25787 of file gb18030.c.

#define LOOPFCT   TO_LOOP

Definition at line 25787 of file gb18030.c.

#define MAX_NEEDED_FROM   4

Definition at line 25655 of file gb18030.c.

Definition at line 25661 of file gb18030.c.

Definition at line 25786 of file gb18030.c.

#define MIN_NEEDED_FROM   1

Definition at line 25654 of file gb18030.c.

Definition at line 25784 of file gb18030.c.

Definition at line 25784 of file gb18030.c.

Definition at line 25785 of file gb18030.c.

Definition at line 25785 of file gb18030.c.

#define MIN_NEEDED_TO   4

Definition at line 25656 of file gb18030.c.

#define ONEBYTE_BODY
Value:
{                                                                    \
    if (c < 0x80)                                                    \
      return c;                                                             \
    else                                                             \
      return WEOF;                                                   \
  }

Definition at line 25773 of file gb18030.c.

#define TO_LOOP   to_gb18030

Definition at line 25651 of file gb18030.c.


Variable Documentation

const uint16_t __fourbyte_to_ucs[39419-11172-4295] [static]

Definition at line 6112 of file gb18030.c.

Definition at line 80 of file gb18030.c.

const unsigned char __ucs_to_gb18030_tab1[55168-11172][2] [static]

Definition at line 10461 of file gb18030.c.

const unsigned char __ucs_to_gb18030_tab2[8192][2] [static]

Definition at line 23024 of file gb18030.c.