/external/qemu/distrib/libpng-1.2.19/ |
D | pngrio.c | 29 png_read_data(png_structp png_ptr, png_bytep data, png_size_t length) in png_read_data() 45 png_default_read_data(png_structp png_ptr, png_bytep data, png_size_t length) in png_default_read_data() 47 png_size_t check; in png_default_read_data() 57 check = (png_size_t)fread(data, (png_size_t)1, length, in png_default_read_data() 74 png_default_read_data(png_structp png_ptr, png_bytep data, png_size_t length) in png_default_read_data() 96 png_size_t read, remaining, err; in png_default_read_data() 106 err = fread(buf, (png_size_t)1, read, io_ptr); in png_default_read_data()
|
D | pngwutil.c | 63 png_bytep data, png_size_t length) in png_write_chunk() 85 png_write_data(png_ptr, buf, (png_size_t)4); in png_write_chunk_start() 88 png_write_data(png_ptr, chunk_name, (png_size_t)4); in png_write_chunk_start() 91 png_calculate_crc(png_ptr, chunk_name, (png_size_t)4); in png_write_chunk_start() 100 png_write_chunk_data(png_structp png_ptr, png_bytep data, png_size_t length) in png_write_chunk_data() 122 png_write_data(png_ptr, buf, (png_size_t)4); in png_write_chunk_end() 137 (png_size_t)8 - png_ptr->sig_bytes); in png_write_sig() 162 png_charp text, png_size_t text_len, int compression, in png_text_compress() 330 text_len += png_ptr->zbuf_size - (png_size_t)png_ptr->zstream.avail_out; in png_text_compress() 345 (png_size_t)comp->input_len); in png_write_compressed_data_out() [all …]
|
D | pngmem.c | 40 png_size_t size; in png_create_struct_2() 126 ret = ((png_voidp)(*(png_ptr->malloc_fn))(png_ptr, (png_size_t)size)); in png_malloc() 160 if (ret == NULL || ((png_size_t)ret & 0xffff)) in png_malloc_default() 198 if ((png_size_t)table & 0xfff0) in png_malloc_default() 227 if ((png_size_t)hptr & 0xf) in png_malloc_default() 345 png_size_t size; in png_create_struct_2() 438 ret = ((png_voidp)(*(png_ptr->malloc_fn))(png_ptr, (png_size_t)size)); in png_malloc() 559 png_size_t size; in png_memcpy_check() 561 size = (png_size_t)length; in png_memcpy_check() 572 png_size_t size; in png_memset_check() [all …]
|
D | png.c | 117 png_sig_cmp(png_bytep sig, png_size_t start, png_size_t num_to_check) in png_sig_cmp() 142 return ((int)!png_sig_cmp(sig, (png_size_t)0, (png_size_t)num)); in png_check_sig() 179 png_memset(ptr, 0, (png_size_t)0x8000L); in png_zalloc() 180 png_memset((png_bytep)ptr + (png_size_t)0x8000L, 0, in png_zalloc() 181 (png_size_t)(num_bytes - (png_uint_32)0x8000L)); in png_zalloc() 185 png_memset(ptr, 0, (png_size_t)num_bytes); in png_zalloc() 217 png_calculate_crc(png_structp png_ptr, png_bytep ptr, png_size_t length) in png_calculate_crc() 306 png_info_init_3(png_infopp ptr_ptr, png_size_t png_info_struct_size) in png_info_init_3() 886 PNG_EXTERN png_size_t PNGAPI png_convert_size PNGARG((size_t size)); 887 png_size_t PNGAPI [all …]
|
D | pngpread.c | 29 png_bytep buffer, png_size_t buffer_size) in png_process_data() 107 png_size_t num_checked = png_ptr->sig_bytes, in png_push_read_sig() 518 png_size_t save_size; in png_push_crc_finish() 521 save_size = (png_size_t)png_ptr->skip_length; in png_push_crc_finish() 534 png_size_t save_size; in png_push_crc_finish() 537 save_size = (png_size_t)png_ptr->skip_length; in png_push_crc_finish() 562 png_push_fill_buffer(png_structp png_ptr, png_bytep buffer, png_size_t length) in png_push_fill_buffer() 570 png_size_t save_size; in png_push_fill_buffer() 586 png_size_t save_size; in png_push_fill_buffer() 607 png_size_t i,istop; in png_push_save_buffer() [all …]
|
D | pngrutil.c | 97 png_crc_read(png_structp png_ptr, png_bytep buf, png_size_t length) in png_crc_read() 111 png_size_t i; in png_crc_finish() 112 png_size_t istop = png_ptr->zbuf_size; in png_crc_finish() 114 for (i = (png_size_t)skip; i > istop; i -= istop) in png_crc_finish() 185 png_charp chunkdata, png_size_t chunklength, in png_decompress_chunk() 186 png_size_t prefix_size, png_size_t *newlength) in png_decompress_chunk() 190 png_size_t text_size; in png_decompress_chunk() 230 text_size = (png_size_t)(chunklength - (text - chunkdata) - 1); in png_decompress_chunk() 662 png_size_t truelen; in png_handle_sBIT() 692 truelen = (png_size_t)png_ptr->channels; in png_handle_sBIT() [all …]
|
D | png.h | 596 png_size_t text_length; /* length of the text string */ 598 png_size_t itxt_length; /* length of the itxt string */ 647 png_size_t size; 874 png_size_t unknown_chunks_num; 940 #define PNG_SIZE_MAX ((png_size_t)(-1)) 1061 typedef void (PNGAPI *png_rw_ptr) PNGARG((png_structp, png_bytep, png_size_t)); 1109 typedef png_voidp (*png_malloc_ptr) PNGARG((png_structp, png_size_t)); 1155 png_size_t zbuf_size; /* size of zbuf */ 1265 png_size_t save_buffer_size; /* amount of data now in save_buffer */ 1266 png_size_t save_buffer_max; /* total size of save_buffer */ [all …]
|
D | pngwio.c | 29 png_write_data(png_structp png_ptr, png_bytep data, png_size_t length) in png_write_data() 44 png_default_write_data(png_structp png_ptr, png_bytep data, png_size_t length) in png_default_write_data() 68 png_default_write_data(png_structp png_ptr, png_bytep data, png_size_t length) in png_default_write_data() 90 png_size_t written, remaining, err; in png_default_write_data()
|
D | pngrtran.c | 459 png_size_t num_entries = ((png_size_t)1 << total_bits); in png_set_dither() 1521 png_bytep sp = row + (png_size_t)((row_width - 1) >> 3); in png_do_unpack() 1522 png_bytep dp = row + (png_size_t)row_width - 1; in png_do_unpack() 1542 png_bytep sp = row + (png_size_t)((row_width - 1) >> 2); in png_do_unpack() 1543 png_bytep dp = row + (png_size_t)row_width - 1; in png_do_unpack() 1562 png_bytep sp = row + (png_size_t)((row_width - 1) >> 1); in png_do_unpack() 1563 png_bytep dp = row + (png_size_t)row_width - 1; in png_do_unpack() 1967 png_bytep sp = row + (png_size_t)row_width; in png_do_read_filler() 1968 png_bytep dp = sp + (png_size_t)row_width; in png_do_read_filler() 1982 png_bytep sp = row + (png_size_t)row_width; in png_do_read_filler() [all …]
|
D | pngset.c | 362 info_ptr->rowbytes = (png_size_t)0; in png_set_IHDR() 404 png_memcpy(info_ptr->pcal_purpose, purpose, (png_size_t)length); in png_set_pCAL() 420 png_memcpy(info_ptr->pcal_units, units, (png_size_t)length); in png_set_pCAL() 442 png_memcpy(info_ptr->pcal_params[i], params[i], (png_size_t)length); in png_set_pCAL() 490 png_memcpy(info_ptr->scal_s_width, swidth, (png_size_t)length); in png_set_sCAL_s() 501 png_memcpy(info_ptr->scal_s_height, sheight, (png_size_t)length); in png_set_sCAL_s() 701 png_memcpy(new_iccp_profile, profile, (png_size_t)proflen); in png_set_iCCP() 761 png_memcpy(info_ptr->text, old_text, (png_size_t)(old_max * in png_set_text_2() 782 png_size_t text_length,key_len; in png_set_text_2() 783 png_size_t lang_len,lang_key_len; in png_set_text_2() [all …]
|
D | pnggccrd.c | 992 (png_size_t)PNG_ROWBYTES(png_ptr->row_info.pixel_depth,png_ptr->width)); in png_combine_row() 2086 sp = row + (png_size_t)((row_info->width - 1) >> 3); in png_do_read_interlace() 2087 dp = row + (png_size_t)((final_width - 1) >> 3); in png_do_read_interlace() 2140 sp = row + (png_size_t)((row_info->width - 1) >> 2); in png_do_read_interlace() 2141 dp = row + (png_size_t)((final_width - 1) >> 2); in png_do_read_interlace() 2145 sshift = (png_size_t)(((row_info->width + 3) & 3) << 1); in png_do_read_interlace() 2146 dshift = (png_size_t)(((final_width + 3) & 3) << 1); in png_do_read_interlace() 2154 sshift = (png_size_t)((3 - ((row_info->width + 3) & 3)) << 1); in png_do_read_interlace() 2155 dshift = (png_size_t)((3 - ((final_width + 3) & 3)) << 1); in png_do_read_interlace() 2197 sp = row + (png_size_t)((row_info->width - 1) >> 1); in png_do_read_interlace() [all …]
|
/external/libpng/ |
D | pngrio.c | 33 png_read_data(png_structp png_ptr, png_bytep data, png_size_t length) in png_read_data() 66 png_default_read_data(png_structp png_ptr, png_bytep data, png_size_t length) in png_default_read_data() 68 png_size_t check; in png_default_read_data() 79 check = (png_size_t)fread(data, (png_size_t)1, length, in png_default_read_data() 96 png_default_read_data(png_structp png_ptr, png_bytep data, png_size_t length) in png_default_read_data() 120 png_size_t read, remaining, err; in png_default_read_data() 130 err = fread(buf, (png_size_t)1, read, io_ptr); in png_default_read_data()
|
D | pngwutil.c | 69 (png_size_t)(8 - png_ptr->sig_bytes)); in png_write_sig() 85 png_bytep data, png_size_t length) in png_write_chunk() 90 png_write_chunk_data(png_ptr, data, (png_size_t)length); in png_write_chunk() 114 png_write_data(png_ptr, buf, (png_size_t)8); in png_write_chunk_start() 119 png_calculate_crc(png_ptr, chunk_name, (png_size_t)4); in png_write_chunk_start() 128 png_write_chunk_data(png_structp png_ptr, png_bytep data, png_size_t length) in png_write_chunk_data() 154 png_write_data(png_ptr, buf, (png_size_t)4); in png_write_chunk_end() 176 png_charp text, png_size_t text_len, int compression, in png_text_compress() 346 text_len += png_ptr->zbuf_size - (png_size_t)png_ptr->zstream.avail_out; in png_text_compress() 361 (png_size_t)comp->input_len); in png_write_compressed_data_out() [all …]
|
D | pngmem.c | 43 png_size_t size; in png_create_struct_2() 125 png_memset(ret,0,(png_size_t)size); in png_calloc() 139 ret = ((png_voidp)(*(png_ptr->malloc_fn))(png_ptr, (png_size_t)size)); in png_malloc() 173 if (ret == NULL || ((png_size_t)ret & 0xffff)) in png_malloc_default() 211 if ((png_size_t)table & 0xfff0) in png_malloc_default() 240 if ((png_size_t)hptr & 0xf) in png_malloc_default() 361 png_size_t size; in png_create_struct_2() 452 png_memset(ret,0,(png_size_t)size); in png_calloc() 466 ret = ((png_voidp)(*(png_ptr->malloc_fn))(png_ptr, (png_size_t)size)); in png_malloc() 590 png_size_t size; in png_memcpy_check() [all …]
|
D | pngpread.c | 32 png_bytep buffer, png_size_t buffer_size) in png_process_data() 121 png_size_t num_checked = png_ptr->sig_bytes, in png_push_read_sig() 587 png_size_t save_size; in png_push_crc_finish() 590 save_size = (png_size_t)png_ptr->skip_length; in png_push_crc_finish() 603 png_size_t save_size; in png_push_crc_finish() 606 save_size = (png_size_t)png_ptr->skip_length; in png_push_crc_finish() 631 png_push_fill_buffer(png_structp png_ptr, png_bytep buffer, png_size_t length) in png_push_fill_buffer() 641 png_size_t save_size; in png_push_fill_buffer() 657 png_size_t save_size; in png_push_fill_buffer() 679 png_size_t i, istop; in png_push_save_buffer() [all …]
|
D | png.c | 122 png_sig_cmp(png_bytep sig, png_size_t start, png_size_t num_to_check) in png_sig_cmp() 147 return ((int)!png_sig_cmp(sig, (png_size_t)0, (png_size_t)num)); in png_check_sig() 185 png_memset(ptr, 0, (png_size_t)0x8000L); in png_zalloc() 186 png_memset((png_bytep)ptr + (png_size_t)0x8000L, 0, in png_zalloc() 187 (png_size_t)(num_bytes - (png_uint_32)0x8000L)); in png_zalloc() 191 png_memset(ptr, 0, (png_size_t)num_bytes); in png_zalloc() 223 png_calculate_crc(png_structp png_ptr, png_bytep ptr, png_size_t length) in png_calculate_crc() 318 png_info_init_3(png_infopp ptr_ptr, png_size_t png_info_struct_size) in png_info_init_3() 834 PNG_EXTERN png_size_t PNGAPI png_convert_size PNGARG((size_t size)); 835 png_size_t PNGAPI [all …]
|
D | pngrutil.c | 139 png_crc_read(png_structp png_ptr, png_bytep buf, png_size_t length) in png_crc_read() 156 png_size_t i; in png_opt_crc_finish() 157 png_size_t istop = png_ptr->zbuf_size; in png_opt_crc_finish() 159 for (i = (png_size_t)skip; i > istop; i -= istop) in png_opt_crc_finish() 238 static png_size_t 239 png_inflate(png_structp png_ptr, const png_byte *data, png_size_t size, in png_inflate() 240 png_bytep output, png_size_t output_size) in png_inflate() 242 png_size_t count = 0; in png_inflate() 267 png_size_t copy = output_size - count; in png_inflate() 268 if ((png_size_t) avail < copy) copy = (png_size_t) avail; in png_inflate() [all …]
|
D | png.h | 712 png_size_t text_length; /* length of the text string */ 714 png_size_t itxt_length; /* length of the itxt string */ 766 png_size_t size; 1038 png_size_t unknown_chunks_num PNG_DEPSTRUCT; 1104 #define PNG_SIZE_MAX ((png_size_t)(-1)) 1225 typedef void (PNGAPI *png_rw_ptr) PNGARG((png_structp, png_bytep, png_size_t)); 1281 typedef png_voidp (*png_malloc_ptr) PNGARG((png_structp, png_size_t)); 1330 png_size_t zbuf_size PNG_DEPSTRUCT; /* size of zbuf */ 1343 png_size_t irowbytes PNG_DEPSTRUCT; 1451 png_size_t save_buffer_size PNG_DEPSTRUCT; /* amount of data now in save_buffer */ [all …]
|
D | pngwio.c | 34 png_write_data(png_structp png_ptr, png_bytep data, png_size_t length) in png_write_data() 50 png_default_write_data(png_structp png_ptr, png_bytep data, png_size_t length) in png_default_write_data() 75 png_default_write_data(png_structp png_ptr, png_bytep data, png_size_t length) in png_default_write_data() 98 png_size_t written, remaining, err; in png_default_write_data()
|
D | pngrtran.c | 487 png_size_t num_entries = ((png_size_t)1 << total_bits); in png_set_dither() 1609 png_bytep sp = row + (png_size_t)((row_width - 1) >> 3); in png_do_unpack() 1610 png_bytep dp = row + (png_size_t)row_width - 1; in png_do_unpack() 1631 png_bytep sp = row + (png_size_t)((row_width - 1) >> 2); in png_do_unpack() 1632 png_bytep dp = row + (png_size_t)row_width - 1; in png_do_unpack() 1652 png_bytep sp = row + (png_size_t)((row_width - 1) >> 1); in png_do_unpack() 1653 png_bytep dp = row + (png_size_t)row_width - 1; in png_do_unpack() 2068 png_bytep sp = row + (png_size_t)row_width; in png_do_read_filler() 2069 png_bytep dp = sp + (png_size_t)row_width; in png_do_read_filler() 2083 png_bytep sp = row + (png_size_t)row_width; in png_do_read_filler() [all …]
|
D | pngset.c | 266 info_ptr->rowbytes = (png_size_t)0; in png_set_IHDR() 311 png_memcpy(info_ptr->pcal_purpose, purpose, (png_size_t)length); in png_set_pCAL() 328 png_memcpy(info_ptr->pcal_units, units, (png_size_t)length); in png_set_pCAL() 351 png_memcpy(info_ptr->pcal_params[i], params[i], (png_size_t)length); in png_set_pCAL() 403 png_memcpy(info_ptr->scal_s_width, swidth, (png_size_t)length); in png_set_sCAL_s() 417 png_memcpy(info_ptr->scal_s_height, sheight, (png_size_t)length); in png_set_sCAL_s() 623 png_memcpy(new_iccp_profile, profile, (png_size_t)proflen); in png_set_iCCP() 689 png_memcpy(info_ptr->text, old_text, (png_size_t)(old_max_text * in png_set_text_2() 716 png_size_t text_length, key_len; in png_set_text_2() 717 png_size_t lang_len, lang_key_len; in png_set_text_2() [all …]
|
D | pngtest.c | 52 check=(png_size_t)fread(data, (png_size_t)1, length, file) 54 check=(png_size_t)fwrite(data, (png_size_t)1, length, file) 313 pngtest_read_data(png_structp png_ptr, png_bytep data, png_size_t length) in pngtest_read_data() 315 png_size_t check = 0; in pngtest_read_data() 342 pngtest_read_data(png_structp png_ptr, png_bytep data, png_size_t length) in pngtest_read_data() 358 png_size_t read, remaining, err; in pngtest_read_data() 396 pngtest_write_data(png_structp png_ptr, png_bytep data, png_size_t length) in pngtest_write_data() 416 pngtest_write_data(png_structp png_ptr, png_bytep data, png_size_t length) in pngtest_write_data() 432 png_size_t written, remaining, err; in pngtest_write_data() 1147 png_size_t i; in test_one_file() [all …]
|
/external/libpng/contrib/visupng/ |
D | PngFile.h | 26 static void png_read_data(png_structp png_ptr, png_bytep data, png_size_t length); 27 static void png_write_data(png_structp png_ptr, png_bytep data, png_size_t length);
|
D | PngFile.c | 401 png_read_data(png_structp png_ptr, png_bytep data, png_size_t length) in png_read_data() 403 png_size_t check; in png_read_data() 408 check = (png_size_t)fread(data, (png_size_t)1, length, in png_read_data() 418 png_write_data(png_structp png_ptr, png_bytep data, png_size_t length) in png_write_data()
|
/external/qemu/ |
D | loadpng.c | 138 png_size_t length ) in png_reader_read_data() 141 png_size_t avail = (png_size_t)(reader->end - reader->cursor); in png_reader_read_data()
|