/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);
|
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...] |
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...] |
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...] |
png.c | 121 png_sig_cmp(png_bytep sig, png_size_t start, png_size_t num_to_check) 146 return ((int)!png_sig_cmp(sig, (png_size_t)0, (png_size_t)num)); 184 png_memset(ptr, 0, (png_size_t)0x8000L); 185 png_memset((png_bytep)ptr + (png_size_t)0x8000L, 0, 186 (png_size_t)(num_bytes - (png_uint_32)0x8000L)); 190 png_memset(ptr, 0, (png_size_t)num_bytes); 222 png_calculate_crc(png_structp png_ptr, png_bytep ptr, png_size_t length) 317 png_info_init_3(png_infopp ptr_ptr, png_size_t png_info_struct_size [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...] |
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;
|
/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);
|
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...] |
libpngpf.3 | 28 \fBvoid png_calculate_crc (png_structp \fP\fIpng_ptr\fP\fB, png_bytep \fP\fIptr\fP\fB, png_size_t \fIlength\fP\fB);\fP 82 \fBvoid png_crc_read (png_structp \fP\fIpng_ptr\fP\fB, png_bytep \fP\fIbuf\fP\fB, png_size_t \fIlength\fP\fB);\fP 100 \fBvoid png_decompress_chunk (png_structp \fP\fIpng_ptr\fP\fB, int \fP\fIcomp_type\fP\fB, png_charp \fP\fIchunkdata\fP\fB, png_size_t \fP\fIchunklength\fP\fB, png_size_t \fP\fIprefix_length\fP\fB, png_size_t \fI*data_length\fP\fB);\fP 430 \fBvoid png_process_IDAT_data (png_structp \fP\fIpng_ptr\fP\fB, png_bytep \fP\fIbuffer\fP\fB, png_size_t \fIbuffer_length\fP\fB);\fP 460 \fBvoid png_push_fill_buffer (png_structp \fP\fIpng_ptr\fP\fB, png_bytep \fP\fIbuffer\fP\fB, png_size_t \fIlength\fP\fB);\fP 544 \fBvoid png_push_restore_buffer (png_structp \fP\fIpng_ptr\fP\fB, png_bytep \fP\fIbuffer\fP\fB, png_size_t \fIbuffer_length\fP\fB);\fP 562 \fBvoid png_read_data (png_structp \fP\fIpng_ptr\fP\fB, png_bytep \fP\fIdata\fP\fB, png_size_t \fIlength\fP\fB);\fP 622 \fBvoid png_write_data (png_structp \fP\fIpng_ptr\fP\fB, png_bytep \fP\fIdata\fP\fB, png_size_t \fIlength\fP\fB);\f [all...] |
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...] |
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...] |
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); 689 png_memcpy(info_ptr->text, old_text, (png_size_t)(old_max_text * 716 png_size_t text_length, key_len; 717 png_size_t lang_len, lang_key_len [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;
|
/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);
|
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...] |
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...] |
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...] |
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...] |
pngrutil.c | 97 png_crc_read(png_structp png_ptr, png_bytep buf, png_size_t length) 111 png_size_t i; 112 png_size_t istop = png_ptr->zbuf_size; 114 for (i = (png_size_t)skip; i > istop; i -= istop) 185 png_charp chunkdata, png_size_t chunklength, 186 png_size_t prefix_size, png_size_t *newlength) 190 png_size_t text_size; 230 text_size = (png_size_t)(chunklength - (text - chunkdata) - 1); 662 png_size_t truelen [all...] |
pngset.c | 362 info_ptr->rowbytes = (png_size_t)0; 404 png_memcpy(info_ptr->pcal_purpose, purpose, (png_size_t)length); 420 png_memcpy(info_ptr->pcal_units, units, (png_size_t)length); 442 png_memcpy(info_ptr->pcal_params[i], params[i], (png_size_t)length); 490 png_memcpy(info_ptr->scal_s_width, swidth, (png_size_t)length); 501 png_memcpy(info_ptr->scal_s_height, sheight, (png_size_t)length); 701 png_memcpy(new_iccp_profile, profile, (png_size_t)proflen); 761 png_memcpy(info_ptr->text, old_text, (png_size_t)(old_max * 782 png_size_t text_length,key_len; 783 png_size_t lang_len,lang_key_len [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);
|
PngFile.c | 401 png_read_data(png_structp png_ptr, png_bytep data, png_size_t length) 403 png_size_t check; 405 /* fread() returns 0 on error, so it is OK to store this in a png_size_t 408 check = (png_size_t)fread(data, (png_size_t)1, length, 418 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;
|