Lines Matching refs:keep
189 int keep; /* unknown handling setting */ member
331 chunk_info[i].keep = 0; in clear_keep()
395 int keep; /* the default value */ member
512 int keep, discard; in read_callback() local
515 keep = d->keep; in read_callback()
519 keep = chunk_info[chunk].keep; in read_callback()
520 if (keep == PNG_HANDLE_CHUNK_AS_DEFAULT) in read_callback()
526 keep = d->keep; in read_callback()
529 keep = PNG_HANDLE_CHUNK_NEVER; in read_callback()
533 switch (keep) in read_callback()
537 d->test, chunk_info[chunk].keep); in read_callback()
597 if (chunk < 0) switch (d->keep) in get_unknown()
603 d->file, d->test, d->keep ? "discard" : "default", in get_unknown()
658 d->keep = PNG_HANDLE_CHUNK_AS_DEFAULT; in check()
745 chunk_info[chunk].keep = option; in check()
761 d->keep = option; in check()
776 d->keep = option; in check()
780 chunk_info[chunk].keep = option; in check()
819 if (chunk_info[0/*IDAT*/].keep == PNG_HANDLE_CHUNK_AS_DEFAULT) in check()
857 flags[chunk_info[0/*IDAT*/].keep != PNG_HANDLE_CHUNK_AS_DEFAULT] |= in check()
865 return d->keep; in check()
892 int keep = chunk_info[i].keep; in check_handling() local
898 if (keep == PNG_HANDLE_CHUNK_AS_DEFAULT) in check_handling()
901 keep = def; in check_handling()
910 else switch (keep) in check_handling()
953 if (keep != PNG_HANDLE_CHUNK_AS_DEFAULT) in check_handling()
957 else /* not processed */ switch (keep) in check_handling()
1025 if (chunk_info[0/*IDAT*/].keep != PNG_HANDLE_CHUNK_AS_DEFAULT && in perform_one_test()