Searched refs:error_code (Results 76 - 100 of 518) sorted by relevance

1234567891011>>

/freebsd-current/contrib/llvm-project/libcxx/include/__system_error/
H A Derror_category.h24 class _LIBCPP_EXPORTED_FROM_ABI error_code; variable in typeref:class:_LIBCPP_EXPORTED_FROM_ABI
43 virtual bool equivalent(const error_code& __code, int __condition) const _NOEXCEPT;
/freebsd-current/contrib/llvm-project/llvm/lib/Support/
H A DFileUtilities.cpp185 if (std::error_code EC = F1OrErr.getError()) {
193 if (std::error_code EC = F2OrErr.getError()) {
299 if (std::error_code EC = sys::fs::openFileForWrite(OutputFilename, FD,
304 if (std::error_code EC = sys::fs::setLastAccessAndModificationTime(
309 if (std::error_code EC = sys::fs::status(FD, OStat))
322 if (std::error_code EC = sys::fs::setPermissions(OutputFilename, Perm))
324 if (std::error_code EC = sys::fs::setPermissions(FD, Perm))
329 if (std::error_code EC = sys::Process::SafelyCloseFileDescriptor(FD))
H A DLockFileManager.cpp82 static std::error_code getHostID(SmallVectorImpl<char> &HostID) {
90 return std::error_code(errno, std::system_category());
110 return std::error_code();
163 if (std::error_code EC = sys::fs::make_absolute(this->FileName)) {
181 if (std::error_code EC = sys::fs::createUniqueFile(
218 std::error_code EC =
348 std::error_code LockFileManager::unsafeRemoveLockFile() {
H A DBinaryStreamError.cpp53 std::error_code BinaryStreamError::convertToErrorCode() const {
H A Draw_socket_stream.cpp51 static std::error_code getLastSocketErrorCode() {
53 return std::error_code(::WSAGetLastError(), std::system_category());
55 return std::error_code(errno, std::system_category());
88 std::error_code Err = getLastSocketErrorCode();
/freebsd-current/contrib/llvm-project/llvm/lib/ExecutionEngine/
H A DSectionMemoryManager.cpp103 std::error_code ec;
151 std::error_code ec;
203 std::error_code
207 if (std::error_code EC = MMapper->protectMappedMemory(MB, Permissions))
225 return std::error_code();
253 unsigned Flags, std::error_code &EC) override {
257 std::error_code protectMappedMemory(const sys::MemoryBlock &Block,
262 std::error_code releaseMappedMemory(sys::MemoryBlock &M) override {
/freebsd-current/contrib/llvm-project/llvm/include/llvm/DebugInfo/MSF/
H A DMSFError.h41 inline std::error_code make_error_code(msf_error_code E) {
42 return std::error_code(static_cast<int>(E), MSFErrCategory());
/freebsd-current/contrib/llvm-project/llvm/include/llvm/Support/
H A DVirtualFileSystem.h137 virtual std::error_code close() = 0;
171 /// to directory_entry() at end, or returns a system-defined \c error_code.
172 virtual std::error_code increment() = 0;
196 directory_iterator &increment(std::error_code &EC) {
238 std::error_code &EC);
244 recursive_directory_iterator &increment(std::error_code &EC);
287 std::error_code &EC) = 0;
291 virtual std::error_code setCurrentWorkingDirectory(const Twine &Path) = 0;
299 virtual std::error_code getRealPath(const Twine &Path,
306 virtual std::error_code isLoca
[all...]
H A DToolOutputFile.h54 ToolOutputFile(StringRef Filename, std::error_code &EC,
H A DConvertUTF.h334 std::error_code UTF8ToUTF16(StringRef utf8, SmallVectorImpl<wchar_t> &utf16);
336 std::error_code CurCPToUTF16(StringRef utf8, SmallVectorImpl<wchar_t> &utf16);
337 std::error_code UTF16ToUTF8(const wchar_t *utf16, size_t utf16_len,
340 std::error_code UTF16ToCurCP(const wchar_t *utf16, size_t utf16_len,
/freebsd-current/contrib/llvm-project/libcxx/src/filesystem/
H A Derror.h101 inline error_code capture_errno() {
103 return error_code(errno, generic_category());
107 inline error_code make_windows_error(int err) { return make_error_code(__win_err_to_errc(err)); }
140 error_code* ec_ = nullptr;
144 ErrorHandler(const char* fname, error_code* ec, const path* p1 = nullptr, const path* p2 = nullptr)
150 T report(const error_code& ec) const {
168 void report_impl(const error_code& ec, const char* msg, va_list ap) const {
186 T report(const error_code& ec, const char* msg, ...) const {
/freebsd-current/crypto/heimdal/lib/krb5/
H A Derror_string.c53 context->error_code = 0;
113 context->error_code = ret;
170 if (context->error_code != ret) {
264 (code == context->error_code || context->error_code == 0))
H A Drd_error.c50 result->error_code += KRB5KDC_ERR_NONE;
77 ret = error->error_code;
/freebsd-current/contrib/tcpdump/
H A Dprint-vqp.c48 nd_uint8_t error_code; member in struct:vqp_common_header_t
135 tok2str(vqp_error_code_values, "unknown", GET_U_1(vqp_common_header->error_code)),
136 GET_U_1(vqp_common_header->error_code),
146 tok2str(vqp_error_code_values, "unknown", GET_U_1(vqp_common_header->error_code)),
147 GET_U_1(vqp_common_header->error_code),
/freebsd-current/usr.sbin/nscd/
H A Dmp_rs_query.c179 c_mp_rs_response->error_code = ENOENT;
188 c_mp_rs_response->error_code = EACCES;
202 c_mp_rs_response->error_code = EPERM;
298 c_mp_rs_response->error_code = -1;
314 c_mp_rs_response->error_code = -1;
334 result = qstate->write_func(qstate, &c_mp_rs_response->error_code,
344 if (c_mp_rs_response->error_code == 0) {
423 read_response->error_code = cache_mp_read(
427 if (read_response->error_code == 0) {
430 read_response->error_code
[all...]
/freebsd-current/contrib/llvm-project/lldb/include/lldb/Host/
H A DFileSystem.h75 std::error_code &ec);
77 std::error_code &ec);
105 uint32_t GetPermissions(const FileSpec &file_spec, std::error_code &ec) const;
106 uint32_t GetPermissions(const llvm::Twine &path, std::error_code &ec) const;
135 std::error_code MakeAbsolute(llvm::SmallVectorImpl<char> &path) const;
136 std::error_code MakeAbsolute(FileSpec &file_spec) const;
198 std::error_code GetRealPath(const llvm::Twine &path,
/freebsd-current/contrib/llvm-project/llvm/lib/ExecutionEngine/IntelJITEvents/
H A Dittnotify_config.h226 int error_code = pthread_mutexattr_init(&mutex_attr); \
227 if (error_code) \
229 error_code); \
230 error_code = pthread_mutexattr_settype(&mutex_attr, \
232 if (error_code) \
234 error_code); \
235 error_code = pthread_mutex_init(mutex, &mutex_attr); \
236 if (error_code) \
238 error_code); \
239 error_code
[all...]
/freebsd-current/contrib/llvm-project/llvm/tools/llvm-sim/
H A Dllvm-sim.cpp61 std::error_code
65 std::error_code EC;
140 std::error_code E =
/freebsd-current/tests/atf_python/
H A Dutils.py51 error_code = libc.modfind(mod_name)
52 if error_code == 0:
54 err_str = os.strerror(error_code)
/freebsd-current/contrib/llvm-project/lldb/source/Host/common/
H A DFileSystem.cpp58 std::error_code &ec) {
60 ec = std::error_code(static_cast<int>(errc::no_such_file_or_directory),
68 std::error_code &ec) {
75 return std::error_code(static_cast<int>(errc::no_such_file_or_directory),
116 std::error_code &ec) const {
123 std::error_code ec;
128 std::error_code &ec) const {
176 std::error_code EC;
202 std::error_code FileSystem::MakeAbsolute(SmallVectorImpl<char> &path) const {
206 std::error_code FileSyste
[all...]
/freebsd-current/contrib/llvm-project/clang/lib/Frontend/
H A DSerializedDiagnosticPrinter.cpp98 std::error_code mergeRecordsFromFile(const char *File) {
103 std::error_code visitStartOfDiagnostic() override;
104 std::error_code visitEndOfDiagnostic() override;
105 std::error_code visitCategoryRecord(unsigned ID, StringRef Name) override;
106 std::error_code visitDiagFlagRecord(unsigned ID, StringRef Name) override;
107 std::error_code visitDiagnosticRecord(
110 std::error_code visitFilenameRecord(unsigned ID, unsigned Size,
113 std::error_code visitFixitRecord(const serialized_diags::Location &Start,
116 std::error_code
121 std::error_code adjustSourceLocFilenam
[all...]
/freebsd-current/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DBitWriter.cpp21 std::error_code EC;
/freebsd-current/contrib/llvm-project/clang/include/clang/Basic/
H A DDiagnosticError.h51 // Users are not expected to use error_code.
52 std::error_code convertToErrorCode() const override {
/freebsd-current/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DMagic.h82 /// platform-specific error_code.
83 std::error_code identify_magic(const Twine &path, file_magic &result);
/freebsd-current/contrib/llvm-project/llvm/tools/llvm-remarkutil/
H A DRemarkUtilHelpers.cpp37 std::error_code ErrorCode;

Completed in 170 milliseconds

1234567891011>>