Home
last modified time | relevance | path

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

123

/Linux-v5.15/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-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-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-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-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_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-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_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
Dnls_koi8-r.c277 static int uni2char(wchar_t uni, unsigned char *out, int boundlen) in uni2char() argument
283 if (boundlen <= 0) in uni2char()
294 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_cp1251.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_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_cp437.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_cp737.c304 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
Dnls_cp775.c273 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
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_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_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_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_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

123