Searched refs:charset_wctomb (Results 1 – 3 of 3) sorted by relevance
/external/flac/src/share/utf8/ |
D | charset_test.c | 56 assert(charset_wctomb(charset, 0, 0) == 0); in test_any() 59 assert(charset_wctomb(charset, s, 0) == 1 && in test_any() 61 assert(charset_wctomb(charset, s, 'x') == 1 && in test_any() 123 assert(charset_wctomb(charset, s, 1u << 31) == -1 && in test_utf8() 125 assert(charset_wctomb(charset, s, 127) == 1 && in test_utf8() 127 assert(charset_wctomb(charset, s, 128) == 2 && in test_utf8() 129 assert(charset_wctomb(charset, s, 0x7ff) == 2 && in test_utf8() 131 assert(charset_wctomb(charset, s, 0x800) == 3 && in test_utf8() 133 assert(charset_wctomb(charset, s, 0xffff) == 3 && in test_utf8() 135 assert(charset_wctomb(charset, s, 0x10000) == 4 && in test_utf8() [all …]
|
D | charset.c | 195 int charset_wctomb(struct charset *charset, char *s, int wc) in charset_wctomb() function 509 j = charset_wctomb(charset2, p, wc); in charset_convert() 513 j = charset_wctomb(charset2, p, '?'); in charset_convert()
|
D | charset.h | 49 int charset_wctomb(struct charset *charset, char *s, int wc);
|