/external/chromium_org/third_party/libpng/ |
D | pngrio.c | 33 png_read_data(png_structp png_ptr, png_bytep data, png_size_t length) in png_read_data() 51 png_default_read_data(png_structp png_ptr, png_bytep data, png_size_t length) in png_default_read_data() 53 png_size_t check; in png_default_read_data() 64 check = (png_size_t)fread(data, (png_size_t)1, length, in png_default_read_data() 81 png_default_read_data(png_structp png_ptr, png_bytep data, png_size_t length) in png_default_read_data() 105 png_size_t read, remaining, err; in png_default_read_data() 115 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 | pngrutil.c | 139 png_crc_read(png_structp png_ptr, png_bytep buf, png_size_t length) in png_crc_read() 155 png_size_t i; in png_crc_finish() 156 png_size_t istop = png_ptr->zbuf_size; in png_crc_finish() 158 for (i = (png_size_t)skip; i > istop; i -= istop) in png_crc_finish() 221 static png_size_t 222 png_inflate(png_structp png_ptr, const png_byte *data, png_size_t size, in png_inflate() 223 png_bytep output, png_size_t output_size) in png_inflate() 225 png_size_t count = 0; in png_inflate() 250 png_size_t copy = output_size - count; in png_inflate() 251 if ((png_size_t) avail < copy) copy = (png_size_t) avail; in png_inflate() [all …]
|
D | png.c | 121 png_sig_cmp(png_bytep sig, png_size_t start, png_size_t num_to_check) in png_sig_cmp() 146 return ((int)!png_sig_cmp(sig, (png_size_t)0, (png_size_t)num)); in png_check_sig() 184 png_memset(ptr, 0, (png_size_t)0x8000L); in png_zalloc() 185 png_memset((png_bytep)ptr + (png_size_t)0x8000L, 0, in png_zalloc() 186 (png_size_t)(num_bytes - (png_uint_32)0x8000L)); in png_zalloc() 190 png_memset(ptr, 0, (png_size_t)num_bytes); in png_zalloc() 222 png_calculate_crc(png_structp png_ptr, png_bytep ptr, png_size_t length) in png_calculate_crc() 317 png_info_init_3(png_infopp ptr_ptr, png_size_t png_info_struct_size) in png_info_init_3() 833 PNG_EXTERN png_size_t PNGAPI png_convert_size PNGARG((size_t size)); 834 png_size_t PNGAPI [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 | png.h | 709 png_size_t text_length; /* length of the text string */ 711 png_size_t itxt_length; /* length of the itxt string */ 763 png_size_t size; 991 png_size_t unknown_chunks_num PNG_DEPSTRUCT; 1057 #define PNG_SIZE_MAX ((png_size_t)(-1)) 1178 typedef void (PNGAPI *png_rw_ptr) PNGARG((png_structp, png_bytep, png_size_t)); 1231 typedef png_voidp (*png_malloc_ptr) PNGARG((png_structp, png_size_t)); 1277 png_size_t zbuf_size PNG_DEPSTRUCT; /* size of zbuf */ 1290 png_size_t irowbytes PNG_DEPSTRUCT; 1398 png_size_t save_buffer_size PNG_DEPSTRUCT; /* amount of data now in save_buffer */ [all …]
|
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 …]
|
/external/qemu/distrib/libpng-1.2.46/ |
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 | 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 | 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 | 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 …]
|
/external/libpng/ |
D | pngwutil.c | 62 (png_size_t)(8 - png_ptr->sig_bytes)); in png_write_sig() 128 png_size_t length) in png_write_chunk_data() 163 png_write_data(png_ptr, buf, (png_size_t)4); in png_write_chunk_end() 177 png_const_bytep data, png_size_t length) in png_write_complete_chunk() 194 png_const_bytep data, png_size_t length) in png_write_chunk() 899 png_write_complete_chunk(png_ptr, png_IHDR, buf, (png_size_t)13); in png_write_IHDR() 965 png_write_chunk_data(png_ptr, buf, (png_size_t)3); in png_write_PLTE() 979 png_write_chunk_data(png_ptr, buf, (png_size_t)3); in png_write_PLTE() 1149 png_write_complete_chunk(png_ptr, png_IEND, NULL, (png_size_t)0); in png_write_IEND() 1164 png_write_complete_chunk(png_ptr, png_gAMA, buf, (png_size_t)4); in png_write_gAMA_fixed() [all …]
|
D | pngpread.c | 31 png_bytep buffer, png_size_t buffer_size) in png_process_data() 44 png_size_t PNGAPI 57 png_size_t remaining = png_ptr->buffer_size; in png_process_data_pause() 154 png_size_t num_checked = png_ptr->sig_bytes, /* SAFE, does not exceed 8 */ in png_push_read_sig() 560 png_size_t save_size = png_ptr->save_buffer_size; in png_push_crc_finish() 570 save_size = (png_size_t)skip_length; in png_push_crc_finish() 584 png_size_t save_size = png_ptr->current_buffer_size; in png_push_crc_finish() 591 save_size = (png_size_t)skip_length; in png_push_crc_finish() 617 png_push_fill_buffer(png_structp png_ptr, png_bytep buffer, png_size_t length) in png_push_fill_buffer() 627 png_size_t save_size; in png_push_fill_buffer() [all …]
|
D | pngstruct.h | 265 png_size_t rowbytes; /* size of row in bytes */ 281 png_size_t info_rowbytes; /* Added in 1.5.4: cache of updated row bytes */ 374 png_size_t save_buffer_size; /* amount of data now in save_buffer */ 375 png_size_t save_buffer_max; /* total size of save_buffer */ 376 png_size_t buffer_size; /* total amount of available input data */ 377 png_size_t current_buffer_size; /* amount of data now in current_buffer */ 507 png_size_t old_big_row_buf_size;
|
D | pngrio.c | 32 png_read_data(png_structrp png_ptr, png_bytep data, png_size_t length) in png_read_data() 64 png_default_read_data(png_structp png_ptr, png_bytep data, png_size_t length) in png_default_read_data() 66 png_size_t check; in png_default_read_data()
|
D | pngwio.c | 33 png_write_data(png_structrp png_ptr, png_const_bytep data, png_size_t length) in png_write_data() 51 png_default_write_data(png_structp png_ptr, png_bytep data, png_size_t length) in png_default_write_data() 53 png_size_t check; in png_default_write_data()
|
D | pngpriv.h | 662 ((png_size_t)(width) * (((png_size_t)(pixel_bits)) >> 3)) : \ 663 (( ((png_size_t)(width) * ((png_size_t)(pixel_bits))) + 7) >> 3) ) 958 png_bytep data, png_size_t length),PNG_EMPTY); 962 png_bytep buffer, png_size_t length),PNG_EMPTY); 966 png_bytep data, png_size_t length),PNG_EMPTY); 980 png_const_bytep data, png_size_t length),PNG_EMPTY); 992 png_size_t length),PNG_EMPTY); 1010 png_const_bytep ptr, png_size_t length),PNG_EMPTY); 1088 png_const_charp key, png_const_charp text, png_size_t text_len),PNG_EMPTY); 1093 key, png_const_charp text, png_size_t text_len, int compression),PNG_EMPTY); [all …]
|
D | pngrtran.c | 743 png_size_t num_entries = ((png_size_t)1 << total_bits); in png_set_quantize() 2147 png_bytep sp = row + (png_size_t)((row_width - 1) >> 3); in png_do_unpack() 2148 png_bytep dp = row + (png_size_t)row_width - 1; in png_do_unpack() 2171 png_bytep sp = row + (png_size_t)((row_width - 1) >> 2); in png_do_unpack() 2172 png_bytep dp = row + (png_size_t)row_width - 1; in png_do_unpack() 2194 png_bytep sp = row + (png_size_t)((row_width - 1) >> 1); in png_do_unpack() 2195 png_bytep dp = row + (png_size_t)row_width - 1; in png_do_unpack() 2677 png_bytep sp = row + (png_size_t)row_width; in png_do_read_filler() 2678 png_bytep dp = sp + (png_size_t)row_width; in png_do_read_filler() 2693 png_bytep sp = row + (png_size_t)row_width; in png_do_read_filler() [all …]
|