Searched refs:alen (Results 1 – 2 of 2) sorted by relevance
553 size_t alen = b->allocated; local555 if (newlen <= alen)557 alen *= 2;558 if (newlen < alen)559 try = realloc(b->b, alen); /* Note: *not* the REALLOC() macro! */562 alen = newlen;563 try = REALLOC(b->b, alen, char);565 b->allocated = alen;
3077 unsigned int alen = strlen (gl.gl_pathv[i]); in multi_glob() local3084 elt->name = (char *) xmalloc (alen + 1 + mlen + 2); in multi_glob()3085 bcopy (gl.gl_pathv[i], elt->name, alen); in multi_glob()3086 elt->name[alen] = '('; in multi_glob()3087 bcopy (memname, &elt->name[alen + 1], mlen); in multi_glob()3088 elt->name[alen + 1 + mlen] = ')'; in multi_glob()3089 elt->name[alen + 1 + mlen + 1] = '\0'; in multi_glob()