Searched refs:EC (Results 176 - 200 of 485) sorted by relevance

1234567891011>>

/openbsd-current/gnu/llvm/clang/lib/Frontend/Rewrite/
H A DFixItRewriter.cpp100 std::error_code EC; local
105 OS.reset(new llvm::raw_fd_ostream(Filename, EC, llvm::sys::fs::OF_None));
107 if (EC) {
109 << EC.message();
/openbsd-current/gnu/llvm/clang/lib/Driver/ToolChains/
H A DHIPUtility.cpp155 std::error_code EC; local
156 llvm::raw_fd_ostream Objf(McinFile, EC, llvm::sys::fs::OF_None);
158 if (EC) {
159 C.getDriver().Diag(clang::diag::err_unable_to_make_temp) << EC.message();
/openbsd-current/gnu/llvm/clang/lib/Frontend/
H A DHeaderIncludeGen.cpp142 std::error_code EC; local
144 OutputPath.str(), EC,
146 if (EC) {
148 << EC.message();
H A DCompilerInstance.cpp245 std::error_code EC; local
250 for (llvm::vfs::directory_iterator Dir = FS.dir_begin(DirNative, EC), DirEnd;
251 Dir != DirEnd && !EC; Dir.increment(EC)) {
288 std::error_code EC; local
294 DiagOpts->DiagnosticLogFile, EC,
296 if (EC) {
298 << DiagOpts->DiagnosticLogFile << EC.message();
901 std::error_code EC = E.convertToErrorCode();
903 EC
930 std::error_code EC; local
982 auto EC = llvm::errorToErrorCode(FileOrErr.takeError()); local
1087 std::error_code EC; local
1570 std::error_code EC; local
1607 std::error_code EC; local
[all...]
/openbsd-current/gnu/llvm/lldb/source/Plugins/ObjectFile/PDB/
H A DObjectFilePDB.cpp180 if (auto EC = File->parseFileHeaders()) {
181 llvm::consumeError(std::move(EC));
184 if (auto EC = File->parseStreamData()) {
185 llvm::consumeError(std::move(EC));
/openbsd-current/gnu/llvm/clang/lib/StaticAnalyzer/Core/
H A DSarifDiagnostics.cpp193 std::error_code EC; local
194 llvm::raw_fd_ostream OS(OutputFile, EC, llvm::sys::fs::OF_TextWithCRLF);
195 if (EC) {
196 llvm::errs() << "warning: could not create file: " << EC.message() << '\n';
/openbsd-current/gnu/llvm/clang/tools/clang-offload-packager/
H A DClangOffloadPackager.cpp91 if (std::error_code EC = ObjectOrErr.getError())
92 return errorCodeToError(EC);
128 if (std::error_code EC = BufferOrErr.getError())
129 return createFileError(InputFile, EC);
/openbsd-current/gnu/llvm/clang/tools/clang-rename/
H A DClangRename.cpp196 std::error_code EC; local
197 llvm::raw_fd_ostream OS(ExportFixes, EC, llvm::sys::fs::OF_None);
198 if (EC) {
199 llvm::errs() << "Error opening output file: " << EC.message() << '\n';
/openbsd-current/gnu/llvm/llvm/lib/Target/
H A DTargetMachineC.cpp220 std::error_code EC; local
221 raw_fd_ostream dest(Filename, EC, sys::fs::OF_None);
222 if (EC) {
223 *ErrorMessage = strdup(EC.message().c_str());
/openbsd-current/gnu/llvm/lldb/source/Utility/
H A DStatus.cpp48 Status::Status(std::error_code EC) argument
49 : m_code(EC.value()),
50 m_type(EC.category() == std::generic_category() ? eErrorTypePOSIX
52 m_string(EC.message()) {}
/openbsd-current/gnu/llvm/llvm/tools/llvm-mc-assemble-fuzzer/
H A Dllvm-mc-assemble-fuzzer.cpp213 std::error_code EC; local
216 std::make_unique<ToolOutputFile>(OutputFilename, EC, sys::fs::OF_None);
217 if (EC) {
218 errs() << EC.message() << '\n';
/openbsd-current/gnu/llvm/llvm/lib/ExecutionEngine/
H A DSectionMemoryManager.cpp207 if (std::error_code EC = MMapper.protectMappedMemory(MB, Permissions))
208 return EC;
253 unsigned Flags, std::error_code &EC) override {
254 return sys::Memory::allocateMappedMemory(NumBytes, NearBlock, Flags, EC);
/openbsd-current/gnu/llvm/llvm/lib/CodeGen/
H A DMLRegallocPriorityAdvisor.cpp222 std::error_code EC;
223 auto OS = std::make_unique<raw_fd_ostream>(TrainingLog, EC);
224 if (EC) {
225 M.getContext().emitError(EC.message() + ":" + TrainingLog);
/openbsd-current/gnu/llvm/llvm/lib/IR/
H A DLLVMRemarkStreamer.cpp111 std::error_code EC;
115 std::make_unique<ToolOutputFile>(RemarksFilename, EC, Flags);
118 if (EC)
119 return make_error<LLVMRemarkSetupFileError>(errorCodeToError(EC));
/openbsd-current/gnu/usr.bin/perl/lib/unicore/To/
H A DBpb.pl66 27EC 27ED
67 27ED 27EC
/openbsd-current/gnu/llvm/llvm/tools/verify-uselistorder/
H A Dverify-uselistorder.cpp112 if (auto EC = sys::fs::createTemporaryFile("uselistorder", Ext, Vector)) {
113 errs() << "verify-uselistorder: error: " << EC.message() << "\n";
127 std::error_code EC; local
128 raw_fd_ostream OS(Filename, EC, sys::fs::OF_None);
129 if (EC) {
130 errs() << "verify-uselistorder: error: " << EC.message() << "\n";
140 std::error_code EC; local
141 raw_fd_ostream OS(Filename, EC, sys::fs::OF_TextWithCRLF);
142 if (EC) {
143 errs() << "verify-uselistorder: error: " << EC
[all...]
/openbsd-current/gnu/llvm/llvm/lib/Analysis/
H A DVFABIDemangling.cpp291 const ElementCount EC = VecTys[0]->getElementCount(); local
292 return llvm::all_of(llvm::drop_begin(VecTys), [&EC](VectorType *VTy) {
293 return (EC == VTy->getElementCount());
429 // Adjust the VF for scalable signatures. The EC.Min is not encoded
442 const ElementCount EC = getECFromSignature(F->getFunctionType());
443 VF = EC.getKnownMinValue();
/openbsd-current/gnu/llvm/llvm/tools/llvm-cov/
H A DCodeCoverage.cpp215 if (std::error_code EC = sys::fs::make_absolute(EffectivePath)) {
216 error(EC.message(), Path);
242 std::error_code EC; local
243 for (llvm::sys::fs::recursive_directory_iterator F(Path, EC), E;
244 F != E; F.increment(EC)) {
291 if (auto EC = Buffer.getError()) {
292 error(EC.message(), SourceFile);
293 return EC;
534 std::error_code EC = local
536 if (EC) {
[all...]
/openbsd-current/gnu/llvm/llvm/lib/Object/
H A DCOFFObjectFile.cpp47 static bool checkSize(MemoryBufferRef M, std::error_code &EC, uint64_t Size) { argument
49 EC = object_error::unexpected_eof;
788 std::error_code EC; local
789 if (!checkSize(Data, EC, sizeof(coff_file_header)))
790 return errorCodeToError(EC);
800 if (checkSize(Data, EC, sizeof(dos_header) + sizeof(COFF::PEMagic))) {
823 checkSize(Data, EC, sizeof(coff_bigobj_file_header))) {
841 EC = std::error_code();
845 return errorCodeToError(EC);
1584 if (Error EC
[all...]
/openbsd-current/regress/usr.bin/ssh/
H A Dtest-exec.sh757 EC=${SSH_SOFTHSM_DIR}/EC
761 fatal "param EC fail"
762 $OPENSSL_BIN genpkey -paramfile $ECPARAM > $EC || \
763 fatal "genpkey EC fail"
764 $OPENSSL_BIN pkcs8 -nocrypt -in $EC > $ECP8 || fatal "pkcs8 EC fail"
766 --import $ECP8 >/dev/null || fatal "softhsm import EC fail"
767 chmod 600 $EC
768 ssh-keygen -y -f $EC >
[all...]
/openbsd-current/gnu/llvm/llvm/include/llvm/Support/
H A DVirtualFileSystem.h196 directory_iterator &increment(std::error_code &EC) { argument
198 EC = Impl->increment();
238 std::error_code &EC);
244 recursive_directory_iterator &increment(std::error_code &EC);
287 std::error_code &EC) = 0;
382 directory_iterator dir_begin(const Twine &Dir, std::error_code &EC) override;
435 directory_iterator dir_begin(const Twine &Dir, std::error_code &EC) override {
436 return FS->dir_begin(Dir, EC);
488 NamedNodeOrError(std::error_code EC) : Value(EC) {} argument
489 NamedNodeOrError(llvm::errc EC) argument
[all...]
/openbsd-current/gnu/llvm/llvm/lib/XRay/
H A DProfile.cpp268 if (auto EC = sys::fs::file_size(Filename, FileSize))
270 Twine("Cannot get filesize of '") + Filename + "'", EC);
272 std::error_code EC;
275 EC);
277 if (EC)
279 Twine("Cannot mmap profile '") + Filename + "'", EC);
/openbsd-current/gnu/llvm/llvm/lib/DebugInfo/CodeView/
H A DTypeStreamMerger.cpp310 if (auto EC = remapAllTypes(Types))
311 return EC;
326 if (auto EC = remapAllTypes(Types))
327 return EC;
486 if (auto EC = TypeDeserializer::deserializeAs(const_cast<CVType &>(Type),
488 return joinErrors(std::move(EC), errorCorruptRecord());
/openbsd-current/gnu/llvm/llvm/tools/bugpoint/
H A DExecutionDriver.cpp295 std::error_code EC = sys::fs::createUniqueFile( local
297 if (EC) {
298 errs() << ToolName << ": Error making unique filename: " << EC.message()
321 std::error_code EC = sys::fs::createUniqueFile(OutputFile, UniqueFile); local
322 if (EC) {
323 errs() << ToolName << ": Error making unique filename: " << EC.message()
/openbsd-current/gnu/llvm/llvm/tools/llvm-ml/
H A Dllvm-ml.cpp105 std::error_code EC; local
106 auto Out = std::make_unique<ToolOutputFile>(Path, EC, sys::fs::OF_None);
107 if (EC) {
108 WithColor::error() << EC.message() << '\n';
294 if (std::error_code EC = BufferPtr.getError()) {
296 << InputFilename << ": " << EC.message() << '\n';

Completed in 544 milliseconds

1234567891011>>