Home
last modified time | relevance | path

Searched refs:maybeError (Results 1 – 8 of 8) sorted by relevance

/third_party/skia/third_party/externals/dawn/src/dawn_native/
DEncodingContext.h50 inline bool ConsumedError(MaybeError maybeError) { in ConsumedError() argument
51 if (DAWN_UNLIKELY(maybeError.IsError())) { in ConsumedError()
52 HandleError(maybeError.AcquireError()); in ConsumedError()
59 inline bool ConsumedError(MaybeError maybeError, in ConsumedError() argument
62 if (DAWN_UNLIKELY(maybeError.IsError())) { in ConsumedError()
63 std::unique_ptr<ErrorData> error = maybeError.AcquireError(); in ConsumedError()
DCreatePipelineAsyncTask.cpp123 MaybeError maybeError = mComputePipeline->Initialize(); in Run() local
125 if (maybeError.IsError()) { in Run()
127 errorMessage = maybeError.AcquireError()->GetMessage(); in Run()
172 MaybeError maybeError = mRenderPipeline->Initialize(); in Run() local
174 if (maybeError.IsError()) { in Run()
176 errorMessage = maybeError.AcquireError()->GetMessage(); in Run()
DError.cpp22 void IgnoreErrors(MaybeError maybeError) { in IgnoreErrors() argument
23 if (maybeError.IsError()) { in IgnoreErrors()
24 std::unique_ptr<ErrorData> errorData = maybeError.AcquireError(); in IgnoreErrors()
DDevice.h64 bool ConsumedError(MaybeError maybeError) { in ConsumedError() argument
65 if (DAWN_UNLIKELY(maybeError.IsError())) { in ConsumedError()
66 ConsumeError(maybeError.AcquireError()); in ConsumedError()
83 bool ConsumedError(MaybeError maybeError, const char* formatStr, const Args&... args) { in ConsumedError() argument
84 if (DAWN_UNLIKELY(maybeError.IsError())) { in ConsumedError()
85 std::unique_ptr<ErrorData> error = maybeError.AcquireError(); in ConsumedError()
DInstance.cpp246 bool InstanceBase::ConsumedError(MaybeError maybeError) { in ConsumedError() argument
247 if (maybeError.IsError()) { in ConsumedError()
248 std::unique_ptr<ErrorData> error = maybeError.AcquireError(); in ConsumedError()
DInstance.h54 bool ConsumedError(MaybeError maybeError);
DDevice.cpp1339 MaybeError maybeError = computePipeline->Initialize(); in InitializeComputePipelineAsyncImpl() local
1340 if (maybeError.IsError()) { in InitializeComputePipelineAsyncImpl()
1341 std::unique_ptr<ErrorData> error = maybeError.AcquireError(); in InitializeComputePipelineAsyncImpl()
1362 MaybeError maybeError = renderPipeline->Initialize(); in InitializeRenderPipelineAsyncImpl() local
1363 if (maybeError.IsError()) { in InitializeRenderPipelineAsyncImpl()
1364 std::unique_ptr<ErrorData> error = maybeError.AcquireError(); in InitializeRenderPipelineAsyncImpl()
DError.h190 void IgnoreErrors(MaybeError maybeError);