Lines Matching defs:num
331 int num)
339 /* Free text item num or (if num == -1) all text items */
342 if (num != -1)
344 if (info_ptr->text && info_ptr->text[num].key)
346 png_free(png_ptr, info_ptr->text[num].key);
347 info_ptr->text[num].key = NULL;
421 /* Free a given sPLT entry, or (if num == -1) all sPLT entries */
424 if (num != -1)
428 png_free(png_ptr, info_ptr->splt_palettes[num].name);
429 png_free(png_ptr, info_ptr->splt_palettes[num].entries);
430 info_ptr->splt_palettes[num].name = NULL;
431 info_ptr->splt_palettes[num].entries = NULL;
461 if (num != -1)
465 png_free(png_ptr, info_ptr->unknown_chunks[num].data);
466 info_ptr->unknown_chunks[num].data = NULL;
525 if (num != -1)
1475 png_uint_32 num;
1479 *ascii++ = 45, --size, num = -fp;
1481 num = fp;
1483 if (num <= 0x80000000U) /* else overflowed */
1488 while (num)
1490 /* Split the low digit off num: */
1491 unsigned int tmp = num/10;
1492 num -= tmp*10;
1493 digits[ndigits++] = (char)(48 + num);
1497 if (first == 16 && num > 0)
1499 num = tmp;
2169 * 'num' 256 entry subtables, where 'num' is determined by 'shift' - the amount
2181 PNG_CONST unsigned int num = 1U << (8U - shift);
2187 (png_uint_16pp)png_calloc(png_ptr, num * png_sizeof(png_uint_16p));
2189 for (i = 0; i < num; i++)
2248 PNG_CONST unsigned int num = 1U << (8U - shift);
2254 (png_uint_16pp)png_calloc(png_ptr, num * png_sizeof(png_uint_16p));
2256 /* 'num' is the number of tables and also the number of low bits of low
2260 for (i = 0; i < num; i++)
2300 while (last < (num << 8))