Lines Matching refs:filename
40 String filenameToString(const char* filename)
42 if (!filename)
46 return String::fromUTF8(filename);
48 gchar* escapedString = g_uri_escape_string(filename, "/:", false);
70 gchar* filename = filenameFromString(string);
71 gchar* display = g_filename_to_utf8(filename, 0, 0, 0, 0);
72 g_free(filename);
86 gchar* filename = filenameFromString(path);
88 if (filename) {
89 result = g_file_test(filename, G_FILE_TEST_EXISTS);
90 g_free(filename);
99 gchar* filename = filenameFromString(path);
101 if (filename) {
102 result = g_remove(filename) == 0;
103 g_free(filename);
112 gchar* filename = filenameFromString(path);
114 if (filename) {
115 result = g_rmdir(filename) == 0;
116 g_free(filename);
124 gchar* filename = filenameFromString(path);
125 if (!filename)
129 gint result = g_stat(filename, &statResult);
130 g_free(filename);
140 gchar* filename = filenameFromString(path);
141 if (!filename)
145 gint result = g_stat(filename, &statResult);
146 g_free(filename);
165 gchar* filename = filenameFromString(path);
166 if (!filename)
169 gint result = g_mkdir_with_parents(filename, S_IRWXU);
170 g_free(filename);
206 gchar* filename = filenameFromString(path);
207 GDir* dir = g_dir_open(filename, 0, 0);
216 gchar* entry = g_build_filename(filename, name, NULL);
221 g_free(filename);
228 gchar* filename = g_strdup_printf("%sXXXXXX", prefix);
229 gchar* tempPath = g_build_filename(g_get_tmp_dir(), filename, NULL);
230 g_free(filename);