/external/chromium_org/third_party/libpng/ |
pngrio.c | 33 png_read_data(png_structp png_ptr, png_bytep data, png_size_t length) 51 png_default_read_data(png_structp png_ptr, png_bytep data, png_size_t length) 53 png_size_t check; 57 /* fread() returns 0 on error, so it is OK to store this in a png_size_t 64 check = (png_size_t)fread(data, (png_size_t)1, length, 81 png_default_read_data(png_structp png_ptr, png_bytep data, png_size_t length) 105 png_size_t read, remaining, err; 115 err = fread(buf, (png_size_t)1, read, io_ptr);
|
pngwutil.c | 69 (png_size_t)(8 - png_ptr->sig_bytes)); 85 png_bytep data, png_size_t length) 90 png_write_chunk_data(png_ptr, data, (png_size_t)length); 114 png_write_data(png_ptr, buf, (png_size_t)8); 119 png_calculate_crc(png_ptr, chunk_name, (png_size_t)4); 128 png_write_chunk_data(png_structp png_ptr, png_bytep data, png_size_t length) 154 png_write_data(png_ptr, buf, (png_size_t)4); 176 png_charp text, png_size_t text_len, int compression, 346 text_len += png_ptr->zbuf_size - (png_size_t)png_ptr->zstream.avail_out; 361 (png_size_t)comp->input_len) [all...] |
pngmem.c | 43 png_size_t size; 113 * Note that we can't use png_size_t for the "size" declaration, 114 * since on some systems a png_size_t is a 16-bit quantity, and as a 125 png_memset(ret,0,(png_size_t)size); 139 ret = ((png_voidp)(*(png_ptr->malloc_fn))(png_ptr, (png_size_t)size)); 173 if (ret == NULL || ((png_size_t)ret & 0xffff)) 211 if ((png_size_t)table & 0xfff0) 240 if ((png_size_t)hptr & 0xf) 361 png_size_t size; 452 png_memset(ret,0,(png_size_t)size) [all...] |
pngwio.c | 34 png_write_data(png_structp png_ptr, png_bytep data, png_size_t length) 50 png_default_write_data(png_structp png_ptr, png_bytep data, png_size_t length) 75 png_default_write_data(png_structp png_ptr, png_bytep data, png_size_t length) 98 png_size_t written, remaining, err;
|
pngpread.c | 32 png_bytep buffer, png_size_t buffer_size) 121 png_size_t num_checked = png_ptr->sig_bytes, 587 png_size_t save_size; 590 save_size = (png_size_t)png_ptr->skip_length; 603 png_size_t save_size; 606 save_size = (png_size_t)png_ptr->skip_length; 631 png_push_fill_buffer(png_structp png_ptr, png_bytep buffer, png_size_t length) 641 png_size_t save_size; 657 png_size_t save_size; 679 png_size_t i, istop [all...] |
pngrutil.c | 139 png_crc_read(png_structp png_ptr, png_bytep buf, png_size_t length) 155 png_size_t i; 156 png_size_t istop = png_ptr->zbuf_size; 158 for (i = (png_size_t)skip; i > istop; i -= istop) 221 static png_size_t 222 png_inflate(png_structp png_ptr, const png_byte *data, png_size_t size, 223 png_bytep output, png_size_t output_size) 225 png_size_t count = 0; 250 png_size_t copy = output_size - count; 251 if ((png_size_t) avail < copy) copy = (png_size_t) avail [all...] |
pngset.c | 266 info_ptr->rowbytes = (png_size_t)0; 311 png_memcpy(info_ptr->pcal_purpose, purpose, (png_size_t)length); 328 png_memcpy(info_ptr->pcal_units, units, (png_size_t)length); 351 png_memcpy(info_ptr->pcal_params[i], params[i], (png_size_t)length); 403 png_memcpy(info_ptr->scal_s_width, swidth, (png_size_t)length); 417 png_memcpy(info_ptr->scal_s_height, sheight, (png_size_t)length); 623 png_memcpy(new_iccp_profile, profile, (png_size_t)proflen); 685 png_memcpy(info_ptr->text, old_text, (png_size_t)(old_max * 706 png_size_t text_length, key_len; 707 png_size_t lang_len, lang_key_len [all...] |
/external/libpng/ |
pngrio.c | 33 png_read_data(png_structp png_ptr, png_bytep data, png_size_t length) 66 png_default_read_data(png_structp png_ptr, png_bytep data, png_size_t length) 68 png_size_t check; 72 /* fread() returns 0 on error, so it is OK to store this in a png_size_t 79 check = (png_size_t)fread(data, (png_size_t)1, length, 96 png_default_read_data(png_structp png_ptr, png_bytep data, png_size_t length) 120 png_size_t read, remaining, err; 130 err = fread(buf, (png_size_t)1, read, io_ptr);
|
pngwutil.c | 69 (png_size_t)(8 - png_ptr->sig_bytes)); 85 png_bytep data, png_size_t length) 90 png_write_chunk_data(png_ptr, data, (png_size_t)length); 114 png_write_data(png_ptr, buf, (png_size_t)8); 119 png_calculate_crc(png_ptr, chunk_name, (png_size_t)4); 128 png_write_chunk_data(png_structp png_ptr, png_bytep data, png_size_t length) 154 png_write_data(png_ptr, buf, (png_size_t)4); 176 png_charp text, png_size_t text_len, int compression, 346 text_len += png_ptr->zbuf_size - (png_size_t)png_ptr->zstream.avail_out; 361 (png_size_t)comp->input_len) [all...] |
pngmem.c | 43 png_size_t size; 113 * Note that we can't use png_size_t for the "size" declaration, 114 * since on some systems a png_size_t is a 16-bit quantity, and as a 125 png_memset(ret,0,(png_size_t)size); 139 ret = ((png_voidp)(*(png_ptr->malloc_fn))(png_ptr, (png_size_t)size)); 173 if (ret == NULL || ((png_size_t)ret & 0xffff)) 211 if ((png_size_t)table & 0xfff0) 240 if ((png_size_t)hptr & 0xf) 361 png_size_t size; 452 png_memset(ret,0,(png_size_t)size) [all...] |
pngwio.c | 34 png_write_data(png_structp png_ptr, png_bytep data, png_size_t length) 50 png_default_write_data(png_structp png_ptr, png_bytep data, png_size_t length) 75 png_default_write_data(png_structp png_ptr, png_bytep data, png_size_t length) 98 png_size_t written, remaining, err;
|
png.c | 122 png_sig_cmp(png_bytep sig, png_size_t start, png_size_t num_to_check) 147 return ((int)!png_sig_cmp(sig, (png_size_t)0, (png_size_t)num)); 185 png_memset(ptr, 0, (png_size_t)0x8000L); 186 png_memset((png_bytep)ptr + (png_size_t)0x8000L, 0, 187 (png_size_t)(num_bytes - (png_uint_32)0x8000L)); 191 png_memset(ptr, 0, (png_size_t)num_bytes); 223 png_calculate_crc(png_structp png_ptr, png_bytep ptr, png_size_t length) 318 png_info_init_3(png_infopp ptr_ptr, png_size_t png_info_struct_size [all...] |
pngpread.c | 32 png_bytep buffer, png_size_t buffer_size) 121 png_size_t num_checked = png_ptr->sig_bytes, 587 png_size_t save_size; 590 save_size = (png_size_t)png_ptr->skip_length; 603 png_size_t save_size; 606 save_size = (png_size_t)png_ptr->skip_length; 631 png_push_fill_buffer(png_structp png_ptr, png_bytep buffer, png_size_t length) 641 png_size_t save_size; 657 png_size_t save_size; 679 png_size_t i, istop [all...] |
pngrutil.c | 139 png_crc_read(png_structp png_ptr, png_bytep buf, png_size_t length) 156 png_size_t i; 157 png_size_t istop = png_ptr->zbuf_size; 159 for (i = (png_size_t)skip; i > istop; i -= istop) 238 static png_size_t 239 png_inflate(png_structp png_ptr, const png_byte *data, png_size_t size, 240 png_bytep output, png_size_t output_size) 242 png_size_t count = 0; 267 png_size_t copy = output_size - count; 268 if ((png_size_t) avail < copy) copy = (png_size_t) avail [all...] |
/external/qemu/distrib/libpng-1.2.19/ |
pngrio.c | 29 png_read_data(png_structp png_ptr, png_bytep data, png_size_t length) 45 png_default_read_data(png_structp png_ptr, png_bytep data, png_size_t length) 47 png_size_t check; 50 /* fread() returns 0 on error, so it is OK to store this in a png_size_t 57 check = (png_size_t)fread(data, (png_size_t)1, length, 74 png_default_read_data(png_structp png_ptr, png_bytep data, png_size_t length) 96 png_size_t read, remaining, err; 106 err = fread(buf, (png_size_t)1, read, io_ptr);
|
pngwio.c | 29 png_write_data(png_structp png_ptr, png_bytep data, png_size_t length) 44 png_default_write_data(png_structp png_ptr, png_bytep data, png_size_t length) 68 png_default_write_data(png_structp png_ptr, png_bytep data, png_size_t length) 90 png_size_t written, remaining, err;
|
pngmem.c | 40 png_size_t size; 110 * Note that we can't use png_size_t for the "size" declaration, 111 * since on some systems a png_size_t is a 16-bit quantity, and as a 126 ret = ((png_voidp)(*(png_ptr->malloc_fn))(png_ptr, (png_size_t)size)); 160 if (ret == NULL || ((png_size_t)ret & 0xffff)) 198 if ((png_size_t)table & 0xfff0) 227 if ((png_size_t)hptr & 0xf) 345 png_size_t size; 438 ret = ((png_voidp)(*(png_ptr->malloc_fn))(png_ptr, (png_size_t)size)); 559 png_size_t size [all...] |
pngwutil.c | 63 png_bytep data, png_size_t length) 85 png_write_data(png_ptr, buf, (png_size_t)4); 88 png_write_data(png_ptr, chunk_name, (png_size_t)4); 91 png_calculate_crc(png_ptr, chunk_name, (png_size_t)4); 100 png_write_chunk_data(png_structp png_ptr, png_bytep data, png_size_t length) 122 png_write_data(png_ptr, buf, (png_size_t)4); 137 (png_size_t)8 - png_ptr->sig_bytes); 162 png_charp text, png_size_t text_len, int compression, 330 text_len += png_ptr->zbuf_size - (png_size_t)png_ptr->zstream.avail_out; 345 (png_size_t)comp->input_len) [all...] |
png.c | 117 png_sig_cmp(png_bytep sig, png_size_t start, png_size_t num_to_check) 142 return ((int)!png_sig_cmp(sig, (png_size_t)0, (png_size_t)num)); 179 png_memset(ptr, 0, (png_size_t)0x8000L); 180 png_memset((png_bytep)ptr + (png_size_t)0x8000L, 0, 181 (png_size_t)(num_bytes - (png_uint_32)0x8000L)); 185 png_memset(ptr, 0, (png_size_t)num_bytes); 217 png_calculate_crc(png_structp png_ptr, png_bytep ptr, png_size_t length) 306 png_info_init_3(png_infopp ptr_ptr, png_size_t png_info_struct_size [all...] |
pngpread.c | 29 png_bytep buffer, png_size_t buffer_size) 107 png_size_t num_checked = png_ptr->sig_bytes, 518 png_size_t save_size; 521 save_size = (png_size_t)png_ptr->skip_length; 534 png_size_t save_size; 537 save_size = (png_size_t)png_ptr->skip_length; 562 png_push_fill_buffer(png_structp png_ptr, png_bytep buffer, png_size_t length) 570 png_size_t save_size; 586 png_size_t save_size; 607 png_size_t i,istop [all...] |
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; [all...] |
/external/libpng/contrib/visupng/ |
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);
|
/ndk/tests/build/issue20862-libpng-O0/jni/ |
pngstruct.h | 104 png_size_t rowbytes; /* size of row in bytes */ 118 png_size_t info_rowbytes; /* Added in 1.5.4: cache of updated row bytes */ 213 png_size_t save_buffer_size; /* amount of data now in save_buffer */ 214 png_size_t save_buffer_max; /* total size of save_buffer */ 215 png_size_t buffer_size; /* total amount of available input data */ 216 png_size_t current_buffer_size; /* amount of data now in current_buffer */ 342 png_size_t old_big_row_buf_size;
|
pngconf.h | 454 typedef unsigned int png_size_t; typedef 456 typedef size_t png_size_t; typedef 542 typedef png_size_t FAR * png_size_tp; 543 typedef PNG_CONST png_size_t FAR * png_const_size_tp; 570 /* png_alloc_size_t is guaranteed to be no smaller than png_size_t, 571 * and no smaller than png_uint_32. Casts from png_size_t or png_uint_32 575 * Casts in the other direction (from png_alloc_size_t to png_size_t or 593 typedef png_size_t png_alloc_size_t;
|
pngpriv.h | 557 * maximuum for png_size_t. The value can be overriden in a library build 575 ((png_size_t)(width) * (((png_size_t)(pixel_bits)) >> 3)) : \ 576 (( ((png_size_t)(width) * ((png_size_t)(pixel_bits))) + 7) >> 3) ) 743 png_bytep data, png_size_t length)); 747 png_bytep buffer, png_size_t length)); 751 png_bytep data, png_size_t length)); 764 png_const_bytep data, png_size_t length)); 774 png_size_t length)) [all...] |