Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/fs/nls/
Dnls_euc-jp.c479 static int char2uni(const unsigned char *rawstring, int boundlen, in char2uni() argument
491 if (rawstring[0] > 0x7F) { in char2uni()
492 if (rawstring[0] == SS3) { in char2uni()
497 if (IS_EUC_UDC_HI(rawstring[1], rawstring[2])) { in char2uni()
499 MAP_EUC2SJIS(rawstring[1], rawstring[2], 0xF5, in char2uni()
501 } else if (euc2sjisibm(sjis_temp,rawstring[1],rawstring[2])) { in char2uni()
516 if (IS_EUC_JISX0201KANA(rawstring[0], rawstring[1])) { in char2uni()
518 sjis_temp[0] = rawstring[1]; in char2uni()
520 } else if (IS_EUC_UDC_LOW(rawstring[0], rawstring[1])) { in char2uni()
522 MAP_EUC2SJIS(rawstring[0], rawstring[1], 0xF5, in char2uni()
[all …]
Dnls_koi8-ru.c39 static int char2uni(const unsigned char *rawstring, int boundlen, in char2uni() argument
44 if ((*rawstring & 0xef) != 0xae) { in char2uni()
46 *uni = (*rawstring & 0x10) ? 0x040e : 0x045e; in char2uni()
50 n = p_nls->char2uni(rawstring, boundlen, uni); in char2uni()
Dnls_cp932.c7877 static int char2uni(const unsigned char *rawstring, int boundlen, in char2uni() argument
7886 if (rawstring[0] <= 0x7F) { in char2uni()
7887 *uni = rawstring[0]; in char2uni()
7890 if (0xA1 <= rawstring[0] && rawstring[0] <= 0xDF) { in char2uni()
7891 *uni = 0xFF00 | (rawstring[0] - 0x40); in char2uni()
7897 ch = rawstring[0]; in char2uni()
7898 cl = rawstring[1]; in char2uni()
Dnls_ascii.c137 static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) in char2uni() argument
139 *uni = charset2uni[*rawstring]; in char2uni()
Dnls_iso8859-1.c228 static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) in char2uni() argument
230 *uni = charset2uni[*rawstring]; in char2uni()
Dnls_iso8859-9.c243 static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) in char2uni() argument
245 *uni = charset2uni[*rawstring]; in char2uni()
Dnls_utf8.c29 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_iso8859-6.c234 static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) in char2uni() argument
236 *uni = charset2uni[*rawstring]; in char2uni()
Dnls_iso8859-4.c279 static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) in char2uni() argument
281 *uni = charset2uni[*rawstring]; in char2uni()
Dnls_iso8859-3.c279 static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) in char2uni() argument
281 *uni = charset2uni[*rawstring]; in char2uni()
Dnls_iso8859-2.c279 static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) in char2uni() argument
281 *uni = charset2uni[*rawstring]; in char2uni()
Dnls_cp865.c358 static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) in char2uni() argument
360 *uni = charset2uni[*rawstring]; in char2uni()
Dnls_cp775.c290 static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) in char2uni() argument
292 *uni = charset2uni[*rawstring]; in char2uni()
Dnls_cp869.c286 static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) in char2uni() argument
288 *uni = charset2uni[*rawstring]; in char2uni()
Dnls_cp863.c352 static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) in char2uni() argument
354 *uni = charset2uni[*rawstring]; in char2uni()
Dnls_koi8-u.c301 static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) in char2uni() argument
303 *uni = charset2uni[*rawstring]; in char2uni()
Dnls_cp862.c392 static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) in char2uni() argument
394 *uni = charset2uni[*rawstring]; in char2uni()
Dnls_cp861.c358 static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) in char2uni() argument
360 *uni = charset2uni[*rawstring]; in char2uni()
Dnls_cp1255.c353 static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) in char2uni() argument
355 *uni = charset2uni[*rawstring]; in char2uni()
Dnls_cp1250.c318 static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) in char2uni() argument
320 *uni = charset2uni[*rawstring]; in char2uni()
Dnls_iso8859-13.c256 static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) in char2uni() argument
258 *uni = charset2uni[*rawstring]; in char2uni()
Dnls_cp874.c244 static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) in char2uni() argument
246 *uni = charset2uni[*rawstring]; in char2uni()
Dnls_cp860.c335 static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) in char2uni() argument
337 *uni = charset2uni[*rawstring]; in char2uni()
Dnls_koi8-r.c294 static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) in char2uni() argument
296 *uni = charset2uni[*rawstring]; in char2uni()
Dnls_cp1251.c272 static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) in char2uni() argument
274 *uni = charset2uni[*rawstring]; in char2uni()

123