/external/qemu/distrib/libpng-1.2.46/ |
D | pngmem.c | 40 png_create_struct_2(int type, png_malloc_ptr malloc_fn, png_voidp mem_ptr) in png_create_struct_2() argument 54 if (malloc_fn != NULL) in png_create_struct_2() 59 struct_ptr = (*(malloc_fn))(png_ptr, (png_uint_32)size); in png_create_struct_2() 138 if (png_ptr->malloc_fn != NULL) in png_malloc() 139 ret = ((png_voidp)(*(png_ptr->malloc_fn))(png_ptr, (png_size_t)size)); in png_malloc() 358 png_create_struct_2(int type, png_malloc_ptr malloc_fn, png_voidp mem_ptr) in png_create_struct_2() argument 372 if (malloc_fn != NULL) in png_create_struct_2() 377 struct_ptr = (*(malloc_fn))(png_ptr, size); in png_create_struct_2() 465 if (png_ptr->malloc_fn != NULL) in png_malloc() 466 ret = ((png_voidp)(*(png_ptr->malloc_fn))(png_ptr, (png_size_t)size)); in png_malloc() [all …]
|
D | pngwrite.c | 470 png_malloc_ptr malloc_fn, png_free_ptr free_fn) in png_create_write_struct_2() argument 488 (png_malloc_ptr)malloc_fn, (png_voidp)mem_ptr); in png_create_write_struct_2() 524 png_set_mem_fn(png_ptr, mem_ptr, malloc_fn, free_fn); in png_create_write_struct_2()
|
D | pngread.c | 40 png_malloc_ptr malloc_fn, png_free_ptr free_fn) in png_create_read_struct_2() argument 61 (png_malloc_ptr)malloc_fn, (png_voidp)mem_ptr); in png_create_read_struct_2() 105 png_set_mem_fn(png_ptr, mem_ptr, malloc_fn, free_fn); in png_create_read_struct_2()
|
D | png.h | 1564 png_malloc_ptr malloc_fn PNG_DEPSTRUCT; /* function for allocating memory */ 1671 png_malloc_ptr malloc_fn, png_free_ptr free_fn)) PNG_ALLOCATED; 1675 png_malloc_ptr malloc_fn, png_free_ptr free_fn)) PNG_ALLOCATED; 2151 png_voidp mem_ptr, png_malloc_ptr malloc_fn, png_free_ptr free_fn)); 3208 malloc_fn, png_voidp mem_ptr)) PNG_PRIVATE;
|
D | png.c | 261 png_ptr->malloc_fn, png_ptr->mem_ptr); in png_create_info_struct()
|
/external/chromium_org/third_party/libpng/ |
D | pngmem.c | 40 png_create_struct_2(int type, png_malloc_ptr malloc_fn, png_voidp mem_ptr) in png_create_struct_2() argument 54 if (malloc_fn != NULL) in png_create_struct_2() 59 struct_ptr = (*(malloc_fn))(png_ptr, (png_uint_32)size); in png_create_struct_2() 138 if (png_ptr->malloc_fn != NULL) in png_malloc() 139 ret = ((png_voidp)(*(png_ptr->malloc_fn))(png_ptr, (png_size_t)size)); in png_malloc() 358 png_create_struct_2(int type, png_malloc_ptr malloc_fn, png_voidp mem_ptr) in png_create_struct_2() argument 372 if (malloc_fn != NULL) in png_create_struct_2() 377 struct_ptr = (*(malloc_fn))(png_ptr, size); in png_create_struct_2() 465 if (png_ptr->malloc_fn != NULL) in png_malloc() 466 ret = ((png_voidp)(*(png_ptr->malloc_fn))(png_ptr, (png_size_t)size)); in png_malloc() [all …]
|
D | pngread.c | 40 png_malloc_ptr malloc_fn, png_free_ptr free_fn) in png_create_read_struct_2() argument 61 (png_malloc_ptr)malloc_fn, (png_voidp)mem_ptr); in png_create_read_struct_2() 105 png_set_mem_fn(png_ptr, mem_ptr, malloc_fn, free_fn); in png_create_read_struct_2()
|
D | pngwrite.c | 470 png_malloc_ptr malloc_fn, png_free_ptr free_fn) in png_create_write_struct_2() argument 488 (png_malloc_ptr)malloc_fn, (png_voidp)mem_ptr); in png_create_write_struct_2() 524 png_set_mem_fn(png_ptr, mem_ptr, malloc_fn, free_fn); in png_create_write_struct_2()
|
D | png.h | 1511 png_malloc_ptr malloc_fn PNG_DEPSTRUCT; /* function for allocating memory */ 1615 png_malloc_ptr malloc_fn, png_free_ptr free_fn)) PNG_ALLOCATED; 1619 png_malloc_ptr malloc_fn, png_free_ptr free_fn)) PNG_ALLOCATED; 2079 png_voidp mem_ptr, png_malloc_ptr malloc_fn, png_free_ptr free_fn)); 3136 malloc_fn, png_voidp mem_ptr)) PNG_PRIVATE;
|
D | png.c | 260 png_ptr->malloc_fn, png_ptr->mem_ptr); in png_create_info_struct()
|
/external/libpng/ |
D | pngmem.c | 87 if (png_ptr != NULL && png_ptr->malloc_fn != NULL) 88 return png_ptr->malloc_fn(png_constcast(png_structrp,png_ptr), size); 258 malloc_fn, png_free_ptr free_fn) in png_set_mem_fn() 263 png_ptr->malloc_fn = malloc_fn; in png_set_mem_fn()
|
D | pngstruct.h | 464 png_malloc_ptr malloc_fn; /* function for allocating memory */ member
|
D | png.h | 1099 png_voidp mem_ptr, png_malloc_ptr malloc_fn, png_free_ptr free_fn), 1104 png_voidp mem_ptr, png_malloc_ptr malloc_fn, png_free_ptr free_fn), 1755 png_malloc_ptr malloc_fn, png_free_ptr free_fn));
|
D | png.c | 227 png_malloc_ptr malloc_fn, png_free_ptr free_fn),PNG_ALLOCATED) 262 png_set_mem_fn(&create_struct, mem_ptr, malloc_fn, free_fn); 265 PNG_UNUSED(malloc_fn)
|
D | pngwrite.c | 492 png_malloc_ptr malloc_fn, png_free_ptr free_fn),PNG_ALLOCATED) 495 error_fn, warn_fn, mem_ptr, malloc_fn, free_fn);
|
D | pngpriv.h | 935 png_error_ptr warn_fn, png_voidp mem_ptr, png_malloc_ptr malloc_fn,
|
D | pngread.c | 43 png_malloc_ptr malloc_fn, png_free_ptr free_fn),PNG_ALLOCATED) 46 error_fn, warn_fn, mem_ptr, malloc_fn, free_fn);
|
D | libpng-manual.txt | 4102 png_voidp malloc_fn(png_structp png_ptr, 4107 Your malloc_fn() must return NULL in case of failure. The png_malloc() 4109 system memory allocator or from your replacement malloc_fn(). 4763 This also applies to the prototype for the user replacement malloc_fn().
|
D | CHANGES | 394 Added capability for user-provided malloc_fn() and free_fn() functions, 1057 from user's malloc_fn(). 1145 the user malloc_fn, to agree with the prototype in png.h
|