Searched refs:utf8_buf (Results 1 – 2 of 2) sorted by relevance
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/utf/ |
D | unicodetext.h | 430 inline UnicodeText UTF8ToUnicodeText(const char* utf8_buf, int len, in UTF8ToUnicodeText() argument 434 t.CopyUTF8(utf8_buf, len); in UTF8ToUnicodeText() 436 t.PointToUTF8(utf8_buf, len); in UTF8ToUnicodeText() 445 inline UnicodeText UTF8ToUnicodeText(const char* utf8_buf, int len) { in UTF8ToUnicodeText() argument 446 return UTF8ToUnicodeText(utf8_buf, len, true); in UTF8ToUnicodeText()
|
/external/dropbear/libtomcrypt/testprof/ |
D | der_tests.c | 540 unsigned char utf8_buf[32]; local 810 x = sizeof(utf8_buf); 811 DO(der_encode_utf8_string(utf8_1, sizeof(utf8_1) / sizeof(utf8_1[0]), utf8_buf, &x)); 812 if (x != sizeof(utf8_1_der) || memcmp(utf8_buf, utf8_1_der, x)) { 814 … for (y = 0; y < x; y++) fprintf(stderr, "%02x ", (unsigned)utf8_buf[y]); fprintf(stderr, "\n"); 819 DO(der_decode_utf8_string(utf8_buf, x, utf8_out, &y)); 827 x = sizeof(utf8_buf); 828 DO(der_encode_utf8_string(utf8_2, sizeof(utf8_2) / sizeof(utf8_2[0]), utf8_buf, &x)); 829 if (x != sizeof(utf8_2_der) || memcmp(utf8_buf, utf8_2_der, x)) { 831 … for (y = 0; y < x; y++) fprintf(stderr, "%02x ", (unsigned)utf8_buf[y]); fprintf(stderr, "\n"); [all …]
|