Searched refs:DAWN_UNLIKELY (Results 1 – 14 of 14) sorted by relevance
48 # define DAWN_UNLIKELY(x) __builtin_expect(!!(x), 0) macro102 #if !defined(DAWN_UNLIKELY)103 # define DAWN_UNLIKELY(X) X macro
85 if (DAWN_UNLIKELY(EXPR)) { \125 if (DAWN_UNLIKELY(DAWN_LOCAL_VAR.IsError())) { \178 if (DAWN_UNLIKELY(DAWN_LOCAL_VAR.IsError())) { \
51 if (DAWN_UNLIKELY(maybeError.IsError())) { in ConsumedError()62 if (DAWN_UNLIKELY(maybeError.IsError())) { in ConsumedError()81 if (DAWN_UNLIKELY(encoder != mCurrentEncoder)) { in CheckCurrentEncoder()
197 if (DAWN_UNLIKELY(requestedBlockSize <= commandSize)) { in AllocateInNewBlock()201 if (DAWN_UNLIKELY(!GetNewBlock(requestedBlockSize))) { in AllocateInNewBlock()213 if (DAWN_UNLIKELY(block == nullptr)) { in GetNewBlock()
65 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()
52 if (DAWN_UNLIKELY(::dawn_native::ErrorInjectorEnabled())) { \
243 if (DAWN_UNLIKELY(aspects[VALIDATION_ASPECT_INDEX_BUFFER])) { in CheckMissingAspects()275 if (DAWN_UNLIKELY(aspects[VALIDATION_ASPECT_BIND_GROUPS])) { in CheckMissingAspects()
78 if (DAWN_UNLIKELY(numUninitializedConstants > 0)) { in ValidateProgrammableStage()
85 if (DAWN_UNLIKELY(r1 != WireResult::Success || r2 != WireResult::Success)) { in SerializeCommandImpl()99 if (DAWN_UNLIKELY(r1 != WireResult::Success || r2 != WireResult::Success)) { in SerializeCommandImpl()
31 if (DAWN_UNLIKELY(exprResult != WireResult::Success)) { \
18 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:
22 if (DAWN_UNLIKELY(memberProc == nullptr)) { in LoadProc()
252 if (DAWN_UNLIKELY(FAILED(hr))) { in Initialize()
357 if (DAWN_UNLIKELY(completedSerial == ExecutionSerial(UINT64_MAX))) { in CheckAndUpdateCompletedSerials()