Lines Matching full:pathname
86 virtual bool Iterate(const Pathname& path) {
88 path_ = path.pathname();
91 if (path_.rfind(Pathname::DefaultFolderDelimiter()) != path_.size() - 1)
92 path_ += Pathname::DefaultFolderDelimiter();
118 sub_path.find(Pathname::DefaultFolderDelimiter(), path_.size());
128 size_t end = sub_path.find(Pathname::DefaultFolderDelimiter(), start);
156 const Pathname &filename,
159 std::string path = filename.pathname();
170 bool CreatePrivateFile(const Pathname &filename) {
174 bool DeleteFile(const Pathname &filename) {
178 bool DeleteEmptyFolder(const Pathname &folder) {
182 bool DeleteFolderContents(const Pathname &folder) {
186 bool DeleteFolderAndContents(const Pathname &folder) {
190 bool CreateFolder(const Pathname &pathname) {
194 bool MoveFolder(const Pathname &old_path, const Pathname &new_path) {
198 bool MoveFile(const Pathname &old_path, const Pathname &new_path) {
202 bool CopyFile(const Pathname &old_path, const Pathname &new_path) {
206 bool IsFolder(const Pathname &pathname) {
210 bool IsFile(const Pathname &pathname) {
214 bool IsAbsent(const Pathname &pathname) {
218 bool IsTemporaryPath(const Pathname &pathname) {
222 bool GetTemporaryFolder(Pathname &path, bool create,
227 std::string TempFilename(const Pathname &dir, const std::string &prefix) {
231 bool GetFileSize(const Pathname &path, size_t *size) {
235 bool GetFileTime(const Pathname &path, FileTimeType which,
240 bool GetAppPathname(Pathname *path) {
244 bool GetAppDataFolder(Pathname *path, bool per_user) {
253 bool GetAppTempFolder(Pathname *path) {
257 bool GetDiskFreeSpace(const Pathname &path, int64 *freebytes) {
261 Pathname GetCurrentDirectory() {
262 return Pathname();