Lines Matching refs:png_uint_32
49 png_uint_32 PNGAPI
52 png_uint_32 i = png_get_uint_32(buf);
59 png_uint_32 PNGAPI
62 png_uint_32 i = ((png_uint_32)(*buf) << 24) +
63 ((png_uint_32)(*(buf + 1)) << 16) +
64 ((png_uint_32)(*(buf + 2)) << 8) +
65 (png_uint_32)(*(buf + 3));
109 png_crc_finish(png_structp png_ptr, png_uint_32 skip)
148 png_uint_32 crc;
259 (png_uint_32)(text_size +
348 png_handle_IHDR(png_structp png_ptr, png_infop info_ptr, png_uint_32 length)
351 png_uint_32 width, height;
419 png_handle_PLTE(png_structp png_ptr, png_infop info_ptr, png_uint_32 length)
557 png_handle_IEND(png_structp png_ptr, png_infop info_ptr, png_uint_32 length)
579 png_handle_gAMA(png_structp png_ptr, png_infop info_ptr, png_uint_32 length)
660 png_handle_sBIT(png_structp png_ptr, png_infop info_ptr, png_uint_32 length)
726 png_handle_cHRM(png_structp png_ptr, png_infop info_ptr, png_uint_32 length)
735 png_uint_32 uint_x, uint_y;
890 png_handle_sRGB(png_structp png_ptr, png_infop info_ptr, png_uint_32 length)
987 png_handle_iCCP(png_structp png_ptr, png_infop info_ptr, png_uint_32 length)
994 png_uint_32 skip = 0;
995 png_uint_32 profile_size, profile_length;
1020 if (length > (png_uint_32)65535L)
1023 skip = length - (png_uint_32)65535L;
1024 length = (png_uint_32)65535L;
1101 png_handle_sPLT(png_structp png_ptr, png_infop info_ptr, png_uint_32 length)
1111 png_uint_32 skip = 0;
1126 if (length > (png_uint_32)65535L)
1129 skip = length - (png_uint_32)65535L;
1130 length = (png_uint_32)65535L;
1171 if ((png_uint_32) new_palette.nentries > (png_uint_32) (PNG_SIZE_MAX /
1241 png_handle_tRNS(png_structp png_ptr, png_infop info_ptr, png_uint_32 length)
1306 if (length > (png_uint_32)png_ptr->num_palette ||
1342 png_handle_bKGD(png_structp png_ptr, png_infop info_ptr, png_uint_32 length)
1431 png_handle_hIST(png_structp png_ptr, png_infop info_ptr, png_uint_32 length)
1485 png_handle_pHYs(png_structp png_ptr, png_infop info_ptr, png_uint_32 length)
1488 png_uint_32 res_x, res_y;
1528 png_handle_oFFs(png_structp png_ptr, png_infop info_ptr, png_uint_32 length)
1572 png_handle_pCAL(png_structp png_ptr, png_infop info_ptr, png_uint_32 length)
1661 params = (png_charpp)png_malloc_warn(png_ptr, (png_uint_32)(nparams
1700 png_handle_sCAL(png_structp png_ptr, png_infop info_ptr, png_uint_32 length)
1827 png_handle_tIME(png_structp png_ptr, png_infop info_ptr, png_uint_32 length)
1871 png_handle_tEXt(png_structp png_ptr, png_infop info_ptr, png_uint_32 length)
1876 png_uint_32 skip = 0;
1889 if (length > (png_uint_32)65535L)
1892 skip = length - (png_uint_32)65535L;
1893 length = (png_uint_32)65535L;
1921 (png_uint_32)png_sizeof(png_text));
1950 png_handle_zTXt(png_structp png_ptr, png_infop info_ptr, png_uint_32 length)
1969 if (length > (png_uint_32)65535L)
2019 (png_uint_32)png_sizeof(png_text));
2048 png_handle_iTXt(png_structp png_ptr, png_infop info_ptr, png_uint_32 length)
2069 if (length > (png_uint_32)65535L)
2136 (png_uint_32)png_sizeof(png_text));
2166 png_handle_unknown(png_structp png_ptr, png_infop info_ptr, png_uint_32 length)
2168 png_uint_32 skip = 0;
2201 if (length > (png_uint_32)65535L)
2204 skip = length - (png_uint_32)65535L;
2205 length = (png_uint_32)65535L;
2347 register png_uint_32 i;
2348 png_uint_32 initial_val = BPP3 * png_pass_start[png_ptr->pass];
2354 png_uint_32 len = png_ptr->width &~7; /* reduce to mult of 8 */
2356 register png_uint_32 final_val = BPP3 * len; /* GRR bugfix */
2390 register png_uint_32 i;
2391 png_uint_32 initial_val = BPP4 * png_pass_start[png_ptr->pass];
2397 png_uint_32 len = png_ptr->width &~7; /* reduce to mult of 8 */
2399 register png_uint_32 final_val = BPP4 * len; /* GRR bugfix */
2432 register png_uint_32 i;
2433 png_uint_32 initial_val = png_pass_start[png_ptr->pass];
2439 png_uint_32 len = png_ptr->width &~7; /* reduce to mult of 8 */
2441 register png_uint_32 final_val = len; /* GRR bugfix */
2476 png_uint_32 i;
2533 png_uint_32 i;
2588 png_uint_32 i;
2641 register png_uint_32 i;
2642 png_uint_32 initial_val = BPP2 * png_pass_start[png_ptr->pass];
2648 png_uint_32 len = png_ptr->width &~7; /* reduce to mult of 8 */
2650 register png_uint_32 final_val = BPP2 * len; /* GRR bugfix */
2685 register png_uint_32 i;
2686 png_uint_32 initial_val = BPP6 * png_pass_start[png_ptr->pass];
2692 png_uint_32 len = png_ptr->width &~7; /* reduce to mult of 8 */
2694 register png_uint_32 final_val = BPP6 * len; /* GRR bugfix */
2725 register png_uint_32 i;
2726 png_uint_32 initial_val = BPP8 * png_pass_start[png_ptr->pass];
2732 png_uint_32 len = png_ptr->width &~7; /* reduce to mult of 8 */
2734 register png_uint_32 final_val = BPP8 * len; /* GRR bugfix */
2799 png_uint_32 transformations = png_ptr->transformations;
2805 png_uint_32 final_width;
2817 png_uint_32 i;
2872 png_uint_32 i;
2929 png_uint_32 i;
2986 png_uint_32 i;
3197 png_uint_32 i;
3198 png_uint_32 istop = row_info->rowbytes;
3199 png_uint_32 bpp = (row_info->pixel_depth + 7) >> 3;
3213 png_uint_32 i;
3214 png_uint_32 istop = row_info->rowbytes;
3228 png_uint_32 i;
3232 png_uint_32 bpp = (row_info->pixel_depth + 7) >> 3;
3233 png_uint_32 istop = row_info->rowbytes - bpp;
3253 png_uint_32 i;
3258 png_uint_32 bpp = (row_info->pixel_depth + 7) >> 3;
3259 png_uint_32 istop = row_info->rowbytes - bpp;
3339 png_uint_32 i;
3340 png_uint_32 row_width = png_ptr->width;
3393 png_uint_32 i;
3394 png_uint_32 row_width = png_ptr->width;
3445 png_uint_32 i;
3446 png_uint_32 row_width = png_ptr->width;
3494 png_uint_32 i;
3495 png_uint_32 row_width = png_ptr->width;
3523 png_uint_32 transformations)
3531 png_uint_32 transformations = png_ptr->transformations;
3541 png_uint_32 final_width;
3555 png_uint_32 i;
3604 png_bytep sp = row + (png_uint_32)((row_info->width - 1) >> 2);
3605 png_bytep dp = row + (png_uint_32)((final_width - 1) >> 2);
3609 png_uint_32 i;
3664 png_uint_32 i;
3720 png_uint_32 i;
3759 png_uint_32 i;
3760 png_uint_32 istop = row_info->rowbytes;
3761 png_uint_32 bpp = (row_info->pixel_depth + 7) >> 3;
3774 png_uint_32 i;
3775 png_uint_32 istop = row_info->rowbytes;
3788 png_uint_32 i;
3792 png_uint_32 bpp = (row_info->pixel_depth + 7) >> 3;
3793 png_uint_32 istop = row_info->rowbytes - bpp;
3812 png_uint_32 i;
3817 png_uint_32 bpp = (row_info->pixel_depth + 7) >> 3;
3818 png_uint_32 istop=row_info->rowbytes - bpp;
4020 png_uint_32 row_bytes;
4041 if((png_uint_32)png_ptr->irowbytes != row_bytes)
4154 row_bytes = ((png_ptr->width + 7) & ~((png_uint_32)7));
4160 if (row_bytes > (png_uint_32)65536L)
4170 if ((png_uint_32)png_ptr->rowbytes + 1 > (png_uint_32)65536L)
4173 if ((png_uint_32)png_ptr->rowbytes > (png_uint_32)(PNG_SIZE_MAX - 1))
4175 png_ptr->prev_row = (png_bytep)png_malloc(png_ptr, (png_uint_32)(