Lines Matching refs:nallocated
42 int nallocated;
54 x->nallocated = x->nused = 0;
64 if (l->nallocated < 0) {
66 l->nallocated = l->nused + ALLOCCHUNK;
70 } else if (l->nallocated == l->nused) {
71 if (l->nallocated)
72 l->nallocated *= 2;
74 l->nallocated = ALLOCCHUNK;
75 l->items = realloc(l->items, sizeof (char *) * l->nallocated);
84 if (l->nallocated == 0) {
86 l->nallocated = alloc ? n : -1;