Searched refs:voidcast (Results 1 – 7 of 7) sorted by relevance
/external/libpng/contrib/libtests/ |
D | timepng.c | 42 # define voidcast(type, value) static_cast<type>(value) macro 44 # define voidcast(type, value) (value) macro 105 row = voidcast(png_bytep,malloc(rowbytes)); in read_by_row() 106 display = voidcast(png_bytep,malloc(rowbytes)); in read_by_row()
|
D | pngstest.c | 65 # define voidcast(type, value) static_cast<type>(value) macro 69 # define voidcast(type, value) (value) macro 89 png_bytep bytes = voidcast(png_bytep, pv); in make_random_bytes() 673 image->buffer = voidcast(png_bytep, malloc(size+32)); in allocbuffer() 815 png_const_bytep pp = voidcast(png_const_bytep, pb); in gp_g8() 824 png_const_bytep pp = voidcast(png_const_bytep, pb); in gp_ga8() 834 png_const_bytep pp = voidcast(png_const_bytep, pb); in gp_ag8() 844 png_const_bytep pp = voidcast(png_const_bytep, pb); in gp_rgb8() 856 png_const_bytep pp = voidcast(png_const_bytep, pb); in gp_bgr8() 868 png_const_bytep pp = voidcast(png_const_bytep, pb); in gp_rgba8() [all …]
|
D | pngunknown.c | 151 # define voidcast(type, value) static_cast<type>(value) macro 153 # define voidcast(type, value) (value) macro 518 display *d = voidcast(display*, png_get_user_chunk_ptr(pp)); in read_callback()
|
D | pngvalid.c | 165 # define voidcast(type, value) static_cast<type>(value) macro 167 # define voidcast(type, value) (value) macro 272 png_bytep bytes = voidcast(png_bytep, pv); in make_random_bytes() 918 pb = voidcast(png_store_buffer*, malloc(sizeof *pb)); in store_storenew() 976 pf = voidcast(png_store_file*, malloc(sizeof *pf)); in store_storefile() 1096 png_store *ps = voidcast(png_store*, png_get_error_ptr(pp)); in store_error() 1112 png_store *ps = voidcast(png_store*, png_get_error_ptr(pp)); in store_warning() 1174 image = voidcast(png_bytep, malloc(cb+2)); in store_ensure_image() 1284 png_store *ps = voidcast(png_store*, png_get_io_ptr(pp)); in store_write() 1704 png_store *ps = voidcast(png_store*, png_get_io_ptr(pp)); in store_read() [all …]
|
/external/libpng/contrib/tools/ |
D | pngfix.c | 91 # define voidcast(type, value) static_cast<type>(value) macro 98 # define voidcast(type, value) (value) macro 451 png_bytep bytes = voidcast(png_bytep, pv); in make_random_bytes() 673 next = voidcast(IDAT_list*, malloc(IDAT_list_size(NULL, length))); in IDAT_list_extend() 3542 struct control *control = voidcast(struct control*, in get_control() 3550 struct control *control = voidcast(struct control*, file->alloc_ptr); in allocate()
|
D | pngcp.c | 83 # define voidcast(type, value) static_cast<type>(value) macro 85 # define voidcast(type, value) (value) macro 312 # define VLSIZE(name) voidcast(png_byte,\ 669 dp->text_ptr = voidcast(png_textp, malloc(dp->num_text * sizeof *chunks)); in text_stash()
|
/external/libpng/ |
D | CHANGES | 5255 Changed png_voidcast(), etc., to voidcast(), etc., in contrib/tools/pngfix.c
|