Home
last modified time | relevance | path

Searched refs:png_sizeof (Results 1 – 25 of 29) sorted by relevance

12

/external/libpng/
Dpngset.c31 png_memcpy(&(info_ptr->background), background, png_sizeof(png_color_16)); in png_set_bKGD()
197 (png_uint_32)(PNG_MAX_PALETTE_LENGTH * png_sizeof(png_uint_16))); in png_set_hIST()
383 (png_uint_32)((nparams + 1) * png_sizeof(png_charp))); in png_set_pCAL()
390 png_memset(info_ptr->pcal_params, 0, (nparams + 1) * png_sizeof(png_charp)); in png_set_pCAL()
527 PNG_MAX_PALETTE_LENGTH * png_sizeof(png_color)); in png_set_PLTE()
529 png_sizeof(png_color)); in png_set_PLTE()
530 png_memcpy(png_ptr->palette, palette, num_palette * png_sizeof(png_color)); in png_set_PLTE()
552 png_memcpy(&(info_ptr->sig_bit), sig_bit, png_sizeof(png_color_8)); in png_set_sBIT()
731 (png_uint_32)(info_ptr->max_text * png_sizeof(png_text))); in png_set_text_2()
738 png_sizeof(png_text))); in png_set_text_2()
[all …]
Dpngwrite.c506 png_memcpy(png_ptr->jmpbuf, jmpbuf, png_sizeof(jmp_buf)); in png_create_write_struct_2()
578 png_memcpy(png_ptr->jmpbuf, jmpbuf, png_sizeof(jmp_buf)); in png_create_write_struct_2()
605 if (png_sizeof(png_struct) > png_struct_size || in png_write_init_2()
606 png_sizeof(png_info) > png_info_size) in png_write_init_2()
623 if (png_sizeof(png_struct) > png_struct_size) in png_write_init_2()
632 if (png_sizeof(png_info) > png_info_size) in png_write_init_2()
679 png_memcpy(tmp_jmp, png_ptr->jmpbuf, png_sizeof(jmp_buf)); in png_write_init_3()
682 if (png_sizeof(png_struct) > png_struct_size) in png_write_init_3()
690 png_memset(png_ptr, 0, png_sizeof(png_struct)); in png_write_init_3()
700 png_memcpy(png_ptr->jmpbuf, tmp_jmp, png_sizeof(jmp_buf)); in png_write_init_3()
[all …]
Dpngread.c87 png_memcpy(png_ptr->jmpbuf, jmpbuf, png_sizeof(jmp_buf)); in png_create_read_struct_2()
172 png_memcpy(png_ptr->jmpbuf, jmpbuf, png_sizeof(jmp_buf)); in png_create_read_struct_2()
201 if (png_sizeof(png_struct) > png_struct_size || in png_read_init_2()
202 png_sizeof(png_info) > png_info_size) in png_read_init_2()
219 if (png_sizeof(png_struct) > png_struct_size) in png_read_init_2()
228 if (png_sizeof(png_info) > png_info_size) in png_read_init_2()
275 png_memcpy(tmp_jmp, png_ptr->jmpbuf, png_sizeof(jmp_buf)); in png_read_init_3()
278 if (png_sizeof(png_struct) > png_struct_size) in png_read_init_3()
286 png_memset(png_ptr, 0, png_sizeof(png_struct)); in png_read_init_3()
290 png_memcpy(png_ptr->jmpbuf, tmp_jmp, png_sizeof(jmp_buf)); in png_read_init_3()
[all …]
Dpngmem.c46 size = png_sizeof(png_info); in png_create_struct_2()
48 size = png_sizeof(png_struct); in png_create_struct_2()
215 png_sizeof(png_bytep)); in png_malloc_default()
354 size = png_sizeof(png_info); in png_create_struct_2()
356 size = png_sizeof(png_struct); in png_create_struct_2()
Dpng.c258 png_info_init_3(&info_ptr, png_sizeof(png_info)); in png_create_info_struct()
317 if (png_sizeof(png_info) > png_info_struct_size) in png_info_init_3()
325 png_memset(info_ptr, 0, png_sizeof(png_info)); in png_info_init_3()
617 png_info_init_3(&info_ptr, png_sizeof(png_info)); in png_info_destroy()
667 png_sizeof(char))); in png_convert_to_rfc1123()
689 29*png_sizeof(char)); in png_convert_to_rfc1123()
Dpngtest.c527 (png_uint_32)png_sizeof(*pinfo)); in png_debug_malloc()
804 png_memcpy(png_jmpbuf(read_ptr), jmpbuf, png_sizeof(jmp_buf)); in test_one_file()
826 png_memcpy(png_jmpbuf(write_ptr), jmpbuf, png_sizeof(jmp_buf)); in test_one_file()
1099 png_sizeof(tIME_string)); in test_one_file()
1100 tIME_string[png_sizeof(tIME_string) - 1] = '\0'; in test_one_file()
1286 png_sizeof(tIME_string)); in test_one_file()
1287 tIME_string[png_sizeof(tIME_string) - 1] = '\0'; in test_one_file()
1456 (long)png_sizeof(png_struct), (long)png_sizeof(png_info)); in main()
Dpngrtran.c107 png_sizeof(png_color_16)); in png_set_background()
171 (png_uint_32)(num_palette * png_sizeof(png_byte))); in png_set_dither()
188 (png_uint_32)(num_palette * png_sizeof(png_byte))); in png_set_dither()
320 (png_uint_32)(num_palette * png_sizeof(png_byte))); in png_set_dither()
322 (png_uint_32)(num_palette * png_sizeof(png_byte))); in png_set_dither()
332 png_sizeof(png_dsortp))); in png_set_dither()
333 png_memset(hash, 0, 769 * png_sizeof(png_dsortp)); in png_set_dither()
363 (png_uint_32)(png_sizeof(png_dsort))); in png_set_dither()
480 (png_uint_32)(num_entries * png_sizeof(png_byte))); in png_set_dither()
482 png_sizeof(png_byte)); in png_set_dither()
[all …]
Dpngrutil.c35 str = (wchar_t *)png_malloc(png_ptr, len * png_sizeof(wchar_t)); in png_strtod()
260 text_size = prefix_size + png_sizeof(msg) + 1; in png_decompress_chunk()
276 if (text_size > png_sizeof(msg)) in png_decompress_chunk()
277 text_size = png_sizeof(msg); in png_decompress_chunk()
1200 (png_uint_32) (PNG_SIZE_MAX / png_sizeof(png_sPLT_entry))) in png_handle_sPLT()
1206 png_ptr, new_palette.nentries * png_sizeof(png_sPLT_entry)); in png_handle_sPLT()
1688 (png_uint_32)(nparams * png_sizeof(png_charp))) ; in png_handle_pCAL()
1971 (png_uint_32)png_sizeof(png_text)); in png_handle_tEXt()
2075 (png_uint_32)png_sizeof(png_text)); in png_handle_zTXt()
2207 (png_uint_32)png_sizeof(png_text)); in png_handle_iTXt()
[all …]
Dexample.c649 * png_sizeof(png_color));
765 if (height > PNG_UINT_32_MAX/png_sizeof(png_bytep))
Dpngpread.c1235 (png_uint_32)png_sizeof(png_text)); in png_push_read_tEXt()
1437 (png_uint_32)png_sizeof(png_text)); in png_push_read_zTXt()
1557 (png_uint_32)png_sizeof(png_text)); in png_push_read_iTXt()
1616 png_sizeof(png_ptr->unknown_chunk.name)); in png_push_handle_unknown()
1617 png_ptr->unknown_chunk.name[png_sizeof(png_ptr->unknown_chunk.name) - 1] in png_push_handle_unknown()
Dpngconf.h1153 # define png_sizeof(x) png_convert_size(sizeof(x)) macro
1156 # define png_sizeof(x) sizeof(x) macro
Dpngwutil.c254 (comp->max_output_ptr * png_sizeof(png_charpp))); in png_text_compress()
256 * png_sizeof(png_charp)); in png_text_compress()
262 (comp->max_output_ptr * png_sizeof(png_charp))); in png_text_compress()
306 png_sizeof(png_charp))); in png_text_compress()
308 old_max * png_sizeof(png_charp)); in png_text_compress()
314 png_sizeof(png_charp))); in png_text_compress()
1556 (png_uint_32)(nparams * png_sizeof(png_uint_32))); in png_write_pCAL()
Dpngerror.c260 png_memcpy(jmpbuf, png_ptr->jmpbuf, png_sizeof(jmp_buf)); in png_default_error()
/external/qemu/distrib/libpng-1.2.19/
Dpngset.c29 png_memcpy(&(info_ptr->background), background, png_sizeof(png_color_16)); in png_set_bKGD()
239 (png_uint_32)(PNG_MAX_PALETTE_LENGTH * png_sizeof (png_uint_16))); in png_set_hIST()
423 (png_uint_32)((nparams + 1) * png_sizeof(png_charp))); in png_set_pCAL()
561 PNG_MAX_PALETTE_LENGTH * png_sizeof(png_color)); in png_set_PLTE()
563 png_sizeof(png_color)); in png_set_PLTE()
564 png_memcpy(png_ptr->palette, palette, num_palette * png_sizeof (png_color)); in png_set_PLTE()
586 png_memcpy(&(info_ptr->sig_bit), sig_bit, png_sizeof (png_color_8)); in png_set_sBIT()
693 png_strncpy(new_iccp_name, name, png_sizeof(new_iccp_name)); in png_set_iCCP()
755 (png_uint_32)(info_ptr->max_text * png_sizeof (png_text))); in png_set_text_2()
762 png_sizeof(png_text))); in png_set_text_2()
[all …]
Dpngwrite.c484 png_memcpy(png_ptr->jmpbuf,jmpbuf,png_sizeof(jmp_buf)); in png_create_write_struct_2()
553 png_memcpy(png_ptr->jmpbuf,jmpbuf,png_sizeof(jmp_buf)); in png_create_write_struct_2()
580 if(png_sizeof(png_struct) > png_struct_size || in png_write_init_2()
581 png_sizeof(png_info) > png_info_size) in png_write_init_2()
598 if(png_sizeof(png_struct) > png_struct_size) in png_write_init_2()
607 if(png_sizeof(png_info) > png_info_size) in png_write_init_2()
654 png_memcpy(tmp_jmp, png_ptr->jmpbuf, png_sizeof (jmp_buf)); in png_write_init_3()
657 if (png_sizeof(png_struct) > png_struct_size) in png_write_init_3()
665 png_memset(png_ptr, 0, png_sizeof (png_struct)); in png_write_init_3()
683 png_memcpy(png_ptr->jmpbuf, tmp_jmp, png_sizeof (jmp_buf)); in png_write_init_3()
[all …]
Dpngread.c88 png_memcpy(png_ptr->jmpbuf,jmpbuf,png_sizeof(jmp_buf)); in png_create_read_struct_2()
167 png_memcpy(png_ptr->jmpbuf,jmpbuf,png_sizeof(jmp_buf)); in png_create_read_struct_2()
195 if(png_sizeof(png_struct) > png_struct_size || in png_read_init_2()
196 png_sizeof(png_info) > png_info_size) in png_read_init_2()
213 if(png_sizeof(png_struct) > png_struct_size) in png_read_init_2()
222 if(png_sizeof(png_info) > png_info_size) in png_read_init_2()
268 png_memcpy(tmp_jmp, png_ptr->jmpbuf, png_sizeof (jmp_buf)); in png_read_init_3()
271 if(png_sizeof(png_struct) > png_struct_size) in png_read_init_3()
279 png_memset(png_ptr, 0, png_sizeof (png_struct)); in png_read_init_3()
283 png_memcpy(png_ptr->jmpbuf, tmp_jmp, png_sizeof (jmp_buf)); in png_read_init_3()
[all …]
Dpngmem.c44 size = png_sizeof(png_info); in png_create_struct_2()
46 size = png_sizeof(png_struct); in png_create_struct_2()
213 png_sizeof (png_bytep)); in png_malloc_default()
349 size = png_sizeof(png_info); in png_create_struct_2()
351 size = png_sizeof(png_struct); in png_create_struct_2()
Dpng.c257 png_info_init_3(&info_ptr, png_sizeof(png_info)); in png_create_info_struct()
314 if(png_sizeof(png_info) > png_info_struct_size) in png_info_init_3()
322 png_memset(info_ptr, 0, png_sizeof (png_info)); in png_info_init_3()
613 png_info_init_3(&info_ptr, png_sizeof(png_info)); in png_info_destroy()
660 png_sizeof(char))); in png_convert_to_rfc1123()
682 29*png_sizeof(char)); in png_convert_to_rfc1123()
Dpngrtran.c93 png_sizeof(png_color_16)); in png_set_background()
154 (png_uint_32)(num_palette * png_sizeof (png_byte))); in png_set_dither()
170 (png_uint_32)(num_palette * png_sizeof (png_byte))); in png_set_dither()
299 (png_uint_32)(num_palette * png_sizeof (png_byte))); in png_set_dither()
301 (png_uint_32)(num_palette * png_sizeof (png_byte))); in png_set_dither()
311 png_sizeof (png_dsortp))); in png_set_dither()
344 (png_uint_32)(png_sizeof(png_dsort))); in png_set_dither()
462 (png_uint_32)(num_entries * png_sizeof (png_byte))); in png_set_dither()
465 png_sizeof (png_byte)); in png_set_dither()
468 png_sizeof(png_byte))); in png_set_dither()
[all …]
Dpngerror.c230 png_memcpy(jmpbuf, png_ptr->jmpbuf, png_sizeof(jmp_buf)); in png_default_error()
Dpngconf.h1126 # define png_sizeof(x) png_convert_size(sizeof (x)) macro
1129 # define png_sizeof(x) sizeof (x) macro
Dpngrutil.c217 text_size = prefix_size + png_sizeof(msg) + 1; in png_decompress_chunk()
231 text_size = png_sizeof(msg) > text_size ? text_size : in png_decompress_chunk()
232 png_sizeof(msg); in png_decompress_chunk()
1172 png_sizeof(png_sPLT_entry))) in png_handle_sPLT()
1178 png_ptr, new_palette.nentries * png_sizeof(png_sPLT_entry)); in png_handle_sPLT()
1662 *png_sizeof(png_charp))) ; in png_handle_pCAL()
1921 (png_uint_32)png_sizeof(png_text)); in png_handle_tEXt()
2019 (png_uint_32)png_sizeof(png_text)); in png_handle_zTXt()
2136 (png_uint_32)png_sizeof(png_text)); in png_handle_iTXt()
2210 png_sizeof((png_charp)png_ptr->chunk_name)); in png_handle_unknown()
Dpngwutil.c243 png_sizeof (png_charpp))); in png_text_compress()
245 * png_sizeof (png_charp)); in png_text_compress()
251 png_sizeof (png_charp))); in png_text_compress()
294 png_sizeof (png_charpp))); in png_text_compress()
296 old_max * png_sizeof (png_charp)); in png_text_compress()
302 png_sizeof (png_charp))); in png_text_compress()
1561 *png_sizeof(png_uint_32))); in png_write_pCAL()
Dpngpread.c1132 (png_uint_32)png_sizeof(png_text)); in png_push_read_tEXt()
1325 (png_uint_32)png_sizeof(png_text)); in png_push_read_zTXt()
1437 (png_uint_32)png_sizeof(png_text)); in png_push_read_iTXt()
1496 png_sizeof((png_charp)png_ptr->chunk_name)); in png_push_handle_unknown()
/external/tesseract/include/
Dpngconf.h1141 # define png_sizeof(x) png_convert_size(sizeof(x)) macro
1144 # define png_sizeof(x) sizeof(x) macro

12