Lines Matching defs:filename
142 const char *filename = h->filename;
143 av_strstart(filename, "file:", &filename);
147 if (access(filename, F_OK) < 0)
150 if (access(filename, R_OK) >= 0)
153 if (access(filename, W_OK) >= 0)
157 ret = stat(filename, &st);
174 const char *filename = h->filename;
175 av_strstart(filename, "file:", &filename);
177 ret = rmdir(filename);
183 ret = unlink(filename);
195 const char *filename_src = h_src->filename;
196 const char *filename_dst = h_dst->filename;
206 static int file_open(URLContext *h, const char *filename, int flags)
213 av_strstart(filename, "file:", &filename);
229 fd = avpriv_open(filename, access, 0666);
276 c->dir = opendir(h->filename);
305 fullpath = av_append_path_component(h->filename, dir->d_name);
378 static int pipe_open(URLContext *h, const char *filename, int flags)
383 av_strstart(filename, "pipe:", &filename);
385 fd = strtol(filename, &final, 10);
386 if((filename == final) || *final ) {/* No digits found, or something like 10ab */