Lines Matching refs:sv
641 struct slotvec *sv = slotvec; in quotearg_free() local
644 free (sv[i].val); in quotearg_free()
645 if (sv[0].val != slot0) in quotearg_free()
647 free (sv[0].val); in quotearg_free()
651 if (sv != &slotvec0) in quotearg_free()
653 free (sv); in quotearg_free()
674 struct slotvec *sv = slotvec; in quotearg_n_options() local
687 bool preallocated = (sv == &slotvec0); in quotearg_n_options()
689 if (xalloc_oversized (n1, sizeof *sv)) in quotearg_n_options()
692 slotvec = sv = xrealloc (preallocated ? NULL : sv, n1 * sizeof *sv); in quotearg_n_options()
694 *sv = slotvec0; in quotearg_n_options()
695 memset (sv + nslots, 0, (n1 - nslots) * sizeof *sv); in quotearg_n_options()
700 size_t size = sv[n].size; in quotearg_n_options()
701 char *val = sv[n].val; in quotearg_n_options()
710 sv[n].size = size = qsize + 1; in quotearg_n_options()
713 sv[n].val = val = xcharalloc (size); in quotearg_n_options()