Lines Matching refs:newcount
704 int newcount = pglob->gl_pathc + pglob->gl_offs; local
708 = realloc (pglob->gl_pathv, (newcount + 1 + 1) * sizeof (char *));
719 pglob->gl_pathv[newcount] = strdup (dirname);
720 if (pglob->gl_pathv[newcount] == NULL)
722 pglob->gl_pathv[++newcount] = NULL;
819 int newcount = pglob->gl_pathc + pglob->gl_offs; local
823 (newcount + 2) * sizeof (char *));
831 pglob->gl_pathv[newcount] = strdup (pattern);
832 if (pglob->gl_pathv[newcount] == NULL)
841 ++newcount;
843 pglob->gl_pathv[newcount] = NULL;