Home
last modified time | relevance | path

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

/external/libpng/contrib/libtests/
Dtimepng.c42 # 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()
Dpngstest.c65 # 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 …]
Dpngunknown.c151 # 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()
Dpngvalid.c165 # 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/
Dpngfix.c91 # 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()
Dpngcp.c83 # 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/
DCHANGES5255 Changed png_voidcast(), etc., to voidcast(), etc., in contrib/tools/pngfix.c