Lines Matching defs:sv
694 struct slotvec *sv = slotvec;
697 free (sv[i].val);
698 if (sv[0].val != slot0)
700 free (sv[0].val);
704 if (sv != &slotvec0)
706 free (sv);
727 struct slotvec *sv = slotvec;
740 bool preallocated = (sv == &slotvec0);
742 if (xalloc_oversized (n1, sizeof *sv))
745 slotvec = sv = xrealloc (preallocated ? NULL : sv, n1 * sizeof *sv);
747 *sv = slotvec0;
748 memset (sv + nslots, 0, (n1 - nslots) * sizeof *sv);
753 size_t size = sv[n].size;
754 char *val = sv[n].val;
765 sv[n].size = size = qsize + 1;
768 sv[n].val = val = xcharalloc (size);