Searched refs:result_is (Results 1 – 2 of 2) sorted by relevance
1104 static bool result_is(Result result, Result failure) { in result_is() function1118 return result_is(result, Result::kFailRequiresUncommit); in result_requires_uncommit()1125 return result_is(result, Result::kFailOutOfAsyncCopies) || in result_failed_because_of_async_copy()1126 result_is(result, Result::kFailViolatesAsyncCopyOrdering); in result_failed_because_of_async_copy()
1214 } else if ((result_is(result, Result::kFailOutOfMemory) || in Finish()