Searched refs:unknown_chunks_size (Results 1 – 2 of 2) sorted by relevance
474 size_t unknown_chunks_size[3]; /*size in bytes of the unknown chunks, given for protection*/ member
2660 for(i = 0; i < 3; i++) info->unknown_chunks_size[i] = 0; in LodePNGUnknownChunks_init()2678 dest->unknown_chunks_size[i] = src->unknown_chunks_size[i]; in LodePNGUnknownChunks_copy()2679 dest->unknown_chunks_data[i] = (unsigned char*)lodepng_malloc(src->unknown_chunks_size[i]); in LodePNGUnknownChunks_copy()2680 if(!dest->unknown_chunks_data[i] && dest->unknown_chunks_size[i]) return 83; /*alloc fail*/ in LodePNGUnknownChunks_copy()2681 for(j = 0; j < src->unknown_chunks_size[i]; j++) in LodePNGUnknownChunks_copy()4694 … &state->info_png.unknown_chunks_size[critical_pos - 1], chunk); in decodeGeneric()5736 … state->error = addUnknownChunks(&outv, info.unknown_chunks_data[0], info.unknown_chunks_size[0]); in lodepng_encode()5767 … state->error = addUnknownChunks(&outv, info.unknown_chunks_data[1], info.unknown_chunks_size[1]); in lodepng_encode()5837 … state->error = addUnknownChunks(&outv, info.unknown_chunks_data[2], info.unknown_chunks_size[2]); in lodepng_encode()