Lines Matching defs:bufcnt
209 int bufcnt, nelem;
212 bufcnt = NETCFG_MAX_NUM_VALUES;
213 if ((buf = calloc(bufcnt, sizeof (boolean_t))) == NULL)
227 if (nelem == (bufcnt - 1) &&
228 grow_buf((void **)&buf, &bufcnt, sizeof (boolean_t))
250 int bufcnt, nelem;
253 bufcnt = NETCFG_MAX_NUM_VALUES;
254 if ((buf = calloc(bufcnt, sizeof (int32_t))) == NULL)
261 if (nelem == (bufcnt - 1) &&
262 grow_buf((void **)&buf, &bufcnt, sizeof (int32_t))
284 int bufcnt, nelem;
287 bufcnt = NETCFG_MAX_NUM_VALUES;
288 if ((buf = calloc(bufcnt, sizeof (uint32_t))) == NULL)
295 if (nelem == (bufcnt - 1) &&
296 grow_buf((void **)&buf, &bufcnt, sizeof (uint32_t))
318 int bufcnt, nelem;
321 bufcnt = NETCFG_MAX_NUM_VALUES;
322 if ((buf = calloc(bufcnt, sizeof (int64_t))) == NULL)
329 if (nelem == (bufcnt - 1) &&
330 grow_buf((void **)&buf, &bufcnt, sizeof (int64_t))
352 int bufcnt, nelem;
355 bufcnt = NETCFG_MAX_NUM_VALUES;
356 if ((buf = calloc(bufcnt, sizeof (uint64_t))) == NULL)
363 if (nelem == (bufcnt - 1) &&
364 grow_buf((void **)&buf, &bufcnt, sizeof (uint64_t))
386 int bufcnt, nelem, i;
389 bufcnt = NETCFG_MAX_NUM_VALUES;
390 if ((buf = calloc(bufcnt, sizeof (char *))) == NULL)
397 if (nelem == (bufcnt - 1) &&
398 grow_buf((void **)&buf, &bufcnt, sizeof (char *))