/linux-6.3-rc2/fs/nls/ |
A D | nls_koi8-ru.c | 17 unsigned char *out, int boundlen) in uni2char() argument 19 if (boundlen <= 0) in uni2char() 31 return p_nls->uni2char(uni, out, boundlen); in uni2char() 36 return p_nls->uni2char(uni, out, boundlen); in uni2char() 39 static int char2uni(const unsigned char *rawstring, int boundlen, in char2uni() argument 50 n = p_nls->char2uni(rawstring, boundlen, uni); in char2uni()
|
A D | nls_utf8.c | 14 static int uni2char(wchar_t uni, unsigned char *out, int boundlen) in uni2char() argument 18 if (boundlen <= 0) in uni2char() 21 n = utf32_to_utf8(uni, out, boundlen); in uni2char() 29 static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) in char2uni() argument 34 n = utf8_to_utf32(rawstring, boundlen, &u); in char2uni()
|
A D | nls_euc-jp.c | 410 unsigned char *out, int boundlen) in uni2char() argument 416 if ((n = p_nls->uni2char(uni, out, boundlen)) < 0) in uni2char() 423 if (boundlen < 2) in uni2char() 441 if (boundlen < 3) in uni2char() 452 if (boundlen < n) in uni2char() 479 static int char2uni(const unsigned char *rawstring, int boundlen, in char2uni() argument 487 if (boundlen <= 0) in char2uni() 493 if (boundlen < 3) in char2uni() 512 if (boundlen < 2) in char2uni()
|
A D | nls_ascii.c | 120 static int uni2char(wchar_t uni, unsigned char *out, int boundlen) in uni2char() argument 126 if (boundlen <= 0) in uni2char() 137 static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) in char2uni() argument
|
A D | nls_iso8859-1.c | 211 static int uni2char(wchar_t uni, unsigned char *out, int boundlen) in uni2char() argument 217 if (boundlen <= 0) in uni2char() 228 static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) in char2uni() argument
|
A D | nls_iso8859-9.c | 226 static int uni2char(wchar_t uni, unsigned char *out, int boundlen) in uni2char() argument 232 if (boundlen <= 0) in uni2char() 243 static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) in char2uni() argument
|
A D | nls_iso8859-6.c | 217 static int uni2char(wchar_t uni, unsigned char *out, int boundlen) in uni2char() argument 223 if (boundlen <= 0) in uni2char() 234 static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) in char2uni() argument
|
A D | nls_iso8859-3.c | 262 static int uni2char(wchar_t uni, unsigned char *out, int boundlen) in uni2char() argument 268 if (boundlen <= 0) in uni2char() 279 static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) in char2uni() argument
|
A D | nls_iso8859-4.c | 262 static int uni2char(wchar_t uni, unsigned char *out, int boundlen) in uni2char() argument 268 if (boundlen <= 0) in uni2char() 279 static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) in char2uni() argument
|
A D | nls_iso8859-2.c | 262 static int uni2char(wchar_t uni, unsigned char *out, int boundlen) in uni2char() argument 268 if (boundlen <= 0) in uni2char() 279 static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) in char2uni() argument
|
A D | nls_cp1250.c | 301 static int uni2char(wchar_t uni, unsigned char *out, int boundlen) in uni2char() argument 307 if (boundlen <= 0) in uni2char() 318 static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) in char2uni() argument
|
A D | nls_cp1255.c | 336 static int uni2char(wchar_t uni, unsigned char *out, int boundlen) in uni2char() argument 342 if (boundlen <= 0) in uni2char() 353 static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) in char2uni() argument
|
A D | nls_cp437.c | 341 static int uni2char(wchar_t uni, unsigned char *out, int boundlen) in uni2char() argument 347 if (boundlen <= 0) in uni2char() 358 static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) in char2uni() argument
|
A D | nls_cp852.c | 291 static int uni2char(wchar_t uni, unsigned char *out, int boundlen) in uni2char() argument 297 if (boundlen <= 0) in uni2char() 308 static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) in char2uni() argument
|
A D | nls_cp861.c | 341 static int uni2char(wchar_t uni, unsigned char *out, int boundlen) in uni2char() argument 347 if (boundlen <= 0) in uni2char() 358 static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) in char2uni() argument
|
A D | nls_cp865.c | 341 static int uni2char(wchar_t uni, unsigned char *out, int boundlen) in uni2char() argument 347 if (boundlen <= 0) in uni2char() 358 static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) in char2uni() argument
|
A D | nls_cp866.c | 259 static int uni2char(wchar_t uni, unsigned char *out, int boundlen) in uni2char() argument 265 if (boundlen <= 0) in uni2char() 276 static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) in char2uni() argument
|
A D | nls_cp869.c | 269 static int uni2char(wchar_t uni, unsigned char *out, int boundlen) in uni2char() argument 275 if (boundlen <= 0) in uni2char() 286 static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) in char2uni() argument
|
A D | nls_cp874.c | 227 static int uni2char(wchar_t uni, unsigned char *out, int boundlen) in uni2char() argument 233 if (boundlen <= 0) in uni2char() 244 static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) in char2uni() argument
|
A D | nls_iso8859-13.c | 239 static int uni2char(wchar_t uni, unsigned char *out, int boundlen) in uni2char() argument 245 if (boundlen <= 0) in uni2char() 256 static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) in char2uni() argument
|
A D | nls_koi8-u.c | 284 static int uni2char(wchar_t uni, unsigned char *out, int boundlen) in uni2char() argument 290 if (boundlen <= 0) in uni2char() 301 static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) in char2uni() argument
|
A D | nls_cp1251.c | 255 static int uni2char(wchar_t uni, unsigned char *out, int boundlen) in uni2char() argument 261 if (boundlen <= 0) in uni2char() 272 static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) in char2uni() argument
|
A D | nls_cp737.c | 304 static int uni2char(wchar_t uni, unsigned char *out, int boundlen) in uni2char() argument 310 if (boundlen <= 0) in uni2char() 321 static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) in char2uni() argument
|
A D | nls_cp775.c | 273 static int uni2char(wchar_t uni, unsigned char *out, int boundlen) in uni2char() argument 279 if (boundlen <= 0) in uni2char() 290 static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) in char2uni() argument
|
A D | nls_cp850.c | 269 static int uni2char(wchar_t uni, unsigned char *out, int boundlen) in uni2char() argument 275 if (boundlen <= 0) in uni2char() 286 static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) in char2uni() argument
|