Lines Matching refs:keep
1280 add_one_chunk(png_bytep list, unsigned int count, png_const_bytep add, int keep)
1284 /* Utility function: update the 'keep' state of a chunk if it is already in
1291 list[4] = (png_byte)keep;
1297 if (keep != PNG_HANDLE_CHUNK_AS_DEFAULT)
1301 list[4] = (png_byte)keep;
1308 png_set_keep_unknown_chunks(png_structrp png_ptr, int keep,
1317 if (keep < 0 || keep >= PNG_HANDLE_CHUNK_LAST)
1319 png_app_error(png_ptr, "png_set_keep_unknown_chunks: invalid keep");
1326 png_ptr->unknown_default = keep;
1391 * required because add_one_chunk above doesn't extend the list if the 'keep'
1394 if (keep != 0)
1423 chunk_list+5*i, keep);