Lines Matching refs:ErrMsg
278 std::set<sys::Path>& result, std::string* ErrMsg) { in recurseDirectories() argument
282 if (path.getDirectoryContents(content, ErrMsg)) in recurseDirectories()
289 const sys::FileStatus *Status = PwS.getFileStatus(false, ErrMsg); in recurseDirectories()
294 if (recurseDirectories(*I, moreResults, ErrMsg)) in recurseDirectories()
308 bool buildPaths(bool checkExistence, std::string* ErrMsg) { in buildPaths() argument
324 if (recurseDirectories(aPath, dirpaths, ErrMsg)) in buildPaths()
352 bool doPrint(std::string* ErrMsg) { in doPrint() argument
353 if (buildPaths(false, ErrMsg)) in doPrint()
404 doDisplayTable(std::string* ErrMsg) { in doDisplayTable() argument
405 if (buildPaths(false, ErrMsg)) in doDisplayTable()
442 doExtract(std::string* ErrMsg) { in doExtract() argument
443 if (buildPaths(false, ErrMsg)) in doExtract()
454 if (dirs.createDirectoryOnDisk(/*create_parents=*/true, ErrMsg)) in doExtract()
485 doDelete(std::string* ErrMsg) { in doDelete() argument
486 if (buildPaths(false, ErrMsg)) in doDelete()
506 if (TheArchive->writeToDisk(SymTable,TruncateNames,Compression,ErrMsg)) in doDelete()
518 doMove(std::string* ErrMsg) { in doMove() argument
519 if (buildPaths(false, ErrMsg)) in doMove()
561 if (TheArchive->writeToDisk(SymTable,TruncateNames,Compression,ErrMsg)) in doMove()
571 doQuickAppend(std::string* ErrMsg) { in doQuickAppend() argument
573 if (buildPaths(true, ErrMsg)) in doQuickAppend()
581 if (TheArchive->addFileBefore(*PI,TheArchive->end(),ErrMsg)) in doQuickAppend()
586 if (TheArchive->writeToDisk(SymTable,TruncateNames,Compression,ErrMsg)) in doQuickAppend()
596 doReplaceOrInsert(std::string* ErrMsg) { in doReplaceOrInsert() argument
599 if (buildPaths(true, ErrMsg)) in doReplaceOrInsert()
649 if (I->replaceWith(*found, ErrMsg)) in doReplaceOrInsert()
653 if (I->replaceWith(*found, ErrMsg)) in doReplaceOrInsert()
678 if (TheArchive->addFileBefore(*PI,insert_spot, ErrMsg)) in doReplaceOrInsert()
684 if (TheArchive->writeToDisk(SymTable,TruncateNames,Compression,ErrMsg)) in doReplaceOrInsert()
744 std::string ErrMsg; in main() local
747 case Print: haveError = doPrint(&ErrMsg); break; in main()
748 case Delete: haveError = doDelete(&ErrMsg); break; in main()
749 case Move: haveError = doMove(&ErrMsg); break; in main()
750 case QuickAppend: haveError = doQuickAppend(&ErrMsg); break; in main()
751 case ReplaceOrInsert: haveError = doReplaceOrInsert(&ErrMsg); break; in main()
752 case DisplayTable: haveError = doDisplayTable(&ErrMsg); break; in main()
753 case Extract: haveError = doExtract(&ErrMsg); break; in main()
759 errs() << argv[0] << ": " << ErrMsg << "\n"; in main()