Home
last modified time | relevance | path

Searched refs:boundlen (Results 1 – 25 of 53) sorted by relevance

123

/kernel/linux/linux-5.10/fs/nls/
Dnls_koi8-ru.c17 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()
Dnls_utf8.c14 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()
Dnls_euc-jp.c410 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()
Dnls_ascii.c120 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
Dnls_iso8859-1.c211 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
Dnls_iso8859-9.c226 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
Dnls_iso8859-6.c217 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
Dnls_iso8859-3.c262 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
Dnls_iso8859-4.c262 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
Dnls_iso8859-2.c262 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
Dnls_cp857.c255 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
Dnls_cp866.c259 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
Dnls_iso8859-7.c271 static int uni2char(wchar_t uni, unsigned char *out, int boundlen) in uni2char() argument
277 if (boundlen <= 0) in uni2char()
288 static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) in char2uni() argument
Dnls_koi8-u.c284 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
Dnls_cp862.c375 static int uni2char(wchar_t uni, unsigned char *out, int boundlen) in uni2char() argument
381 if (boundlen <= 0) in uni2char()
392 static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) in char2uni() argument
Dnls_cp855.c253 static int uni2char(wchar_t uni, unsigned char *out, int boundlen) in uni2char() argument
259 if (boundlen <= 0) in uni2char()
270 static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) in char2uni() argument
Dnls_cp861.c341 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
Dnls_cp1250.c301 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
Dnls_iso8859-13.c239 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
Dnls_cp860.c318 static int uni2char(wchar_t uni, unsigned char *out, int boundlen) in uni2char() argument
324 if (boundlen <= 0) in uni2char()
335 static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) in char2uni() argument
Dnls_cp850.c269 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
Dnls_cp852.c291 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
Dnls_cp1255.c336 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
Dnls_cp863.c335 static int uni2char(wchar_t uni, unsigned char *out, int boundlen) in uni2char() argument
341 if (boundlen <= 0) in uni2char()
352 static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) in char2uni() argument
Dnls_iso8859-5.c226 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

123