Home
last modified time | relevance | path

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

123

/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-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-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-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-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-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_cp869.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_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_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_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_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_cp1255.c336 static int uni2char(wchar_t uni, unsigned char *out, int boundlen) in uni2char() argument
339 unsigned char cl = uni & 0x00ff; in uni2char()
340 unsigned char ch = (uni & 0xff00) >> 8; in uni2char()
353 static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) in char2uni() argument
355 *uni = charset2uni[*rawstring]; in char2uni()
356 if (*uni == 0x0000) in char2uni()
Dnls_cp737.c304 static int uni2char(wchar_t uni, unsigned char *out, int boundlen) in uni2char() argument
307 unsigned char cl = uni & 0x00ff; in uni2char()
308 unsigned char ch = (uni & 0xff00) >> 8; in uni2char()
321 static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) in char2uni() argument
323 *uni = charset2uni[*rawstring]; in char2uni()
324 if (*uni == 0x0000) in char2uni()
Dnls_iso8859-13.c239 static int uni2char(wchar_t uni, unsigned char *out, int boundlen) in uni2char() argument
242 unsigned char cl = uni & 0x00ff; in uni2char()
243 unsigned char ch = (uni & 0xff00) >> 8; in uni2char()
256 static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) in char2uni() argument
258 *uni = charset2uni[*rawstring]; in char2uni()
259 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_cp863.c335 static int uni2char(wchar_t uni, unsigned char *out, int boundlen) in uni2char() argument
338 unsigned char cl = uni & 0x00ff; in uni2char()
339 unsigned char ch = (uni & 0xff00) >> 8; in uni2char()
352 static int char2uni(const unsigned char *rawstring, int boundlen, wchar_t *uni) in char2uni() argument
354 *uni = charset2uni[*rawstring]; in char2uni()
355 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_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_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_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_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_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()

123