Lines Matching refs:ReadSuccessExpectation
354 enum class ReadSuccessExpectation { enum
360 bool check_success_expectation(ReadSuccessExpectation expectation, bool actualSuccess) { in check_success_expectation()
362 case ReadSuccessExpectation::kMaybe: in check_success_expectation()
364 case ReadSuccessExpectation::kNo: in check_success_expectation()
366 case ReadSuccessExpectation::kYes: in check_success_expectation()
372 ReadSuccessExpectation read_should_succeed(const SkIRect& srcRect, const SkImageInfo& dstInfo, in read_should_succeed()
375 return ReadSuccessExpectation::kNo; in read_should_succeed()
378 return ReadSuccessExpectation::kNo; in read_should_succeed()
381 return ReadSuccessExpectation::kYes; in read_should_succeed()
390 return ReadSuccessExpectation::kNo; in read_should_succeed()
395 return ReadSuccessExpectation::kMaybe; in read_should_succeed()
397 return ReadSuccessExpectation::kYes; in read_should_succeed()