| /openbsd/src/lib/libc/gen/ |
| D | glob.c | 177 pglob->gl_pathc = 0; in glob() 190 if (pglob->gl_offs >= SSIZE_MAX || pglob->gl_pathc >= SSIZE_MAX || in glob() 191 pglob->gl_pathc >= SSIZE_MAX - pglob->gl_offs - 1) in glob() 469 oldpathc = pglob->gl_pathc; in glob0() 547 if (pglob->gl_pathc == oldpathc) { in glob0() 560 size_t n = pglob->gl_pathc - oldpathc; in glob0() 577 pglob->gl_pathc - oldpathc, sizeof(char *), in glob0() 795 newn = 2 + pglob->gl_pathc + pglob->gl_offs; in globextend() 797 pglob->gl_pathc >= SSIZE_MAX || in globextend() 839 statv[pglob->gl_offs + pglob->gl_pathc] = NULL; in globextend() [all …]
|
| /openbsd/src/gnu/usr.bin/perl/ext/File-Glob/ |
| D | bsd_glob.c | 224 pglob->gl_pathc = 0; 230 pglob->gl_pathc = 0; 521 oldpathc = pglob->gl_pathc; 591 if (pglob->gl_pathc == oldpathc && 605 pglob->gl_pathc - oldpathc, sizeof(char *), 864 newsize = sizeof(*pathv) * (2 + pglob->gl_pathc + pglob->gl_offs); 895 pathv[pglob->gl_offs + pglob->gl_pathc++] = copy; 897 pathv[pglob->gl_offs + pglob->gl_pathc] = NULL; 1005 for (i = pglob->gl_pathc; i--; ++pp)
|
| D | bsd_glob.h | 42 int gl_pathc; /* Count of total paths so far. */ member
|
| D | Glob.xs | 53 EXTEND(sp, pglob.gl_pathc); in doglob() 54 for (i = 0; i < pglob.gl_pathc; i++) { in doglob()
|
| /openbsd/src/usr.bin/ssh/ |
| D | auth2-pubkey.c | 336 } else if (gl.gl_pathc > INT_MAX) { in match_principals_file() 338 } else if (gl.gl_pathc > 1) { in match_principals_file() 340 gl.gl_pathc); in match_principals_file() 342 for (i = 0; !success && i < gl.gl_pathc; i++) { in match_principals_file() 825 } else if (gl.gl_pathc > INT_MAX) { in user_key_allowed() 827 } else if (gl.gl_pathc > 1) { in user_key_allowed() 829 gl.gl_pathc); in user_key_allowed() 831 for (j = 0; !success && j < gl.gl_pathc; j++) { in user_key_allowed()
|
| D | sftp-glob.c | 142 pglob->gl_pathc == 1 && (s = pglob->gl_pathv[0]) != NULL && in sftp_glob()
|
| D | sftp.c | 958 (g.gl_pathc && !g.gl_matchc)) { in do_globbed_ls() 959 if (g.gl_pathc) in do_globbed_ls() 1045 if (g.gl_pathc) in do_globbed_ls() 1782 if (g.gl_pathc) in parse_dispatch_command()
|
| D | scp.c | 1523 if (g.gl_matchc == 0 && g.gl_pathc == 1 && g.gl_pathv[0] != 0) { in sink_sftp() 1956 if (g.gl_matchc == 0 && g.gl_pathc == 1 && g.gl_pathv[0] != 0) { in throughlocal_sftp()
|
| /openbsd/src/include/ |
| D | glob.h | 51 size_t gl_pathc; /* Count of total paths so far. */ member
|
| /openbsd/src/usr.bin/less/ |
| D | filename.c | 415 for (i = 0; i < list.gl_pathc; i++) { in lglob() 424 for (i = 0; i < list.gl_pathc; i++) { in lglob()
|
| /openbsd/src/sbin/restore/ |
| D | interactive.c | 385 if (ap->glob.gl_pathc == 0) in getcmd() 388 ap->argcnt = ap->glob.gl_pathc; in getcmd() 391 strlcpy(name, ap->glob.gl_pathv[ap->glob.gl_pathc - ap->argcnt], in getcmd()
|
| /openbsd/src/libexec/ftpd/ |
| D | popen.c | 86 } else if (gl.gl_pathc > 0) { in ftpd_ls()
|
| D | ftpcmd.y | 912 gl.gl_pathc == 0) {
|
| /openbsd/src/usr.bin/tmux/ |
| D | cmd-source-file.c | 230 for (j = 0; j < g.gl_pathc; j++) in cmd_source_file_exec()
|
| /openbsd/src/gnu/llvm/compiler-rt/lib/sanitizer_common/ |
| D | sanitizer_platform_limits_solaris.h | 335 uptr gl_pathc; member
|
| D | sanitizer_platform_limits_solaris.cpp | 208 CHECK_SIZE_AND_OFFSET(glob_t, gl_pathc);
|
| D | sanitizer_platform_limits_freebsd.h | 367 uptr gl_pathc; member
|
| D | sanitizer_platform_limits_freebsd.cpp | 407 CHECK_SIZE_AND_OFFSET(glob_t, gl_pathc);
|
| D | sanitizer_platform_limits_posix.h | 807 uptr gl_pathc; member
|
| D | sanitizer_platform_limits_posix.cpp | 1022 CHECK_SIZE_AND_OFFSET(glob_t, gl_pathc);
|
| /openbsd/src/bin/csh/ |
| D | glob.c | 379 globv.gl_pathc = 0; in libglob() 405 vl = (globv.gl_pathc == 0 || (magic && !match && !nonomatch)) ? in libglob()
|
| /openbsd/src/usr.bin/mail/ |
| D | fio.c | 457 if (names.gl_pathc == 1) in expand()
|
| /openbsd/src/usr.sbin/nsd/ |
| D | configlexer.lex | 128 for(i=(int)g.gl_pathc-1; i>=0; i--) { in config_start_include_glob()
|
| /openbsd/src/usr.bin/ftp/ |
| D | util.c | 550 gl.gl_pathc == 0) { in globulize()
|
| D | cmds.c | 359 if (glob(argv[i], flags, NULL, &gl) || gl.gl_pathc == 0) { in mput()
|