Home
last modified time | relevance | path

Searched refs:uni (Results 1 – 25 of 74) sorted by relevance

123

/linux-3.4.99/fs/nls/
Dnls_koi8-ru.c16 static int uni2char(const wchar_t uni, in uni2char() argument
22 if ((uni & 0xffaf) == 0x040e || (uni & 0xffce) == 0x254c) { in uni2char()
24 if (uni == 0x040e) in uni2char()
26 else if (uni == 0x045e) in uni2char()
28 else if (uni == 0x255d || uni == 0x256c) in uni2char()
31 return p_nls->uni2char(uni, out, boundlen); in uni2char()
36 return p_nls->uni2char(uni, out, boundlen); in uni2char()
40 wchar_t *uni) in char2uni() argument
46 *uni = (*rawstring & 0x10) ? 0x040e : 0x045e; in char2uni()
50 n = p_nls->char2uni(rawstring, boundlen, uni); in char2uni()
Dnls_ascii.c120 static int uni2char(wchar_t uni, unsigned char *out, int boundlen) in uni2char() argument
123 unsigned char cl = uni & 0x00ff; in uni2char()
124 unsigned char ch = (uni & 0xff00) >> 8; in uni2char()
137 static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) in char2uni() argument
139 *uni = charset2uni[*rawstring]; in char2uni()
140 if (*uni == 0x0000) in char2uni()
Dnls_iso8859-2.c262 static int uni2char(wchar_t uni, unsigned char *out, int boundlen) in uni2char() argument
265 unsigned char cl = uni & 0x00ff; in uni2char()
266 unsigned char ch = (uni & 0xff00) >> 8; in uni2char()
279 static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) in char2uni() argument
281 *uni = charset2uni[*rawstring]; in char2uni()
282 if (*uni == 0x0000) in char2uni()
Dnls_iso8859-4.c262 static int uni2char(wchar_t uni, unsigned char *out, int boundlen) in uni2char() argument
265 unsigned char cl = uni & 0x00ff; in uni2char()
266 unsigned char ch = (uni & 0xff00) >> 8; in uni2char()
279 static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) in char2uni() argument
281 *uni = charset2uni[*rawstring]; in char2uni()
282 if (*uni == 0x0000) in char2uni()
Dnls_iso8859-6.c217 static int uni2char(wchar_t uni, unsigned char *out, int boundlen) in uni2char() argument
220 unsigned char cl = uni & 0x00ff; in uni2char()
221 unsigned char ch = (uni & 0xff00) >> 8; in uni2char()
234 static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) in char2uni() argument
236 *uni = charset2uni[*rawstring]; in char2uni()
237 if (*uni == 0x0000) in char2uni()
Dnls_iso8859-9.c226 static int uni2char(wchar_t uni, unsigned char *out, int boundlen) in uni2char() argument
229 unsigned char cl = uni & 0x00ff; in uni2char()
230 unsigned char ch = (uni & 0xff00) >> 8; in uni2char()
243 static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) in char2uni() argument
245 *uni = charset2uni[*rawstring]; in char2uni()
246 if (*uni == 0x0000) in char2uni()
Dnls_iso8859-1.c211 static int uni2char(wchar_t uni, unsigned char *out, int boundlen) in uni2char() argument
214 unsigned char cl = uni & 0x00ff; in uni2char()
215 unsigned char ch = (uni & 0xff00) >> 8; in uni2char()
228 static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) in char2uni() argument
230 *uni = charset2uni[*rawstring]; in char2uni()
231 if (*uni == 0x0000) in char2uni()
Dnls_iso8859-3.c262 static int uni2char(wchar_t uni, unsigned char *out, int boundlen) in uni2char() argument
265 unsigned char cl = uni & 0x00ff; in uni2char()
266 unsigned char ch = (uni & 0xff00) >> 8; in uni2char()
279 static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) in char2uni() argument
281 *uni = charset2uni[*rawstring]; in char2uni()
282 if (*uni == 0x0000) in char2uni()
Dnls_iso8859-5.c226 static int uni2char(wchar_t uni, unsigned char *out, int boundlen) in uni2char() argument
229 unsigned char cl = uni & 0x00ff; in uni2char()
230 unsigned char ch = (uni & 0xff00) >> 8; in uni2char()
243 static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) in char2uni() argument
245 *uni = charset2uni[*rawstring]; in char2uni()
246 if (*uni == 0x0000) in char2uni()
Dnls_koi8-r.c277 static int uni2char(wchar_t uni, unsigned char *out, int boundlen) in uni2char() argument
280 unsigned char cl = uni & 0x00ff; in uni2char()
281 unsigned char ch = (uni & 0xff00) >> 8; in uni2char()
294 static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) in char2uni() argument
296 *uni = charset2uni[*rawstring]; in char2uni()
297 if (*uni == 0x0000) in char2uni()
Dnls_koi8-u.c284 static int uni2char(wchar_t uni, unsigned char *out, int boundlen) in uni2char() argument
287 unsigned char cl = uni & 0x00ff; in uni2char()
288 unsigned char ch = (uni & 0xff00) >> 8; in uni2char()
301 static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) in char2uni() argument
303 *uni = charset2uni[*rawstring]; in char2uni()
304 if (*uni == 0x0000) in char2uni()
Dnls_cp1250.c301 static int uni2char(wchar_t uni, unsigned char *out, int boundlen) in uni2char() argument
304 unsigned char cl = uni & 0x00ff; in uni2char()
305 unsigned char ch = (uni & 0xff00) >> 8; in uni2char()
318 static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) in char2uni() argument
320 *uni = charset2uni[*rawstring]; in char2uni()
321 if (*uni == 0x0000) in char2uni()
Dnls_cp1251.c255 static int uni2char(wchar_t uni, unsigned char *out, int boundlen) in uni2char() argument
258 unsigned char cl = uni & 0x00ff; in uni2char()
259 unsigned char ch = (uni & 0xff00) >> 8; in uni2char()
272 static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) in char2uni() argument
274 *uni = charset2uni[*rawstring]; in char2uni()
275 if (*uni == 0x0000) in char2uni()
Dnls_cp437.c341 static int uni2char(wchar_t uni, unsigned char *out, int boundlen) in uni2char() argument
344 unsigned char cl = uni & 0x00ff; in uni2char()
345 unsigned char ch = (uni & 0xff00) >> 8; in uni2char()
358 static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) in char2uni() argument
360 *uni = charset2uni[*rawstring]; in char2uni()
361 if (*uni == 0x0000) in char2uni()
Dnls_cp775.c273 static int uni2char(wchar_t uni, unsigned char *out, int boundlen) in uni2char() argument
276 unsigned char cl = uni & 0x00ff; in uni2char()
277 unsigned char ch = (uni & 0xff00) >> 8; in uni2char()
290 static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) in char2uni() argument
292 *uni = charset2uni[*rawstring]; in char2uni()
293 if (*uni == 0x0000) in char2uni()
Dnls_cp850.c269 static int uni2char(wchar_t uni, unsigned char *out, int boundlen) in uni2char() argument
272 unsigned char cl = uni & 0x00ff; in uni2char()
273 unsigned char ch = (uni & 0xff00) >> 8; in uni2char()
286 static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) in char2uni() argument
288 *uni = charset2uni[*rawstring]; in char2uni()
289 if (*uni == 0x0000) in char2uni()
Dnls_cp852.c291 static int uni2char(wchar_t uni, unsigned char *out, int boundlen) in uni2char() argument
294 unsigned char cl = uni & 0x00ff; in uni2char()
295 unsigned char ch = (uni & 0xff00) >> 8; in uni2char()
308 static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) in char2uni() argument
310 *uni = charset2uni[*rawstring]; in char2uni()
311 if (*uni == 0x0000) in char2uni()
Dnls_cp857.c255 static int uni2char(wchar_t uni, unsigned char *out, int boundlen) in uni2char() argument
258 unsigned char cl = uni & 0x00ff; in uni2char()
259 unsigned char ch = (uni & 0xff00) >> 8; in uni2char()
272 static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) in char2uni() argument
274 *uni = charset2uni[*rawstring]; in char2uni()
275 if (*uni == 0x0000) in char2uni()
Dnls_cp860.c318 static int uni2char(wchar_t uni, unsigned char *out, int boundlen) in uni2char() argument
321 unsigned char cl = uni & 0x00ff; in uni2char()
322 unsigned char ch = (uni & 0xff00) >> 8; in uni2char()
335 static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) in char2uni() argument
337 *uni = charset2uni[*rawstring]; in char2uni()
338 if (*uni == 0x0000) in char2uni()
Dnls_cp861.c341 static int uni2char(wchar_t uni, unsigned char *out, int boundlen) in uni2char() argument
344 unsigned char cl = uni & 0x00ff; in uni2char()
345 unsigned char ch = (uni & 0xff00) >> 8; in uni2char()
358 static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) in char2uni() argument
360 *uni = charset2uni[*rawstring]; in char2uni()
361 if (*uni == 0x0000) in char2uni()
Dnls_cp862.c375 static int uni2char(wchar_t uni, unsigned char *out, int boundlen) in uni2char() argument
378 unsigned char cl = uni & 0x00ff; in uni2char()
379 unsigned char ch = (uni & 0xff00) >> 8; in uni2char()
392 static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) in char2uni() argument
394 *uni = charset2uni[*rawstring]; in char2uni()
395 if (*uni == 0x0000) in char2uni()
Dnls_cp866.c259 static int uni2char(wchar_t uni, unsigned char *out, int boundlen) in uni2char() argument
262 unsigned char cl = uni & 0x00ff; in uni2char()
263 unsigned char ch = (uni & 0xff00) >> 8; in uni2char()
276 static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) in char2uni() argument
278 *uni = charset2uni[*rawstring]; in char2uni()
279 if (*uni == 0x0000) in char2uni()
Dnls_cp874.c227 static int uni2char(wchar_t uni, unsigned char *out, int boundlen) in uni2char() argument
230 unsigned char cl = uni & 0x00ff; in uni2char()
231 unsigned char ch = (uni & 0xff00) >> 8; in uni2char()
244 static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) in char2uni() argument
246 *uni = charset2uni[*rawstring]; in char2uni()
247 if (*uni == 0x0000) in char2uni()
Dnls_iso8859-7.c271 static int uni2char(wchar_t uni, unsigned char *out, int boundlen) in uni2char() argument
274 unsigned char cl = uni & 0x00ff; in uni2char()
275 unsigned char ch = (uni & 0xff00) >> 8; in uni2char()
288 static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) in char2uni() argument
290 *uni = charset2uni[*rawstring]; in char2uni()
291 if (*uni == 0x0000) in char2uni()
Dnls_cp855.c253 static int uni2char(wchar_t uni, unsigned char *out, int boundlen) in uni2char() argument
256 unsigned char cl = uni & 0x00ff; in uni2char()
257 unsigned char ch = (uni & 0xff00) >> 8; in uni2char()
270 static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) in char2uni() argument
272 *uni = charset2uni[*rawstring]; in char2uni()
273 if (*uni == 0x0000) in char2uni()

123