Lines Matching refs:total_chunk_length
2522 size_t total_chunk_length; in lodepng_chunk_next() local
2524 if(lodepng_addofl(lodepng_chunk_length(chunk), 12, &total_chunk_length)) return end; in lodepng_chunk_next()
2525 result = chunk + total_chunk_length; in lodepng_chunk_next()
2538 size_t total_chunk_length; in lodepng_chunk_next_const() local
2540 if(lodepng_addofl(lodepng_chunk_length(chunk), 12, &total_chunk_length)) return end; in lodepng_chunk_next_const()
2541 result = chunk + total_chunk_length; in lodepng_chunk_next_const()
2569 size_t total_chunk_length, new_length; in lodepng_chunk_append() local
2572 if(lodepng_addofl(lodepng_chunk_length(chunk), 12, &total_chunk_length)) return 77; in lodepng_chunk_append()
2573 if(lodepng_addofl(*outsize, total_chunk_length, &new_length)) return 77; in lodepng_chunk_append()
2579 chunk_start = &(*out)[new_length - total_chunk_length]; in lodepng_chunk_append()
2581 for(i = 0; i != total_chunk_length; ++i) chunk_start[i] = chunk[i]; in lodepng_chunk_append()