Lines Matching refs:kSuccess
103 REPORTER_ASSERT(r, SkCodec::kSuccess == codec->startIncrementalDecode(info, bm.getPixels(), in test_incremental_decode()
106 REPORTER_ASSERT(r, SkCodec::kSuccess == codec->incrementalDecode()); in test_incremental_decode()
137 if (SkCodec::kSuccess != codec->startIncrementalDecode(info, bm.getAddr(0, y), in test_in_stripes()
143 if (SkCodec::kSuccess != codec->incrementalDecode()) { in test_in_stripes()
293 SkCodec::Result expectedResult = isIncomplete ? SkCodec::kIncompleteInput : SkCodec::kSuccess; in check()
315 REPORTER_ASSERT(r, startResult == SkCodec::kSuccess); in check()
334 REPORTER_ASSERT(r, codec->startScanlineDecode(info) == SkCodec::kSuccess); in check()
356 REPORTER_ASSERT(r, partialStartResult == SkCodec::kSuccess); in check()
394 if (expectedResult == SkCodec::kSuccess) { in check()
399 || result == SkCodec::kSuccess); in check()
457 test_info(r, codec.get(), info, SkCodec::kSuccess, &codecDigest); in check()
609 REPORTER_ASSERT(r, SkCodec::kSuccess == result); in test_dimensions()
693 if (SkCodec::kSuccess == result) { in test_invalid_parameters()
707 REPORTER_ASSERT(r, SkCodec::kSuccess == result); in test_invalid_parameters()
857 REPORTER_ASSERT(r, SkCodec::kSuccess == result); in DEF_TEST()
877 REPORTER_ASSERT(r, SkCodec::kSuccess == result); in DEF_TEST()
923 test_info(r, codec.get(), codec->getInfo(), SkCodec::kSuccess, nullptr); in DEF_TEST()
943 test_info(r, codec.get(), codec->getInfo(), SkCodec::kSuccess, nullptr); in DEF_TEST()
949 test_info(r, codec.get(), codec->getInfo(), SkCodec::kSuccess, nullptr); in DEF_TEST()
974 test_info(r, codec.get(), codec->getInfo(), SkCodec::kSuccess, nullptr); in DEF_TEST()
1044 REPORTER_ASSERT(r, SkCodec::kSuccess == result); in DEF_TEST()
1078 REPORTER_ASSERT(r, SkCodec::kSuccess == result); in check_color_xform()
1118 REPORTER_ASSERT(r, SkCodec::kSuccess == result); in check_round_trip()
1133 REPORTER_ASSERT(r, SkCodec::kSuccess == result); in check_round_trip()
1229 REPORTER_ASSERT(r, SkCodec::kSuccess == result); in test_conversion_possible()
1232 REPORTER_ASSERT(r, SkCodec::kSuccess == result); in test_conversion_possible()
1239 REPORTER_ASSERT(r, SkCodec::kSuccess == result); in test_conversion_possible()
1258 REPORTER_ASSERT(r, SkCodec::kSuccess == codec->getPixels(info, in decode_frame()
1393 if (SkCodec::kSuccess != result) { in DEF_TEST()
1420 REPORTER_ASSERT(r, result == SkCodec::kSuccess); in DEF_TEST()
1426 REPORTER_ASSERT(r, result == SkCodec::kSuccess); in DEF_TEST()
1448 REPORTER_ASSERT(r, result == SkCodec::kSuccess); in DEF_TEST()
1523 if (result != SkCodec::kSuccess) { in DEF_TEST()