Home
last modified time | relevance | path

Searched refs:ErrorCode (Results 1 – 18 of 18) sorted by relevance

/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/xray/
H A Dxray_buffer_queue.cpp84 return BufferQueue::ErrorCode::NotEnoughMemory; in init()
96 return BufferQueue::ErrorCode::NotEnoughMemory; in init()
142 return BufferQueue::ErrorCode::Ok; in init()
163 return ErrorCode::QueueFinalizing; in getBuffer()
169 return ErrorCode::NotEnoughMemory; in getBuffer()
181 return ErrorCode::Ok; in getBuffer()
194 return BufferQueue::ErrorCode::Ok; in releaseBuffer()
215 return ErrorCode::Ok; in releaseBuffer()
218 BufferQueue::ErrorCode BufferQueue::finalize() { in finalize()
220 return ErrorCode::QueueFinalizing; in finalize()
[all …]
H A Dxray_buffer_queue.h170 enum class ErrorCode : unsigned { enum
181 case ErrorCode::Ok: in getErrorString()
183 case ErrorCode::NotEnoughMemory: in getErrorString()
185 case ErrorCode::QueueFinalizing: in getErrorString()
187 case ErrorCode::UnrecognizedBuffer: in getErrorString()
189 case ErrorCode::AlreadyFinalized: in getErrorString()
191 case ErrorCode::AlreadyInitialized: in getErrorString()
213 ErrorCode getBuffer(Buffer &Buf);
221 ErrorCode releaseBuffer(Buffer &Buf);
230 ErrorCode init(size_t BS, size_t BC);
[all …]
H A Dxray_profiling.cpp101 if (BQ->getBuffer(ThreadBuffers.NodeBuffer) != BufferQueue::ErrorCode::Ok) in getThreadLocalData()
108 if (BQ->getBuffer(ThreadBuffers.RootsBuffer) != BufferQueue::ErrorCode::Ok) in getThreadLocalData()
116 BufferQueue::ErrorCode::Ok) in getThreadLocalData()
124 BufferQueue::ErrorCode::Ok) in getThreadLocalData()
412 if (InitStatus != BufferQueue::ErrorCode::Ok) { in profilingLoggingInit()
H A Dxray_fdr_logging.cpp469 TLD.BQ->releaseBuffer(TLD.Buffer) != BufferQueue::ErrorCode::Ok) in setupTLD()
473 if (TLD.BQ->getBuffer(TLD.Buffer) != BufferQueue::ErrorCode::Ok) in setupTLD()
675 if (BQ->init(BufferSize, BufferMax) != BufferQueue::ErrorCode::Ok) { in fdrLoggingInit()
699 if (EC != BufferQueue::ErrorCode::Ok) in fdrLoggingInit()
H A Dxray_fdr_controller.h56 if (BQ->getBuffer(B) != BufferQueue::ErrorCode::Ok) in getNewBuffer()
142 return BQ->releaseBuffer(B) == BufferQueue::ErrorCode::Ok; in returnBuffer()
H A Dxray_profile_collector.cpp352 BufferQueue::ErrorCode::Ok) in reset()
356 if (BQ->getBuffer(Buffer) != BufferQueue::ErrorCode::Ok) in reset()
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-remarkutil/
H A DRemarkUtilHelpers.cpp21 if (auto ErrorCode = MaybeBuf.getError()) in getInputMemoryBuffer() local
22 return createStringError(ErrorCode, in getInputMemoryBuffer()
24 "': " + ErrorCode.message())); in getInputMemoryBuffer()
37 std::error_code ErrorCode; in getOutputFileWithFlags() local
38 auto OF = std::make_unique<ToolOutputFile>(OutputFileName, ErrorCode, Flags); in getOutputFileWithFlags()
39 if (ErrorCode) in getOutputFileWithFlags()
40 return errorCodeToError(ErrorCode); in getOutputFileWithFlags()
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerUtilDarwin.cpp109 int ErrorCode = 0, ProcessStatus = 0; in ExecuteCommand() local
111 ErrorCode = posix_spawn(&Pid, "/bin/sh", NULL, &SpawnAttributes, in ExecuteCommand()
114 if (!ErrorCode) { in ExecuteCommand()
124 } else if (ErrorCode == ENOMEM || ErrorCode == EAGAIN) { in ExecuteCommand()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Support/
H A DLockFileManager.h58 std::error_code ErrorCode; variable
93 ErrorCode = EC;
H A DErrorOr.h74 ErrorOr(E ErrorCode,
79 new (getErrorStorage()) std::error_code(make_error_code(ErrorCode)); in HasError()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Support/
H A DLockFileManager.cpp262 if (ErrorCode) in getState()
269 if (ErrorCode) { in getErrorMessage()
271 std::string ErrCodeMsg = ErrorCode.message(); in getErrorMessage()
/freebsd-14.2/contrib/llvm-project/clang/lib/DirectoryWatcher/windows/
H A DDirectoryWatcher-windows.cpp243 auto error(DWORD ErrorCode) { in error() argument
249 if (!FormatMessageA(Flags, NULL, ErrorCode, in error()
252 return make_error<llvm::StringError>("error " + utostr(ErrorCode), in error()
/freebsd-14.2/contrib/llvm-project/clang/include/clang-c/
H A DCXCompilationDatabase.h80 CXCompilationDatabase_Error *ErrorCode);
/freebsd-14.2/sys/contrib/dev/acpica/compiler/
H A Daslcompiler.l197 ErrorCode [(][ ]*[1-9][0-9][0-9][0-9][ ]*[)]
815 "__EXPECT__"{ErrorCode} { char *s;
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-profdata/
H A Dllvm-profdata.cpp597 auto [ErrorCode, Msg] = InstrProfError::take(std::move(E)); in overlapInput()
598 if (ErrorCode != instrprof_error::empty_raw_profile) in overlapInput()
599 WC->Errors.emplace_back(make_error<InstrProfError>(ErrorCode, Msg), in overlapInput()
645 auto [ErrorCode, Msg] = InstrProfError::take(std::move(E)); in loadInput()
646 WC->Errors.emplace_back(make_error<InstrProfError>(ErrorCode, Msg), in loadInput()
761 auto [ErrorCode, Msg] = InstrProfError::take(std::move(E)); in mergeWriterContexts()
763 bool firstTime = Dst->WriterErrorCodes.insert(ErrorCode).second; in mergeWriterContexts()
765 warn(toString(make_error<InstrProfError>(ErrorCode, Msg))); in mergeWriterContexts()
/freebsd-14.2/stand/efi/include/
H A Defipxebc.h103 UINT8 ErrorCode; member
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-rtdyld/
H A Dllvm-rtdyld.cpp1012 int ErrorCode = checkAllExpressions(*Checker); in linkAndVerify() local
1017 return ErrorCode; in linkAndVerify()
/freebsd-14.2/sys/dev/arcmsr/
H A Darcmsr.h1486 u_int8_t ErrorCode:7; member