Lines Matching refs:GetPath
35 const char* GetPath() const in GetPath() function in Path
92 DIR* dir = opendir(path.GetPath()); in remove_dir_contents()
95 path.GetPath(), strerror(errno)); in remove_dir_contents()
108 "entry: \"%s\"\n", path.GetPath(), entry->d_name); in remove_dir_contents()
121 path.GetPath(), strerror(errno)); in remove_dir_contents()
134 if (lstat(path.GetPath(), &st) < 0) { in remove_entry()
139 fprintf(stderr, "Error: Failed to remove \"%s\": %s\n", path.GetPath(), in remove_entry()
147 if (__get_attribute_dir_path(&st, path.GetPath(), in remove_entry()
156 fprintf(stderr, "Error: \"%s\" is a directory.\n", path.GetPath()); in remove_entry()
164 if (rmdir(path.GetPath()) < 0) { in remove_entry()
166 path.GetPath(), strerror(errno)); in remove_entry()
171 if (unlink(path.GetPath()) < 0) { in remove_entry()
173 path.GetPath(), strerror(errno)); in remove_entry()