ReactOS 0.4.16-dev-297-gc569aee
|
#include <linux/module.h>
#include <linux/string.h>
#include <linux/config.h>
#include <linux/nls.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/spinlock.h>
Go to the source code of this file.
Classes | |
struct | utf8_table |
Functions | |
int | utf8_mbtowc (wchar_t *p, const __u8 *s, int n) |
int | utf8_mbstowcs (wchar_t *pwcs, const __u8 *s, int n) |
int | utf8_wctomb (__u8 *s, wchar_t wc, int maxlen) |
int | utf8_wcstombs (__u8 *s, const wchar_t *pwcs, int maxlen) |
int | register_nls (struct nls_table *nls) |
int | unregister_nls (struct nls_table *nls) |
static struct nls_table * | find_nls (char *charset) |
struct nls_table * | load_nls (char *charset) |
void | unload_nls (struct nls_table *nls) |
static int | uni2char (wchar_t uni, unsigned char *out, int boundlen) |
static int | char2uni (const unsigned char *rawstring, int boundlen, wchar_t *uni) |
EXPORT_SYMBOL (register_nls) | |
EXPORT_SYMBOL (unregister_nls) | |
EXPORT_SYMBOL (unload_nls) | |
EXPORT_SYMBOL (load_nls) | |
EXPORT_SYMBOL (load_nls_default) | |
EXPORT_SYMBOL (utf8_mbtowc) | |
EXPORT_SYMBOL (utf8_mbstowcs) | |
EXPORT_SYMBOL (utf8_wctomb) | |
EXPORT_SYMBOL (utf8_wcstombs) | |
MODULE_LICENSE ("Dual BSD/GPL") | |
Variables | |
struct nls_table * | tables |
spinlock_t | nls_lock |
static struct utf8_table | utf8_table [] |
wchar_t | charset2uni [256] |
static unsigned char | page00 [256] |
static unsigned char * | page_uni2charset [256] |
static unsigned char | charset2lower [256] |
static unsigned char | charset2upper [256] |
Definition at line 458 of file nls_base.c.
EXPORT_SYMBOL | ( | load_nls | ) |
EXPORT_SYMBOL | ( | load_nls_default | ) |
EXPORT_SYMBOL | ( | register_nls | ) |
EXPORT_SYMBOL | ( | unload_nls | ) |
EXPORT_SYMBOL | ( | unregister_nls | ) |
EXPORT_SYMBOL | ( | utf8_mbstowcs | ) |
EXPORT_SYMBOL | ( | utf8_mbtowc | ) |
EXPORT_SYMBOL | ( | utf8_wcstombs | ) |
EXPORT_SYMBOL | ( | utf8_wctomb | ) |
Definition at line 202 of file nls_base.c.
Referenced by load_nls().
Definition at line 218 of file nls_base.c.
Referenced by DriverEntry(), Ext2ProcessGlobalProperty(), Ext2ProcessVolumeProperty(), init_nls_euc_jp(), and init_nls_koi8_ru().
MODULE_LICENSE | ( | "Dual BSD/GPL" | ) |
Definition at line 162 of file nls_base.c.
Referenced by init_nls_ascii(), init_nls_cp1250(), init_nls_cp1251(), init_nls_cp1255(), init_nls_cp437(), init_nls_cp737(), init_nls_cp775(), init_nls_cp850(), init_nls_cp852(), init_nls_cp855(), init_nls_cp857(), init_nls_cp860(), init_nls_cp861(), init_nls_cp862(), init_nls_cp863(), init_nls_cp864(), init_nls_cp865(), init_nls_cp866(), init_nls_cp869(), init_nls_cp874(), init_nls_cp932(), init_nls_cp936(), init_nls_cp949(), init_nls_cp950(), init_nls_euc_jp(), init_nls_iso8859_1(), init_nls_iso8859_13(), init_nls_iso8859_14(), init_nls_iso8859_15(), init_nls_iso8859_2(), init_nls_iso8859_3(), init_nls_iso8859_4(), init_nls_iso8859_5(), init_nls_iso8859_6(), init_nls_iso8859_7(), init_nls_iso8859_9(), init_nls_koi8_r(), init_nls_koi8_ru(), init_nls_koi8_u(), and init_nls_utf8().
Definition at line 441 of file nls_base.c.
Definition at line 240 of file nls_base.c.
Referenced by exit_nls_euc_jp(), and exit_nls_koi8_ru().
Definition at line 185 of file nls_base.c.
Referenced by exit_nls_ascii(), exit_nls_cp1250(), exit_nls_cp1251(), exit_nls_cp1255(), exit_nls_cp437(), exit_nls_cp737(), exit_nls_cp775(), exit_nls_cp850(), exit_nls_cp852(), exit_nls_cp855(), exit_nls_cp857(), exit_nls_cp860(), exit_nls_cp861(), exit_nls_cp862(), exit_nls_cp863(), exit_nls_cp864(), exit_nls_cp865(), exit_nls_cp866(), exit_nls_cp869(), exit_nls_cp874(), exit_nls_cp932(), exit_nls_cp936(), exit_nls_cp949(), exit_nls_cp950(), exit_nls_euc_jp(), exit_nls_iso8859_1(), exit_nls_iso8859_13(), exit_nls_iso8859_14(), exit_nls_iso8859_15(), exit_nls_iso8859_2(), exit_nls_iso8859_3(), exit_nls_iso8859_4(), exit_nls_iso8859_5(), exit_nls_iso8859_6(), exit_nls_iso8859_7(), exit_nls_iso8859_9(), exit_nls_koi8_r(), exit_nls_koi8_ru(), exit_nls_koi8_u(), and exit_nls_utf8().
Definition at line 79 of file nls_base.c.
Definition at line 49 of file nls_base.c.
Referenced by char2uni(), and utf8_mbstowcs().
Definition at line 136 of file nls_base.c.
Definition at line 108 of file nls_base.c.
Referenced by uni2char(), and utf8_wcstombs().
Definition at line 368 of file nls_base.c.
wchar_t charset2uni[256] |
Definition at line 245 of file nls_base.c.
Referenced by char2uni().
Definition at line 404 of file nls_base.c.
spinlock_t nls_lock |
Definition at line 23 of file nls_base.c.
Referenced by Ext2LoadAllNls(), find_nls(), register_nls(), and unregister_nls().
Definition at line 328 of file nls_base.c.
Definition at line 364 of file nls_base.c.
Referenced by uni2char().
Definition at line 22 of file nls_base.c.
Referenced by check_condition(), Ext2LoadAllNls(), find_nls(), FT_TrueTypeGX_Validate(), get_table_size(), gxv_bsln_parts_fmt0_validate(), gxv_bsln_parts_fmt1_validate(), gxv_bsln_parts_fmt2_validate(), gxv_bsln_parts_fmt3_validate(), gxv_validate(), II_select_table(), init_layer12(), init_table_list(), msi_table_apply_transform(), ordertables(), pcf_has_table_type(), pcf_read_TOC(), pcf_seek_to_table_type(), register_nls(), TABLE_drop(), unregister_nls(), WHERE_CreateView(), and woff_open_font().
|
static |
Definition at line 37 of file nls_base.c.