Home
last modified time | relevance | path

Searched refs:charset_convert (Results 1 – 4 of 4) sorted by relevance

/external/flac/src/share/utf8/
Dcharset_test.c222 assert(charset_convert("UTF-8", "UTF-8", p, 10, &q, &n) == 0 && in test_convert()
224 assert(charset_convert("UTF-8", "UTF-8", "x\301\277y", 4, &q, &n) == 2 && in test_convert()
226 assert(charset_convert("UTF-8", "UTF-8", "x\301\277y", 4, 0, &n) == 2 && in test_convert()
228 assert(charset_convert("UTF-8", "UTF-8", "x\301\277y", 4, &q, 0) == 2 && in test_convert()
230 assert(charset_convert("UTF-8", "iso-8859-1", in test_convert()
233 assert(charset_convert("iso-8859-1", "UTF-8", in test_convert()
236 assert(charset_convert("iso-8859-1", "iso-8859-1", in test_convert()
240 assert(charset_convert("iso-8859-2", "utf-8", "\300", 1, &q, &n) == 0 && in test_convert()
242 assert(charset_convert("utf-8", "iso-8859-2", "\305\224", 2, &q, &n) == 0 && in test_convert()
248 assert(charset_convert("iso-8859-2", "utf-8", s, 256, &q, &n) == 0); in test_convert()
[all …]
Dcharset.h70 int charset_convert(const char *fromcode, const char *tocode,
Dutf8.c159 ret = charset_convert(fromcode, tocode, from, fromlen, to, tolen); in convert_buffer()
Dcharset.c482 int charset_convert(const char *fromcode, const char *tocode, in charset_convert() function