Lines Matching refs:ErrMsg
159 std::string* ErrMsg) { in addFileBefore() argument
162 if (ErrMsg) in addFileBefore()
163 *ErrMsg = "Can not add a non-existent file to archive"; in addFileBefore()
171 const sys::FileStatus *FSInfo = mbr->path.getFileStatus(false, ErrMsg); in addFileBefore()
208 std::string* ErrMsg in writeMember() argument
222 if (ErrMsg) in writeMember()
223 *ErrMsg = ec.message(); in writeMember()
238 GetBitcodeSymbols(data, fSize, FullMemberName, Context, symbols, ErrMsg); in writeMember()
258 if (ErrMsg) in writeMember()
259 *ErrMsg = "Can't parse bitcode member: " + member.getPath().str() in writeMember()
260 + ": " + *ErrMsg; in writeMember()
353 std::string* ErrMsg) in writeToDisk() argument
358 if (ErrMsg) in writeToDisk()
359 *ErrMsg = "Can't write an archive not opened for writing"; in writeToDisk()
365 if (TmpArchive.createTemporaryFileOnDisk(ErrMsg)) in writeToDisk()
379 if (ErrMsg) in writeToDisk()
380 *ErrMsg = "Error opening archive file: " + archPath.str(); in writeToDisk()
397 TruncateNames, Compress, ErrMsg)) { in writeToDisk()
420 if (ErrMsg) in writeToDisk()
421 *ErrMsg = ec.message(); in writeToDisk()
428 if (FinalFilePath.createTemporaryFileOnDisk(ErrMsg)) in writeToDisk()
435 if (ErrMsg) in writeToDisk()
436 *ErrMsg = "Error opening archive file: " + FinalFilePath.str(); in writeToDisk()
449 if (writeMember(*foreignST, FinalFile, false, false, false, ErrMsg)) { in writeToDisk()
469 if (FinalFilePath.renamePathOnDisk(TmpArchive, ErrMsg)) in writeToDisk()
478 if (TmpArchive.renamePathOnDisk(archPath, ErrMsg)) in writeToDisk()
483 if (archPath.makeReadableOnDisk(ErrMsg)) in writeToDisk()
485 if (archPath.makeWriteableOnDisk(ErrMsg)) in writeToDisk()