Back to index

glibc  2.9
Defines | Typedefs | Functions | Variables
C-ctype.c File Reference
#include "localeinfo.h"
#include <endian.h>
#include "C-translit.h"

Go to the source code of this file.

Defines

#define STRUCT_CTYPE_CLASS(p, q)
#define NR_FIXED   71
#define NR_CLASSES   12
#define NR_MAPS   2

Typedefs

typedef int assertion1 [1-2 *(NR_FIXED!=_NL_ITEM_INDEX(_NL_CTYPE_EXTRA_MAP_1))]

Functions

const STRUCT_CTYPE_CLASS (1, 1)
const STRUCT_CTYPE_CLASS (1, 0)
const STRUCT_CTYPE_CLASS (2, 0)

Variables

const char
_nl_C_LC_CTYPE_class[768] 
attribute_hidden = "\000\000"

Define Documentation

#define NR_CLASSES   12

Definition at line 533 of file C-ctype.c.

#define NR_FIXED   71

Definition at line 531 of file C-ctype.c.

#define NR_MAPS   2

Definition at line 535 of file C-ctype.c.

#define STRUCT_CTYPE_CLASS (   p,
 
)
Value:
struct                                                                      \
    {                                                                         \
      uint32_t isctype_data[8];                                               \
      uint32_t header[5];                                                     \
      uint32_t level1[1];                                                     \
      uint32_t level2[1 << q];                                                \
      uint32_t level3[1 << p];                                                \
    }

Definition at line 290 of file C-ctype.c.


Typedef Documentation

typedef int assertion1[1-2 *(NR_FIXED!=_NL_ITEM_INDEX(_NL_CTYPE_EXTRA_MAP_1))]

Definition at line 539 of file C-ctype.c.


Function Documentation

const STRUCT_CTYPE_CLASS ( ,
 
)

Definition at line 300 of file C-ctype.c.

{
  { 0x00000000, 0x00000000, 0x07fffffe, 0x00000000,
    0x00000000, 0x00000000, 0x00000000, 0x00000000
  },
  { 7, 1, 6, 1, 1 },
  /* 1st-level table */
  { 6 * sizeof (uint32_t) },
  /* 2nd-level table */
  { 0, 8 * sizeof (uint32_t) },
  /* 3rd-level table */
  { 0x07fffffe, 0x00000000 }
};
const STRUCT_CTYPE_CLASS ( ,
 
)

Definition at line 339 of file C-ctype.c.

{
  { 0x00000000, 0x03ff0000, 0x00000000, 0x00000000,
    0x00000000, 0x00000000, 0x00000000, 0x00000000
  },
  { 6, 1, 6, 0, 1 },
  /* 1st-level table */
  { 6 * sizeof (uint32_t) },
  /* 2nd-level table */
  { 7 * sizeof (uint32_t) },
  /* 3rd-level table */
  { 0x00000000, 0x03ff0000 }
};
const STRUCT_CTYPE_CLASS ( ,
 
)

Definition at line 352 of file C-ctype.c.

{
  { 0x00000000, 0x03ff0000, 0x0000007e, 0x0000007e,
    0x00000000, 0x00000000, 0x00000000, 0x00000000
  },
  { 7, 1, 7, 0, 3 },
  /* 1st-level table */
  { 6 * sizeof (uint32_t) },
  /* 2nd-level table */
  { 7 * sizeof (uint32_t) },
  /* 3rd-level table */
  { 0x00000000, 0x03ff0000, 0x0000007e, 0x0000007e }
};

Variable Documentation

struct { ... } attribute_hidden

Definition at line 33 of file C-ctype.c.