Lines Matching refs:newcount
701 int newcount = pglob->gl_pathc + pglob->gl_offs; local
705 = realloc (pglob->gl_pathv, (newcount + 1 + 1) * sizeof (char *));
716 pglob->gl_pathv[newcount] = strdup (dirname);
717 if (pglob->gl_pathv[newcount] == NULL)
719 pglob->gl_pathv[++newcount] = NULL;
816 int newcount = pglob->gl_pathc + pglob->gl_offs; local
820 (newcount + 2) * sizeof (char *));
828 pglob->gl_pathv[newcount] = strdup (pattern);
829 if (pglob->gl_pathv[newcount] == NULL)
838 ++newcount;
840 pglob->gl_pathv[newcount] = NULL;