Lines Matching refs:outError
626 static TickType tickType(png_bytep p, bool transparent, const char** outError) { in tickType() argument
642 *outError = in tickType()
649 *outError = "Ticks in transparent frame must be black or red"; in tickType()
655 *outError = "White frame must be a solid color (no alpha)"; in tickType()
668 *outError = "Ticks in white frame must be black or red"; in tickType()
678 int32_t* outRight, const char** outError, in getHorizontalTicks() argument
685 if (tickType(row + i * 4, transparent, outError) == TickType::kTick) { in getHorizontalTicks()
696 *outError = "Can't have more than one marked region along edge"; in getHorizontalTicks()
700 } else if (!*outError) { in getHorizontalTicks()
715 *outError = "No marked region found along edge"; in getHorizontalTicks()
724 int32_t* outBottom, const char** outError, in getVerticalTicks() argument
731 if (tickType(rows[i] + offset, transparent, outError) == TickType::kTick) { in getVerticalTicks()
742 *outError = "Can't have more than one marked region along edge"; in getVerticalTicks()
746 } else if (!*outError) { in getVerticalTicks()
761 *outError = "No marked region found along edge"; in getVerticalTicks()
772 const char** outError) { in getHorizontalLayoutBoundsTicks() argument
776 if (tickType(row + 4, transparent, outError) == TickType::kLayoutBounds) { in getHorizontalLayoutBoundsTicks()
782 if (tickType(row + i * 4, transparent, outError) != in getHorizontalLayoutBoundsTicks()
790 if (tickType(row + (width - 2) * 4, transparent, outError) == in getHorizontalLayoutBoundsTicks()
797 if (tickType(row + i * 4, transparent, outError) != in getHorizontalLayoutBoundsTicks()
810 const char** outError) { in getVerticalLayoutBoundsTicks() argument
814 if (tickType(rows[1] + offset, transparent, outError) == in getVerticalLayoutBoundsTicks()
821 if (tickType(rows[i] + offset, transparent, outError) != in getVerticalLayoutBoundsTicks()
829 if (tickType(rows[height - 2] + offset, transparent, outError) == in getVerticalLayoutBoundsTicks()
836 if (tickType(rows[i] + offset, transparent, outError) != in getVerticalLayoutBoundsTicks()
971 static bool do9Patch(PngInfo* image, std::string* outError) { in do9Patch() argument
1223 *outError = err.str(); in do9Patch()