Searched refs:patchSize (Results 1 – 2 of 2) sorted by relevance
26 size_t patchSize = patch->serializedSize(); in peek() local27 if (length != patchSize) { in peek()31 Res_png_9patch* patchNew = (Res_png_9patch*) malloc(patchSize); in peek()32 memcpy(patchNew, patch, patchSize); in peek()37 mPatchSize = patchSize; in peek()
821 size_t patchSize = inPatch->serializedSize(); in checkNinePatchSerialization() local822 void* newData = malloc(patchSize); in checkNinePatchSerialization()823 memcpy(newData, data, patchSize); in checkNinePatchSerialization()