Searched refs:total_chunk_length (Results 1 – 1 of 1) sorted by relevance
2424 unsigned total_chunk_length = lodepng_chunk_length(chunk) + 12; in lodepng_chunk_next() local2425 return &chunk[total_chunk_length]; in lodepng_chunk_next()2430 unsigned total_chunk_length = lodepng_chunk_length(chunk) + 12; in lodepng_chunk_next_const() local2431 return &chunk[total_chunk_length]; in lodepng_chunk_next_const()2437 unsigned total_chunk_length = lodepng_chunk_length(chunk) + 12; in lodepng_chunk_append() local2439 size_t new_length = (*outlength) + total_chunk_length; in lodepng_chunk_append()2440 …if(new_length < total_chunk_length || new_length < (*outlength)) return 77; /*integer overflow hap… in lodepng_chunk_append()2446 chunk_start = &(*out)[new_length - total_chunk_length]; in lodepng_chunk_append()2448 for(i = 0; i < total_chunk_length; i++) chunk_start[i] = chunk[i]; in lodepng_chunk_append()