Lines Matching refs:best_size
425 png_alloc_size_t best_size;
465 png_alloc_size_t best_size; /* Best so far for this option */
852 dp->stack[sp].best_size =
942 png_alloc_size_t best_size = dp->stack[sp].best_size;
948 assert(best_size < MAX_SIZE);
953 dp->stack[sp].lo_size = best_size;
964 dp->stack[sp].hi_size = best_size;
988 dp->stack[sp].lo_size = best_size;
990 best_size = lo_size;
999 dp->stack[sp].hi_size = best_size;
1001 best_size = hi_size;
1032 if (lo_size <= best_size && best_size <= hi_size)
1048 dp->stack[sp].hi_size = best_size;
1053 else if (lo_size >= best_size && best_size >= hi_size)
1068 dp->stack[sp].lo_size = best_size;
1073 /* If both those tests failed 'best_size' is either greater than
1091 dp->stack[sp].hi_size = best_size;
1098 dp->stack[sp].lo_size = best_size;
1113 dp->stack[sp].best_size = MAX_SIZE;
1196 /* An option that is already on the stack; update best_size and best_val
1203 if (dp->stack[sp].best_size > dp->write_size ||
1204 (dp->stack[sp].best_size == dp->write_size &&
1207 dp->stack[sp].best_size = dp->write_size;
2150 (unsigned long)dp->best_size, dp->best);
2162 dp->best_size = MAX_SIZE;
2216 dp->best_size = MAX_SIZE;
2221 dp->best_size = dp->write_size;
2253 if (dp->write_size < dp->best_size ||
2254 (dp->write_size == dp->best_size && better_options(dp)))
2261 dp->best_size = dp->write_size;
2273 dp->write_size = dp->best_size;
2363 /* This result may already have been output, in which case best_size
2366 if (d.best_size < MAX_SIZE)