Searched refs:utf8_buf (Results 1 – 3 of 3) sorted by relevance
/external/bluetooth/glib/glib/ |
D | gdir.c | 57 gchar utf8_buf[FILENAME_MAX*4]; member 211 strcpy (dir->utf8_buf, utf8_name); in g_dir_read_name() 214 return dir->utf8_buf; in g_dir_read_name() 253 strcpy (dir->utf8_buf, retval); in g_dir_read_name() 256 return dir->utf8_buf; in g_dir_read_name()
|
D | gutils.c | 1943 gchar *utf8_buf = NULL; in g_get_prgname() local 1949 utf8_buf = g_utf16_to_utf8 (buf, -1, NULL, NULL, NULL); in g_get_prgname() 1951 if (utf8_buf) in g_get_prgname() 1953 g_prgname = g_path_get_basename (utf8_buf); in g_get_prgname() 1954 g_free (utf8_buf); in g_get_prgname()
|
/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 …]
|