Back to index

python3.2  3.2.2
Classes | Defines | Functions | Variables
unicodedata_db.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  reindex

Defines

#define UNIDATA_VERSION   "6.0.0"
#define TOTAL_FIRST   370
#define TOTAL_LAST   55
#define SHIFT   7
#define DECOMP_SHIFT   8
#define COMP_SHIFT   2

Functions

static const change_recordget_change_3_2_0 (Py_UCS4 n)
static Py_UCS4 normalization_3_2_0 (Py_UCS4 n)

Variables

const _PyUnicode_DatabaseRecord _PyUnicode_Database_Records []
static struct reindex []
const char * _PyUnicode_CategoryNames []
const char * _PyUnicode_BidirectionalNames []
const char * _PyUnicode_EastAsianWidthNames []
static const char * decomp_prefix []
static unsigned char index1 []
static unsigned short index2 []
static unsigned int decomp_data []
static unsigned char decomp_index1 []
static unsigned short decomp_index2 []
static unsigned short comp_index []
static unsigned int comp_data []
static const change_record change_records_3_2_0 []
static unsigned char changes_3_2_0_index []
static unsigned char changes_3_2_0_data []

Class Documentation

struct reindex

Definition at line 333 of file unicodedata_db.h.

Class Members
short count
short index
int start

Define Documentation

#define COMP_SHIFT   2

Definition at line 4648 of file unicodedata_db.h.

#define DECOMP_SHIFT   8

Definition at line 3633 of file unicodedata_db.h.

#define SHIFT   7

Definition at line 668 of file unicodedata_db.h.

#define TOTAL_FIRST   370

Definition at line 331 of file unicodedata_db.h.

#define TOTAL_LAST   55

Definition at line 332 of file unicodedata_db.h.

#define UNIDATA_VERSION   "6.0.0"

Definition at line 3 of file unicodedata_db.h.


Function Documentation

static const change_record* get_change_3_2_0 ( Py_UCS4  n) [static]

Definition at line 6369 of file unicodedata_db.h.

{
       int index;
       if (n >= 0x110000) index = 0;
       else {
              index = changes_3_2_0_index[n>>7];
              index = changes_3_2_0_data[(index<<7)+(n & 127)];
       }
       return change_records_3_2_0+index;
}

Here is the caller graph for this function:

static Py_UCS4 normalization_3_2_0 ( Py_UCS4  n) [static]

Definition at line 6380 of file unicodedata_db.h.

{
       switch(n) {
       case 0x2f868: return 0x2136A;
       case 0x2f874: return 0x5F33;
       case 0x2f91f: return 0x43AB;
       case 0x2f95f: return 0x7AAE;
       case 0x2f9bf: return 0x4D57;
       default: return 0;
       }
}

Here is the caller graph for this function:


Variable Documentation

Initial value:
 {
    "",
    "L",
    "LRE",
    "LRO",
    "R",
    "AL",
    "RLE",
    "RLO",
    "PDF",
    "EN",
    "ES",
    "ET",
    "AN",
    "CS",
    "NSM",
    "BN",
    "B",
    "S",
    "WS",
    "ON",
    NULL
}

Definition at line 615 of file unicodedata_db.h.

Definition at line 581 of file unicodedata_db.h.

Definition at line 5 of file unicodedata_db.h.

Initial value:
 {
    "F",
    "H",
    "W",
    "Na",
    "A",
    "N",
    NULL
}

Definition at line 638 of file unicodedata_db.h.

Definition at line 5030 of file unicodedata_db.h.

unsigned char changes_3_2_0_data[] [static]

Definition at line 5456 of file unicodedata_db.h.

unsigned char changes_3_2_0_index[] [static]

Definition at line 5086 of file unicodedata_db.h.

unsigned int comp_data[] [static]

Definition at line 4879 of file unicodedata_db.h.

unsigned short comp_index[] [static]

Definition at line 4649 of file unicodedata_db.h.

unsigned int decomp_data[] [static]

Definition at line 2592 of file unicodedata_db.h.

unsigned char decomp_index1[] [static]

Definition at line 3634 of file unicodedata_db.h.

unsigned short decomp_index2[] [static]

Definition at line 3819 of file unicodedata_db.h.

const char* decomp_prefix[] [static]
Initial value:
 {
    "",
    "<noBreak>",
    "<compat>",
    "<super>",
    "<fraction>",
    "<sub>",
    "<font>",
    "<circle>",
    "<wide>",
    "<vertical>",
    "<square>",
    "<isolated>",
    "<final>",
    "<initial>",
    "<medial>",
    "<small>",
    "<narrow>",
    NULL
}

Definition at line 647 of file unicodedata_db.h.

unsigned char index1[] [static]

Definition at line 669 of file unicodedata_db.h.

unsigned short index2[] [static]

Definition at line 1185 of file unicodedata_db.h.

static struct reindex [static]

Definition at line 334 of file unicodedata_db.h.