Lines Matching refs:slotvec
576 struct slotvec in quotearg_n_options() struct
581 static struct slotvec slotvec0 = {sizeof slot0, slot0}; in quotearg_n_options()
582 static struct slotvec *slotvec = &slotvec0; in quotearg_n_options() local
591 if (xalloc_oversized (n1, sizeof *slotvec)) in quotearg_n_options()
594 if (slotvec == &slotvec0) in quotearg_n_options()
596 slotvec = xmalloc (sizeof *slotvec); in quotearg_n_options()
597 *slotvec = slotvec0; in quotearg_n_options()
599 slotvec = xrealloc (slotvec, n1 * sizeof *slotvec); in quotearg_n_options()
600 memset (slotvec + nslots, 0, (n1 - nslots) * sizeof *slotvec); in quotearg_n_options()
605 size_t size = slotvec[n].size; in quotearg_n_options()
606 char *val = slotvec[n].val; in quotearg_n_options()
611 slotvec[n].size = size = qsize + 1; in quotearg_n_options()
614 slotvec[n].val = val = xmalloc (size); in quotearg_n_options()