Lines Matching refs:outError
632 static TickType tickType(png_bytep p, bool transparent, const char** outError) { in tickType() argument
648 *outError = in tickType()
655 *outError = "Ticks in transparent frame must be black or red"; in tickType()
661 *outError = "White frame must be a solid color (no alpha)"; in tickType()
674 *outError = "Ticks in white frame must be black or red"; in tickType()
684 int32_t* outRight, const char** outError, in getHorizontalTicks() argument
691 if (tickType(row + i * 4, transparent, outError) == TickType::kTick) { in getHorizontalTicks()
702 *outError = "Can't have more than one marked region along edge"; in getHorizontalTicks()
706 } else if (!*outError) { in getHorizontalTicks()
721 *outError = "No marked region found along edge"; in getHorizontalTicks()
730 int32_t* outBottom, const char** outError, in getVerticalTicks() argument
737 if (tickType(rows[i] + offset, transparent, outError) == TickType::kTick) { in getVerticalTicks()
748 *outError = "Can't have more than one marked region along edge"; in getVerticalTicks()
752 } else if (!*outError) { in getVerticalTicks()
767 *outError = "No marked region found along edge"; in getVerticalTicks()
778 const char** outError) { in getHorizontalLayoutBoundsTicks() argument
782 if (tickType(row + 4, transparent, outError) == TickType::kLayoutBounds) { in getHorizontalLayoutBoundsTicks()
788 if (tickType(row + i * 4, transparent, outError) != in getHorizontalLayoutBoundsTicks()
796 if (tickType(row + (width - 2) * 4, transparent, outError) == in getHorizontalLayoutBoundsTicks()
803 if (tickType(row + i * 4, transparent, outError) != in getHorizontalLayoutBoundsTicks()
816 const char** outError) { in getVerticalLayoutBoundsTicks() argument
820 if (tickType(rows[1] + offset, transparent, outError) == in getVerticalLayoutBoundsTicks()
827 if (tickType(rows[i] + offset, transparent, outError) != in getVerticalLayoutBoundsTicks()
835 if (tickType(rows[height - 2] + offset, transparent, outError) == in getVerticalLayoutBoundsTicks()
842 if (tickType(rows[i] + offset, transparent, outError) != in getVerticalLayoutBoundsTicks()
977 static bool do9Patch(PngInfo* image, std::string* outError) { in do9Patch() argument
1229 *outError = err.str(); in do9Patch()