ReactOS 0.4.16-dev-306-g647d351
|
#include <windows.h>
#include <stdio.h>
#include <stdlib.h>
#include <malloc.h>
#include <string.h>
#include <ctype.h>
Go to the source code of this file.
Classes | |
struct | __attribute__ |
Macros | |
#define | NLSDIR "../../media/nls" |
#define | LIBDIR "unicode.org/" |
Functions | |
static void | patch_aliases (void *u2cp, CPINFOEXA *cpi) |
static BOOL | write_unicode2cp_table (FILE *out, CPINFOEXA *cpi, WCHAR *table) |
static BOOL | write_lb_ranges (FILE *out, CPINFOEXA *cpi, WCHAR *table) |
static BOOL | create_nls_file (char *name, CPINFOEXA *cpi, WCHAR *table, WCHAR *oemtable) |
static void | patch_codepage_info (CPINFOEXA *cpi) |
static WCHAR * | Load_CP2Unicode_Table (char *table_name, UINT cp, CPINFOEXA *cpi) |
static WCHAR * | Load_OEM2Unicode_Table (char *table_name, WCHAR *def_table, UINT cp, CPINFOEXA *cpi) |
int | write_nls_files () |
static void | test_packed_table (WCHAR *table) |
static BOOL | CreateCaseDiff (char *table_name) |
static WORD | find_subtable_with_diffs (WORD *table, WORD *subtable) |
static WORD | find_subtable_with_offsets (WORD *subtable) |
static WORD * | pack_table (WORD *table, WORD *packed_size_in_words) |
int | write_casemap_file (void) |
int | main () |
Variables | |
static const WCHAR *const | uprtable [256] |
static const WCHAR *const | lwrtable [256] |
static WCHAR | hyphen_aliases [] = {0x00AD,0x2010,0x2011,0x2013,0x2014,0x2015,0} |
struct { | |
WCHAR cp_char | |
WCHAR * alias | |
} | u2cp_alias [] |
static WORD * | to_upper_org = NULL |
static WORD * | to_lower_org = NULL |
static WORD | number_of_subtables_with_diffs |
static WORD * | subtables_with_diffs [4096] |
static WORD | number_of_subtables_with_offsets |
static WORD | subtables_with_offsets [4096 *16] |
#define LIBDIR "unicode.org/" |
Definition at line 23 of file create_nls.c.
#define NLSDIR "../../media/nls" |
Definition at line 22 of file create_nls.c.
|
static |
Definition at line 174 of file create_nls.c.
Referenced by write_nls_files().
Definition at line 665 of file create_nls.c.
Referenced by write_casemap_file().
Definition at line 826 of file create_nls.c.
Referenced by pack_table().
Definition at line 847 of file create_nls.c.
Referenced by pack_table().
Definition at line 291 of file create_nls.c.
Referenced by write_nls_files().
|
static |
Definition at line 402 of file create_nls.c.
Referenced by write_nls_files().
Definition at line 965 of file create_nls.c.
Definition at line 868 of file create_nls.c.
Referenced by write_casemap_file().
Definition at line 60 of file create_nls.c.
Referenced by write_unicode2cp_table().
Definition at line 286 of file create_nls.c.
Referenced by Load_CP2Unicode_Table().
Definition at line 629 of file create_nls.c.
Referenced by pack_table().
Definition at line 926 of file create_nls.c.
Referenced by main().
Definition at line 139 of file create_nls.c.
Referenced by create_nls_file().
int write_nls_files | ( | ) |
Definition at line 481 of file create_nls.c.
Referenced by main().
Definition at line 96 of file create_nls.c.
Referenced by create_nls_file().
WCHAR* alias |
Definition at line 54 of file create_nls.c.
Referenced by patch_aliases().
WCHAR cp_char |
Definition at line 53 of file create_nls.c.
Referenced by patch_aliases().
|
static |
Definition at line 50 of file create_nls.c.
Definition at line 20 of file create_nls.c.
|
static |
Definition at line 621 of file create_nls.c.
Referenced by find_subtable_with_diffs(), and pack_table().
|
static |
Definition at line 625 of file create_nls.c.
Referenced by find_subtable_with_offsets(), and pack_table().
|
static |
Definition at line 623 of file create_nls.c.
Referenced by find_subtable_with_diffs(), and pack_table().
|
static |
Definition at line 627 of file create_nls.c.
Referenced by find_subtable_with_offsets(), and pack_table().
Definition at line 614 of file create_nls.c.
Referenced by CreateCaseDiff(), and write_casemap_file().
Definition at line 614 of file create_nls.c.
Referenced by CreateCaseDiff(), and write_casemap_file().
struct { ... } u2cp_alias[] |
Referenced by patch_aliases().
Definition at line 19 of file create_nls.c.