Searched refs:newsize (Results 1 – 1 of 1) sorted by relevance
232 size_t newsize = allocsize + (p->allocsize >> 1u); in uivector_resize() local233 void* data = lodepng_realloc(p->data, newsize); in uivector_resize()235 p->allocsize = newsize; in uivector_resize()270 size_t newsize = size + (p->allocsize >> 1u); in ucvector_resize() local271 void* data = lodepng_realloc(p->data, newsize); in ucvector_resize()273 p->allocsize = newsize; in ucvector_resize()4825 size_t newsize; in decodeGeneric() local4826 if(lodepng_addofl(idatsize, chunkLength, &newsize)) CERROR_BREAK(state->error, 95); in decodeGeneric()4827 if(newsize > insize) CERROR_BREAK(state->error, 95); in decodeGeneric()