Lines Matching refs:result
338 Result result = kInternalError;
344 result = androidCodec->getAndroidPixels(info, pixels, rowBytes, &prevFrameOptions);
349 result = this->getPixels(info, pixels, rowBytes, &prevFrameOptions);
351 if (result != kSuccess) {
352 return result;
437 const Result result = this->onGetPixels(info, pixels, rowBytes, *options, &rowsDecoded);
444 if ((kIncompleteInput == result || kErrorInInput == result) && rowsDecoded != info.height()) {
455 return result;
465 Result result = this->getPixels(info, bm.getPixels(), bm.rowBytes(), options);
466 switch (result) {
471 return {bm.asImage(), result};
475 return {nullptr, result};
525 const Result result = this->onStartIncrementalDecode(info, pixels, rowBytes, fOptions);
526 if (kSuccess == result) {
528 } else if (kUnimplemented == result) {
538 return result;
581 const Result result = this->onStartScanlineDecode(info, *options);
582 if (result != SkCodec::kSuccess) {
583 return result;
633 bool result = this->onSkipScanlines(countLines);
635 return result;
776 std::vector<FrameInfo> result(frameCount);
778 SkAssertResult(this->onGetFrameInfo(i, &result[i]));
780 return result;
783 const char* SkCodec::ResultToString(Result result) {
784 switch (result) {
807 return "bogus result value";