Searched refs:patchSize (Results 1 – 3 of 3) sorted by relevance
27 size_t patchSize = patch->serializedSize(); in readChunk() local28 if (length != patchSize) { in readChunk()32 Res_png_9patch* patchNew = (Res_png_9patch*) malloc(patchSize); in readChunk()33 memcpy(patchNew, patch, patchSize); in readChunk()38 mPatchSize = patchSize; in readChunk()
154 size_t patchSize = inPatch->serializedSize(); in checkNinePatchSerialization() local155 void* newData = malloc(patchSize); in checkNinePatchSerialization()156 memcpy(newData, data, patchSize); in checkNinePatchSerialization()
798 size_t patchSize = inPatch->serializedSize(); in checkNinePatchSerialization() local799 void* newData = malloc(patchSize); in checkNinePatchSerialization()800 memcpy(newData, data, patchSize); in checkNinePatchSerialization()