Searched refs:error_code (Results 26 - 50 of 518) sorted by relevance

1234567891011>>

/freebsd-current/contrib/llvm-project/lld/include/lld/Common/
H A DFilesystem.h19 std::error_code tryCreateFile(StringRef path);
/freebsd-current/contrib/llvm-project/llvm/lib/TextAPI/
H A DTextAPIError.cpp37 std::error_code TextAPIError::convertToErrorCode() const {
/freebsd-current/crypto/heimdal/lib/hx509/
H A Derror.c147 * 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-current/usr.sbin/nscd/
H A Dprotocol.h49 int error_code; member in struct:cache_write_response
61 char *data; // ignored if error_code is not 0
62 size_t data_size; // ignored if error_code is not 0
64 int error_code; member in struct:cache_read_response
80 int error_code; member in struct:cache_transform_response
89 int error_code; member in struct:cache_mp_write_session_response
98 int error_code; member in struct:cache_mp_write_session_write_response
107 int error_code; member in struct:cache_mp_read_session_response
114 int error_code; member in struct:cache_mp_read_session_read_response
/freebsd-current/contrib/llvm-project/libcxx/include/__filesystem/
H A Drecursive_directory_iterator.h23 #include <__system_error/error_code.h>
56 _LIBCPP_HIDE_FROM_ABI recursive_directory_iterator(const path& __p, directory_options __xoptions, error_code& __ec)
59 _LIBCPP_HIDE_FROM_ABI recursive_directory_iterator(const path& __p, error_code& __ec)
90 _LIBCPP_HIDE_FROM_ABI recursive_directory_iterator& increment(error_code& __ec) { return __increment(&__ec); }
97 _LIBCPP_HIDE_FROM_ABI void pop(error_code& __ec) { __pop(&__ec); }
112 _LIBCPP_EXPORTED_FROM_ABI recursive_directory_iterator(const path& __p, directory_options __opt, error_code* __ec);
114 _LIBCPP_EXPORTED_FROM_ABI bool __try_recursion(error_code* __ec);
115 _LIBCPP_EXPORTED_FROM_ABI void __advance(error_code* __ec = nullptr);
116 _LIBCPP_EXPORTED_FROM_ABI recursive_directory_iterator& __increment(error_code* __ec = nullptr);
117 _LIBCPP_EXPORTED_FROM_ABI void __pop(error_code* __e
[all...]
H A Dfilesystem_error.h17 #include <__system_error/error_code.h>
33 _LIBCPP_HIDE_FROM_ABI filesystem_error(const string& __what, error_code __ec)
38 _LIBCPP_HIDE_FROM_ABI filesystem_error(const string& __what, const path& __p1, error_code __ec)
43 _LIBCPP_HIDE_FROM_ABI filesystem_error(const string& __what, const path& __p1, const path& __p2, error_code __ec)
/freebsd-current/contrib/llvm-project/clang/lib/Basic/
H A DFileSystemStatCache.cpp33 std::error_code
39 std::error_code RetCode;
98 return std::error_code();
101 std::error_code
119 return std::error_code();
/freebsd-current/contrib/llvm-project/llvm/include/llvm/Support/
H A DMemory.h100 std::error_code &EC);
107 /// \r error_success if the function was successful, or an error_code
111 static std::error_code releaseMappedMemory(MemoryBlock &Block);
123 /// \r error_success if the function was successful, or an error_code
127 static std::error_code protectMappedMemory(const MemoryBlock &Block,
159 std::error_code release() {
160 std::error_code EC;
H A DFileCollector.h42 std::error_code &EC) = 0;
98 std::error_code writeMapping(StringRef MappingFile);
105 std::error_code copyFiles(bool StopOnError = true);
129 std::error_code &EC) override;
/freebsd-current/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/Shared/
H A DOrcError.cpp25 // deal with the Error value directly, rather than converting to error_code.
84 std::error_code orcError(OrcErrorCode ErrCode) {
86 return std::error_code(static_cast<UT>(ErrCode), getOrcErrCat());
92 std::error_code DuplicateDefinition::convertToErrorCode() const {
107 std::error_code JITSymbolNotFound::convertToErrorCode() const {
109 return std::error_code(static_cast<UT>(OrcErrorCode::JITSymbolNotFound),
/freebsd-current/contrib/llvm-project/libcxx/src/filesystem/
H A Ddirectory_iterator.cpp42 __dir_stream(const path& root, directory_options opts, error_code& ec)
68 bool advance(error_code& ec) {
91 error_code close() noexcept {
92 error_code ec;
117 __dir_stream(const path& root, directory_options opts, error_code& ec) : __stream_(nullptr), __root_(root) {
135 bool advance(error_code& ec) {
152 error_code close() noexcept {
153 error_code m_ec;
170 directory_iterator::directory_iterator(const path& p, error_code* ec, directory_options opts) {
173 error_code m_e
[all...]
H A Doperations.cpp65 static path __do_absolute(const path& p, path* cwd, error_code* ec) {
76 path __absolute(const path& p, error_code* ec) {
81 path __canonical(path const& orig_p, error_code* ec) {
104 void __copy(const path& from, const path& to, copy_options options, error_code* ec) {
111 error_code m_ec1;
168 error_code m_ec2;
185 bool copy_file_impl(FileDescriptor& read_fd, FileDescriptor& write_fd, error_code& ec) {
201 bool copy_file_impl(FileDescriptor& read_fd, FileDescriptor& write_fd, error_code& ec) {
222 bool copy_file_impl(FileDescriptor& read_fd, FileDescriptor& write_fd, error_code& ec) {
262 bool __copy_file(const path& from, const path& to, copy_options options, error_code* e
[all...]
H A Dfile_descriptor.h74 inline pair<string_view, file_type> posix_readdir(DIR* dir_stream, error_code& ec) {
121 static FileDescriptor create(const path* p, error_code& ec, Args... args) {
150 static FileDescriptor create_with_status(const path* p, error_code& ec, Args... args) {
163 file_status refresh_status(error_code& ec);
172 // FIXME: shouldn't this return an error_code?
194 inline file_status create_file_status(error_code& m_ec, path const& p, const StatT& path_stat, error_code* ec) {
229 inline file_status posix_stat(path const& p, StatT& path_stat, error_code* ec) {
230 error_code m_ec;
236 inline file_status posix_stat(path const& p, error_code* e
[all...]
/freebsd-current/contrib/llvm-project/llvm/lib/ProfileData/
H A DSampleProfWriter.cpp92 std::error_code SampleProfileWriter::writeWithSizeLimitInternal(
110 if (std::error_code EC = write(ProfileMap))
142 std::error_code
147 if (std::error_code EC = writeSample(*I.second))
153 std::error_code SampleProfileWriter::write(const SampleProfileMap &ProfileMap) {
154 if (std::error_code EC = writeHeader(ProfileMap))
157 if (std::error_code EC = writeFuncProfiles(ProfileMap))
179 std::error_code SampleProfileWriterExtBinaryBase::compressAndOutput() {
201 std::error_code SampleProfileWriterExtBinaryBase::addNewSection(
208 if (std::error_code E
[all...]
/freebsd-current/contrib/com_err/
H A Dlex.l62 error_code { return EC; }
/freebsd-current/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/DIA/
H A DDIAError.h37 inline std::error_code make_error_code(dia_error_code E) {
38 return std::error_code(static_cast<int>(E), DIAErrCategory());
/freebsd-current/crypto/heimdal/lib/com_err/
H A Dlex.l62 error_code { return EC; }
/freebsd-current/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/
H A DGenericError.h37 inline std::error_code make_error_code(pdb_error_code E) {
38 return std::error_code(static_cast<int>(E), PDBErrCategory());
/freebsd-current/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DCodeViewError.h36 inline std::error_code make_error_code(cv_error_code E) {
37 return std::error_code(static_cast<int>(E), CVErrorCategory());
/freebsd-current/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/
H A DRawError.h43 inline std::error_code make_error_code(raw_error_code E) {
44 return std::error_code(static_cast<int>(E), RawErrCategory());
/freebsd-current/contrib/llvm-project/llvm/lib/Support/
H A DToolOutputFile.cpp40 ToolOutputFile::ToolOutputFile(StringRef Filename, std::error_code &EC,
45 EC = std::error_code();
/freebsd-current/contrib/llvm-project/llvm/include/llvm/IR/
H A DPrintPasses.h66 std::error_code prepareTempFiles(SmallVector<int> &FD, ArrayRef<StringRef> SR,
71 std::error_code cleanUpTempFiles(ArrayRef<std::string> FileName);
/freebsd-current/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DInteractiveModelRunner.h65 std::error_code OutEC;
66 std::error_code InEC;
/freebsd-current/contrib/llvm-project/llvm/include/llvm/DWP/
H A DDWPError.h13 std::error_code convertToErrorCode() const override {
/freebsd-current/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/
H A DSectionMemoryManager.h75 unsigned Flags, std::error_code &EC) = 0;
87 /// \r error_success if the function was successful, or an error_code
89 virtual std::error_code protectMappedMemory(const sys::MemoryBlock &Block,
97 /// \r error_success if the function was successful, or an error_code
99 virtual std::error_code releaseMappedMemory(sys::MemoryBlock &M) = 0;
180 std::error_code applyMemoryGroupPermissions(MemoryGroup &MemGroup,

Completed in 313 milliseconds

1234567891011>>