Lines Matching refs:item
37 slp->item = NULL;
50 slp->item = NULL;
68 nbytes = slp->nitems_max * sizeof (slp->item[0]);
69 slp->item = (const char **) xrealloc (slp->item, nbytes);
73 slp->item[slp->nitems++] = xstrdup (s);
86 if (strcmp (slp->item[j], s) == 0)
93 slp->item = (const char **) xrealloc (slp->item,
95 * sizeof (slp->item[0]));
99 slp->item[slp->nitems++] = xstrdup (s);
110 free ((char *) slp->item[j]);
111 if (slp->item != NULL)
112 free (slp->item);
123 free ((char *) slp->item[j]);
124 if (slp->item != NULL)
125 free (slp->item);
142 len += strlen (slp->item[j]);
147 len = strlen (slp->item[j]);
148 memcpy (result + pos, slp->item[j], len);
166 result = (char *) slp->item[0];
167 free (slp->item);
197 len += strlen (slp->item[j]);
207 len = strlen (slp->item[j]);
208 memcpy (result + pos, slp->item[j], len);
214 && (len = strlen (slp->item[slp->nitems - 1])) > 0
215 && slp->item[slp->nitems - 1][len - 1] == terminator))
229 if (strcmp (slp->item[j], s) == 0)