/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | WindowsError.h | 15 std::error_code mapWindowsError(unsigned EV);
|
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Frontend/ |
H A D | SerializedDiagnosticReader.h | 41 inline std::error_code make_error_code(SDError E) { 42 return std::error_code(static_cast<int>(E), SDErrorCategory()); 66 std::error_code readDiagnostics(StringRef File); 76 std::error_code readMetaBlock(llvm::BitstreamCursor &Stream); 79 std::error_code readDiagnosticBlock(llvm::BitstreamCursor &Stream); 83 virtual std::error_code visitStartOfDiagnostic() { return {}; } 86 virtual std::error_code visitEndOfDiagnostic() { return {}; } 89 virtual std::error_code visitCategoryRecord(unsigned ID, StringRef Name) { 94 virtual std::error_code visitDiagFlagRecord(unsigned ID, StringRef Name) { 99 virtual std::error_code [all...] |
/freebsd-11-stable/contrib/llvm-project/lld/include/lld/Common/ |
H A D | Filesystem.h | 17 std::error_code tryCreateFile(StringRef path);
|
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-cxxdump/ |
H A D | Error.h | 27 inline std::error_code make_error_code(cxxdump_error e) { 28 return std::error_code(static_cast<int>(e), cxxdump_category());
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/ |
H A D | RandomNumberGenerator.cpp | 58 std::error_code llvm::getRandomBytes(void *Buffer, size_t Size) { 65 return std::error_code(); 67 return std::error_code(GetLastError(), std::system_category()); 71 std::error_code Ret; 74 Ret = std::error_code(errno, std::system_category()); 76 Ret = std::error_code(EIO, std::system_category()); 78 Ret = std::error_code(errno, std::system_category()); 82 return std::error_code(errno, std::system_category());
|
H A D | Error.cpp | 27 // deal with the Error value directly, rather than converting to error_code. 38 "not be converted to a known std::error_code. Please file a " 72 std::error_code ErrorList::convertToErrorCode() const { 73 return std::error_code(static_cast<int>(ErrorErrorCode::MultipleErrors), 77 std::error_code inconvertibleErrorCode() { 78 return std::error_code(static_cast<int>(ErrorErrorCode::InconvertibleError), 82 std::error_code FileError::convertToErrorCode() const { 83 return std::error_code(static_cast<int>(ErrorErrorCode::FileError), 87 Error errorCodeToError(std::error_code EC) { 93 std::error_code errorToErrorCod [all...] |
/freebsd-11-stable/contrib/gdb/include/ |
H A D | os9k.h | 162 error_code _os_crc (void *, u_int32, int *); 163 error_code _os_datmod (char *, u_int32, u_int16 *, u_int16 *, u_int32, void **, mh_data **); 164 error_code _os_get_moddir (void *, u_int32 *); 165 error_code _os_initdata (mh_com *, void *); 166 error_code _os_link (char **, mh_com **, void **, u_int16 *, u_int16 *); 167 error_code _os_linkm (mh_com *, void **, u_int16 *, u_int16 *); 168 error_code _os_load (char *, mh_com **, void **, u_int32, u_int16 *, u_int16 *, u_int32); 169 error_code _os_mkmodule (char *, u_int32, u_int16 *, u_int16 *, u_int32, void **, mh_com **, u_int32); 170 error_code _os_modaddr (void *, mh_com **); 171 error_code _os_setcr [all...] |
/freebsd-11-stable/crypto/heimdal/lib/krb5/ |
H A D | mk_error.c | 38 krb5_error_code error_code, 64 if(error_code < KRB5KDC_ERR_NONE || error_code >= KRB5_ERR_RCSID) { 66 e_text = e_text2 = krb5_get_error_message(context, error_code); 67 error_code = KRB5KRB_ERR_GENERIC; 69 msg.error_code = error_code - KRB5KDC_ERR_NONE; 37 krb5_mk_error(krb5_context context, krb5_error_code error_code, const char *e_text, const krb5_data *e_data, const krb5_principal client, const krb5_principal server, time_t *client_time, int *client_usec, krb5_data *reply) argument
|
/freebsd-11-stable/contrib/com_err/ |
H A D | compile_et.h | 54 struct error_code { struct 58 struct error_code *next, **tail; 61 extern struct error_code *codes;
|
/freebsd-11-stable/crypto/heimdal/lib/com_err/ |
H A D | compile_et.h | 57 struct error_code { struct 61 struct error_code *next, **tail; 64 extern struct error_code *codes;
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/ProfileData/ |
H A D | SampleProfWriter.h | 39 virtual std::error_code writeSample(const FunctionSamples &S) = 0; 44 virtual std::error_code write(const StringMap<FunctionSamples> &ProfileMap); 66 virtual std::error_code 70 virtual std::error_code 89 std::error_code writeSample(const FunctionSamples &S) override; 95 std::error_code 117 virtual std::error_code writeSample(const FunctionSamples &S) override; 120 virtual std::error_code writeMagicIdent(SampleProfileFormat Format); 121 virtual std::error_code writeNameTable(); 122 virtual std::error_code [all...] |
H A D | SampleProfReader.h | 330 virtual std::error_code readHeader() = 0; 333 std::error_code read() { 334 if (std::error_code EC = readImpl()) 342 virtual std::error_code readImpl() = 0; 460 std::error_code readHeader() override { return sampleprof_error::success; } 463 std::error_code readImpl() override; 476 virtual std::error_code readHeader() override; 479 std::error_code readImpl() override; 513 std::error_code readFuncProfile(const uint8_t *Start); 516 std::error_code readProfil [all...] |
/freebsd-11-stable/contrib/llvm-project/lld/include/lld/Core/ |
H A D | Error.h | 30 inline std::error_code make_error_code(YamlReaderError e) { 31 return std::error_code(static_cast<int>(e), YamlReaderCategory()); 34 /// Creates an error_code object that has associated with it an arbitrary 35 /// error message. The value() of the error_code will always be non-zero 38 /// Note: Once ErrorOr<> is updated to work with errors other than error_code, 40 std::error_code make_dynamic_error_code(StringRef msg); 53 std::error_code convertToErrorCode() const override {
|
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-readobj/ |
H A D | Error.h | 30 inline std::error_code make_error_code(readobj_error e) { 31 return std::error_code(static_cast<int>(e), readobj_category());
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/ProfileData/ |
H A D | SampleProfReader.cpp | 194 std::error_code SampleProfileReaderText::readImpl() { 291 std::error_code EC; 311 std::error_code EC; 325 std::error_code EC; 340 std::error_code EC; 342 if (std::error_code EC = Idx.getError()) 351 if (std::error_code EC = Idx.getError()) 359 if (std::error_code EC = Idx.getError()) 365 std::error_code 368 if (std::error_code E [all...] |
H A D | SampleProfWriter.cpp | 43 std::error_code SampleProfileWriter::writeFuncProfiles( 59 if (std::error_code EC = writeSample(*I.second)) 65 std::error_code 67 if (std::error_code EC = writeHeader(ProfileMap)) 70 if (std::error_code EC = writeFuncProfiles(ProfileMap)) 95 std::error_code SampleProfileWriterExtBinaryBase::compressAndOutput() { 116 std::error_code 122 if (std::error_code EC = compressAndOutput()) 130 std::error_code SampleProfileWriterExtBinaryBase::write( 132 if (std::error_code E [all...] |
/freebsd-11-stable/contrib/llvm-project/libcxx/src/ |
H A D | system_error.cpp | 53 error_category::equivalent(const error_code& code, int condition) const _NOEXCEPT 221 // error_code 224 error_code::message() const 232 system_error::__init(const error_code& ec, string what_arg) 243 system_error::system_error(error_code ec, const string& what_arg) 249 system_error::system_error(error_code ec, const char* what_arg) 255 system_error::system_error(error_code ec) 262 : runtime_error(__init(error_code(ev, ecat), what_arg)), 263 __ec_(error_code(ev, ecat)) 268 : runtime_error(__init(error_code(e [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/OrcError/ |
H A D | RPCError.cpp | 29 std::error_code ConnectionClosed::convertToErrorCode() const { 37 std::error_code ResponseAbandoned::convertToErrorCode() const { 48 std::error_code CouldNotNegotiate::convertToErrorCode() const {
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Object/ |
H A D | COFFObjectFile.cpp | 46 static bool checkSize(MemoryBufferRef M, std::error_code &EC, uint64_t Size) { 57 static std::error_code getObject(const T *&Obj, MemoryBufferRef M, 61 if (std::error_code EC = Binary::checkOffset(M, Addr, Size)) 64 return std::error_code(); 152 if (std::error_code EC = getSymbolName(Symb, Result)) 178 if (std::error_code EC = getSection(SectionNumber, Section)) 254 if (std::error_code EC = getSection(Symb.getSectionNumber(), Sec)) 401 std::error_code COFFObjectFile::initSymbolTablePtr() { 403 if (std::error_code EC = getObject( 409 if (std::error_code E [all...] |
/freebsd-11-stable/contrib/llvm-project/libcxx/src/filesystem/ |
H A D | directory_iterator.cpp | 62 error_code& ec) { 111 __dir_stream(const path& root, directory_options opts, error_code& ec) 115 ec = error_code(::GetLastError(), generic_category()); 132 bool advance(error_code& ec) { 146 ec = error_code(::GetLastError(), generic_category()); 152 error_code close() noexcept { 153 error_code ec; 155 ec = error_code(::GetLastError(), generic_category()); 179 __dir_stream(const path& root, directory_options opts, error_code& ec) 199 bool advance(error_code [all...] |
/freebsd-11-stable/lib/libc/tests/stdio/ |
H A D | gets_s_test.c | 39 static errno_t error_code; variable 45 error_code = error; 114 error_code = 0; 118 ATF_CHECK_MSG(error_code > 0, "gets_s() error code is %d", error_code); 128 error_code = 0; 132 ATF_CHECK_MSG(error_code > 0, "gets_s() error code is %d", error_code);
|
/freebsd-11-stable/lib/libc/net/ |
H A D | nscachedcli.c | 260 int error_code; local 263 error_code = -1; 294 result = safe_read(connection, &error_code, sizeof(int)); 296 error_code = -1; 299 return (error_code); 312 int error_code, rec_error_code; local 317 error_code = -1; 345 error_code = rec_error_code; 355 error_code = -2; 364 error_code 383 int error_code; local 428 int error_code; local 491 int error_code; local 532 int error_code, rec_error_code; local [all...] |
/freebsd-11-stable/contrib/llvm-project/lld/Common/ |
H A D | Filesystem.cpp | 55 std::error_code ec = sys::fs::openFileForRead(path, fd); 93 std::error_code lld::tryCreateFile(StringRef path) { 95 return std::error_code(); 97 return std::error_code();
|
/freebsd-11-stable/crypto/heimdal/lib/hx509/ |
H A D | error.c | 147 * Get an error string from context associated with error_code. 150 * @param error_code Get error message for this error code. 158 hx509_get_error_string(hx509_context context, int error_code) argument 163 if (msg == NULL || msg->code != error_code) { 167 cstr = com_right(context->et_list, error_code); 170 cstr = strerror(error_code); 173 if (asprintf(&str, "<unknown error: %d>", error_code) == -1) 204 * @param error_code Error code for the reason to exit. 213 int error_code, const char *fmt, ...) 222 msg = hx509_get_error_string(context, error_code); 212 hx509_err(hx509_context context, int exit_code, int error_code, const char *fmt, ...) argument [all...] |
/freebsd-11-stable/usr.sbin/nscd/ |
H A D | protocol.h | 51 int error_code; member in struct:cache_write_response 63 char *data; // ignored if error_code is not 0 64 size_t data_size; // ignored if error_code is not 0 66 int error_code; member in struct:cache_read_response 82 int error_code; member in struct:cache_transform_response 91 int error_code; member in struct:cache_mp_write_session_response 100 int error_code; member in struct:cache_mp_write_session_write_response 109 int error_code; member in struct:cache_mp_read_session_response 116 int error_code; member in struct:cache_mp_read_session_read_response
|