Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/compiler-rt/lib/xray/
H A Dxray_buffer_queue.cpp70 BufferQueue::ErrorCode BufferQueue::init(size_t BS, size_t BC) { in init()
74 return BufferQueue::ErrorCode::AlreadyInitialized; in init()
84 return BufferQueue::ErrorCode::NotEnoughMemory; in init()
96 return BufferQueue::ErrorCode::NotEnoughMemory; in init()
107 return BufferQueue::ErrorCode::NotEnoughMemory; in init()
142 return BufferQueue::ErrorCode::Ok; in init()
158 Success = init(B, N) == BufferQueue::ErrorCode::Ok;
161 BufferQueue::ErrorCode BufferQueue::getBuffer(Buffer &Buf) { in getBuffer()
163 return ErrorCode::QueueFinalizing; in getBuffer()
169 return ErrorCode::NotEnoughMemory; in getBuffer()
[all …]
H A Dxray_buffer_queue.h170 enum class ErrorCode : unsigned { enum
179 static const char *getErrorString(ErrorCode E) { in getErrorString()
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);
[all …]
H A Dxray_profiling.cpp98 if (BQ->getBuffer(ThreadBuffers.NodeBuffer) != BufferQueue::ErrorCode::Ok) in getThreadLocalData()
105 if (BQ->getBuffer(ThreadBuffers.RootsBuffer) != BufferQueue::ErrorCode::Ok) in getThreadLocalData()
113 BufferQueue::ErrorCode::Ok) in getThreadLocalData()
121 BufferQueue::ErrorCode::Ok) in getThreadLocalData()
409 if (InitStatus != BufferQueue::ErrorCode::Ok) { in profilingLoggingInit()
H A Dxray_fdr_logging.cpp464 TLD.BQ->releaseBuffer(TLD.Buffer) != BufferQueue::ErrorCode::Ok) in setupTLD()
468 if (TLD.BQ->getBuffer(TLD.Buffer) != BufferQueue::ErrorCode::Ok) in setupTLD()
670 if (BQ->init(BufferSize, BufferMax) != BufferQueue::ErrorCode::Ok) { in fdrLoggingInit()
694 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.cpp349 BufferQueue::ErrorCode::Ok) in reset()
353 if (BQ->getBuffer(Buffer) != BufferQueue::ErrorCode::Ok) in reset()
/freebsd/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/contrib/llvm-project/llvm/tools/llvm-remarkutil/
H A DRemarkUtil.cpp109 if (auto ErrorCode = MaybeBuf.getError()) getInputMemoryBuffer() local
125 std::error_code ErrorCode; getOutputFileWithFlags() local
/freebsd/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/contrib/llvm-project/llvm/lib/Support/
H A DLockFileManager.cpp264 if (ErrorCode) in getState()
271 if (ErrorCode) { in getErrorMessage()
273 std::string ErrCodeMsg = ErrorCode.message(); in getErrorMessage()
/freebsd/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/contrib/llvm-project/clang/include/clang-c/
H A DCXCompilationDatabase.h80 CXCompilationDatabase_Error *ErrorCode);
/freebsd/sys/contrib/dev/acpica/compiler/
H A Daslcompiler.l197 ErrorCode [(][ ]*[1-9][0-9][0-9][0-9][ ]*[)]
827 "__EXPECT__"{ErrorCode} { char *s;
/freebsd/contrib/llvm-project/llvm/tools/llvm-profdata/
H A Dllvm-profdata.cpp635 auto [ErrorCode, Msg] = InstrProfError::take(std::move(E)); in overlapInput()
636 if (ErrorCode != instrprof_error::empty_raw_profile) in overlapInput()
637 WC->Errors.emplace_back(make_error<InstrProfError>(ErrorCode, Msg), in overlapInput()
683 auto [ErrorCode, Msg] = InstrProfError::take(std::move(E)); in loadInput()
684 WC->Errors.emplace_back(make_error<InstrProfError>(ErrorCode, Msg), in loadInput()
819 auto [ErrorCode, Msg] = InstrProfError::take(std::move(E)); in mergeWriterContexts()
821 bool firstTime = Dst->WriterErrorCodes.insert(ErrorCode).second; in mergeWriterContexts()
823 warn(toString(make_error<InstrProfError>(ErrorCode, Msg))); in mergeWriterContexts()
/freebsd/stand/efi/include/
H A Defipxebc.h103 UINT8 ErrorCode; member
/freebsd/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/sys/dev/arcmsr/
H A Darcmsr.h1486 u_int8_t ErrorCode:7; member