Lines Matching defs:size
230 /* Creates a new stack object. `size' is initial size in bytes, `max_size'
231 is maximum size, and `increment' specifies how much more space will be
235 tre_stack_new(int size, int max_size, int increment);
247 This tries to realloc() more space before failing if maximum size
293 int size;
302 tre_stack_new(int size, int max_size, int increment)
309 s->stack = xmalloc(sizeof(*s->stack) * size);
315 s->size = size;
339 if (s->ptr < s->size)
346 if (s->size >= s->max_size)
354 new_size = s->size + s->increment;
362 assert(new_size > s->size);
363 s->size = new_size;
2621 strings). The TNFA takes O(n^2) space in the worst case, `n' is size of