Lines Matching refs:counter
3268 static int counter = 0;
3271 sprintf(name, "%s%d.png", tmpf, ++counter);
3338 png_uint_32 counter;
3345 /* Use the low bit of 'counter' to indicate whether or not to do alpha
3349 for (counter=0; counter<2*FORMAT_COUNT; ++counter)
3350 if (format_isset(pf, counter >> 1))
3352 png_uint_32 format = counter >> 1;
3363 if ((counter & 1) == 0)
3375 * the background must always be a color, so increment 'counter'
3380 ++counter;
3384 * background NULL and skip the (counter & 1) NULL test.
3387 ++counter;