Searched refs:create_struct (Results 1 – 2 of 2) sorted by relevance
/external/libpng/ |
D | png.c | 234 png_struct create_struct; variable 243 memset(&create_struct, 0, (sizeof create_struct)); 247 create_struct.user_width_max = PNG_USER_WIDTH_MAX; 248 create_struct.user_height_max = PNG_USER_HEIGHT_MAX; 252 create_struct.user_chunk_cache_max = PNG_USER_CHUNK_CACHE_MAX; 259 create_struct.user_chunk_malloc_max = PNG_USER_CHUNK_MALLOC_MAX; 267 png_set_mem_fn(&create_struct, mem_ptr, malloc_fn, free_fn); 279 png_set_error_fn(&create_struct, error_ptr, error_fn, warn_fn); 291 create_struct.jmp_buf_ptr = &create_jmp_buf; 292 create_struct.jmp_buf_size = 0; /*stack allocation*/ [all …]
|
/external/pdfium/third_party/lpng_v163/ |
D | png.c | 227 png_struct create_struct; variable 236 memset(&create_struct, 0, (sizeof create_struct)); 240 create_struct.user_width_max = PNG_USER_WIDTH_MAX; 241 create_struct.user_height_max = PNG_USER_HEIGHT_MAX; 245 create_struct.user_chunk_cache_max = PNG_USER_CHUNK_CACHE_MAX; 252 create_struct.user_chunk_malloc_max = PNG_USER_CHUNK_MALLOC_MAX; 260 png_set_mem_fn(&create_struct, mem_ptr, malloc_fn, free_fn); 268 png_set_error_fn(&create_struct, error_ptr, error_fn, warn_fn); 278 create_struct.jmp_buf_ptr = &create_jmp_buf; 279 create_struct.jmp_buf_size = 0; /*stack allocation*/ [all …]
|