/openbsd-current/gnu/llvm/llvm/lib/DebugInfo/CodeView/ |
H A D | DebugChecksumsSubsection.cpp | 39 if (auto EC = Reader.readObject(Header)) 40 return EC; 44 if (auto EC = Reader.readBytes(Item.Checksum, Header->ChecksumSize)) 45 return EC; 52 if (auto EC = Reader.readArray(Checksums, Reader.bytesRemaining())) 53 return EC; 100 if (auto EC = Writer.writeObject(Header)) 101 return EC; 102 if (auto EC = Writer.writeArray(ArrayRef(FC.Checksum))) 103 return EC; [all...] |
H A D | DebugCrossExSubsection.cpp | 47 if (auto EC = Writer.writeInteger(M.first)) 48 return EC; 49 if (auto EC = Writer.writeInteger(M.second)) 50 return EC;
|
H A D | CVTypeVisitor.cpp | 28 if (auto EC = Callbacks.visitKnownRecord(Record, KnownRecord)) 29 return EC; 38 if (auto EC = Callbacks.visitKnownMember(Record, KnownRecord)) 39 return EC; 45 if (auto EC = Callbacks.visitMemberBegin(Record)) 46 return EC; 50 if (auto EC = Callbacks.visitUnknownMember(Record)) 51 return EC; 55 if (auto EC = visitKnownMember<Name##Record>(Record, Callbacks)) \ 56 return EC; \ [all...] |
/openbsd-current/gnu/llvm/llvm/lib/DebugInfo/PDB/Native/ |
H A D | DbiStream.cpp | 40 if (auto EC = Reader.readArray(Output, Count)) 41 return EC; 56 if (auto EC = Reader.readObject(Header)) 98 if (auto EC = Reader.readSubstream(ModiSubstream, Header->ModiSubstreamSize)) 99 return EC; 101 if (auto EC = Reader.readSubstream(SecContrSubstream, 103 return EC; 104 if (auto EC = Reader.readSubstream(SecMapSubstream, Header->SectionMapSize)) 105 return EC; 106 if (auto EC [all...] |
H A D | GlobalsStream.cpp | 111 if (auto EC = checkHashHdrVersion(HashHdr)) 112 return EC; 120 if (auto EC = Reader.readArray(HashRecords, NumHashRecords)) 121 return joinErrors(std::move(EC), 134 if (auto EC = checkHashHdrVersion(HashHdr)) 135 return EC; 141 if (auto EC = Reader.readArray(HashBitmap, NumBitmapEntries)) 142 return joinErrors(std::move(EC), 162 if (auto EC = Reader.readArray(HashBuckets, NumBuckets)) 163 return joinErrors(std::move(EC), [all...] |
H A D | DbiStreamBuilder.cpp | 198 if (auto EC = MetadataWriter.writeInteger(ModiCount)) // NumModules 199 return EC; 200 if (auto EC = MetadataWriter.writeInteger(FileCount)) // NumSourceFiles 201 return EC; 203 if (auto EC = MetadataWriter.writeInteger(I)) // Mod Indices 204 return EC; 208 if (auto EC = MetadataWriter.writeInteger(FileCount)) // Mod File Counts 209 return EC; 220 if (auto EC = NameBufferWriter.writeCString(Name.getKey())) 221 return EC; [all...] |
H A D | DbiModuleDescriptor.cpp | 24 if (auto EC = Reader.readObject(Info.Layout)) 25 return EC; 27 if (auto EC = Reader.readCString(Info.ModuleName)) 28 return EC; 30 if (auto EC = Reader.readCString(Info.ObjFileName)) 31 return EC;
|
H A D | PublicsStream.cpp | 76 if (auto EC = Reader.readArray(AddressMap, NumAddressMapEntries)) 77 return joinErrors(std::move(EC), 82 if (auto EC = Reader.readArray(ThunkMap, Header->NumThunks)) 83 return joinErrors(std::move(EC), 89 if (auto EC = Reader.readArray(SectionOffsets, Header->NumSections)) 90 return joinErrors(std::move(EC),
|
H A D | NamedStreamMap.cpp | 51 if (auto EC = Stream.readInteger(StringBufferSize)) 52 return joinErrors(std::move(EC), 57 if (auto EC = Stream.readFixedString(Buffer, StringBufferSize)) 58 return EC; 66 if (auto EC = Writer.writeInteger<uint32_t>(NamesBuffer.size())) 67 return EC; 71 if (auto EC = Writer.writeFixedString(Data)) 72 return EC; 75 if (auto EC = OffsetIndexMap.commit(Writer)) 76 return EC; [all...] |
H A D | PDBFileBuilder.cpp | 147 if (auto EC = Gsi->finalizeMsfLayout()) 148 return EC; 156 if (auto EC = Tpi->finalizeMsfLayout()) 157 return EC; 160 if (auto EC = Dbi->finalizeMsfLayout()) 161 return EC; 168 if (auto EC = Ipi->finalizeMsfLayout()) 169 return EC; 175 if (auto EC = Info->finalizeMsfLayout()) 176 return EC; [all...] |
H A D | PDBFile.cpp | 109 if (auto EC = Buffer->readBytes(StreamBlockOffset, NumBytes, Result)) 110 return std::move(EC); 125 if (auto EC = Reader.readObject(SB)) { 126 consumeError(std::move(EC)); 131 if (auto EC = msf::validateSuperBlock(*SB)) 132 return EC; 158 if (auto EC = FpmReader.readBytes(FpmBytes, FpmReader.bytesRemaining())) 159 return EC; 173 if (auto EC = Reader.readArray(ContainerLayout.DirectoryBlocks, 175 return EC; [all...] |
/openbsd-current/gnu/llvm/llvm/lib/Support/ |
H A D | FileCollector.cpp | 30 std::error_code EC; local 31 addDirectoryImpl(Dir, vfs::getRealFileSystem(), EC); 139 std::error_code &EC) { 140 auto It = FS->dir_begin(Dir, EC); 141 if (EC) 144 for (; !EC && It != llvm::vfs::directory_iterator(); It.increment(EC)) { 151 if (EC) 154 return FS->dir_begin(Dir, EC); 164 if (auto EC 137 addDirectoryImpl(const llvm::Twine &Dir, IntrusiveRefCntPtr<vfs::FileSystem> FS, std::error_code &EC) argument 245 std::error_code EC; local 285 auto EC = FS->getRealPath(Path, Output); variable [all...] |
H A D | ToolOutputFile.cpp | 40 ToolOutputFile::ToolOutputFile(StringRef Filename, std::error_code &EC, argument 45 EC = std::error_code(); 48 OSHolder.emplace(Filename, EC, Flags); 51 if (EC)
|
H A D | BinaryStreamWriter.cpp | 28 if (auto EC = Stream.writeBytes(Offset, Buffer)) 29 return EC; 47 if (auto EC = writeFixedString(Str)) 48 return EC; 49 if (auto EC = writeObject('\0')) 50 return EC; 73 if (auto EC = SrcReader.readLongestContiguousChunk(Chunk)) 74 return EC; 75 if (auto EC = writeBytes(Chunk)) 76 return EC; [all...] |
H A D | Caching.cpp | 50 std::error_code EC; local 61 EC = MBOrErr.getError(); 63 EC = errorToErrorCode(FDOrErr.takeError()); 72 if (EC != errc::no_such_file_or_directory && EC != errc::permission_denied) 73 return createStringError(EC, Twine("Failed to open cache file ") + 74 EntryPath + ": " + EC.message() + "\n"); 119 std::error_code EC = E.convertToErrorCode(); 120 if (EC != errc::permission_denied) 121 return errorCodeToError(EC); [all...] |
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.pt/ |
H A D | mi1.C | 39 template <class EC> class 44 EC ec; 46 template <class EC> 47 class ECPrivateKey : public ECPublicKey<EC>, public PKWPS 52 template <class EC> 53 class ECKEP : public ECPrivateKey<EC>
|
/openbsd-current/gnu/llvm/clang/tools/apinotes-test/ |
H A D | APINotesTest.cpp | 34 std::error_code EC; local 35 auto Out = std::make_unique<llvm::ToolOutputFile>(OutputFileName, EC, 37 if (EC) { 38 Error("failed to open '" + OutputFileName + "': " + EC.message()); 45 if (std::error_code EC = NotesOrError.getError()) { 46 llvm::errs() << EC.message() << '\n';
|
/openbsd-current/gnu/llvm/clang/lib/DirectoryWatcher/ |
H A D | DirectoryScanner.cpp | 20 std::error_code EC = status(Path, Status); local 21 if (EC) 30 std::error_code EC; local 31 for (auto It = fs::directory_iterator(Path, EC), 33 !EC && It != End; It.increment(EC)) {
|
/openbsd-current/sys/dev/pci/drm/display/ |
H A D | drm_hdmi_helper.c | 88 #define EC(x) ((x) << 2) macro 92 #define HDMI_COLORIMETRY_SMPTE_170M_YCC (C(1) | EC(0) | ACE(0)) 93 #define HDMI_COLORIMETRY_BT709_YCC (C(2) | EC(0) | ACE(0)) 94 #define HDMI_COLORIMETRY_XVYCC_601 (C(3) | EC(0) | ACE(0)) 95 #define HDMI_COLORIMETRY_XVYCC_709 (C(3) | EC(1) | ACE(0)) 96 #define HDMI_COLORIMETRY_SYCC_601 (C(3) | EC(2) | ACE(0)) 97 #define HDMI_COLORIMETRY_OPYCC_601 (C(3) | EC(3) | ACE(0)) 98 #define HDMI_COLORIMETRY_OPRGB (C(3) | EC(4) | ACE(0)) 99 #define HDMI_COLORIMETRY_BT2020_CYCC (C(3) | EC(5) | ACE(0)) 100 #define HDMI_COLORIMETRY_BT2020_RGB (C(3) | EC( 120 #undef EC macro [all...] |
/openbsd-current/gnu/llvm/llvm/tools/llvm-debuginfo-analyzer/ |
H A D | llvm-debuginfo-analyzer.cpp | 31 static void error(std::error_code EC, char const *Fmt, const Ts &...Vals) { argument 32 if (!EC) 41 static void error(Error EC) { argument 42 if (!EC) 44 handleAllErrors(std::move(EC), [&](const ErrorInfoBase &EI) { 62 std::error_code EC; local 64 for (sys::fs::directory_iterator Dir(BundlePath, EC), DirEnd; 65 Dir != DirEnd && !EC; Dir.increment(EC)) { 68 EC 106 std::error_code EC; local [all...] |
/openbsd-current/gnu/llvm/clang/lib/Frontend/ |
H A D | SerializedDiagnosticReader.cpp | 66 std::error_code EC; local 90 if ((EC = readMetaBlock(Stream))) 91 return EC; 94 if ((EC = readDiagnosticBlock(Stream))) 95 return EC; 219 std::error_code EC; local 220 if ((EC = visitStartOfDiagnostic())) 221 return EC; 234 if ((EC = readDiagnosticBlock(Stream))) 235 return EC; [all...] |
/openbsd-current/regress/usr.bin/ssh/ |
H A D | agent-pkcs11-cert.sh | 18 $SSHKEYGEN -qs $OBJ/ca -I "ecdsa_key" -n $USER -z 1 ${SSH_SOFTHSM_DIR}/EC.pub || 45 ${SSH_SOFTHSM_DIR}/EC.pub \ 46 ${SSH_SOFTHSM_DIR}/EC-cert.pub \ 52 ${SSH_SOFTHSM_DIR}/EC.pub \ 54 ${SSH_SOFTHSM_DIR}/EC-cert.pub \ 60 for x in ${SSH_SOFTHSM_DIR}/EC.pub ${SSH_SOFTHSM_DIR}/RSA.pub \ 61 ${SSH_SOFTHSM_DIR}/EC-cert.pub ${SSH_SOFTHSM_DIR}/RSA-cert.pub ; do 66 $SSHADD -qd ${SSH_SOFTHSM_DIR}/EC.pub ${SSH_SOFTHSM_DIR}/RSA.pub 68 for x in ${SSH_SOFTHSM_DIR}/EC-cert.pub ${SSH_SOFTHSM_DIR}/RSA-cert.pub ; do 77 ${SSH_SOFTHSM_DIR}/EC [all...] |
/openbsd-current/gnu/llvm/llvm/lib/Bitcode/Writer/ |
H A D | BitWriter.cpp | 21 std::error_code EC; local 22 raw_fd_ostream OS(Path, EC, sys::fs::OF_None); 24 if (EC)
|
/openbsd-current/gnu/llvm/llvm/include/llvm/Support/ |
H A D | LowLevelTypeImpl.h | 56 static constexpr LLT vector(ElementCount EC, unsigned ScalarSizeInBits) { argument 57 assert(!EC.isScalar() && "invalid number of vector elements"); 59 EC, ScalarSizeInBits, /*AddressSpace=*/0}; 63 static constexpr LLT vector(ElementCount EC, LLT ScalarTy) { argument 64 assert(!EC.isScalar() && "invalid number of vector elements"); 69 EC, 100 static constexpr LLT scalarOrVector(ElementCount EC, LLT ScalarTy) { argument 101 return EC.isScalar() ? ScalarTy : LLT::vector(EC, ScalarTy); 104 static constexpr LLT scalarOrVector(ElementCount EC, uint64_ argument 110 LLT(bool isPointer, bool isVector, bool isScalar, ElementCount EC, uint64_t SizeInBits, unsigned AddressSpace) argument 365 init(bool IsPointer, bool IsVector, bool IsScalar, ElementCount EC, uint64_t SizeInBits, unsigned AddressSpace) argument [all...] |
/openbsd-current/gnu/llvm/llvm/include/llvm/DebugInfo/CodeView/ |
H A D | CodeViewRecordIO.h | 94 if (auto EC = Reader->readObject(ValuePtr)) 95 return EC; 124 if (auto EC = mapInteger(X, Comment)) 125 return EC; 153 if (auto EC = Mapper(*this, X)) 154 return EC; 158 if (auto EC = Writer->writeInteger(Size)) 159 return EC; 162 if (auto EC = Mapper(*this, X)) 163 return EC; [all...] |