Home
last modified time | relevance | path

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

12

/linux-2.6.39/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-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-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-9.c243 static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) in char2uni() argument
245 *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_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-1.c228 static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) in char2uni() argument
230 *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_cp863.c352 static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) in char2uni() argument
354 *uni = charset2uni[*rawstring]; in char2uni()
Dnls_cp866.c276 static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) in char2uni() argument
278 *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_iso8859-5.c243 static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) in char2uni() argument
245 *uni = charset2uni[*rawstring]; in char2uni()
Dnls_iso8859-7.c288 static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) in char2uni() argument
290 *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_cp1251.c272 static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) in char2uni() argument
274 *uni = charset2uni[*rawstring]; in char2uni()
Dnls_cp437.c358 static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) in char2uni() argument
360 *uni = charset2uni[*rawstring]; in char2uni()
Dnls_cp737.c321 static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) in char2uni() argument
323 *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_cp850.c286 static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) in char2uni() argument
288 *uni = charset2uni[*rawstring]; in char2uni()
Dnls_cp852.c308 static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) in char2uni() argument
310 *uni = charset2uni[*rawstring]; in char2uni()
Dnls_cp857.c272 static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) in char2uni() argument
274 *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()

12