Lines Matching defs:space
47 * Like malloc, but returns an error when out of space.
57 sh_error("Out of space");
71 sh_error("Out of space");
85 sh_error("Out of space");
104 char space[MINSIZE];
109 char *stacknxt = stackbase.space;
111 char *sstrend = stackbase.space + MINSIZE;
130 sh_error("Out of space");
134 stacknxt = sp->space;
151 if (!p || (stacknxt < (char *)p) || ((char *)p < stackp->space)) {
172 pushstackmark(mark, stacknxt == stackp->space && stackp != &stackbase);
198 * of space on top of the stack and stackblocklen returns the length of
199 * this block. Growstackblock will grow this space by at least one byte,
211 sh_error("Out of space");
215 if (stacknxt == stackp->space && stackp != &stackbase) {
227 stacknxt = sp->space;
229 sstrend = sp->space + newlen;
236 /* free the space we just allocated */
250 * the space for it using grabstackstr(). If it is necessary to allow
252 * the string, the user should use grabstack to allocate the space, and
257 * is space for at least one character.