Example #1
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);
}
Example #2
0
void cleanup_module(void)
{
	unregister_nls(&table);
	return;
}
Example #3
0
static void __exit exit_nls_gb2312(void)
{
	unregister_nls(&table);
	unload_nls(p_nls);
}
Example #4
0
static void __exit exit_nls_euc_jp(void)
{
	unregister_nls(&table);
	unload_nls(p_nls);
}
Example #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);
}
Example #7
0
static void __exit exit_nls_maccyrillic(void)
{
	unregister_nls(&table);
}
static void __exit exit_nls_maccenteuro(void)
{
	unregister_nls(&table);
}
Example #9
0
static void __exit exit_nls_macroman(void)
{
	unregister_nls(&table);
}
Example #10
0
static void __exit exit_nls_koi8_u(void)
{
	unregister_nls(&table);
}
Example #11
0
static void __exit exit_nls_utf8(void)
{
        unregister_nls(&table);
}
Example #12
0
static void __exit exit_nls_macgreek(void)
{
    unregister_nls(&table);
}
void  exit_nls_cp1250(void)
{
    unregister_nls(&table);
}
Example #14
0
static void __exit exit_nls_iso8859_7(void)
{
	unregister_nls(&table);
}
Example #15
0
static void __exit exit_nls_macinuit(void)
{
	unregister_nls(&table);
}
Example #16
0
static void __exit exit_nls_cp861(void)
{
	unregister_nls(&table);
}
void  exit_nls_iso8859_9(void)
{
	unregister_nls(&table);
}