Home
last modified time | relevance | path

Searched refs:voidcast (Results 1 – 3 of 3) sorted by relevance

/external/libpng/contrib/libtests/
Dpngstest.c57 # define voidcast(type, value) static_cast<type>(value) macro
61 # define voidcast(type, value) (value) macro
81 png_bytep bytes = voidcast(png_bytep, pv); in make_random_bytes()
648 image->buffer = voidcast(png_bytep, malloc(size+32)); in allocbuffer()
783 png_const_bytep pp = voidcast(png_const_bytep, pb); in gp_g8()
792 png_const_bytep pp = voidcast(png_const_bytep, pb); in gp_ga8()
802 png_const_bytep pp = voidcast(png_const_bytep, pb); in gp_ag8()
812 png_const_bytep pp = voidcast(png_const_bytep, pb); in gp_rgb8()
824 png_const_bytep pp = voidcast(png_const_bytep, pb); in gp_bgr8()
836 png_const_bytep pp = voidcast(png_const_bytep, pb); in gp_rgba8()
[all …]
Dpngunknown.c139 # define voidcast(type, value) static_cast<type>(value) macro
141 # define voidcast(type, value) (value) macro
499 display *d = voidcast(display*, png_get_user_chunk_ptr(pp)); in read_callback()
Dpngvalid.c135 # define voidcast(type, value) static_cast<type>(value) macro
137 # define voidcast(type, value) (value) macro
217 png_bytep bytes = voidcast(png_bytep, pv); in make_random_bytes()
781 pb = voidcast(png_store_buffer*, malloc(sizeof *pb)); in store_storenew()
817 png_store_file *pf = voidcast(png_store_file*, malloc(sizeof *pf)); in store_storefile()
928 png_store *ps = voidcast(png_store*, png_get_error_ptr(pp)); in store_error()
944 png_store *ps = voidcast(png_store*, png_get_error_ptr(pp)); in store_warning()
1006 image = voidcast(png_bytep, malloc(cb+2)); in store_ensure_image()
1095 png_store *ps = voidcast(png_store*, png_get_io_ptr(pp)); in store_write()
1217 png_store *ps = voidcast(png_store*, png_get_io_ptr(pp)); in store_read()
[all …]