Home | History | Annotate | Download | only in base

Lines Matching refs:directory

126     // If not recursing, then first check to see if |path| is a directory.
162 // an empty directory and some return 0x402 when they should be returning
197 // MoveFileEx fails if moving directory across volumes. We will simulate
286 // The following code assumes that from path is a directory.
289 // Instead of creating a new directory, we copy the old one to include the
293 // the target directory doesn't exist.
300 FilePath directory = from_path.Append(L"*.*");
301 return ShellCopy(directory, to_path, false);
629 // Try create a new temporary directory with random generated name. If
659 // If the path exists, we've succeeded if it's a directory, failed otherwise.
665 << "directory already exists.";
673 // Invariant: Path does not exist as file or directory.
691 // were racing with someone creating the same directory, or a file
693 // race to create the same directory.
696 LOG(WARNING) << "Failed to create directory " << full_path_str
814 // Gets the current working directory for the process.
831 // Sets the current working directory for the process.
832 bool SetCurrentDirectory(const FilePath& directory) {
834 BOOL ret = ::SetCurrentDirectory(directory.value().c_str());
910 // Search for the next file/directory.
920 // This is reached when we have finished a directory and are advancing to
922 // in the root search directory, but for those directories which were
939 // If |cur_file| is a directory, and we are doing recursive searching,
941 // directory.