Lines Matching full:nparams
264 int nparams, png_const_charp units, png_charpp params)
272 || (nparams > 0 && params == NULL))
285 if (nparams < 0 || nparams > 255)
288 /* Validate params[nparams] */
289 for (i=0; i<nparams; ++i)
305 png_debug(3, "storing X0, X1, type, and nparams in info");
309 info_ptr->pcal_nparams = (png_byte)nparams;
327 (png_size_t)((nparams + 1) * (sizeof (png_charp)))));
335 memset(info_ptr->pcal_params, 0, (nparams + 1) * (sizeof (png_charp)));
337 for (i = 0; i < nparams; i++)