Home
last modified time | relevance | path

Searched refs:error_code (Results 51 – 75 of 546) sorted by relevance

12345678910>>...22

/freebsd/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 = pthread_mutexattr_destroy(&mutex_attr); \
[all …]
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DFileSystemStatCache.cpp33 std::error_code
39 std::error_code RetCode; in get()
98 return std::error_code(); in get()
101 std::error_code
119 return std::error_code(); in getStat()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DMemory.h100 std::error_code &EC);
111 static std::error_code releaseMappedMemory(MemoryBlock &Block);
127 static std::error_code protectMappedMemory(const MemoryBlock &Block,
159 std::error_code release() { in release()
160 std::error_code EC; in release()
H A DProgram.h84 std::error_code ChangeStdinMode(fs::OpenFlags Flags);
85 std::error_code ChangeStdoutMode(fs::OpenFlags Flags);
90 std::error_code ChangeStdinToBinary();
91 std::error_code ChangeStdoutToBinary();
197 std::error_code
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/contrib/llvm-project/libcxx/src/filesystem/
H A Derror.h101 inline error_code capture_errno() { in capture_errno()
103 return error_code(errno, generic_category()); in capture_errno()
107 inline error_code make_windows_error(int err) { return make_error_code(__win_err_to_errc(err)); } in make_windows_error()
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 { in report()
168 void report_impl(const error_code& ec, const char* msg, va_list ap) const { in report_impl()
186 T report(const error_code& ec, const char* msg, ...) const { in report()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DVirtualFileSystem.cpp360 std::error_code
399 std::error_code EC; in increment()
459 std::error_code
474 std::error_code
529 std::error_code EC; in incrementDirIter()
1153 std::error_code
1305 std::error_code EC; in increment()
1321 std::error_code
1363 std::error_code
2250 std::error_code
[all …]
H A DFileUtilities.cpp185 if (std::error_code EC = F1OrErr.getError()) { in DiffFilesWithTolerance()
193 if (std::error_code EC = F2OrErr.getError()) { in DiffFilesWithTolerance()
299 if (std::error_code EC = sys::fs::openFileForWrite(OutputFilename, FD, in apply()
304 if (std::error_code EC = sys::fs::setLastAccessAndModificationTime( in apply()
309 if (std::error_code EC = sys::fs::status(FD, OStat)) in apply()
322 if (std::error_code EC = sys::fs::setPermissions(OutputFilename, Perm)) in apply()
324 if (std::error_code EC = sys::fs::setPermissions(FD, Perm)) in apply()
329 if (std::error_code EC = sys::Process::SafelyCloseFileDescriptor(FD)) in apply()
H A DLockFileManager.cpp82 static std::error_code getHostID(SmallVectorImpl<char> &HostID) { in getHostID()
90 return std::error_code(errno, std::system_category()); in getHostID()
110 return std::error_code(); in getHostID()
163 if (std::error_code EC = sys::fs::make_absolute(this->FileName)) { in LockFileManager()
181 if (std::error_code EC = sys::fs::createUniqueFile( in LockFileManager()
218 std::error_code EC = in LockFileManager()
348 std::error_code LockFileManager::unsafeRemoveLockFile() { in unsafeRemoveLockFile()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/
H A DSectionMemoryManager.cpp103 std::error_code ec; in allocateSection()
151 std::error_code ec; in finalizeMemory()
203 std::error_code
207 if (std::error_code EC = MMapper->protectMappedMemory(MB, Permissions)) in applyMemoryGroupPermissions()
225 return std::error_code(); in applyMemoryGroupPermissions()
253 unsigned Flags, std::error_code &EC) override { in allocateMappedMemory()
257 std::error_code protectMappedMemory(const sys::MemoryBlock &Block, in protectMappedMemory()
262 std::error_code releaseMappedMemory(sys::MemoryBlock &M) override { in releaseMappedMemory()
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DModuleDependencyCollector.cpp130 std::error_code EC; in writeFileMap()
141 std::error_code ModuleDependencyCollector::copyToRoot(StringRef Src, in copyToRoot()
157 return std::error_code(); in copyToRoot()
163 if (std::error_code EC = fs::create_directories(path::parent_path(CacheDst), in copyToRoot()
166 if (std::error_code EC = fs::copy_file(Paths.CopyFrom, CacheDst)) in copyToRoot()
175 return std::error_code(); in copyToRoot()
/freebsd/contrib/llvm-project/libcxx/include/__filesystem/
H A Ddirectory_iterator.h59 …_LIBCPP_HIDE_FROM_ABI directory_iterator(const path& __p, error_code& __ec) : directory_iterator(_… in directory_iterator()
61 …_LIBCPP_HIDE_FROM_ABI directory_iterator(const path& __p, directory_options __opts, error_code& __… in directory_iterator()
94 …_LIBCPP_HIDE_FROM_ABI directory_iterator& increment(error_code& __ec) { return __increment(&__ec);… in increment()
107 …_LIBCPP_EXPORTED_FROM_ABI directory_iterator(const path&, error_code*, directory_options = directo…
109 _LIBCPP_EXPORTED_FROM_ABI directory_iterator& __increment(error_code* __ec = nullptr);
/freebsd/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/usr.sbin/nscd/
H A Dmp_ws_query.c177 c_mp_ws_response->error_code = ENOENT; in on_mp_write_session_request_process()
186 c_mp_ws_response->error_code = EACCES; in on_mp_write_session_request_process()
195 c_mp_ws_response->error_code = EOPNOTSUPP; in on_mp_write_session_request_process()
204 c_mp_ws_response->error_code = EPERM; in on_mp_write_session_request_process()
234 c_mp_ws_response->error_code = -1; in on_mp_write_session_request_process()
265 result = qstate->write_func(qstate, &c_mp_ws_response->error_code, in on_mp_write_session_response_write1()
274 if (c_mp_ws_response->error_code == 0) { in on_mp_write_session_response_write1()
425 write_response->error_code = cache_mp_write( in on_mp_write_session_write_request_process()
448 result = qstate->write_func(qstate, &write_response->error_code, in on_mp_write_session_write_response_write1()
457 if (write_response->error_code == 0) { in on_mp_write_session_write_response_write1()
/freebsd/contrib/tcpdump/
H A Dprint-vqp.c48 nd_uint8_t error_code; member
135 tok2str(vqp_error_code_values, "unknown", GET_U_1(vqp_common_header->error_code)), in vqp_print()
136 GET_U_1(vqp_common_header->error_code), in vqp_print()
146 tok2str(vqp_error_code_values, "unknown", GET_U_1(vqp_common_header->error_code)), in vqp_print()
147 GET_U_1(vqp_common_header->error_code), in vqp_print()
H A Dprint-rpki-rtr.c45 nd_uint16_t error_code; /* Error code */ member
288 u_int encapsulated_pdu_length, text_length, tlen, error_code; in rpki_rtr_pdu_print() local
302 error_code = GET_BE_U_2(pdu->pdu_header.u.error_code); in rpki_rtr_pdu_print()
305 tok2str(rpki_rtr_error_codes, "Unknown", error_code), in rpki_rtr_pdu_print()
306 error_code, encapsulated_pdu_length); in rpki_rtr_pdu_print()
/freebsd/contrib/llvm-project/lldb/source/Host/common/
H A DFileSystem.cpp58 std::error_code &ec) { in DirBegin()
60 ec = std::error_code(static_cast<int>(errc::no_such_file_or_directory), in DirBegin()
68 std::error_code &ec) { in DirBegin()
75 return std::error_code(static_cast<int>(errc::no_such_file_or_directory), in GetStatus()
116 std::error_code &ec) const { in GetPermissions()
123 std::error_code ec; in GetPermissions()
128 std::error_code &ec) const { in GetPermissions()
176 std::error_code EC; in EnumerateDirectory()
206 std::error_code FileSystem::MakeAbsolute(FileSpec &file_spec) const { in MakeAbsolute()
219 std::error_code FileSystem::GetRealPath(const Twine &path, in GetRealPath()
[all …]
/freebsd/contrib/com_err/
H A Dcompile_et.h54 struct error_code { struct
58 struct error_code *next, **tail; argument
61 extern struct error_code *codes;
/freebsd/crypto/heimdal/lib/com_err/
H A Dcompile_et.h57 struct error_code { struct
61 struct error_code *next, **tail; argument
64 extern struct error_code *codes;
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/
H A DSectionMemoryManager.h75 unsigned Flags, std::error_code &EC) = 0;
89 virtual std::error_code protectMappedMemory(const sys::MemoryBlock &Block,
99 virtual std::error_code releaseMappedMemory(sys::MemoryBlock &M) = 0;
180 std::error_code applyMemoryGroupPermissions(MemoryGroup &MemGroup,
/freebsd/tests/sys/netlink/
H A Dtest_rtnl_iface.py41 if rx_msg.error_code != 0:
58 assert rx_msg.error_code == errno.ENODEV
70 assert rx_msg.error_code == errno.ENODEV
92 assert rx_msg.error_code == 0
116 assert rx_msg.error_code == 0
154 assert rx_msg.error_code == 0
180 assert rx_msg.error_code == 0
194 assert rx_msg.error_code == 0
220 assert rx_msg.error_code == 0
234 assert rx_msg.error_code == 0
[all …]
/freebsd/contrib/llvm-project/lldb/source/Utility/
H A DStatus.cpp48 Status::Status(std::error_code EC) in Status()
71 std::error_code ec = e->convertToErrorCode(); in operator =()
94 std::error_code(m_code, std::generic_category())); in ToError()
102 static std::string RetrieveWin32ErrorString(uint32_t error_code) { in RetrieveWin32ErrorString() argument
110 NULL, error_code, MAKELANGID(LANG_ENGLISH, SUBLANG_ENGLISH_US), in RetrieveWin32ErrorString()
119 NULL, error_code, 0, (LPSTR)&buffer, 0, NULL)) { in RetrieveWin32ErrorString()
/freebsd/contrib/llvm-project/llvm/lib/Support/Windows/
H A DProgram.inc81 if (std::error_code EC =
94 if (std::error_code EC =
197 if (std::error_code ec = Result.getError()) {
494 return std::error_code();
500 return std::error_code();
503 std::error_code sys::ChangeStdinToBinary() {
507 return std::error_code();
510 std::error_code sys::ChangeStdoutToBinary() {
514 return std::error_code();
517 std::error_code
[all …]
H A DMemory.inc101 unsigned Flags, std::error_code &EC) {
102 EC = std::error_code();
155 std::error_code Memory::releaseMappedMemory(MemoryBlock &M) {
157 return std::error_code();
165 return std::error_code();
168 std::error_code Memory::protectMappedMemory(const MemoryBlock &M,
171 return std::error_code();
182 return std::error_code();
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/Shared/
H A DOrcError.h45 std::error_code orcError(OrcErrorCode ErrCode);
52 std::error_code convertToErrorCode() const override;
64 std::error_code convertToErrorCode() const override;

12345678910>>...22