Lines Matching refs:pglob
495 static int globhack(const char *src, int flags, glob_t *pglob);
497 static int xglob(o_string *dest, int flags, glob_t *pglob);
2219 static int globhack(const char *src, int flags, glob_t *pglob)
2230 pglob->gl_pathv = NULL;
2231 pglob->gl_pathc = 0;
2232 pglob->gl_offs = 0;
2233 pglob->gl_offs = 0;
2235 pathc = ++pglob->gl_pathc;
2236 pglob->gl_pathv = xrealloc(pglob->gl_pathv, (pathc+1) * sizeof(*pglob->gl_pathv));
2237 pglob->gl_pathv[pathc-1] = dest;
2238 pglob->gl_pathv[pathc] = NULL;
2256 static int xglob(o_string *dest, int flags, glob_t *pglob)
2265 gr = globhack(dest->data, flags, pglob);
2271 gr = glob(dest->data, flags, NULL, pglob);
2275 gr = globhack(dest->data, flags, pglob);
2279 gr = globhack(dest->data, flags, pglob);