示例#1
0
文件: nlsTest.c 项目: CSU-GH/okl4_3.0
static void test_nls_base(void) {

	wchar_t p=0x20;
	__u8 s=0x01;
	int n=2;
	struct nls_table nls;
	char charset[20]="David";
	
	load_nls_default();
	register_nls(&nls);
	unload_nls(&nls);
	load_nls(charset);
	unregister_nls(&nls);
	utf8_mbtowc(&p, &s, n);
	utf8_mbstowcs(&p, &s, n);
	n=20;
	utf8_wctomb(&s, p, n);
	utf8_wcstombs(&s, &p, n);
}
示例#2
0
void cleanup_module(void)
{
	unregister_nls(&table);
	return;
}
示例#3
0
static void __exit exit_nls_gb2312(void)
{
	unregister_nls(&table);
	unload_nls(p_nls);
}
示例#4
0
static void __exit exit_nls_euc_jp(void)
{
	unregister_nls(&table);
	unload_nls(p_nls);
}
示例#5
0
static void __exit exit_nls_koi8_ru(void)
{
	unregister_nls(&table);
	unload_nls(p_nls);
}
static void __exit exit_nls_ascii(void)
{
	unregister_nls(&table);
}
示例#7
0
static void __exit exit_nls_maccyrillic(void)
{
	unregister_nls(&table);
}
示例#8
0
static void __exit exit_nls_maccenteuro(void)
{
	unregister_nls(&table);
}
示例#9
0
文件: mac-roman.c 项目: 020gzh/linux
static void __exit exit_nls_macroman(void)
{
	unregister_nls(&table);
}
示例#10
0
static void __exit exit_nls_koi8_u(void)
{
	unregister_nls(&table);
}
示例#11
0
static void __exit exit_nls_utf8(void)
{
        unregister_nls(&table);
}
示例#12
0
static void __exit exit_nls_macgreek(void)
{
    unregister_nls(&table);
}
void  exit_nls_cp1250(void)
{
    unregister_nls(&table);
}
示例#14
0
static void __exit exit_nls_iso8859_7(void)
{
	unregister_nls(&table);
}
示例#15
0
static void __exit exit_nls_macinuit(void)
{
	unregister_nls(&table);
}
示例#16
0
static void __exit exit_nls_cp861(void)
{
	unregister_nls(&table);
}
void  exit_nls_iso8859_9(void)
{
	unregister_nls(&table);
}