Lines Matching refs:newsize
318 size_t newsize;
340 newsize = strlen(desc_buf) + 1;
341 if ((newbuf = malloc(newsize)) == NULL) {
346 (void) snprintf(newbuf, newsize, "%s", desc_buf);
362 size_t newsize;
392 newsize = strlen(fmri_buf) + 1;
393 if ((newbuf = malloc(newsize)) == NULL) {
398 (void) snprintf(newbuf, newsize, "%s", fmri_buf);
415 size_t newsize;
420 newsize = strlen(fmri);
421 if ((newbuf = malloc(newsize)) == NULL)
429 (void) snprintf(newbuf, newsize, "%s", ++nm_buf);