Lines Matching refs:outPatch
557 Res_png_9patch* outPatch = inPatch->deserialize(newData);
558 // deserialization is done in place, so outPatch == newData
559 assert(outPatch == newData);
560 assert(outPatch->numXDivs == inPatch->numXDivs);
561 assert(outPatch->numYDivs == inPatch->numYDivs);
562 assert(outPatch->paddingLeft == inPatch->paddingLeft);
563 assert(outPatch->paddingRight == inPatch->paddingRight);
564 assert(outPatch->paddingTop == inPatch->paddingTop);
565 assert(outPatch->paddingBottom == inPatch->paddingBottom);
566 for (int i = 0; i < outPatch->numXDivs; i++) {
567 assert(outPatch->xDivs[i] == inPatch->xDivs[i]);
569 for (int i = 0; i < outPatch->numYDivs; i++) {
570 assert(outPatch->yDivs[i] == inPatch->yDivs[i]);
572 for (int i = 0; i < outPatch->numColors; i++) {
573 assert(outPatch->colors[i] == inPatch->colors[i]);