Lines Matching refs:ErrMsg
135 Path::GetTemporaryDirectory(std::string *ErrMsg) {
141 MakeErrMsg(ErrMsg,
155 MakeErrMsg(ErrMsg,
162 MakeErrMsg(ErrMsg,
176 MakeErrMsg(ErrMsg,
181 MakeErrMsg(ErrMsg,
202 MakeErrMsg(ErrMsg,
532 bool Path::makeReadableOnDisk(std::string* ErrMsg) {
534 return MakeErrMsg(ErrMsg, path + ": can't make file readable");
538 bool Path::makeWriteableOnDisk(std::string* ErrMsg) {
540 return MakeErrMsg(ErrMsg, path + ": can't make file writable");
544 bool Path::makeExecutableOnDisk(std::string* ErrMsg) {
546 return MakeErrMsg(ErrMsg, path + ": can't make file executable");
551 Path::getDirectoryContents(std::set<Path>& result, std::string* ErrMsg) const {
554 return MakeErrMsg(ErrMsg, path + ": can't open directory");
569 return MakeErrMsg(ErrMsg,
657 Path::createDirectoryOnDisk( bool create_parents, std::string* ErrMsg ) {
670 return MakeErrMsg(ErrMsg, pathname + ": can't create directory");
676 Path::createFileOnDisk(std::string* ErrMsg) {
680 return MakeErrMsg(ErrMsg, path + ": can't create file");
686 Path::createTemporaryFileOnDisk(bool reuse_current, std::string* ErrMsg) {
688 if (makeUnique( reuse_current, ErrMsg ))
694 return MakeErrMsg(ErrMsg, path + ": can't create temporary file");
748 Path::renamePathOnDisk(const Path& newName, std::string* ErrMsg) {
750 return MakeErrMsg(ErrMsg, std::string("can't rename '") + path + "' as '" +
768 sys::CopyFile(const sys::Path &Dest, const sys::Path &Src, std::string* ErrMsg){
773 return MakeErrMsg(ErrMsg, Src.str() +
779 return MakeErrMsg(ErrMsg, Dest.str() +
789 return MakeErrMsg(ErrMsg, Src.str()+": can't read source file");
799 return MakeErrMsg(ErrMsg, Dest.str() +
815 Path::makeUnique(bool reuse_current, std::string* ErrMsg) {
837 return MakeErrMsg(ErrMsg, path + ": can't make unique filename");
851 return MakeErrMsg(ErrMsg, path + ": can't make unique filename");
863 return MakeErrMsg(ErrMsg,