Lines Matching defs:nval
308 size_t nval;
316 nval = *propc = scf_simple_prop_numvalues(prop);
318 if (nval == 0) {
330 __FUNCTION__, propname, proptype, nval);
333 *valtype = (nval == 1 ? DATA_TYPE_BOOLEAN_VALUE :
335 bap = (boolean_t *)calloc(nval, sizeof (boolean_t));
337 for (i = 0; i < nval; i++) {
347 *valtype = (nval == 1 ? DATA_TYPE_UINT64 :
349 uap = (uint64_t *)calloc(nval, sizeof (uint64_t));
351 for (i = 0; i < nval; i++) {
363 sap = (char **)calloc(nval, sizeof (char *));
365 for (i = 0; i < nval; i++) {