|
Linux Kernel
3.7.1
|
#include <linux/module.h>#include <linux/string.h>#include <linux/nls.h>#include <linux/kernel.h>#include <linux/errno.h>#include <linux/kmod.h>#include <linux/spinlock.h>#include <asm/byteorder.h>Go to the source code of this file.
Data Structures | |
| struct | utf8_table |
Macros | |
| #define | UNICODE_MAX 0x0010ffff |
| #define | PLANE_SIZE 0x00010000 |
| #define | SURROGATE_MASK 0xfffff800 |
| #define | SURROGATE_PAIR 0x0000d800 |
| #define | SURROGATE_LOW 0x00000400 |
| #define | SURROGATE_BITS 0x000003ff |
Functions | |
| int | utf8_to_utf32 (const u8 *s, int inlen, unicode_t *pu) |
| EXPORT_SYMBOL (utf8_to_utf32) | |
| int | utf32_to_utf8 (unicode_t u, u8 *s, int maxout) |
| EXPORT_SYMBOL (utf32_to_utf8) | |
| int | utf8s_to_utf16s (const u8 *s, int inlen, enum utf16_endian endian, wchar_t *pwcs, int maxout) |
| EXPORT_SYMBOL (utf8s_to_utf16s) | |
| int | utf16s_to_utf8s (const wchar_t *pwcs, int inlen, enum utf16_endian endian, u8 *s, int maxout) |
| EXPORT_SYMBOL (utf16s_to_utf8s) | |
| int | register_nls (struct nls_table *nls) |
| int | unregister_nls (struct nls_table *nls) |
| struct nls_table * | load_nls (char *charset) |
| void | unload_nls (struct nls_table *nls) |
| struct nls_table * | load_nls_default (void) |
| EXPORT_SYMBOL (register_nls) | |
| EXPORT_SYMBOL (unregister_nls) | |
| EXPORT_SYMBOL (unload_nls) | |
| EXPORT_SYMBOL (load_nls) | |
| EXPORT_SYMBOL (load_nls_default) | |
| MODULE_LICENSE ("Dual BSD/GPL") | |
| #define PLANE_SIZE 0x00010000 |
Definition at line 48 of file nls_base.c.
| #define SURROGATE_BITS 0x000003ff |
Definition at line 53 of file nls_base.c.
| #define SURROGATE_LOW 0x00000400 |
Definition at line 52 of file nls_base.c.
| #define SURROGATE_MASK 0xfffff800 |
Definition at line 50 of file nls_base.c.
| #define SURROGATE_PAIR 0x0000d800 |
Definition at line 51 of file nls_base.c.
| #define UNICODE_MAX 0x0010ffff |
Definition at line 47 of file nls_base.c.
| EXPORT_SYMBOL | ( | utf8_to_utf32 | ) |
| EXPORT_SYMBOL | ( | utf32_to_utf8 | ) |
| EXPORT_SYMBOL | ( | utf8s_to_utf16s | ) |
| EXPORT_SYMBOL | ( | utf16s_to_utf8s | ) |
| EXPORT_SYMBOL | ( | register_nls | ) |
| EXPORT_SYMBOL | ( | unregister_nls | ) |
| EXPORT_SYMBOL | ( | unload_nls | ) |
| EXPORT_SYMBOL | ( | load_nls | ) |
| EXPORT_SYMBOL | ( | load_nls_default | ) |
Definition at line 289 of file nls_base.c.
Definition at line 530 of file nls_base.c.
| MODULE_LICENSE | ( | "Dual BSD/GPL" | ) |
Definition at line 235 of file nls_base.c.
Definition at line 294 of file nls_base.c.
Definition at line 256 of file nls_base.c.
| int utf16s_to_utf8s | ( | const wchar_t * | pwcs, |
| int | inlen, | ||
| enum utf16_endian | endian, | ||
| u8 * | s, | ||
| int | maxout | ||
| ) |
Definition at line 186 of file nls_base.c.
Definition at line 55 of file nls_base.c.
| int utf8s_to_utf16s | ( | const u8 * | s, |
| int | inlen, | ||
| enum utf16_endian | endian, | ||
| wchar_t * | pwcs, | ||
| int | maxout | ||
| ) |
Definition at line 132 of file nls_base.c.
1.8.2