Searched refs:gl_pathv (Results 1 - 25 of 51) sorted by relevance

123

/freebsd-current/tests/sys/ses/
H A Dcommon.h37 g.gl_pathv = NULL;
48 fd = open(g.gl_pathv[i], oflags);
50 cb(g.gl_pathv[i], fd);
H A Ddestructive.c51 g.gl_pathv = NULL;
59 fd = open(g.gl_pathv[0], O_RDWR);
61 cb(g.gl_pathv[0], fd);
/freebsd-current/lib/libc/gen/
H A Dglob-compat11.h43 size_t gl_offs; /* Reserved at beginning of gl_pathv. */
45 char **gl_pathv; /* List of paths matching pattern. */ member in struct:__anon96
H A Dglob-compat11.c165 pglob->gl_pathv = NULL;
578 qsort(pglob->gl_pathv + pglob->gl_offs + oldpathc,
799 * Extend the gl_pathv member of a glob11_t structure to accommodate a new item,
809 * Either gl_pathc is zero and gl_pathv is NULL; or gl_pathc > 0 and
810 * gl_pathv points to (gl_offs + gl_pathc + 1) items.
829 pathv = reallocarray(pglob->gl_pathv, newn, sizeof(*pathv));
833 if (pglob->gl_pathv == NULL && pglob->gl_offs > 0) {
839 pglob->gl_pathv = pathv;
947 if (pglob->gl_pathv != NULL) {
948 pp = pglob->gl_pathv
[all...]
H A Dglob.c197 pglob->gl_pathv = NULL;
611 qsort(pglob->gl_pathv + pglob->gl_offs + oldpathc,
831 * Extend the gl_pathv member of a glob_t structure to accommodate a new item,
841 * Either gl_pathc is zero and gl_pathv is NULL; or gl_pathc > 0 and
842 * gl_pathv points to (gl_offs + gl_pathc + 1) items.
861 pathv = reallocarray(pglob->gl_pathv, newn, sizeof(*pathv));
865 if (pglob->gl_pathv == NULL && pglob->gl_offs > 0) {
871 pglob->gl_pathv = pathv;
979 if (pglob->gl_pathv != NULL) {
980 pp = pglob->gl_pathv
[all...]
/freebsd-current/contrib/tcsh/
H A Dglob.h43 int gl_offs; /* Reserved at beginning of gl_pathv. */
45 char **gl_pathv; /* List of paths matching pattern. */ member in struct:__anon6210
H A Dglob.c307 pglob->gl_pathv = NULL;
459 qsort(pglob->gl_pathv + pglob->gl_offs + oldpathc,
661 * Extend the gl_pathv member of a glob_t structure to accomodate a new item,
671 * Either gl_pathc is zero and gl_pathv is NULL; or gl_pathc > 0 and
672 * gl_pathv points to (gl_offs + gl_pathc + 1) items.
682 pathv = xrealloc(pglob->gl_pathv, newsize);
684 if (pglob->gl_pathv == NULL && pglob->gl_offs > 0) {
690 pglob->gl_pathv = pathv;
794 if (pglob->gl_pathv != NULL) {
795 pp = pglob->gl_pathv
[all...]
/freebsd-current/include/
H A Dglob.h50 size_t gl_offs; /* Reserved at beginning of gl_pathv. */
52 char **gl_pathv; /* List of paths matching pattern. */ member in struct:__anon49
/freebsd-current/crypto/openssh/
H A Dsftp.c679 for (i = 0; g.gl_pathv[i] && !interrupted; i++) {
680 tmp = xstrdup(g.gl_pathv[i]);
704 g.gl_pathv[i], abs_dst);
707 g.gl_pathv[i], abs_dst);
709 if (sftp_globpath_is_dir(g.gl_pathv[i]) &&
711 if (sftp_download_dir(conn, g.gl_pathv[i], abs_dst,
716 if (sftp_download(conn, g.gl_pathv[i], abs_dst, NULL,
768 for (i = 0; g.gl_pathv[i] && !interrupted; i++) {
769 if (stat(g.gl_pathv[i], &sb) == -1) {
771 error("stat %s: %s", g.gl_pathv[
[all...]
H A Dsftp-glob.c157 * When both GLOB_NOCHECK and GLOB_MARK are active, a single gl_pathv
169 pglob->gl_pathc == 1 && (s = pglob->gl_pathv[0]) != NULL &&
175 pglob->gl_pathv[0] = s;
H A Dscp.c1582 if (g.gl_matchc == 0 && g.gl_pathc == 1 && g.gl_pathv[0] != 0) {
1588 if (sftp_stat(conn, g.gl_pathv[0], 1, NULL) != 0) {
1615 for (i = 0; g.gl_pathv[i] && !interrupted; i++) {
1616 tmp = xstrdup(g.gl_pathv[i]);
1628 debug("Fetching %s to %s\n", g.gl_pathv[i], abs_dst);
1629 if (sftp_globpath_is_dir(g.gl_pathv[i]) && iamrecursive) {
1630 if (sftp_download_dir(conn, g.gl_pathv[i], abs_dst,
1634 if (sftp_download(conn, g.gl_pathv[i], abs_dst, NULL,
2023 if (g.gl_matchc == 0 && g.gl_pathc == 1 && g.gl_pathv[0] != 0) {
2029 if (sftp_stat(from, g.gl_pathv[
[all...]
H A Dsftp-usergroup.c155 for (i = 0; g->gl_pathv[i] != NULL; i++) {
/freebsd-current/usr.sbin/sesutil/
H A Dsesutil.c231 if (strspn(g.gl_pathv[i] + 8, "0123456789") !=
232 strlen(g.gl_pathv[i] + 8)) {
235 if ((fd = open(g.gl_pathv[i], O_RDWR)) < 0) {
243 xo_warn("unable to access SES device: %s", g.gl_pathv[i]);
449 if (strspn(g.gl_pathv[i] + 8, "0123456789") !=
450 strlen(g.gl_pathv[i] + 8)) {
453 if ((fd = open(g.gl_pathv[i], O_RDWR)) < 0) {
461 xo_warn("unable to access SES device: %s", g.gl_pathv[i]);
482 xo_emit("{t:enc/%s}:\n", g.gl_pathv[i] + 5);
751 if (strspn(g.gl_pathv[
[all...]
/freebsd-current/crypto/openssh/openbsd-compat/
H A Dglob.c193 pglob->gl_pathv = NULL;
580 path_stat[i].gps_path = pglob->gl_pathv[o + i];
585 pglob->gl_pathv[o + i] = path_stat[i].gps_path;
590 qsort(pglob->gl_pathv + pglob->gl_offs + oldpathc,
786 * Extend the gl_pathv member of a glob_t structure to accommodate a new item,
796 * Either gl_pathc is zero and gl_pathv is NULL; or gl_pathc > 0 and
797 * gl_pathv points to (gl_offs + gl_pathc + 1) items.
817 if (pglob->gl_pathv && pglob->gl_pathv[i])
818 free(pglob->gl_pathv[
[all...]
H A Dglob.h59 size_t gl_offs; /* Reserved at beginning of gl_pathv. */
61 char **gl_pathv; /* List of paths matching pattern. */ member in struct:__anon19
62 struct stat **gl_statv; /* Stat entries corresponding to gl_pathv */
/freebsd-current/lib/libc/tests/gen/
H A Dglob2_test.c87 g.gl_pathv[0]);
/freebsd-current/crypto/heimdal/lib/roken/
H A Dglob.c180 pglob->gl_pathv = NULL;
482 qsort(pglob->gl_pathv + pglob->gl_offs + oldpathc,
635 * Extend the gl_pathv member of a glob_t structure to accomodate a new item,
645 * Either gl_pathc is zero and gl_pathv is NULL; or gl_pathc > 0 and
646 * gl_pathv points to (gl_offs + gl_pathc + 1) items.
658 pathv = pglob->gl_pathv ?
659 realloc(pglob->gl_pathv, newsize) :
664 if (pglob->gl_pathv == NULL && pglob->gl_offs > 0) {
670 pglob->gl_pathv = pathv;
748 if (pglob->gl_pathv !
[all...]
/freebsd-current/usr.bin/login/
H A Dlogin_fbtab.c129 path = gl.gl_pathv[i];
/freebsd-current/contrib/less/
H A Dlglob.h40 #define INIT_GLOB_LIST(list,p) p = list.gl_pathv[i]
/freebsd-current/contrib/netbsd-tests/lib/libc/gen/
H A Dt_glob.c212 DPRINTF(("%s\n", gl.gl_pathv[i]));
216 ATF_CHECK_STREQ(gl.gl_pathv[i], res[i]);
/freebsd-current/crypto/heimdal/appl/ftp/ftpd/
H A Dpopen.c154 for (pop = gl.gl_pathv;
/freebsd-current/libexec/ftpd/
H A Dpopen.c102 for (pop = gl.gl_pathv; *pop && gargc < (MAXGLOBARGS-1);
/freebsd-current/contrib/unbound/util/
H A Dconfiglexer.lex154 config_start_include(g.gl_pathv[i], toplevel);
/freebsd-current/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_platform_limits_solaris.h336 char **gl_pathv; member in struct:__sanitizer::__sanitizer_glob_t
/freebsd-current/sbin/restore/
H A Dinteractive.c374 strncpy(name, ap->glob.gl_pathv[ap->glob.gl_pathc - ap->argcnt], size);

Completed in 320 milliseconds

123