Lines Matching refs:utf8
67 const gchar *utf8; in test_utf16_strfuncs() member
95 gchar *utf8; in test_utf16_strfuncs() local
115 if (string_cases[i].utf8 == NULL) in test_utf16_strfuncs()
120 utf8 = NULL; in test_utf16_strfuncs()
121 success = g_utf16_to_utf8_and_fold (string_cases[i].utf16, -1, &utf8, NULL); in test_utf16_strfuncs()
123 if (string_cases[i].utf8 != NULL) in test_utf16_strfuncs()
126 g_assert_cmpstr (string_cases[i].utf8, ==, utf8); in test_utf16_strfuncs()
128 g_assert_true (utf8 == g_utf8_find_basename (utf8, len)); in test_utf16_strfuncs()
131 g_free (utf8); in test_utf16_strfuncs()
133 utf8 = NULL; in test_utf16_strfuncs()
135 success = g_utf16_to_utf8_and_fold (string_cases[i].utf16, -1, &utf8, &utf8_folded); in test_utf16_strfuncs()
137 if (string_cases[i].utf8 != NULL) in test_utf16_strfuncs()
143 g_free (utf8); in test_utf16_strfuncs()