Lines Matching refs:png_uint_32
53 png_uint_32 PNGAPI
57 png_uint_32 i = png_get_uint_32(buf); in png_get_uint_31()
60 png_uint_32 i = ((png_uint_32)(*buf) << 24) + in png_get_uint_31()
61 ((png_uint_32)(*(buf + 1)) << 16) + in png_get_uint_31()
62 ((png_uint_32)(*(buf + 2)) << 8) + in png_get_uint_31()
63 (png_uint_32)(*(buf + 3)); in png_get_uint_31()
71 png_uint_32 PNGAPI
74 png_uint_32 i = ((png_uint_32)(*buf) << 24) + in png_get_uint_32()
75 ((png_uint_32)(*(buf + 1)) << 16) + in png_get_uint_32()
76 ((png_uint_32)(*(buf + 2)) << 8) + in png_get_uint_32()
77 (png_uint_32)(*(buf + 3)); in png_get_uint_32()
111 png_uint_32 /* PRIVATE */
115 png_uint_32 length; in png_read_chunk_header()
154 png_opt_crc_finish(png_structp png_ptr, png_uint_32 skip, int check_crc) in png_opt_crc_finish()
198 png_crc_finish(png_structp png_ptr, png_uint_32 skip) in png_crc_finish()
210 png_uint_32 crc; in png_crc_error()
457 png_handle_IHDR(png_structp png_ptr, png_infop info_ptr, png_uint_32 length) in png_handle_IHDR()
460 png_uint_32 width, height; in png_handle_IHDR()
531 png_handle_PLTE(png_structp png_ptr, png_infop info_ptr, png_uint_32 length) in png_handle_PLTE()
673 png_handle_IEND(png_structp png_ptr, png_infop info_ptr, png_uint_32 length) in png_handle_IEND()
695 png_handle_gAMA(png_structp png_ptr, png_infop info_ptr, png_uint_32 length) in png_handle_gAMA()
776 png_handle_sBIT(png_structp png_ptr, png_infop info_ptr, png_uint_32 length) in png_handle_sBIT()
842 png_handle_cHRM(png_structp png_ptr, png_infop info_ptr, png_uint_32 length) in png_handle_cHRM()
851 png_uint_32 uint_x, uint_y; in png_handle_cHRM()
968 png_handle_sRGB(png_structp png_ptr, png_infop info_ptr, png_uint_32 length) in png_handle_sRGB()
1066 png_handle_iCCP(png_structp png_ptr, png_infop info_ptr, png_uint_32 length) in png_handle_iCCP()
1072 png_uint_32 skip = 0; in png_handle_iCCP()
1073 png_uint_32 profile_size, profile_length; in png_handle_iCCP()
1098 if (length > (png_uint_32)65535L) in png_handle_iCCP()
1101 skip = length - (png_uint_32)65535L; in png_handle_iCCP()
1102 length = (png_uint_32)65535L; in png_handle_iCCP()
1186 png_handle_sPLT(png_structp png_ptr, png_infop info_ptr, png_uint_32 length) in png_handle_sPLT()
1195 png_uint_32 skip = 0; in png_handle_sPLT()
1228 if (length > (png_uint_32)65535L) in png_handle_sPLT()
1231 skip = length - (png_uint_32)65535L; in png_handle_sPLT()
1232 length = (png_uint_32)65535L; in png_handle_sPLT()
1278 if ((png_uint_32) new_palette.nentries > in png_handle_sPLT()
1279 (png_uint_32) (PNG_SIZE_MAX / png_sizeof(png_sPLT_entry))) in png_handle_sPLT()
1349 png_handle_tRNS(png_structp png_ptr, png_infop info_ptr, png_uint_32 length) in png_handle_tRNS()
1408 if (length > (png_uint_32)png_ptr->num_palette || in png_handle_tRNS()
1444 png_handle_bKGD(png_structp png_ptr, png_infop info_ptr, png_uint_32 length) in png_handle_bKGD()
1533 png_handle_hIST(png_structp png_ptr, png_infop info_ptr, png_uint_32 length) in png_handle_hIST()
1587 png_handle_pHYs(png_structp png_ptr, png_infop info_ptr, png_uint_32 length) in png_handle_pHYs()
1590 png_uint_32 res_x, res_y; in png_handle_pHYs()
1630 png_handle_oFFs(png_structp png_ptr, png_infop info_ptr, png_uint_32 length) in png_handle_oFFs()
1674 png_handle_pCAL(png_structp png_ptr, png_infop info_ptr, png_uint_32 length) in png_handle_pCAL()
1767 (png_uint_32)(nparams * png_sizeof(png_charp))) ; in png_handle_pCAL()
1808 png_handle_sCAL(png_structp png_ptr, png_infop info_ptr, png_uint_32 length) in png_handle_sCAL()
1972 png_handle_tIME(png_structp png_ptr, png_infop info_ptr, png_uint_32 length) in png_handle_tIME()
2016 png_handle_tEXt(png_structp png_ptr, png_infop info_ptr, png_uint_32 length) in png_handle_tEXt()
2021 png_uint_32 skip = 0; in png_handle_tEXt()
2051 if (length > (png_uint_32)65535L) in png_handle_tEXt()
2054 skip = length - (png_uint_32)65535L; in png_handle_tEXt()
2055 length = (png_uint_32)65535L; in png_handle_tEXt()
2088 (png_uint_32)png_sizeof(png_text)); in png_handle_tEXt()
2119 png_handle_zTXt(png_structp png_ptr, png_infop info_ptr, png_uint_32 length) in png_handle_zTXt()
2155 if (length > (png_uint_32)65535L) in png_handle_zTXt()
2208 (png_uint_32)png_sizeof(png_text)); in png_handle_zTXt()
2239 png_handle_iTXt(png_structp png_ptr, png_infop info_ptr, png_uint_32 length) in png_handle_iTXt()
2276 if (length > (png_uint_32)65535L) in png_handle_iTXt()
2356 (png_uint_32)png_sizeof(png_text)); in png_handle_iTXt()
2388 png_handle_unknown(png_structp png_ptr, png_infop info_ptr, png_uint_32 length) in png_handle_unknown()
2390 png_uint_32 skip = 0; in png_handle_unknown()
2441 if (length > (png_uint_32)65535L) in png_handle_unknown()
2444 skip = length - (png_uint_32)65535L; in png_handle_unknown()
2445 length = (png_uint_32)65535L; in png_handle_unknown()
2549 png_uint_32 i; in png_combine_row()
2550 png_uint_32 row_width = png_ptr->width; in png_combine_row()
2603 png_uint_32 i; in png_combine_row()
2604 png_uint_32 row_width = png_ptr->width; in png_combine_row()
2655 png_uint_32 i; in png_combine_row()
2656 png_uint_32 row_width = png_ptr->width; in png_combine_row()
2704 png_uint_32 i; in png_combine_row()
2705 png_uint_32 row_width = png_ptr->width; in png_combine_row()
2741 png_uint_32 transformations = png_ptr->transformations; in png_do_read_interlace()
2749 png_uint_32 final_width; in png_do_read_interlace()
2763 png_uint_32 i; in png_do_read_interlace()
2812 png_bytep sp = row + (png_uint_32)((row_info->width - 1) >> 2); in png_do_read_interlace()
2813 png_bytep dp = row + (png_uint_32)((final_width - 1) >> 2); in png_do_read_interlace()
2817 png_uint_32 i; in png_do_read_interlace()
2872 png_uint_32 i; in png_do_read_interlace()
2929 png_uint_32 i; in png_do_read_interlace()
2968 png_uint_32 i; in png_read_filter_row()
2969 png_uint_32 istop = row_info->rowbytes; in png_read_filter_row()
2970 png_uint_32 bpp = (row_info->pixel_depth + 7) >> 3; in png_read_filter_row()
2983 png_uint_32 i; in png_read_filter_row()
2984 png_uint_32 istop = row_info->rowbytes; in png_read_filter_row()
2997 png_uint_32 i; in png_read_filter_row()
3001 png_uint_32 bpp = (row_info->pixel_depth + 7) >> 3; in png_read_filter_row()
3002 png_uint_32 istop = row_info->rowbytes - bpp; in png_read_filter_row()
3021 png_uint_32 i; in png_read_filter_row()
3026 png_uint_32 bpp = (row_info->pixel_depth + 7) >> 3; in png_read_filter_row()
3027 png_uint_32 istop=row_info->rowbytes - bpp; in png_read_filter_row()
3384 row_bytes = ((png_ptr->width + 7) & ~((png_uint_32)7)); in png_read_start_row()
3391 if (row_bytes > (png_uint_32)65536L) in png_read_start_row()
3412 if ((png_uint_32)row_bytes + 1 > (png_uint_32)65536L) in png_read_start_row()
3415 if ((png_uint_32)row_bytes > (png_uint_32)(PNG_SIZE_MAX - 1)) in png_read_start_row()
3421 png_ptr->prev_row = (png_bytep)png_malloc(png_ptr, (png_uint_32)( in png_read_start_row()