/freebsd-current/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | WindowsError.h | 15 std::error_code mapWindowsError(unsigned EV);
|
H A D | AutoConvert.h | 42 std::error_code disableAutoConversion(int FD); 47 std::error_code enableAutoConversion(int FD); 50 std::error_code restoreStdHandleAutoConversion(int FD); 53 std::error_code setFileTag(int FD, int CCSID, bool Text);
|
H A D | ConvertEBCDIC.h | 22 std::error_code convertToEBCDIC(StringRef Source,
|
H A D | FileSystem.h | 13 // All functions return an error_code and their actual work via the last out 18 // this does not guarantee that error_code will be in the set of explicitly 20 // errors occur, the correct error_code will be used ]. All functions may 294 /// platform-specific error_code. 295 std::error_code make_absolute(SmallVectorImpl<char> &path); 301 /// specific error_code. If IgnoreExisting is false, also returns 303 std::error_code create_directories(const Twine &path, 311 /// specific error_code. If IgnoreExisting is false, also returns 313 std::error_code create_directory(const Twine &path, bool IgnoreExisting = true, 326 /// specific error_code [all...] |
/freebsd-current/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-current/contrib/llvm-project/libcxx/include/__system_error/ |
H A D | error_code.h | 43 class _LIBCPP_EXPORTED_FROM_ABI error_code { class 48 _LIBCPP_HIDE_FROM_ABI error_code() _NOEXCEPT : __val_(0), __cat_(&system_category()) {} 50 _LIBCPP_HIDE_FROM_ABI error_code(int __val, const error_category& __cat) _NOEXCEPT : __val_(__val), __cat_(&__cat) {} 53 _LIBCPP_HIDE_FROM_ABI error_code(_Ep __e) _NOEXCEPT { 64 _LIBCPP_HIDE_FROM_ABI error_code& operator=(_Ep __e) _NOEXCEPT { 88 inline _LIBCPP_HIDE_FROM_ABI error_code make_error_code(errc __e) _NOEXCEPT { 89 return error_code(static_cast<int>(__e), generic_category()); 92 inline _LIBCPP_HIDE_FROM_ABI bool operator==(const error_code& __x, const error_code& __y) _NOEXCEPT { 96 inline _LIBCPP_HIDE_FROM_ABI bool operator==(const error_code [all...] |
H A D | system_error.h | 15 #include <__system_error/error_code.h> 27 error_code __ec_; 30 system_error(error_code __ec, const string& __what_arg); 31 system_error(error_code __ec, const char* __what_arg); 32 system_error(error_code __ec); 39 _LIBCPP_HIDE_FROM_ABI const error_code& code() const _NOEXCEPT { return __ec_; } 43 _LIBCPP_NORETURN _LIBCPP_HIDE_FROM_ABI inline void __throw_system_error(error_code __ec, const char* __what_arg) {
|
/freebsd-current/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-current/contrib/llvm-project/libcxx/include/__filesystem/ |
H A D | operations.h | 24 #include <__system_error/error_code.h> 37 _LIBCPP_EXPORTED_FROM_ABI path __absolute(const path&, error_code* __ec = nullptr); 38 _LIBCPP_EXPORTED_FROM_ABI path __canonical(const path&, error_code* __ec = nullptr); 40 __copy_file(const path& __from, const path& __to, copy_options __opt, error_code* __ec = nullptr); 42 __copy_symlink(const path& __existing_symlink, const path& __new_symlink, error_code* __ec = nullptr); 44 __copy(const path& __from, const path& __to, copy_options __opt, error_code* __ec = nullptr); 45 _LIBCPP_EXPORTED_FROM_ABI bool __create_directories(const path&, error_code* = nullptr); 47 __create_directory_symlink(const path& __to, const path& __new_symlink, error_code* __ec = nullptr); 48 _LIBCPP_EXPORTED_FROM_ABI bool __create_directory(const path&, error_code* = nullptr); 49 _LIBCPP_EXPORTED_FROM_ABI bool __create_directory(const path&, const path& __attributes, error_code* [all...] |
H A D | directory_entry.h | 25 #include <__system_error/error_code.h> 53 error_code __ec; 57 _LIBCPP_HIDE_FROM_ABI directory_entry(_Path const& __p, error_code& __ec) : __p_(__p) { __refresh(&__ec); } 66 error_code __ec; 70 _LIBCPP_HIDE_FROM_ABI void assign(_Path const& __p, error_code& __ec) { 77 error_code __ec; 81 _LIBCPP_HIDE_FROM_ABI void replace_filename(_Path const& __p, error_code& __ec) { 88 _LIBCPP_HIDE_FROM_ABI void refresh(error_code& __ec) noexcept { __refresh(&__ec); } 96 _LIBCPP_HIDE_FROM_ABI bool exists(error_code& __ec) const noexcept { 102 _LIBCPP_HIDE_FROM_ABI bool is_block_file(error_code [all...] |
/freebsd-current/contrib/llvm-project/llvm/include/llvm/ProfileData/ |
H A D | SampleProfWriter.h | 96 virtual std::error_code writeSample(const FunctionSamples &S) = 0; 101 virtual std::error_code write(const SampleProfileMap &ProfileMap); 108 std::error_code writeWithSizeLimit(SampleProfileMap &ProfileMap, 138 virtual std::error_code writeHeader(const SampleProfileMap &ProfileMap) = 0; 141 virtual std::error_code writeFuncProfiles(const SampleProfileMap &ProfileMap); 143 std::error_code writeWithSizeLimitInternal(SampleProfileMap &ProfileMap, 168 std::error_code writeSample(const FunctionSamples &S) override; 174 std::error_code writeHeader(const SampleProfileMap &ProfileMap) override { 196 std::error_code writeSample(const FunctionSamples &S) override; 200 virtual std::error_code writeMagicIden [all...] |
H A D | SampleProfReader.h | 355 virtual std::error_code readHeader() = 0; 374 std::error_code read() { 375 if (std::error_code EC = readImpl()) 384 virtual std::error_code readImpl() = 0; 563 std::error_code readHeader() override { return sampleprof_error::success; } 566 std::error_code readImpl() override; 587 std::error_code readHeader() override; 590 std::error_code readImpl() override; 623 std::error_code readFuncProfile(const uint8_t *Start); 626 std::error_code readProfil [all...] |
/freebsd-current/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-current/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-current/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-current/contrib/llvm-project/llvm/lib/Support/ |
H A D | AutoConvert.cpp | 83 std::error_code llvm::disableAutoConversion(int FD) { 85 return std::error_code(errno, std::generic_category()); 87 return std::error_code(); 90 std::error_code llvm::enableAutoConversion(int FD) { 92 return std::error_code(errno, std::generic_category()); 94 return std::error_code(); 97 std::error_code llvm::restoreStdHandleAutoConversion(int FD) { 99 return std::error_code(errno, std::generic_category()); 101 return std::error_code(); 104 std::error_code llv [all...] |
H A D | RandomNumberGenerator.cpp | 68 std::error_code llvm::getRandomBytes(void *Buffer, size_t Size) { 75 return std::error_code(); 77 return std::error_code(GetLastError(), std::system_category()); 81 std::error_code Ret; 84 Ret = std::error_code(errno, std::system_category()); 86 Ret = std::error_code(EIO, std::system_category()); 88 Ret = std::error_code(errno, std::system_category()); 92 return std::error_code(errno, std::system_category());
|
H A D | Error.cpp | 28 // deal with the Error value directly, rather than converting to error_code. 39 "not be converted to a known std::error_code. Please file a " 85 std::error_code ErrorList::convertToErrorCode() const { 86 return std::error_code(static_cast<int>(ErrorErrorCode::MultipleErrors), 90 std::error_code inconvertibleErrorCode() { 91 return std::error_code(static_cast<int>(ErrorErrorCode::InconvertibleError), 95 std::error_code FileError::convertToErrorCode() const { 96 std::error_code NestedEC = Err->convertToErrorCode(); 98 return std::error_code(static_cast<int>(ErrorErrorCode::FileError), 103 Error errorCodeToError(std::error_code E [all...] |
/freebsd-current/contrib/llvm-project/libcxx/src/ |
H A D | system_error.cpp | 97 string make_error_str(const error_code& ec, string what_arg) { 107 string make_error_str(const error_code& ec) { 188 // error_code 190 string error_code::message() const { return __cat_->message(__val_); } 194 system_error::system_error(error_code ec, const string& what_arg) 197 system_error::system_error(error_code ec, const char* what_arg) 200 system_error::system_error(error_code ec) : runtime_error(make_error_str(ec)), __ec_(ec) {} 203 : runtime_error(make_error_str(error_code(ev, ecat), what_arg)), __ec_(error_code(ev, ecat)) {} 206 : runtime_error(make_error_str(error_code(e [all...] |
/freebsd-current/contrib/llvm-project/libcxx/src/filesystem/ |
H A D | directory_entry.cpp | 20 error_code directory_entry::__do_refresh() noexcept { 22 error_code failure_ec; 40 error_code ignored_ec; 50 return error_code{}; 66 error_code ignored_ec;
|
/freebsd-current/contrib/llvm-project/llvm/lib/ProfileData/ |
H A D | SampleProfReader.cpp | 317 std::error_code SampleProfileReaderText::readImpl() { 472 std::error_code EC = sampleprof_error::malformed; 476 std::error_code EC = sampleprof_error::truncated; 488 std::error_code EC = sampleprof_error::truncated; 500 std::error_code EC = sampleprof_error::truncated; 513 if (std::error_code EC = Idx.getError()) 523 if (std::error_code EC = Idx.getError()) 533 if (std::error_code EC = ContextIdx.getError()) 548 if (std::error_code EC = FContext.getError()) 553 if (std::error_code E [all...] |
/freebsd-current/contrib/llvm-project/lld/Common/ |
H A D | Filesystem.cpp | 87 std::error_code ec = sys::fs::openFileForRead(path, fd); 125 std::error_code lld::tryCreateFile(StringRef path) { 128 return std::error_code(); 130 return std::error_code(); 136 std::error_code ec; 151 std::error_code ec;
|
/freebsd-current/lib/libc/tests/stdio/ |
H A D | gets_s_test.c | 36 static errno_t error_code; variable 42 error_code = error; 111 error_code = 0; 115 ATF_CHECK_MSG(error_code > 0, "gets_s() error code is %d", error_code); 125 error_code = 0; 129 ATF_CHECK_MSG(error_code > 0, "gets_s() error code is %d", error_code);
|
/freebsd-current/lib/libc/net/ |
H A D | nscachedcli.c | 256 int error_code; local 259 error_code = -1; 290 result = safe_read(connection, &error_code, sizeof(int)); 292 error_code = -1; 295 return (error_code); 308 int error_code, rec_error_code; local 313 error_code = -1; 341 error_code = rec_error_code; 351 error_code = -2; 360 error_code 379 int error_code; local 424 int error_code; local 486 int error_code; local 527 int error_code, rec_error_code; local [all...] |
/freebsd-current/contrib/llvm-project/lldb/include/lldb/Utility/ |
H A D | UnimplementedError.h | 22 std::error_code convertToErrorCode() const override {
|