Home
last modified time | relevance | path

Searched refs:pathv (Results 1 – 3 of 3) sorted by relevance

/titanic_41/usr/src/cmd/ssh/libopenbsd-compat/common/
H A Dglob.c716 register char **pathv; local
722 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;
/titanic_41/usr/src/lib/libc/port/regex/
H A Dglob.c956 char **pathv; in globextend() local
969 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 …]
/titanic_41/usr/src/cmd/man/
H A Dman.c215 char **pathv; in main() local
335 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() argument
431 for (p = pathv; *p != NULL; ) { in build_manpath()