Lines Matching +defs:file +defs:path

57     struct cork_path  *path = cork_new(struct cork_path);  in cork_path_new_internal()  local
81 cork_path_free(struct cork_path *path) in cork_path_free()
89 cork_path_set(struct cork_path *path, const char *content) in cork_path_set()
99 cork_path_get(const struct cork_path *path) in cork_path_get()
104 #define cork_path_get(path) ((const char *) (path)->given.buf) argument
105 #define cork_path_size(path) ((path)->given.size) argument
106 #define cork_path_truncate(path, size) \ argument
111 cork_path_set_cwd(struct cork_path *path) in cork_path_set_cwd()
129 struct cork_path *path = cork_path_new(NULL); in cork_path_cwd() local
140 cork_path_set_absolute(struct cork_path *path) in cork_path_set_absolute()
177 struct cork_path *path = cork_path_clone(other); in cork_path_absolute() local
188 cork_path_append(struct cork_path *path, const char *more) in cork_path_append()
215 struct cork_path *path = cork_path_clone(other); in cork_path_join() local
221 cork_path_append_path(struct cork_path *path, const struct cork_path *more) in cork_path_append_path()
229 struct cork_path *path = cork_path_clone(other); in cork_path_join_path() local
236 cork_path_set_basename(struct cork_path *path) in cork_path_set_basename()
252 struct cork_path *path = cork_path_clone(other); in cork_path_basename() local
259 cork_path_set_dirname(struct cork_path *path) in cork_path_set_dirname()
279 struct cork_path *path = cork_path_clone(other); in cork_path_dirname() local
308 struct cork_path *path = cork_array_at(&list->array, i); in cork_path_list_free() local
323 cork_path_list_add(struct cork_path_list *list, struct cork_path *path) in cork_path_list_add()
347 struct cork_path *path; in cork_path_list_append_string() local
376 struct cork_path *path; member
383 cork_file_init(struct cork_file *file, struct cork_path *path) in cork_file_init()
390 cork_file_new(const char *path) in cork_file_new()
396 cork_file_new_from_path(struct cork_path *path) in cork_file_new_from_path()
398 struct cork_file *file = cork_new(struct cork_file); in cork_file_new_from_path() local
404 cork_file_reset(struct cork_file *file) in cork_file_reset()
410 cork_file_done(struct cork_file *file) in cork_file_done()
416 cork_file_free(struct cork_file *file) in cork_file_free()
423 cork_file_path(struct cork_file *file) in cork_file_path()
429 cork_file_stat(struct cork_file *file) in cork_file_stat()
464 cork_file_exists(struct cork_file *file, bool *exists) in cork_file_exists()
472 cork_file_type(struct cork_file *file, enum cork_file_type *type) in cork_file_type()
486 struct cork_file *file; in cork_path_list_find_file() local
489 const struct cork_path *path = cork_path_list_get(list, i); in cork_path_list_find_file() local
517 cork_file_iterate_directory(struct cork_file *file, in cork_file_iterate_directory()
578 cork_file_mkdir_one(struct cork_file *file, cork_file_mode mode, in cork_file_mkdir_one()
627 cork_file_mkdir(struct cork_file *file, cork_file_mode mode, in cork_file_mkdir()
634 cork_file_remove_iterator(struct cork_file *file, const char *rel_name, in cork_file_remove_iterator()
642 cork_file_remove(struct cork_file *file, unsigned int flags) in cork_file_remove()
692 struct cork_file *file = cork_array_at(&list->array, i); in cork_file_list_free() local
700 cork_file_list_add(struct cork_file_list *list, struct cork_file *file) in cork_file_list_add()
725 const struct cork_path *path = cork_path_list_get(path_list, i); in cork_file_list_new() local
726 struct cork_file *file = cork_file_new(cork_path_get(path)); in cork_file_list_new() local
741 struct cork_file *file; in cork_path_list_find_files() local
744 const struct cork_path *path = cork_path_list_get(path_list, i); in cork_path_list_find_files() local
774 const char *path = cork_env_get(NULL, "HOME"); in cork_path_home() local
789 struct cork_path *path; in cork_path_config_paths() local
826 struct cork_path *path; in cork_path_data_paths() local
864 struct cork_path *path; in cork_path_user_cache_path() local