HomeSort by relevance Sort by last modified time
    Searched refs:utf8_buf (Results 1 - 2 of 2) sorted by null

  /external/chromium_org/third_party/libphonenumber/src/phonenumbers/utf/
unicodetext.h 430 inline UnicodeText UTF8ToUnicodeText(const char* utf8_buf, int len,
434 t.CopyUTF8(utf8_buf, len);
436 t.PointToUTF8(utf8_buf, len);
445 inline UnicodeText UTF8ToUnicodeText(const char* utf8_buf, int len) {
446 return UTF8ToUnicodeText(utf8_buf, len, true);
  /external/dropbear/libtomcrypt/testprof/
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...]

Completed in 465 milliseconds