Searched refs:utf8_out (Results 1 – 1 of 1) sorted by relevance
/external/dropbear/libtomcrypt/testprof/ |
D | der_tests.c | 541 wchar_t utf8_out[32]; local 818 y = sizeof(utf8_out) / sizeof(utf8_out[0]); 819 DO(der_decode_utf8_string(utf8_buf, x, utf8_out, &y)); 820 … if (y != (sizeof(utf8_1) / sizeof(utf8_1[0])) || memcmp(utf8_1, utf8_out, y * sizeof(wchar_t))) { 822 …for (x = 0; x < y; x++) fprintf(stderr, "%04lx ", (unsigned long)utf8_out[x]); fprintf(stderr, "\n… 835 y = sizeof(utf8_out) / sizeof(utf8_out[0]); 836 DO(der_decode_utf8_string(utf8_buf, x, utf8_out, &y)); 837 … if (y != (sizeof(utf8_2) / sizeof(utf8_2[0])) || memcmp(utf8_2, utf8_out, y * sizeof(wchar_t))) { 839 …for (x = 0; x < y; x++) fprintf(stderr, "%04lx ", (unsigned long)utf8_out[x]); fprintf(stderr, "\n…
|