Lines Matching refs:outError
604 static TickType tickType(png_bytep p, bool transparent, const char** outError) { in tickType() argument
620 *outError = in tickType()
627 *outError = "Ticks in transparent frame must be black or red"; in tickType()
633 *outError = "White frame must be a solid color (no alpha)"; in tickType()
646 *outError = "Ticks in white frame must be black or red"; in tickType()
655 int32_t* outLeft, int32_t* outRight, const char** outError, in getHorizontalTicks() argument
662 if (tickType(row + i * 4, transparent, outError) == TickType::kTick) { in getHorizontalTicks()
672 *outError = "Can't have more than one marked region along edge"; in getHorizontalTicks()
676 } else if (!*outError) { in getHorizontalTicks()
691 *outError = "No marked region found along edge"; in getHorizontalTicks()
700 const char** outError, uint8_t* outDivs, bool multipleAllowed) { in getVerticalTicks() argument
706 if (tickType(rows[i] + offset, transparent, outError) == TickType::kTick) { in getVerticalTicks()
716 *outError = "Can't have more than one marked region along edge"; in getVerticalTicks()
720 } else if (!*outError) { in getVerticalTicks()
735 *outError = "No marked region found along edge"; in getVerticalTicks()
744 const char** outError) { in getHorizontalLayoutBoundsTicks() argument
748 if (tickType(row + 4, transparent, outError) == TickType::kLayoutBounds) { in getHorizontalLayoutBoundsTicks()
754 if (tickType(row + i * 4, transparent, outError) != TickType::kLayoutBounds) { in getHorizontalLayoutBoundsTicks()
761 if (tickType(row + (width - 2) * 4, transparent, outError) == TickType::kLayoutBounds) { in getHorizontalLayoutBoundsTicks()
767 if (tickType(row + i * 4, transparent, outError) != TickType::kLayoutBounds) { in getHorizontalLayoutBoundsTicks()
777 const char** outError) { in getVerticalLayoutBoundsTicks() argument
781 if (tickType(rows[1] + offset, transparent, outError) == TickType::kLayoutBounds) { in getVerticalLayoutBoundsTicks()
787 if (tickType(rows[i] + offset, transparent, outError) != TickType::kLayoutBounds) { in getVerticalLayoutBoundsTicks()
794 if (tickType(rows[height - 2] + offset, transparent, outError) == TickType::kLayoutBounds) { in getVerticalLayoutBoundsTicks()
800 if (tickType(rows[i] + offset, transparent, outError) != TickType::kLayoutBounds) { in getVerticalLayoutBoundsTicks()
925 static bool do9Patch(PngInfo* image, std::string* outError) { in do9Patch() argument
1168 *outError = err.str(); in do9Patch()