Searched refs:random_mod (Results 1 – 1 of 1) sorted by relevance
345 random_mod(unsigned int max) in random_mod() function2874 pm->encoding_counter = random_mod(modifier_total_encodings(pm)-1)+1; in modifier_encoding_iterate()4089 int filters = PNG_ALL_FILTERS & random_mod(256U); in choose_random_filter()4466 int filters = 8 << random_mod(PNG_FILTER_VALUE_LAST); in make_size_image()8889 data.red = (png_byte)/*SAFE*/(random_mod(depth)+1); in image_transform_png_set_shift_set()8890 data.green = (png_byte)/*SAFE*/(random_mod(depth)+1); in image_transform_png_set_shift_set()8891 data.blue = (png_byte)/*SAFE*/(random_mod(depth)+1); in image_transform_png_set_shift_set()8892 data.gray = (png_byte)/*SAFE*/(random_mod(depth)+1); in image_transform_png_set_shift_set()8893 data.alpha = (png_byte)/*SAFE*/(random_mod(depth)+1); in image_transform_png_set_shift_set()