Searched refs:pglob (Results 1 – 6 of 6) sorted by relevance
/dragonfly/lib/libssh/openbsd-compat/ |
H A D | glob.c | 206 pglob->gl_pathc >= SSIZE_MAX - pglob->gl_offs - 1) in glob() 590 qsort(pglob->gl_pathv + pglob->gl_offs + oldpathc, 809 newn = 2 + pglob->gl_pathc + pglob->gl_offs; 817 if (pglob->gl_pathv && pglob->gl_pathv[i]) 820 pglob->gl_pathv && pglob->gl_pathv[i]) 833 if (pglob->gl_pathv == NULL && pglob->gl_offs > 0) { 853 statv[pglob->gl_offs + pglob->gl_pathc] = NULL; 861 if ((statv[pglob->gl_offs + pglob->gl_pathc] = 879 pathv[pglob->gl_offs + pglob->gl_pathc++] = copy; 881 pathv[pglob->gl_offs + pglob->gl_pathc] = NULL; [all …]
|
/dragonfly/contrib/cvs-1.12/lib/ |
H A D | glob.c | 492 pglob->gl_flags = ((pglob->gl_flags & ~GLOB_MARK) 515 oldcount = pglob->gl_pathc + pglob->gl_offs; 701 int newcount = pglob->gl_pathc + pglob->gl_offs; 796 &pglob->gl_pathv[old_pathc + pglob->gl_offs], 864 &pglob->gl_pathv[old_pathc + pglob->gl_offs], 878 pglob->gl_pathc + pglob->gl_offs - oldcount, 900 if (pglob->gl_pathv[pglob->gl_offs + i] != NULL) 901 free (pglob->gl_pathv[pglob->gl_offs + i]); 1248 (pglob->gl_pathc + pglob->gl_offs + nfound + 1) in glob_in_dir() 1255 pglob->gl_pathv[pglob->gl_offs + pglob->gl_pathc++] = names->name; in glob_in_dir() [all …]
|
/dragonfly/lib/libc/gen/ |
H A D | glob.c | 204 pglob->gl_pathc = 0; in glob() 207 pglob->gl_offs = 0; in glob() 216 pglob->gl_matchc = 0; in glob() 547 qsort(pglob->gl_pathv + pglob->gl_offs + oldpathc, in glob0() 612 ++pglob->gl_matchc; in glob2() 722 pglob, limit); in glob3() 763 newsize = sizeof(*pathv) * (2 + pglob->gl_pathc + pglob->gl_offs); in globextend() 769 if (pglob->gl_pathv == NULL && pglob->gl_offs > 0) { in globextend() 791 pathv[pglob->gl_offs + pglob->gl_pathc++] = copy; in globextend() 793 pathv[pglob->gl_offs + pglob->gl_pathc] = NULL; in globextend() [all …]
|
/dragonfly/contrib/tcsh-6/ |
H A D | glob.c | 293 glob_t *pglob) in glob() argument 304 pglob->gl_pathc = 0; in glob() 305 pglob->gl_pathv = NULL; in glob() 457 qsort(pglob->gl_pathv + pglob->gl_offs + oldpathc, in glob() 614 if ((pglob->gl_errfunc && (*pglob->gl_errfunc) (pathbuf->s, errno)) || in glob3() 680 newsize = sizeof(*pathv) * (2 + pglob->gl_pathc + pglob->gl_offs); in globextend() 683 if (pglob->gl_pathv == NULL && pglob->gl_offs > 0) { in globextend() 691 pathv[pglob->gl_offs + pglob->gl_pathc++] = strsave(path); in globextend() 692 pathv[pglob->gl_offs + pglob->gl_pathc] = NULL; in globextend() 794 pp = pglob->gl_pathv + pglob->gl_offs; in globfree() [all …]
|
/dragonfly/crypto/openssh/ |
H A D | sftp-glob.c | 138 int (*errfunc)(const char *, int), glob_t *pglob) in remote_glob() argument 140 pglob->gl_opendir = fudge_opendir; in remote_glob() 141 pglob->gl_readdir = (struct dirent *(*)(void *))fudge_readdir; in remote_glob() 142 pglob->gl_closedir = (void (*)(void *))fudge_closedir; in remote_glob() 143 pglob->gl_lstat = fudge_lstat; in remote_glob() 144 pglob->gl_stat = fudge_stat; in remote_glob() 149 return(glob(pattern, flags | GLOB_ALTDIRFUNC, errfunc, pglob)); in remote_glob()
|
/dragonfly/usr.sbin/newsyslog/ |
H A D | newsyslog.c | 1003 glob_t pglob; in expand_globs() local 1015 gres = glob(globent->log, GLOB_NOCHECK, NULL, &pglob); in expand_globs() 1024 for (i = 0; i < pglob.gl_matchc; i++) { in expand_globs() 1025 mfname = pglob.gl_pathv[i]; in expand_globs() 1062 globfree(&pglob); in expand_globs() 1081 glob_t pglob; in parse_file() local 1142 res = glob(q, GLOB_NOCHECK, NULL, &pglob); in parse_file() 1152 for (i = 0; i < pglob.gl_matchc; i++) in parse_file() 1153 add_to_queue(pglob.gl_pathv[i], in parse_file() 1155 globfree(&pglob); in parse_file()
|