Home
last modified time | relevance | path

Searched refs:DAWN_UNLIKELY (Results 1 – 14 of 14) sorted by relevance

/third_party/skia/third_party/externals/dawn/src/common/
DCompiler.h48 # define DAWN_UNLIKELY(x) __builtin_expect(!!(x), 0) macro
102 #if !defined(DAWN_UNLIKELY)
103 # define DAWN_UNLIKELY(X) X macro
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DError.h85 if (DAWN_UNLIKELY(EXPR)) { \
125 if (DAWN_UNLIKELY(DAWN_LOCAL_VAR.IsError())) { \
178 if (DAWN_UNLIKELY(DAWN_LOCAL_VAR.IsError())) { \
DEncodingContext.h51 if (DAWN_UNLIKELY(maybeError.IsError())) { in ConsumedError()
62 if (DAWN_UNLIKELY(maybeError.IsError())) { in ConsumedError()
81 if (DAWN_UNLIKELY(encoder != mCurrentEncoder)) { in CheckCurrentEncoder()
DCommandAllocator.cpp197 if (DAWN_UNLIKELY(requestedBlockSize <= commandSize)) { in AllocateInNewBlock()
201 if (DAWN_UNLIKELY(!GetNewBlock(requestedBlockSize))) { in AllocateInNewBlock()
213 if (DAWN_UNLIKELY(block == nullptr)) { in GetNewBlock()
DDevice.h65 if (DAWN_UNLIKELY(maybeError.IsError())) { in ConsumedError()
74 if (DAWN_UNLIKELY(resultOrError.IsError())) { in ConsumedError()
84 if (DAWN_UNLIKELY(maybeError.IsError())) { in ConsumedError()
107 if (DAWN_UNLIKELY(resultOrError.IsError())) { in ConsumedError()
DErrorInjector.h52 if (DAWN_UNLIKELY(::dawn_native::ErrorInjectorEnabled())) { \
DCommandBufferStateTracker.cpp243 if (DAWN_UNLIKELY(aspects[VALIDATION_ASPECT_INDEX_BUFFER])) { in CheckMissingAspects()
275 if (DAWN_UNLIKELY(aspects[VALIDATION_ASPECT_BIND_GROUPS])) { in CheckMissingAspects()
DPipeline.cpp78 if (DAWN_UNLIKELY(numUninitializedConstants > 0)) { in ValidateProgrammableStage()
/third_party/skia/third_party/externals/dawn/src/dawn_wire/
DChunkedCommandSerializer.h85 if (DAWN_UNLIKELY(r1 != WireResult::Success || r2 != WireResult::Success)) { in SerializeCommandImpl()
99 if (DAWN_UNLIKELY(r1 != WireResult::Success || r2 != WireResult::Success)) { in SerializeCommandImpl()
DWireResult.h31 if (DAWN_UNLIKELY(exprResult != WireResult::Success)) { \
/third_party/skia/third_party/externals/dawn/docs/
Derrors.md18 make sure that all errors are returned from within an `if` statement that uses the `DAWN_UNLIKELY()`
22 if (DAWN_UNLIKELY(offset > buffer.size)) {
29 is used, which will wrap the expression in the `DAWN_UNLIKELY()` macro for you:
/third_party/skia/third_party/externals/dawn/generator/templates/opengl/
DOpenGLFunctionsBase.cpp22 if (DAWN_UNLIKELY(memberProc == nullptr)) { in LoadProc()
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DPipelineLayoutD3D12.cpp252 if (DAWN_UNLIKELY(FAILED(hr))) { in Initialize()
DDeviceD3D12.cpp357 if (DAWN_UNLIKELY(completedSerial == ExecutionSerial(UINT64_MAX))) { in CheckAndUpdateCompletedSerials()