Home
last modified time | relevance | path

Searched refs:new_length (Results 1 – 1 of 1) sorted by relevance

/lvgl-3.6.0/src/extra/libs/png/
Dlodepng.c2569 size_t total_chunk_length, new_length; in lodepng_chunk_append() local
2573 if(lodepng_addofl(*outsize, total_chunk_length, &new_length)) return 77; in lodepng_chunk_append()
2575 new_buffer = (unsigned char*)lodepng_realloc(*out, new_length); in lodepng_chunk_append()
2578 (*outsize) = new_length; in lodepng_chunk_append()
2579 chunk_start = &(*out)[new_length - total_chunk_length]; in lodepng_chunk_append()
2593 size_t new_length = out->size; in lodepng_chunk_init() local
2594 if(lodepng_addofl(new_length, length, &new_length)) return 77; in lodepng_chunk_init()
2595 if(lodepng_addofl(new_length, 12, &new_length)) return 77; in lodepng_chunk_init()
2596 if(!ucvector_resize(out, new_length)) return 83; /*alloc fail*/ in lodepng_chunk_init()
2597 *chunk = out->data + new_length - length - 12u; in lodepng_chunk_init()