Lines Matching refs:topdir
834 GDir *topdir; in get_matching_filenames() local
838 topdir = g_dir_open (path, 0, NULL); in get_matching_filenames()
839 if (G_UNLIKELY (topdir == NULL)) in get_matching_filenames()
848 while ((subdirname = g_dir_read_name (topdir))) { in get_matching_filenames()
862 g_dir_close (topdir); in get_matching_filenames()
1127 GDir *topdir; in get_categories() local
1130 topdir = g_dir_open (path, 0, NULL); in get_categories()
1131 if (G_UNLIKELY (topdir == NULL)) in get_categories()
1134 while ((subdirname = g_dir_read_name (topdir))) { in get_categories()
1143 g_dir_close (topdir); in get_categories()
1161 gchar *topdir; in gst_encoding_list_available_categories() local
1164 topdir = in gst_encoding_list_available_categories()
1167 res = get_categories (topdir); in gst_encoding_list_available_categories()
1168 g_free (topdir); in gst_encoding_list_available_categories()
1171 topdir = g_build_filename (GST_DATADIR, "gstreamer-" GST_API_VERSION, in gst_encoding_list_available_categories()
1173 tmp1 = get_categories (topdir); in gst_encoding_list_available_categories()
1174 g_free (topdir); in gst_encoding_list_available_categories()
1221 get_all_targets (gchar * topdir, const gchar * categoryname) in get_all_targets() argument
1226 gchar *subdir = g_build_filename (topdir, categoryname, NULL); in get_all_targets()
1232 GDir *dir = g_dir_open (topdir, 0, NULL); in get_all_targets()
1238 gchar *ltmp = g_build_filename (topdir, subdirname, NULL); in get_all_targets()
1295 gchar *topdir; in gst_encoding_list_all_targets() local
1312 topdir = in gst_encoding_list_all_targets()
1315 res = merge_targets (res, get_all_targets (topdir, categoryname)); in gst_encoding_list_all_targets()
1316 g_free (topdir); in gst_encoding_list_all_targets()
1319 topdir = g_build_filename (GST_DATADIR, "gstreamer-" GST_API_VERSION, in gst_encoding_list_all_targets()
1321 res = merge_targets (res, get_all_targets (topdir, categoryname)); in gst_encoding_list_all_targets()
1322 g_free (topdir); in gst_encoding_list_all_targets()