Home | History | Annotate | Download | only in tests

Lines Matching refs:error2

148   GError *error, *error2, *error3;
170 error2 = NULL;
171 result2 = g_utf8_to_ucs4 (utf8, -1, &items_read2, &items_written2, &error2);
175 g_assert (!!error == !!error2);
181 if (error2)
182 g_error_free (error2);
237 GError *error, *error2, *error3;
245 error2 = NULL;
246 result2 = g_ucs4_to_utf8 (ucs4, -1, &items_read2, &items_written2, &error2);
251 g_assert (!!error == !!error2);
256 if (error2)
257 g_error_free (error2);
301 GError *error, *error2, *error3;
310 error2 = NULL;
311 result2 = g_utf8_to_utf16 (utf8, -1, &items_read2, &items_written2, &error2);
315 g_assert (!!error == !!error2);
321 if (error2)
322 g_error_free (error2);
377 GError *error, *error2, *error3;
384 error2 = NULL;
385 result2 = g_utf16_to_utf8 (utf16, -1, &items_read2, &items_written2, &error2);
390 g_assert (!!error == !!error2);
395 if (error2)
396 g_error_free (error2);
449 GError *error, *error2, *error3;
458 error2 = NULL;
459 result2 = g_ucs4_to_utf16 (ucs4, -1, &items_read2, &items_written2, &error2);
464 g_assert (!!error == !!error2);
470 if (error2)
471 g_error_free (error2);
517 GError *error, *error2, *error3;
525 error2 = NULL;
526 result2 = g_utf16_to_ucs4 (utf16, -1, &items_read2, &items_written2, &error2);
530 g_assert (!!error == !!error2);
536 if (error2)
537 g_error_free (error2);