Lines Matching refs:utf8
82 gchar *utf8, in process() argument
88 gboolean is_valid = g_utf8_validate (utf8, -1, &end); in process()
117 ucs4_result = g_utf8_to_ucs4 (utf8, -1, NULL, NULL, &error); in process()
126 ucs4_result = g_utf8_to_ucs4 (utf8, -1, &items_read, NULL, &error); in process()
128 if (!ucs4_result || items_read == strlen (utf8)) in process()
142 ucs4_result = g_utf8_to_ucs4 (utf8, -1, &items_read, &items_written, &error); in process()
150 items_read != strlen (utf8) || in process()
159 ucs4_result = g_utf8_to_ucs4_fast (utf8, -1, &items_written); in process()
175 if (strcmp (utf8_result, utf8) != 0 || in process()
177 items_written != strlen (utf8)) in process()
204 if (!(utf16_expected_tmp = (gunichar2 *)g_convert (utf8, -1, TARGET, "UTF-8", in process()
233 if (!(utf16_from_utf8 = g_utf8_to_utf16 (utf8, -1, &items_read, &items_written, &error))) in process()
239 if (items_read != strlen (utf8) || in process()
273 items_written != strlen (utf8)) in process()
292 if (strcmp (utf8, utf8_result) != 0 || in process()
320 gchar *utf8 = NULL; /* Quiet GCC */ in main() local
357 utf8 = tmp; in main()
406 process (start_line, utf8, status, (gunichar *)ucs4->data, ucs4->len); in main()
408 g_free (utf8); in main()