Lines Matching refs:file2
84 GFile *file2 = NULL;
90 file2 = g_file_new_for_uri (path2);
95 file2 = g_file_new_for_path (path2);
99 g_assert (file2 != NULL);
101 equal = g_file_equal (file1, file2);
104 g_object_unref (file2);
174 GFile *file2 = NULL;
184 file2 = g_file_dup (file1);
186 g_assert (file2 != NULL);
188 equal = g_file_equal (file1, file2);
191 g_object_unref (file2);
222 GFile *file2 = NULL;
245 file2 = g_file_parse_name (parsed_name);
247 g_assert (file2 != NULL);
249 equal = g_file_equal (file1, file2);
252 g_object_unref (file2);
354 GFile *file2 = NULL;
362 file2 = g_file_new_for_uri (dir2);
367 file2 = g_file_new_for_path (dir2);
371 g_assert (file2 != NULL);
373 has_prefix = g_file_has_prefix (file2, file1);
377 relative_path = g_file_get_relative_path (file1, file2);
383 g_assert (g_file_equal (file2, file3) == TRUE);
388 if (file2)
389 g_object_unref (file2);