Searched refs:pathv (Results 1 – 3 of 3) sorted by relevance
716 register char **pathv; local722 newsize = sizeof(*pathv) * (2 + pglob->gl_pathc + pglob->gl_offs);723 pathv = pglob->gl_pathv ? realloc((char *)pglob->gl_pathv, newsize) :725 if (pathv == NULL) {735 pathv += pglob->gl_offs;737 *--pathv = NULL;739 pglob->gl_pathv = pathv;750 pathv[pglob->gl_offs + pglob->gl_pathc++] = copy;752 pathv[pglob->gl_offs + pglob->gl_pathc] = NULL;
956 char **pathv; in globextend() local969 pathv = pglob->gl_pathv; in globextend()979 SIZE_MAX / sizeof (*pathv) <= allocn || in globextend()1001 limitp->glim_malloc += allocn * sizeof (*pathv); in globextend()1002 pathv = realloc(pglob->gl_pathv, allocn * sizeof (*pathv)); in globextend()1003 if (pathv == NULL) in globextend()1017 pathv += pglob->gl_offs; in globextend()1019 *--pathv = NULL; in globextend()1021 pglob->gl_pathv = pathv; in globextend()1060 pathv[pglob->gl_offs + pglob->gl_pathc++] = copy; in globextend()[all …]
215 char **pathv; in main() local335 pathv = split(manpath, ':'); in main()336 mandirs = build_manpath(pathv, bmp_flags); in main()337 freev(pathv); in main()417 build_manpath(char **pathv, int flags) in build_manpath() argument431 for (p = pathv; *p != NULL; ) { in build_manpath()